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

How is bdcdata processed during inbound ORDERS processing?

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?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 06, 2010 at 04:42 AM

    I don't think you can over-ride the value of VBAP-POSNR which is determined based on the Order Type configuration (VOV8).

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 08, 2010 at 07:05 PM

    This document type is configured to externally assign the sales order item number. I have coded the user exit to insert the VBAP-POSNR value into the bdcdata table for the ORDERS edi sales order creation scenario. What I need help with is how to insert the VBAP-POSNR value into the bdcdata table for the ORDERS creation for the ref to quote scenario as the records created in the bdcdata table are not identical for these two scenarios.

    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.