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

How to Add a New custom field in the XD03 Transaction screen

Hi all,

I added a new field in the KNA1 table. I would like to display this field in the XD03 transaction screen. How it is possible ?

Please provide me the details of how to do>

Appriciate your help.

Thanks in advance

KP

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 13, 2007 at 03:48 PM

    badis CUSTOMER_ADD_DATA ans CUSTOMER_ADD_DATA_CS

    can be used to add custom fields to transaction.

    Try it.

    Regards

    Vasu

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      HI vasu,

      Thanks for reply..

      Can you please give me the procedure how to do ? I am new to this.

      Appriciate if you could send me a document or any other instructions on how to do this.

      Thanks for the reply again

  • author's profile photo Former Member
    Former Member
    Posted on Sep 13, 2007 at 03:52 PM

    hi,

    try exit SAPMF02D with

    fm EXIT_SAPMF02D_001

    If you want to go with BADI,

    You need to create the implementation for the BADI definition and there you write the code required by your business,

    go to SE18 transaction, for Implementation go to SE19 transaction

    Go to se18 and see the documentation for this badi

    check the following link, this might help,

    http://help.sap.com/saphelp_47x200/helpdata/en/1d/97a33a698cd43be10000000a114084/frameset.htm

    ~~Guduri

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi KP,

      In the implementation part of the code you need to write a code similar to below :

      select single <your z field> from kna1 into a <var1>

      where kunnr = <cust no>.

      loop at screen.

      if screen-field = <your field name>

      screen-input = 1.

      <you can change field contents>

      modify screen.

      endloop.

      the updation process happens automatically into the table.

      Hope this helps.

      Thanks

      Dany

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.