Тёмный
Goutham Palicharla
Goutham Palicharla
Goutham Palicharla
Подписаться
Understanding SAP ABAP in Details , Complete Real time view of individual topics.

Each video in this channel describes in simple way to make the people understand easily. For understanding better watch the topic multiple times and need to put that on work. Practice each topic after listening and understanding the topic to get hands on experience.

For any topics or questions please comment on any video so that i can help you for better understanding.
Комментарии
@alestakranthi8607
@alestakranthi8607 4 месяца назад
It_data has records how to do u pass it to script from driver program please reply ASAP
@TheSAPGarden
@TheSAPGarden 2 года назад
I really like this code. Very nice
@nikhiltajane6722
@nikhiltajane6722 2 года назад
Are BC.. U have already written all code how to get
@mramesh4971
@mramesh4971 2 года назад
Good explanation.. Keep going..
@HawkIjr
@HawkIjr 3 года назад
Thank you SO MUCH for your help!
@ramanavenkat530
@ramanavenkat530 3 года назад
Nice video. Please tell difference between implicit and explicit enhancement
@moviepanga6655
@moviepanga6655 3 года назад
Implicit enhancement are predefined enhancement provide by the SAP and explicit enhancement can be implemented by customer.. visit @LearnSapAbap
@theoneandonly4486
@theoneandonly4486 3 года назад
EASY WTF
@cutegoutham0022
@cutegoutham0022 3 года назад
😁
@spankdag2948
@spankdag2948 4 года назад
great job my man! greetings from Italy
@cutegoutham0022
@cutegoutham0022 4 года назад
Thank you Sir.
@subhamchowdhury1801
@subhamchowdhury1801 4 года назад
Thanks.
@cutegoutham0022
@cutegoutham0022 4 года назад
Welcome!
@verofeds29
@verofeds29 4 года назад
How to grey out only 1 column out of the many columns that are editable in the alv. With this method all the other columns are also greyed out! I just want to grey out one column
@cutegoutham0022
@cutegoutham0022 4 года назад
Hi Veronica, Hope you are found out the solution by now. Sorry for replying late. . Solution: in order to Grey out ( Non editable) the entire column you must not do any thing.. What i mean is . Do not pass EDIT = 'X' in field catalog for the specified field . Hope this helps you. Please let me know if you have any more questions.. Thank you
@sanjivranjan5782
@sanjivranjan5782 4 года назад
Nice job.. Appreciate your work.
@cutegoutham0022
@cutegoutham0022 4 года назад
Thanks a lot Sir..
@ss-de5mm
@ss-de5mm 2 года назад
@@cutegoutham0022 hi bro ur number is not working I need ur help bro
@ss-de5mm
@ss-de5mm 2 года назад
@@cutegoutham0022 am siva reddy
@sivareddy606
@sivareddy606 4 года назад
Hi Goutham ..iam siva reddy can you please give me ur contact number
@cutegoutham0022
@cutegoutham0022 4 года назад
Hi Siva, Sorry for the late response. Please connect with me on +7093788319 on wats app only.. Thank you Goutham
@JC-md1wo
@JC-md1wo 4 года назад
excuse me , where is attach code?
@rakshirott8842
@rakshirott8842 4 года назад
How to disable/grey out netprice column in ME21N using BADI method.. kindly help me
@cutegoutham0022
@cutegoutham0022 4 года назад
Hi Rakshi, I am extremely sorry that i have missed to help you in right time. But i was quite busy and was not looking the channel.. I am happy to help any time.. Please post any questions you have in future. Thank you Goutham
@rakshirott8842
@rakshirott8842 4 года назад
@@cutegoutham0022 thanks for your reply but I am no more working in Abap ...
@rowdyboy411
@rowdyboy411 4 года назад
Hi bro i m siva reddy.. I tried to connect u on fb but you were not accepted my fb request . Please give me your contact number
@elKevinBraian
@elKevinBraian 5 лет назад
what happened with the attached source code?
@muralivijaydiary7713
@muralivijaydiary7713 5 лет назад
Hii sir ur teaching is very nice .I can understand ur teaching.plz upload more videos and upload basic list and secondary list alv reports...
@rowdyboy411
@rowdyboy411 5 лет назад
Hi bro I want to learn ABAP on hana ..can u please teach me
@rowdyboy411
@rowdyboy411 5 лет назад
Hi bro please give me Ur contact number
@rowdyboy411
@rowdyboy411 5 лет назад
Hi bro can u please give me ABAP videos and want to learn S4 hana and ABAP on hana .can u please teach me ..I have been struggling since 4 y
@cutegoutham0022
@cutegoutham0022 4 года назад
Hi Siva, I am extremely sorry that i missed to respond in right time. Hope you are doing great. Thank you
@rowdyboy411
@rowdyboy411 4 года назад
@@cutegoutham0022 hi bro givee ur number
@rowdyboy411
@rowdyboy411 4 года назад
@@cutegoutham0022 9392377381
@rowdyboy411
@rowdyboy411 4 года назад
@@cutegoutham0022 bro are u from India or some where
@ss-de5mm
@ss-de5mm 2 года назад
@@cutegoutham0022 hi bro ur number is not working
@rowdyboy411
@rowdyboy411 5 лет назад
Hi bro I am Siva Reddy ..I need ur help can u please give me your WhatsApp num
@sonuYadav-or9lb
@sonuYadav-or9lb 5 лет назад
where is the next video???
@RahulSati44
@RahulSati44 5 лет назад
also attach code..
@naveenyashadapu
@naveenyashadapu 5 лет назад
Hi Goutham I want to draw a table in the text editor to be used to display in the generated email
@cutegoutham0022
@cutegoutham0022 5 лет назад
Hi Naveen, I am not getting what you are trying to ask.. Could you please tell me briefly.
@naveenyashadapu
@naveenyashadapu 5 лет назад
@@cutegoutham0022 Hi Goutham.. I need to display the values in table format for the mail using text elements.
@pavankumar-sj1cl
@pavankumar-sj1cl 5 лет назад
nice video sir... pls upload more videos on enhancements
@Vinay_Krishna
@Vinay_Krishna 5 лет назад
that's an error occurred . It_Mara_1 has more fields than selected. u can't execute using structure.
@cutegoutham0022
@cutegoutham0022 4 года назад
Hi Vinay, That means your internal table has more fields. So internal table stricture should have same fields in select statement. Please do change your select statement to * or change internal table structure. Thank you
@niz18ns
@niz18ns 6 лет назад
hii goutham. can u pls send the links for interactive reports and module pool
@i6g7f
@i6g7f 6 лет назад
Thank You for sharing your thoughts about this interesting topic! good job!
@thomashumathew5645
@thomashumathew5645 6 лет назад
Hello Goutham, I tried to make the code same like yours but its not working. Can you please share me the code
@cutegoutham0022
@cutegoutham0022 6 лет назад
Hi Thomashu, Did you tried code from the below comments of the video? Thank you
@thomashumathew5645
@thomashumathew5645 6 лет назад
I watched the video steps by step and wrote the code.
@thomashumathew5645
@thomashumathew5645 6 лет назад
where can i find those comments ?
@melindareiz7250
@melindareiz7250 6 лет назад
Hi, am I the only one who get's an error, when declaring the it_fcat of type slis_t_fieldcat_alv? The error is telling me that the type is unknown. However, I checked that ct_fieldcat is of same type and that the type exists in the Type Group SLIS.
@dharikavlogs
@dharikavlogs 6 лет назад
Hi please help me with this layout
@br20htm4n
@br20htm4n 7 лет назад
Thank you for this super helpful video. Very easy to understand. But have you uploaded the video for Interactive ALV ? Really appreciate it.
@jayeshgala83
@jayeshgala83 7 лет назад
Good one.Thx
@rafaelrivas19
@rafaelrivas19 7 лет назад
thank you!!!
@pankajkumaram
@pankajkumaram 7 лет назад
it's very nice video. You have put great effort make it understand. Thank you very much
@cutegoutham0022
@cutegoutham0022 7 лет назад
pankaj kumar Thank you .
@cutegoutham0022
@cutegoutham0022 7 лет назад
Hi
@nokia5233able
@nokia5233able 7 лет назад
hiee goutham you should post more of your videos. your explanatory skills are very good. please we students want more of you. Do you teach online privately please mail me at darshanpawar003@gmail.com
@pushpajha8257
@pushpajha8257 7 лет назад
Hii Goutham, Can you please make a video for Interactive ALV plsssssssss......................... bcoz u have explained very nicely .
@pushpajha8257
@pushpajha8257 7 лет назад
Hello Goutham Kumar, This video is awesome, requesting you to pls upload some more detailed video tutorials for other topics as well . Thanks in advance
@ibrahimelajroud7560
@ibrahimelajroud7560 8 лет назад
Hello my friend , can you make videos about Dialog programming and SAP QUERY please?
@girishlingayat1134
@girishlingayat1134 8 лет назад
Hi Goutham, Thanks for the code but not working in my system i just copy the same code , is there anything apart from code that we need configure or anything need to be activate..
@cutegoutham0022
@cutegoutham0022 8 лет назад
Girish. cl_gui_alv_grid=>mc_style_enabled is to enable , cl_gui_alv_grid=>mc_style_disable is to disable. Thanks
@i6g7f
@i6g7f 6 лет назад
don't forget fieldcatalog property edit = 'X' also
@mohammedzia1015
@mohammedzia1015 8 лет назад
Hi Goutham, Nice tutorial, but the audio and video are not in sync. Please take care of that.
@cutegoutham0022
@cutegoutham0022 8 лет назад
Hi Zia, I have observed that ..It was software issue. In later video's i have taken care of that. Few video's uploaded like that. Thanks Goutham
@Surya_sean
@Surya_sean 8 лет назад
WITH OUT START_FORM AND END_FORM ... HOW U R ABLE TO EXECUTE THE SCRIPT ... IT IS TROWING AN ERROR FOR ME HELP ME PLZZ
@cutegoutham0022
@cutegoutham0022 8 лет назад
Hi Pradeeep, START_FROM and END_FORM are not mandatory function modules.that will only be used when multiple forms need to call under same spool.means single output with different forms in it . Thanks
@Surya_sean
@Surya_sean 8 лет назад
Hi Goutham , k tqs a lot for ur responce . i have one more dout . ...u have used "TD and TH " u have used in script symbols . can u plz say us with wht attributes u have created .it is mandatory to use same name in "/E TH and /H TD" thanks ..
@cutegoutham0022
@cutegoutham0022 8 лет назад
Hi Pradeep, TD and TH are the Elements of Main window that are used for table header and table data. Elements are used to split the logic in the windows. means if you want to display some data in window based on some condition other than using the IF statement in scripts, we create elements with different name so from report when we are calling the window we specify the Element name also so only the code which is under the element will be called. for your understanding , Elements in scripts are like performs in reports (only for your understanding). Thanks
@Surya_sean
@Surya_sean 8 лет назад
thanks for your help
@ibrahimelajroud7560
@ibrahimelajroud7560 8 лет назад
Thank you Friend for your support. I will study this video tonight or tomorrow and will give you feedback.
@ibrahimelajroud7560
@ibrahimelajroud7560 8 лет назад
I'm sorry for answering late, too much work. I found this video very detailed. So ,as much is i understand we can use conditions to define the colors of cells like "IF" or "Case" ?
@cutegoutham0022
@cutegoutham0022 8 лет назад
Yes Ibrahim. General Requirement will be like this. If the user wants to see the amounts which are less than some amount in Highlighted color (ex: Red) if the amount is more then in Other color (Ex: Green). Then we need to check the condition like IF amount <= 1000. Fill Red Color. Elseif Amount >= 10000 Fill Green. Endif.
@cutegoutham0022
@cutegoutham0022 8 лет назад
Report Code- *&-**--------------------------------------------------------------------* *& Report ZTEST_ALV_REPORTS *& *&-**--------------------------------------------------------------------* *& *& *&-**--------------------------------------------------------------------* REPORT ztest_alv_reports. TYPE-POOLS: slis. TYPES: BEGIN OF ty_mara, * check(1), matnr TYPE mara-matnr, matkl TYPE mara-matkl, mtart TYPE mara-mtart, meins TYPE mara-meins, menge TYPE menge_d, END OF ty_mara. DATA: it_mara TYPE TABLE OF mara, wa_mara TYPE mara, it_mara_1 TYPE TABLE OF ty_mara, wa_mara_1 TYPE ty_mara, it_fcat TYPE slis_t_fieldcat_alv, wa_fcat TYPE slis_fieldcat_alv, wa_layout TYPE slis_layout_alv, it_sort TYPE slis_t_sortinfo_alv, wa_sort TYPE slis_sortinfo_alv, it_events TYPE slis_t_event, wa_events TYPE slis_alv_event, it_header TYPE slis_t_listheader, wa_header TYPE slis_listheader. START-OF-SELECTION. ** Complete table SELECT * FROM mara INTO TABLE it_mara UP TO 100 ROWS. ** Partial data SELECT matnr matkl mtart meins FROM mara INTO CORRESPONDING FIELDS OF TABLE it_mara_1 UP TO 100 ROWS. IF sy-subrc = 0. LOOP AT it_mara_1 INTO wa_mara_1. wa_mara_1-menge = sy-tabix. MODIFY it_mara_1 FROM wa_mara_1 TRANSPORTING menge. ENDLOOP. ENDIF. END-OF-SELECTION. ** Automatic * CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' * EXPORTING * i_program_name = sy-cprog ** I_INTERNAL_TABNAME = 'IT_MARA' * i_structure_name = 'MARA' ** I_CLIENT_NEVER_DISPLAY = 'X' ** I_INCLNAME = ** I_BYPASSING_BUFFER = ** I_BUFFER_ACTIVE = * CHANGING * ct_fieldcat = it_fcat * EXCEPTIONS * inconsistent_interface = 1 * program_error = 2 * OTHERS = 3. ***** Semi Automatic * LOOP AT it_fcat INTO wa_fcat. * IF wa_fcat-fieldname = 'MATNR'. * wa_fcat-hotspot = 'X'. * ENDIF. * MODIFY it_fcat FROM wa_fcat INDEX sy-tabix. * ENDLOOP. * ** Display full table with out building Field catalog * CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' * EXPORTING * i_callback_program = sy-cprog ** i_structure_name = 'MARA' * it_fieldcat = it_fcat * TABLES * t_outtab = it_mara * EXCEPTIONS * program_error = 1 * OTHERS = 2. ** Types of Building Field catalog * 1) Automatic * 2) Semi Automatic * 3) Manual * * ** Manual Field catalog *CLEAR wa_fcat. * wa_fcat-fieldname = 'CHECK'. * wa_fcat-col_pos = 1. * wa_fcat-seltext_l = 'Sel'. * wa_fcat-seltext_m = 'Sel'. * wa_fcat-seltext_s = 'Sel'. * wa_fcat-edit = 'X'. * wa_fcat-checkbox = 'X'. * wa_fcat-outputlen = 20. * APPEND wa_fcat TO it_fcat. * CLEAR wa_fcat. CLEAR wa_fcat. wa_fcat-fieldname = 'MATNR'. wa_fcat-col_pos = 1. wa_fcat-seltext_l = 'Material Number in SAP'. wa_fcat-seltext_m = 'Material Number'. wa_fcat-seltext_s = 'Material No'. wa_fcat-hotspot = 'X'. wa_fcat-outputlen = 20. APPEND wa_fcat TO it_fcat. CLEAR wa_fcat. wa_fcat-fieldname = 'MATKL'. wa_fcat-col_pos = 2. wa_fcat-seltext_l = 'Material Group'. wa_fcat-seltext_m = 'Material Grp'. wa_fcat-seltext_l = 'Material Gp'. wa_fcat-outputlen = 20. APPEND wa_fcat TO it_fcat. CLEAR wa_fcat. wa_fcat-fieldname = 'MTART'. wa_fcat-col_pos = 3. wa_fcat-seltext_l = 'Material Type'. wa_fcat-seltext_m = 'Material Typ'. wa_fcat-seltext_l = 'Material Tp'. wa_fcat-ref_fieldname = 'MATNR'. wa_fcat-outputlen = 20. APPEND wa_fcat TO it_fcat. CLEAR wa_fcat. wa_fcat-fieldname = 'MEINS'. wa_fcat-col_pos = 4. wa_fcat-seltext_l = 'Unit Of Measurement'. wa_fcat-seltext_m = 'Unit Of Meas.'. wa_fcat-seltext_l = 'UOM'. wa_fcat-row_pos = '1'. wa_fcat-outputlen = 20. APPEND wa_fcat TO it_fcat. CLEAR wa_fcat. wa_fcat-fieldname = 'MENGE'. wa_fcat-col_pos = 5. wa_fcat-seltext_l = 'Quantity'. wa_fcat-seltext_m = 'Quantity'. wa_fcat-seltext_l = 'Qty'. wa_fcat-outputlen = 20. * wa_fcat-edit = 'X'. wa_fcat-do_sum = 'X'. APPEND wa_fcat TO it_fcat. CLEAR wa_fcat. ** ** ** Automatic sorting at layout * wa_sort-fieldname = 'MATKL'. * wa_sort-subtot = 'X'. * wa_sort-up = 'X'. * APPEND wa_sort TO it_sort. * CLEAR wa_sort. ** * wa_sort-fieldname = 'MTART'. * wa_sort-subtot = 'X'. * wa_sort-down = 'X'. * APPEND wa_sort TO it_sort. * CLEAR wa_sort. ** ** * CALL FUNCTION 'REUSE_ALV_EVENTS_GET' * EXPORTING * i_list_type = 4 * IMPORTING * et_events = it_events * EXCEPTIONS * list_type_wrong = 1 * OTHERS = 2. * IF sy-subrc <> 0. ** Implement suitable error handling here * ENDIF. * wa_layout-colwidth_optimize = 'X'. wa_layout-zebra = 'X'. CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-cprog * i_callback_top_of_page = 'TOP_OF_PAGE' * i_callback_pf_status_set = 'PF_STATUS' * i_callback_user_command = 'USER_COMMAND' is_layout = wa_layout it_fieldcat = it_fcat it_sort = it_sort * it_events = it_events i_save = 'X' TABLES t_outtab = it_mara_1 EXCEPTIONS program_error = 1 OTHERS = 2. IF sy-subrc <> 0. * Implement suitable error handling here ENDIF. * FORM pf_status USING it_ex TYPE kkblo_t_extab. * APPEND '&ETA' to it_ex. SET PF-STATUS 'ZSTATUS_COPY' EXCLUDING it_ex. ENDFORM. FORM top_of_page. REFRESH it_header. wa_header-info = 'Heading'. wa_header-typ = 'H'. APPEND wa_header TO it_header. CLEAR wa_header. wa_header-info = 'Heading'. wa_header-typ = 'A'. APPEND wa_header TO it_header. CLEAR wa_header. wa_header-key = 'Material'. wa_header-info = '100001'. wa_header-typ = 'S'. APPEND wa_header TO it_header. CLEAR wa_header. CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = it_header * I_LOGO = * I_END_OF_LIST_GRID = * I_ALV_FORM = . ENDFORM. FORM user_command USING r_ucomm TYPE sy-ucomm r_selfield TYPE slis_selfield. DATA: lr_grid TYPE REF TO cl_gui_alv_grid. * *** To get the current ALV Control CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR' * EXPORTING * IR_SALV_FULLSCREEN_ADAPTER = IMPORTING * ET_EXCLUDING = * E_REPID = * E_CALLBACK_PROGRAM = * E_CALLBACK_ROUTINE = e_grid = lr_grid * ET_FIELDCAT_LVC = * ER_TRACE = * E_FLG_NO_HTML = * ES_LAYOUT_KKBLO = * ES_SEL_HIDE = * ET_EVENT_EXIT = * ER_FORM_TOL = * ER_FORM_EOL = . *** To get the Grid data into Internal table IF lr_grid IS NOT INITIAL. CALL METHOD lr_grid->check_changed_data. ENDIF. * SET PARAMETER ID 'MAT' FIELD r_selfield-value. * CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN. r_selfield-refresh = 'X'. ENDFORM.
@jonathanjosuemenjivarigles4154
@jonathanjosuemenjivarigles4154 2 года назад
Super, Thanks 💯
@cutegoutham0022
@cutegoutham0022 8 лет назад
Report Code- REPORT zalv_edit_cell. TYPE-POOLS: col. ** Types Declarations TYPES: BEGIN OF ty_data, matnr TYPE mara-matnr, matkl TYPE mara-matkl, mtart TYPE mara-mtart, meins TYPE mara-meins, style TYPE lvc_t_styl, " Field Property table colors TYPE lvc_t_scol, " Field Color Property END OF ty_data. ** Variable Declarations DATA: it_data TYPE TABLE OF ty_data, it_fcat TYPE lvc_t_fcat, wa_fcat TYPE LINE OF lvc_t_fcat, wa_layout TYPE lvc_s_layo, wa_style TYPE LINE OF lvc_t_styl, wa_colors TYPE LINE OF lvc_t_scol. FIELD-SYMBOLS: <wa_data> TYPE ty_data. START-OF-SELECTION. ** Getting data from Table SELECT matnr matkl mtart meins FROM mara INTO CORRESPONDING FIELDS OF TABLE it_data UP TO 100 ROWS. IF sy-subrc = 0. ** Filling Cell Property of each row of internal table LOOP AT it_data ASSIGNING <wa_data>. IF <wa_data>-meins = 'EA' OR <wa_data>-meins = 'KG' . wa_style-fieldname = 'MEINS'. IF <wa_data>-meins = 'EA'. wa_style-style = cl_gui_alv_grid=>mc_style_disabled." To make field disable ENDIF. APPEND wa_style TO <wa_data>-style. CLEAR wa_style. wa_colors-fname = 'MEINS'. IF <wa_data>-meins = 'EA'. wa_colors-color-col = col_negative. ELSE. wa_colors-color-col = col_positive. ENDIF. wa_colors-color-int = 1. APPEND wa_colors TO <wa_data>-colors. CLEAR wa_colors. ENDIF. ENDLOOP. ENDIF. ** Build Field catalog wa_fcat-fieldname = 'MATNR'. wa_fcat-ref_table = 'MARA'. wa_fcat-ref_field = 'MATNR'. APPEND wa_fcat TO it_fcat. CLEAR wa_fcat. wa_fcat-fieldname = 'MATKL'. wa_fcat-ref_table = 'MARA'. wa_fcat-ref_field = 'MATKL'. APPEND wa_fcat TO it_fcat. CLEAR wa_fcat. wa_fcat-fieldname = 'MTART'. wa_fcat-ref_table = 'MARA'. wa_fcat-ref_field = 'MTART'. APPEND wa_fcat TO it_fcat. CLEAR wa_fcat. wa_fcat-fieldname = 'MEINS'. wa_fcat-ref_table = 'MARA'. wa_fcat-ref_field = 'MEINS'. wa_fcat-edit = 'X'. APPEND wa_fcat TO it_fcat. CLEAR wa_fcat. ** Passing Style and Color field names of internal table to Layout wa_layout-stylefname = 'STYLE'. wa_layout-ctab_fname = 'COLORS'. ** Display data IF it_data IS NOT INITIAL. CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = i_callback_program = sy-cprog * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' * I_STRUCTURE_NAME = * I_BACKGROUND_ID = ' ' * I_GRID_TITLE = * I_GRID_SETTINGS = is_layout_lvc = wa_layout it_fieldcat_lvc = it_fcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS_LVC = * IT_SORT_LVC = * IT_FILTER_LVC = * IT_HYPERLINK = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT_LVC = * IS_REPREP_ID_LVC = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_HTML_HEIGHT_TOP = * I_HTML_HEIGHT_END = * IT_ALV_GRAPHICS = * IT_EXCEPT_QINFO_LVC = * IR_SALV_FULLSCREEN_ADAPTER = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = it_data EXCEPTIONS program_error = 1 OTHERS = 2. IF sy-subrc <> 0. * Implement suitable error handling here ENDIF. ENDIF.
@pushpajha8257
@pushpajha8257 7 лет назад
I am not able to view your code. please paste once again Goutham
@cutegoutham0022
@cutegoutham0022 7 лет назад
Pushpa Jha Report Code- REPORT zalv_edit_cell. TYPE-POOLS: col. ** Types Declarations TYPES: BEGIN OF ty_data, matnr TYPE mara-matnr, matkl TYPE mara-matkl, mtart TYPE mara-mtart, meins TYPE mara-meins, style TYPE lvc_t_styl, " Field Property table colors TYPE lvc_t_scol, " Field Color Property END OF ty_data. ** Variable Declarations DATA: it_data TYPE TABLE OF ty_data, it_fcat TYPE lvc_t_fcat, wa_fcat TYPE LINE OF lvc_t_fcat, wa_layout TYPE lvc_s_layo, wa_style TYPE LINE OF lvc_t_styl, wa_colors TYPE LINE OF lvc_t_scol. FIELD-SYMBOLS: <wa_data> TYPE ty_data. START-OF-SELECTION. ** Getting data from Table SELECT matnr matkl mtart meins FROM mara INTO CORRESPONDING FIELDS OF TABLE it_data UP TO 100 ROWS. IF sy-subrc = 0. ** Filling Cell Property of each row of internal table LOOP AT it_data ASSIGNING <wa_data>. IF <wa_data>-meins = 'EA' OR <wa_data>-meins = 'KG' . wa_style-fieldname = 'MEINS'. IF <wa_data>-meins = 'EA'. wa_style-style = cl_gui_alv_grid=>mc_style_disabled." To make field disable ENDIF. APPEND wa_style TO <wa_data>-style. CLEAR wa_style. wa_colors-fname = 'MEINS'. IF <wa_data>-meins = 'EA'. wa_colors-color-col = col_negative. ELSE. wa_colors-color-col = col_positive. ENDIF. wa_colors-color-int = 1. APPEND wa_colors TO <wa_data>-colors. CLEAR wa_colors. ENDIF. ENDLOOP. ENDIF. ** Build Field catalog wa_fcat-fieldname = 'MATNR'. wa_fcat-ref_table = 'MARA'. wa_fcat-ref_field = 'MATNR'. APPEND wa_fcat TO it_fcat. CLEAR wa_fcat. wa_fcat-fieldname = 'MATKL'. wa_fcat-ref_table = 'MARA'. wa_fcat-ref_field = 'MATKL'. APPEND wa_fcat TO it_fcat. CLEAR wa_fcat. wa_fcat-fieldname = 'MTART'. wa_fcat-ref_table = 'MARA'. wa_fcat-ref_field = 'MTART'. APPEND wa_fcat TO it_fcat. CLEAR wa_fcat. wa_fcat-fieldname = 'MEINS'. wa_fcat-ref_table = 'MARA'. wa_fcat-ref_field = 'MEINS'. wa_fcat-edit = 'X'. APPEND wa_fcat TO it_fcat. CLEAR wa_fcat. ** Passing Style and Color field names of internal table to Layout wa_layout-stylefname = 'STYLE'. wa_layout-ctab_fname = 'COLORS'. ** Display data IF it_data IS NOT INITIAL. CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = i_callback_program = sy-cprog * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' * I_STRUCTURE_NAME = * I_BACKGROUND_ID = ' ' * I_GRID_TITLE = * I_GRID_SETTINGS = is_layout_lvc = wa_layout it_fieldcat_lvc = it_fcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS_LVC = * IT_SORT_LVC = * IT_FILTER_LVC = * IT_HYPERLINK = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT_LVC = * IS_REPREP_ID_LVC = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_HTML_HEIGHT_TOP = * I_HTML_HEIGHT_END = * IT_ALV_GRAPHICS = * IT_EXCEPT_QINFO_LVC = * IR_SALV_FULLSCREEN_ADAPTER = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = it_data EXCEPTIONS program_error = 1 OTHERS = 2. IF sy-subrc <> 0. * Implement suitable error handling here ENDIF. ENDIF.
@pushpajha8257
@pushpajha8257 7 лет назад
Hello Goutam, Can you please attach some more videos of ABAp. It's really very helpful as you explained everything very nicely.
@rafaelrivas19
@rafaelrivas19 8 лет назад
Thanks for the explanation, Can I get your code? I'd need it
@cutegoutham0022
@cutegoutham0022 8 лет назад
I have attached the code.. Please Check..
@rafaelrivas19
@rafaelrivas19 8 лет назад
I appreciate it sir, Thank You!!
@ibrahimelajroud7560
@ibrahimelajroud7560 8 лет назад
Well done as usual. There is an abap technical word "HOTSPOT" it seems to have an effective effect on the list. Correct me if i'm wrong.
@cutegoutham0022
@cutegoutham0022 8 лет назад
Ibrahim, Yes we can use the hotspot, generally Double click of the mouse will trigger the Event , so if we give HOTSPOT Attribute in Write statement then with Single click the event will be Triggered. I have mainly covered the methods to handle the interactive actions in Report, and have not concentrated on any other topics as Reports are one of the huge topic which includes 1) Many types of declarations 2) Selection Screen formatting 3) Events Purpose with examples 4) Different types of Select Statements 5) Formatting of the Output 6) Interactive Functionality In this we have mainly covered on Interactive Functionality and over view of Events and Formatting of Output. Please let me know if any thing is required .. Thanks
@ibrahimelajroud7560
@ibrahimelajroud7560 8 лет назад
i think u treated well this chapter . I should from my side try on by myself, when i get blocked , i will seek your help. Hope there will be another video like this one for ALV reports. Thank you again for all the work.
@cutegoutham0022
@cutegoutham0022 8 лет назад
Sure .. i am planning that..
@cutegoutham0022
@cutegoutham0022 8 лет назад
+Ibrahim El ajroud.please find the below link for alv reports. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-j7dpzyMz7Bg.html
@ibrahimelajroud7560
@ibrahimelajroud7560 8 лет назад
Very Fast explaination ! Couldn't follow you very well.
@cutegoutham0022
@cutegoutham0022 8 лет назад
ibrahim its actually audio video sync issue. please listen few times . i have corrected this issue on later videos.
@ibrahimelajroud7560
@ibrahimelajroud7560 8 лет назад
I have no doubts. Actually it's a very well done video. I really thank you very much for your Help and support. You really helped me a lot ! I will keep in touch with you whenever i find a problem in SAP. Thank you again SIR!
@cutegoutham0022
@cutegoutham0022 8 лет назад
That's great.. All the very best..
@ibrahimelajroud7560
@ibrahimelajroud7560 8 лет назад
thank you. Can you make a video about interactive reports like ABAP Events, please?
@cutegoutham0022
@cutegoutham0022 8 лет назад
ABAP Classical Interactive Reports - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-sgpXyAomV-o.html
@ibrahimelajroud7560
@ibrahimelajroud7560 8 лет назад
thank you sir!!!
@cutegoutham0022
@cutegoutham0022 8 лет назад
Hope this video helped you.
@ibrahimelajroud7560
@ibrahimelajroud7560 8 лет назад
i've just finished watching. This is really interesting. Still i need to know how to display Window and table borders and how to add graphics. PS: Keep up the good work !
@cutegoutham0022
@cutegoutham0022 8 лет назад
+Ibrahim El ajroud i have added the video for tables and windows borders.