Skip to Content

Which tables are written within VA01 before storing the SD-order

Hello,

I maintain a sales order within VA01.

Before the order is stored, SAP stores the data within interim tables (which then contain - amongst others - the sales office and sales group).

Can some tell me how these tables are called?

Background:

I have a CO-PA derivation for Intercompany in place which "waits for the SD-order" which does not exist before the order is stored

(=> I have to use VA02 to correct the profitability segment). The "earlier" data within the above mentioned tables would (perhaps) help.

Thanks for your help

Thomas

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 07, 2012 at 06:14 PM

    Hi Thomas ,

    ABAPers can give you better picture on your query. Moreover those interim tables are dynamic one which are called during the sales order creation and it stores on temporary basis.

    Are you looking for any particular field information?

    Regards

    Vinu

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 07, 2012 at 09:43 PM

    Can you check the internal table structure XVABK. I did not check, so I am not sure. If this does not answer, then as mentioned by Vinu, get help from an ABAP'er.

    Regards,

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 08, 2012 at 03:29 PM

    Not sure I understand what you're trying to do exactly...

    There are very many internal tables and all the COPA stuff has its own place actually. (I just had to debug that dam' profitability segment screen last week). In the debugger you can see all the tables available at any given moment. Enter /h to get into debugger (providing you have authorization) and then in the debugger you'll see Locals and Globals tab (on the right-hand side). These are all the variables available. The ones with a blue icon next to them are the internal tables.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 12, 2012 at 01:41 PM

    I am not sure what you are trying to achieve. Internal structures XVBAP & XVBEP will contain the majority of the information regarding the sales order.

    However, if you use data that has not yet been committed to the db for something else, then you run the risk of using incorrect data [what happens if the SO is never saved and you have used that data?]

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 12, 2012 at 02:14 PM

    Hi

    As the other colleagues I am not sure about your issue. Usually, in VBAP you have the field PAOBJNR that it's copied to the invoice, and in this moment, usually the PA document is made. With cross company flow (STO between two plants of different companies) you use the flow PO (a kind of STO->delivery-> invoice type IV). Please, check SAP Note 1351257 - INFO: PAOBJNR creation during SD process flow, if I am right.

    I hope this helps you

    Regards

    Eduardo

    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.