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

Changing sales order configuration through Inbound IDoc

Hi all,

Using Inbound IDoc ORDERS05, I am chaning the sales order data coming from external system. The inbound function module prepares all the data in bdcdata and calls VA02 transaction code. Everything is working fine but when coming to configuration of materials E1CUREF, the inbound function module is collecting all the configuration data and storing it in memory id 'CUXC_IDOC'. Then VA02 somewhere getting that data from 'CUXC_IDOC' memory id and changing the configuration.

But my problem is let us say I have 2 items with external item number POSEX as 00001 and 00010. Now I have configuration only for POSEX 000010 and not for 000001. Unfortunately the SAP number POSNR generated for POSEX 000001 is 000010 and hence VA02 is trying to change the configuration of POSEX 000001 because there exists a configuration for POSEX 000010.

Hence I observed that the behaviour of VA02 transaction code is if the system doesn't find any configuration with POSEX then it is trying to get the corresponding POSNR from database and again searching for configuraitons with POSNR.

Is my understanding correct, if yes how should I restrict VA02 to check only with POSEX or POSNR.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 09, 2010 at 04:09 PM

    Did you find a way to change posnr from 1 to 10. If so, please 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.