Skip to Content
0

Copying Characteristics of BOM material using BAPI_SALESODER_CREATEFROMDAT2

Apr 17, 2017 at 03:24 PM

48

avatar image

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raymond Giuseppi
Apr 18, 2017 at 09:46 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded