Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

copy MA line item to Sub agreement

Hi All,

To meet one of our custom requirement, we are developing MA Save event script which will copy all the line item detail of main master agreement and copy to linked sub-agreement. I had refer the script posted Copy line items from Master Agreement to SubAgreement which has similar requirement, however it has got following limitation, I need input to overcome this:

  • System try to generate a new set of line item any changes in the main master agreement. Example: I have first create a Sub-agreement from the main master agreement which has 5 line item, the script will successfully copy the main master agreement 5 line items to sub-agreement. Now if I do any changes(such as MA description) in the main master agreement, the script try to create a new set of 5 line item rather updating the previously created 5 line item. We thought for the option to include the logic for delete all the sub-agreement and re-load every time any change in main MA, but we are integrating sub-agreement to backend ECC system, it will have negative impact
  • Also I am not finding any suitable API for line item deleting flag

Any help would be appreciated

Jenny

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question