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

Save variant configuration data with BAPI or FM

Former Member
0 Likes
1,328

Hi experts,

I created a PP production order by using a configured material.

I can see internal object number in table AFPO-CUOBJ.

I'd like to change and save a value of characteristics by using ABAP.

Could you tell me it if there is a BAPI or FM to save values of characteristics in variant configuraion?

BR,

Hi experts,

I created a PP production order by using a configured material.

I can see internal object number in table AFPO-CUOBJ.

I'd like to change and save a value of characteristics by using ABAP.

Could you tell me it if there is a BAPI or FM to save values of characteristics in variant configuraion?

BR,

4 REPLIES 4
Read only

Former Member
0 Likes
1,101

you can chnage the variant configuration data using below bapi with strcture order_cfgs_value =

CALL FUNCTION 'BAPI_SALESORDER_CHANGE'

EXPORTING

salesdocument

order_header_in =

order_header_inx =

TABLES

return = return_lt

order_item_in =

order_item_inx =

partners =

partnerchanges =

partneraddresses =

order_cfgs_ref =

order_cfgs_inst =

order_cfgs_part_of =

order_cfgs_value =

Read only

0 Likes
1,101

Thanks for your reply but my question is not about sales order.

Read only

Former Member
0 Likes
1,101

hi ,

check these :

BAPI_PROC_CHAR_GET_LIST

BAPI_PROC_CHAR_GET_HELPVALUES

Reg

Siva Prasad

Read only

0 Likes
1,101

Thanks for your reply but my question is not about getting characteristics value, but saving.