Skip to Content
0
Former Member
Oct 26, 2006 at 01:45 AM

Screen Enhancement : XD01/XD02

318 Views

Hi Friends,

<b>Requirement :

1</b> Need to add a custom display field(zzind_grp) in Customer Master->General Data->Marketing Tab andthe same field should be appended to KNA1 which is done.

<b>2.</b> Valid combination of Industry code(BRAN1) and zzind_grp is maintained in a custom table.

<b>3.</b> When user changes the existing Industry code then Industry Group also should be changed and saved in KNA1.

<b>WHAT ALL I TRIED :</b>

I'm using following BADI to achieve the same -

<b>A.</b> CUSTOMER_ADD_DATA_CS

<b>B.</b> CUSTOMER_ADD_DATA

This BADI is not meant to add the custom field in standard tab ( which is my exact requirement).

But using this i'm getting an additional button in the tool bar and when i click on this button i get a set of tab and i'm populating my custom field in one of the tab.

<b>PROBLEM :</b>

When i change the industry code (KNA1-BRAN1:standard field in marketing tab of general data) and then i click on the additional button at tool bar then value for the custom fields getting changed ( corresponding to change in standard field ) BUT when i change the value of standard field BRAN1 and click on SAVE button <b>Without clicking on additional button created by BADI</b> , changes are not saved to the KNA1 for this custom field.

<b>Note :</b> If i get a exit/BADI by which i can change the general data ( KNA1),not in ztable at the time of saving then my problem will be solved.