Application Development 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: 

Using BAPI_CONTRACT_CREATEFROMDATA with Configuration data

Former Member
0 Kudos

Am using BAPI_CONTRACT_CREATEFROMDATA BAPI to create a service contract. I need to include the config data also (characteristics & value). As per the documentation one needs to populate CONTRACT_CFGS_VALUE structure for characteristic data.

I am putting the char & value data here but perhaps missing out on something. The service contract gets created but it does not have the char/value data in it. Please help.

Thanks & Regards,

Urmi

2 REPLIES 2

Former Member
0 Kudos

Did you remember to call BAPI_TRANSACTION_COMMIT for commit the work?

Regards Peter

0 Kudos

Yes I commit using BAPI function module and thats the reason the contract does get created as per my previous message. But the configuration data does not get created.

Thanks & Regards,

Urmi