Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Changing sales order configuration through Inbound IDoc

jwalithtatikonda2
Participant
0 Kudos

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.

1 REPLY 1

Former Member
0 Kudos

Did you find a way to change posnr from 1 to 10. If so, please let me know