Application Development 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: 

Not getting result in BADI

Former Member
0 Kudos

hi friends,

i am new to BADI concept, i am using 'LE_SHP_TAB_CUST_HEAD' BADI for

adding new TAB to VL01n screen i created the subscreen with the function group

and i am passing all the paremeters to the methods which is there in that BADI,

ACTIVATE_TAB_PAGE: in this methid i am using like this.

EF_CAPTION = 'Madhu'.

EF_POSITION = ' '.

EF_PROGRAM = 'SAPLZ00SDBADI0001'.

EF_DYNPRO = '9000'.

TRANSFER_DATA_TO_SUBSCREEN: in this i am using this.

SET PARAMETER ID 'IMEM' FIELD is_likp-ZLRNUMBER.

SET PARAMETER ID 'IMEM' FIELD is_likp-ZVEHNUMBER.

SET PARAMETER ID 'IMEM' FIELD is_likp-ZLIFNR.

TRANSFER_DATA_FROM_SUBSCREEN: in this method i did this.

GET PARAMETER ID 'OMEM' FIELD cs_likp-ZLRNUMBER..

GET PARAMETER ID 'OMEM' FIELD cs_likp-ZVEHNUMBER.

GET PARAMETER ID 'OMEM' FIELD cs_likp-ZLIFNR.

but when i am executing the VL01n screen i am not getting any extra tab in that

what would be the problem .

can any tell me that.

thanks in advance.

srujan.p

1 ACCEPTED SOLUTION

asik_shameem
Active Contributor
0 Kudos

Hi

Put a break-point at statement EF_CAPTION = 'Madhu' in BADI.

If it triggers, then the problem is your Function Group.

Create a new Function Group say 'ZFG_TEST'.

Create a screen say '9000' inside ZFG_TEST.

In SE80, Right click on ZFG_TEST and Activate.

Now, Everything (Screens & Includes) must be activated. Then, in Method ACTIVATE_TAB_PAGE,

EF_CAPTION = 'Madhu'.
EF_PROGRAM = 'SAPLZFG_TEST'.
EF_DYNPRO = '9000'.

4 REPLIES 4

asik_shameem
Active Contributor
0 Kudos

Hi

Make sure you activated all the includes in SE38 for the function group SAPLZ00SDBADI0001

and activated the implemented BADI in SE19.

0 Kudos

hi asik thank you, i did every thing but still it is not getting any result,

asik_shameem
Active Contributor
0 Kudos

Hi

Put a break-point at statement EF_CAPTION = 'Madhu' in BADI.

If it triggers, then the problem is your Function Group.

Create a new Function Group say 'ZFG_TEST'.

Create a screen say '9000' inside ZFG_TEST.

In SE80, Right click on ZFG_TEST and Activate.

Now, Everything (Screens & Includes) must be activated. Then, in Method ACTIVATE_TAB_PAGE,

EF_CAPTION = 'Madhu'.
EF_PROGRAM = 'SAPLZFG_TEST'.
EF_DYNPRO = '9000'.

Former Member
0 Kudos

thanks every one who helped me