Skip to Content

BAPI_SALESORDER_CHANGE to change item detail configuration

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Aug 29, 2017 at 01:42 PM

    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

    Add comment
    10|10000 characters needed characters exceeded