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

XD01 Customer data Additional Screen

Former Member
0 Likes
1,024

Hi,

I have created a BADI implementation for XD01/02/03 to add custom screen with additional customer fields using BADI CUSTOMER_ADD_DATA and CUSTOMER_ADD_DATA_CS. Works well, customer master now has a new button that brings me to a screen I defined.

Now I have a requirement to only show this additional screen button for certain Sales Area and I cannot find a way to do it.

I can hide tabs on custom screen by Sales Organization, but activating whole button+screen functionality looks to only be possible before Sales Area data is known during IF_EX_CUSTOMER_ADD_DATA~CHECK_ADD_ON_ACTIVE

Is there something I am missing?

Jurijs

5 REPLIES 5
Read only

Ryan-Crosby
Active Contributor
0 Likes
844

Hi Jurijs,

Have you checked the method 'SUPPRESS_TAXI_TABSTRIPS' for the BADI definition 'CUSTOMER_ADD_DATA_CS'?  It looks like maybe you can use this to suppress the tabs based on your sales area requirement.

Regards,

Ryan Crosby

Read only

0 Likes
844

Yes, I tried that, but it only hides the tab. So the button is still there, bit goes to empty screen.

Read only

0 Likes
844

Shouldn't the button only be showing when you actually navigate to the tab?  That sounds like you would have edited the standard screen instead of creating a subscreen that gets called based on the BADI stuff.

Read only

0 Likes
844

Button appears automatically when activating the add-on in CUSTOMER_ADD_DATA-CHECK_ADD_ON_ACTIVE method

But when this is checked, I don't yet have information on Sales Area

Read only

0 Likes
844

Ahhh, I misread that part and thought you were speaking of the tab and not the button.  I'm unaware of a way to hide the button but I'll check to see if I can find anything.