Skip to Content
avatar image
Former Member

Copying Characteristics of BOM material using BAPI_SALESODER_CREATEFROMDAT2

Hi Experts,

I have an issue while trying to copy/pass the characteristic values from one sales order to another (order) being created using 'BAPI_SALESODER_CREATEFROMDAT2'.

I did analyze and found that we need to pass the ORDER_CFGS_REF-POSEX to ORDER_ITEMS_IN-PO_ITM_NO. But when I pass this, there is a dump because the BAPI comes across the statement CALL SCREEN 1002 in program SAPLCUKO. Also this whole logic is in Update task which gets triggered by means of an output type configured.

I use BAPI_SDORDER_GETDETAILEDLIST to get the configuration parameters for the first order and pass the same to the new BAPI while creating the new order.

Am I missing on passing some additional mandatory parameters. Please help me with the same.?

Additional Information: There is a parameter 'CONFIGURATION' which gets some value out of BAPI_SDORDER_GETDEATILED_LIST and I am unsure as to whether the same should be passed over while creation of the new order and the relevant field mapping for the same.

Please help with inputs regarding the above

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 18, 2017 at 09:46 AM

    Did you read the sample provided in 549563 - BAPI: Filling configuration structures?

    Add comment
    10|10000 characters needed characters exceeded