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: 

how to add new line item using BAPI BAPI_CONTRACT_CHANGE for contract-ME32K

Former Member
0 Kudos

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

7 REPLIES 7

Former Member
0 Kudos

HI,

no message

Edited by: irenegreen on Jun 1, 2009 9:54 AM

0 Kudos

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

Former Member
0 Kudos

I have solved this issue with my friend help.

0 Kudos

Hi Sendil kumar...

Do you remember how did you do to solve this issue? I have the same problme.

thanks

0 Kudos

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

周建华
Participant

how?DELETE_IND

tulika_adhikary2
Explorer
0 Kudos

Hi

Pls send me the code snippet...I am facing the same problem