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

Hide tabs in Tcode VD02 ?

Former Member
0 Likes
812

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.

3 REPLIES 3
Read only

Former Member
0 Likes
620

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.

Read only

0 Likes
620

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.

Read only

former_member156446
Active Contributor
0 Likes
620

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.