cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_SALESORDER_CHANGE to change item detail configuration

dstjacques
Participant
0 Kudos

Hello everyone

We need to copy SO item and change the item detail configuration values.

We are using the BAPI_SALESORDER_CHANGE.

All the items are copied but some items detail configuration are not.

We have noticed the item detail configuration that are not copied are service items.

The configurations of the other item types are copied.

When we are creating the item manually, with VA02, the configuration is added. We can see it in VBAP-CUOBJ field.

The following table parameters are pass to the BADI:

order_item_in

order_item_inx

order_cfgs_ref
order_cfgs_inst
order_cfgs_value
order_cfgs_vk
schedule_lines
schedule_linesx
order_text
conditions_in
conditions_inx
extensionin
extensionex

What should we do to be able to entirely copy an item within the same SO?

Regards

Daniel

Accepted Solutions (0)

Answers (1)

Answers (1)

dstjacques
Participant
0 Kudos

For benefits of all

The problem was created because the follow fields were not fulfilled.

order_item_in-po_itm_no = posnr

order_item_inx-po_itm_no = 'X'.

Problem solved