‎2010 Jan 20 6:48 PM
Hi,
In transaction VD02 (Customer change )I need to hide certain tabs.
To do this I am trying to use
BADI: CUSTOMER_ADD_DATA_CS
Method: SUPPRESS_TAXI_TABSTRIPS
I put some (test code ) and set the breakpoints but its not stopping in this method when I execute VD02.
Do we need to do any SPRO changes to implement this BADI? How we can use this method to hide tabs?
Can any one tell me how I can use this method to hide tabs in the screen. ? If any one has sample code for this method?
Thanks in advance.
Kevin.
‎2010 Jan 21 7:41 AM
The breakpoint is not stopping in BADI: CUSTOMER_ADD_DATA_CS Method: SUPPRESS_TAXI_TABSTRIPS because its simply defination. To use it you need to implement through SE19 tcode.
Please serach on SDM itself, you will get the steps to implement the BADI
The Following sample code might help you to suppress the tab in method SUPPRESS_TAXI_TABSTRIPS :-
data: l_FCOD TYPE FCODE VALUE 'XXX'.
*Put the fcode of your tab you will get it by starting the dubugging and clicking the tab with system variable sy-ucomm.
Suppressing the tab
APPEND L_FCODEC TO E_NOT_USED_TAXI_FCODES.
‎2010 Jan 21 11:41 PM
Hi SHEFALI GANGRADE ,
Sorry I think you did not read my question properly.
I implemented this BADI and put the sample code and activated breakpoints, but still when I execute the Tcode VD02 and entering the Customer no and hit enter - is it supposed to stop in the method??
If anyone has any idea why it is not stopping?
Do we need to do any SPRO changes for this requirement?
I appreciate your answers.
Thanks,
Kevin.
‎2010 Jan 21 11:59 PM
I am little hesitant, on using this BADI to hide a tab...
The documentation of the BADI says to add a new sub screen to one of the tabs..
Example: "from the documentation
You can use the Business Add-In to integrate subscreens in the standard dialog
of the customer master. On these subscreens you can enable the processing of
your own data.