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 contract through BAPI- BAPI_CONTRACT_CREATE

Former Member
0 Likes
1,050

Hi All,

        When I am trying to create contractin MM -tcode - ME31K- through bapi - 'bapi_contract_create' condition is not getting updated.Contract no is generated through Bapi.  But when I go to change document (me32K) the net price field becomes '0'. While analyzing it is because of condition type which has no value.

3 REPLIES 3
Read only

Former Member
0 Likes
757

May be you need to pass the value in strcuture ACCOUNT & ACCOUNTX.

you may also use

you can use BAPI_CONTRACT_CREATEFROMDATA



Read only

former_member183424
Active Contributor
0 Likes
757
Read only

Former Member
0 Likes
757

Hi,

Account and accountx had given. It also results in the same problem.

Checked with the BAPI 'BAPI_CONTRACT_CREATEFROMDATA'. Its header data is very different from the datas which I need to pass.