Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BADI Query

Former Member
0 Likes
476

Hello ABAP GURU ,

                          I am practicing BADI. My aim is to create selection screen for VL01/VL02/VL03 . So i have created a structure in table LIKP then i create custom Function group for custom screen and for FD to send and retrive data from screen.Then i open LE_SHP_TAB_CUST_HEAD badi for delivery screen and created an implementation for it. Under interface tab i did

code under ACTIVATION_TAB_PAGE :

                        METHOD IF_EX_LE_SHP_TAB_CUST_HEAD_ACTIVATE_TAB_PAGE.

                      EF_CAPTION = TEXT-000 " WHICH I CREATED

                      EF_POSTION = 4.

                      EF_PROGRAM = 'SAPLZSDVL01_HEAD'.

                      EF_DYNPRO  = '2000'

                      CS_V50AGL_CUST = 'X'.

                       ENDMETHOD.

code under TRANSFER_DATA_TO_SUBSCREEN :I call the FM as :

                                  METHOD IF_EX_LE_SHP_TAB_CUST_HEAD-TRANSFER_DATA_TO_SUBSCREEN

                                  CALL FUNCTION 'Z_SET_DELI_HEAD_DATA_VL01'

                                     EXPORTING

                                            IS_LIKP   = IS_LIKP.

                                  ENDMETHOD.  

code under TRANSFER_DATA_FROM_SUBSCREEN :I call the FM as :

                                  METHOD IF_EX_LE_SHP_TAB_CUST_HEAD-TRANSFER_DATA_FROM_SUBSCREEN

                                  CALL FUNCTION 'Z_GET_DELI_HEAD_DATA_VL01'

                                     EXPORTING

                                            CS_LIKP   = CS_LIKP.

                                  ENDMETHOD.

then i activate it without any error, howevew when i checked VL01/VL02/VL03 i am unable to see any change in the selection screen. Plz guide me what should i do so that i can see custom design selection screen

Hello ABAP GURU ,

                          I am practicing BADI. My aim is to create selection screen for VL01/VL02/VL03 . So i have created a structure in table LIKP then i create custom Function group for custom screen and for FD to send and retrive data from screen.Then i open LE_SHP_TAB_CUST_HEAD badi for delivery screen and created an implementation for it. Under interface tab i did

code under ACTIVATION_TAB_PAGE :

                        METHOD IF_EX_LE_SHP_TAB_CUST_HEAD_ACTIVATE_TAB_PAGE.

                      EF_CAPTION = TEXT-000 " WHICH I CREATED

                      EF_POSTION = 4.

                      EF_PROGRAM = 'SAPLZSDVL01_HEAD'.

                      EF_DYNPRO  = '2000'

                      CS_V50AGL_CUST = 'X'.

                       ENDMETHOD.

code under TRANSFER_DATA_TO_SUBSCREEN :I call the FM as :

                                  METHOD IF_EX_LE_SHP_TAB_CUST_HEAD-TRANSFER_DATA_TO_SUBSCREEN

                                  CALL FUNCTION 'Z_SET_DELI_HEAD_DATA_VL01'

                                     EXPORTING

                                            IS_LIKP   = IS_LIKP.

                                  ENDMETHOD.  

code under TRANSFER_DATA_FROM_SUBSCREEN :I call the FM as :

                                  METHOD IF_EX_LE_SHP_TAB_CUST_HEAD-TRANSFER_DATA_FROM_SUBSCREEN

                                  CALL FUNCTION 'Z_GET_DELI_HEAD_DATA_VL01'

                                     EXPORTING

                                            CS_LIKP   = CS_LIKP.

                                  ENDMETHOD.

then i activate it without any error, howevew when i checked VL01/VL02/VL03 i am unable to see any change in the selection screen. Plz guide me what should i do so that i can see custom design selection screen

1 REPLY 1
Read only

Former Member
0 Likes
403

This message was moderated.