Skip to Content
Former Member
Sep 18, 2007 at 08:37 AM

BAPI_SALESORDER_CREATEFROMDAT2 - How to pass Variant Configurator Values?


Hello all,

We are using the bapi BAPI_SALESORDER_CREATEFROMDAT2 to create sales orders. Everything is working except the variant configuration. The VC values are not getting updated. How can we pass values through this bapi to the VC?

I tried using the structure BAPICUVAL and passed the values as below. But nothing happens.

wa_order_cfgs_value-config_id = '000001'.

wa_order_cfgs_value-inst_id = '00000001'.

wa_order_cfgs_value-charc = 'Z_TRADE_NAME'.

wa_order_cfgs_value-value = '0000000302'.

APPEND wa_order_cfgs_value TO i_order_cfgs_value.

Can someone guide?

Thanks and Regards,