05-20-2009 1:20 PM
HI Experts,
how to add new line item using BAPI: BAPI_CONTRACT_CHANGE for existing contract.
Requirement:
Already the contract having two line items using ME31K.
Custom program has to add new line items in existing contract.
Thanks,
Sendil
06-01-2009 2:43 AM
06-01-2009 4:05 PM
I got the solution:
We can do like this:
1. Get all details using details, BAPI_CONTRACT_GETDETAIL.
2. After getting results, append new line item. Then use your BAPI.
Check this posting program.. where this bapi is used, use the same coding technique.
IDOC_INPUT_PURCONTRACT_CHANGE
06-01-2009 4:06 PM
10-15-2009 2:06 PM
Hi Sendil kumar...
Do you remember how did you do to solve this issue? I have the same problme.
thanks
09-09-2014 12:43 AM
Hi,
Can anyone please provide me a solution to the above issue.
I tried BAPI_CONTRACT_CREATE as well as BAPI_CONTRACT_CHANGE to add a new line item.
But was not successfull.
Regards,
Sweta
11-08-2021 1:44 PM
03-10-2023 2:13 PM