09-19-2008 5:13 AM
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
09-19-2008 7:57 AM
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'.
09-19-2008 5:39 AM
Hi
Make sure you activated all the includes in SE38 for the function group SAPLZ00SDBADI0001
and activated the implemented BADI in SE19.
09-19-2008 6:34 AM
hi asik thank you, i did every thing but still it is not getting any result,
09-19-2008 7:57 AM
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'.
09-19-2008 11:45 AM