Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

unable to create complete SO using BAPI_SALESORDER_CREATEFROMDAT2

Former Member
0 Likes
512

I could create sales order using BAPI_SALESORDER_CREATEFROMDAT2, but configurable data is not getting updated in sales order. I am passing the inputs manually to BAPI. Please help

4 REPLIES 4
Read only

Former Member
0 Likes
475

what you passing in the tables ?

Read only

0 Likes
475

In Tables I am passing Order Item data, Partner data, Schedule IN data and configuration data with characteristices and values.

Characteristices are appearing in sales order but without values..

Read only

0 Likes
475

Are you passing both : Configuration: Reference data,Configuration: Characteristic Values

Example :

*Configuration: Reference data

st_order_cfgs_ref-posex = '999999'.

st_order_cfgs_ref-config_id = '999999'.

append st_order_cfgs_ref to t_order_cfgs_ref.

*Configuration: Characteristic Values

st_order_cfgs_value-config_id = '999999'.

st_order_cfgs_value-charc = 'ZZPREPRICE'.

st_order_cfgs_value-value = 'Y'.

append st_order_cfgs_value to t_order_cfgs_value.

Read only

0 Likes
475

I have created ZProgram and passed the value through input file.Sales order is created with configuration data ( Char. and Values). But I want to create SO with configuration data (char and Values) by giving manually input