This website is not affiliated with, sponsored by, or approved by SAP AG.

Restricting Customer Master Screen Enhancement depending on

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Restricting Customer Master Screen Enhancement depending on

Postby eartherian » Fri Sep 05, 2014 1:00 am

Hello ABAPers,

I have added a new tab to receive an information (RDC) which will be saved in a new field of KNVV table.
This was done implementing particular interfaces of BADIs CUSTOMER_ADD_DATA and CUSTOMER_ADD_DATA_CS.

I now want this button to be visible only when a particular account group is selected during creation (XD01) or when changes are made to a customer having that particular AG.

The information about the AG stored in the KTOKD field of the table KNA1.
But I am not very sure how to restrict this button on the basis of that.

Any helpful suggestions?
eartherian
 
Posts: 1
Joined: Wed Jun 19, 2013 9:07 am

Re: Restricting Customer Master Screen Enhancement depending on

Postby Gothmog » Fri Sep 05, 2014 3:35 am

You can use method SUPPRESS_TAXI_TABSTRIPS of BAdI CUSTOMER_ADD_DATA_CS for this.
68 74 74 70 3a 2f 2f 74 69 6e 79 75 72 6c 2e 63 6f 6d 2f 62 64 6f 37 6d 77 67
Gothmog
 
Posts: 1943
Joined: Wed Sep 12, 2007 4:46 am
Location: Probably not home


Return to ABAP

Who is online

Users browsing this forum: No registered users and 5 guests





This website is not affiliated with, sponsored by, or approved by SAP AG.