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: 

BADI'S problem.

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

9 REPLIES 9

Former Member
0 Kudos

did u activate the badi?

0 Kudos

HI ANIL

0 Kudos

HI ANIL,

i activated the BADI debugger is comming there but still i am not getting any result i created the enhancement object from se18 io entered the BADI name and with menu path Enhancement -> create i created the enhancement object and i activated that BADI but still. it is not getting any thing, can u tell me what would be the problem

0 Kudos

Hi..first u have to imlement it and then u activate the badi

0 Kudos

is it the right badi that u have invoked?

0 Kudos

ya that BADI is correct one but how to implement it if i go with the se19 it is saying that this BADI is implemented, what should i do

can you tell me the proces for imlimentation. and without implementation how debugger is comming their

0 Kudos

u dont need to go to se19 instead from se18 itself u can implement and activate the badi..

0 Kudos

i activated that BADI but still it not comming , i have no clue can any one help to find the problem

0 Kudos

Hi Madhu,

this procedure worked fine for me:

1- create implementation for badi LE_SHP_TAB_CUST_HEAD;

2- implement method ACTIVATE_TAB_PAGE;

3- in ACTIVATE_TAB_PAGE, set parameter EF_POSITION with the tab position, instead of pass blank value;

4-create the funcion group and screen used in EF_PROGRAM and EF_DYNPRO;

5-set the screen as SUBSCREEN.

Check if your screen is set as subscreen.