A new requirement of our system is to externally assign the sales order item number in SAP. This means I need to override the VBAP-POSNR values assigned in the code that usually assign the 10, 20, 30, etc to the item number with a number from an idoc field.
I am trying to override the bdcdata VBAP-POSNR record with this idoc value and it is not working in every scenario. For a ref to quote order creation scenario the bdcdata record seems to be updated with the following populated in the bdcdata record fields: program = SAPMV45A; dynpro =4001; dynbegin = X; fval = blank.
1) Can you verify if the bdcdata record field VBAP-POSNR is updated from this record in the bdcdata? How?
2) How can I update the bdcdata record vaolue of the VBAP-POSNR in a user exit if it is being updated by the standard SAP code in #1 above?
Moderator message - Welcome to SCN Please be aware that cross posting is not allowed in the forums - thread locked. Please read [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement], and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again. Rob
Add a comment