02-27-2015 12:05 PM
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.
02-27-2015 4:39 PM
May be you need to pass the value in strcuture ACCOUNT & ACCOUNTX.
you may also use
you can use BAPI_CONTRACT_CREATEFROMDATA
02-28-2015 7:10 AM
Check the KBA 1707759 - BAPI_SAG_CREATE/BAPI_SAG_CHANGE/BAPI_CONTRACT_CREATE/BAPI_CONTRACT_CHANGE : Condition data...
It explains the causes and solution.
03-01-2015 6:37 AM
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.