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

IDOC Posting with new fields in VA01


Previously i asked for creating New fields in VA01 screen.

i got that now i need to create a sales order based on the Inbound IDOC which i get and i will be getting new fields which are created .

And this Fields data is coming from an Extension to the Standard IDOC. Sales order is getting created but the new fields are not getting populated nor stored in VBAK Table.

pls let me know why is this.And provide me with a soultion.


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2005 at 07:18 PM


    i had a similar problem in my last assignment .

    I think you are using IDOC_INPUT_ORDERS F/M for Posting the IDOC.

    Here once you go into the code at line number 116 you can see that they are calling Transaction VA01 for posting the sales order .

    If you go into any perform there you would be having the User Exits . Use the exits and you need to process the IDOC in the Foreground so that you can catch the Screen flow and the screen number , as you do in SHDB.

    Now you need to make sure that you are getting the new screens there where you have desigined the fields on the screen.

    And write the BDC Code with proper OK Codes before the Save ok code SICH is reached .

    And make sure that you are writing the code at the header level only as you need to update the VBAK Table.

    As this is a single screen you can directly write the BDC code for populating the fields data and at last make sure that the ok-code you are giving is the right one.

    Pls let me know if this problem is solved , i need to check the code in which exit i have written . But here it would be the same EXIt i think .

    the exit name is EXIT_SAPLVEDA_002 .

    Pls check this and let me know.



    Add a comment
    10|10000 characters needed characters exceeded

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.