Skip to Content
author's profile photo Former Member
Former Member

Customer Master : Screen Enhancement

Hi Friends,

<b>Requirement :</b> Need to add a <b>custom display</b> field(zzind_grp) in Customer Master.

<b>1.</b> TAB : "Marketing" and the same field(zzind_grp)

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 -

A. CUSTOMER_ADD_DATA_CS

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) and then i click on the additional button at tool bar then value for the custom fields getting changed ( based on custom table maintained ) BUT when i change the value of standard field BRAN1 and click on SAVE button Without clicking on additional button created by BADI , 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) at the time of saving then my problem will be solved.<b></b>

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Oct 23, 2006 at 09:46 AM

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

    CUSTOMER_ADD_DATA is the badi to do that.

    Read the NOTE: 577502

    https://websmp209.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=577502

    Regards,

    Ravi

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Ravikanth Talagana

      Thanks Ravi,

      I Set break point in all the method of BADI CUSTOMER_ADD_DATA but i dont get any method which triggers where i can change the value of Z field appended to KNA1 <b>if i change value of standard field and click on save button without clicking on button which is added by the enhancement .</b>

      I'll appreciate if you tell me the method by which i can achieve the same.

      Regards

      Sonal

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.