Skip to Content
Former Member
Mar 27, 2009 at 01:32 AM

Add new line items in CRMD_ORDER dynamically


Hi All,

In CRMD_ORDER transaction if an user enters a Product 'ABCD' and hits enter I would like to add a line item 'EFGH' automatically as the next line item. (EFGH is linked to ABCD in a Z table).

How to achieve this functionality?

This cannot be done through a Sales BOM for a variety of reasons. So I have to accomplish this technically.

I tried using CRM_ORDER_MAINTAIN_SINGLE_OW in the CRM_ORDERADM_I BAdi ,but not much luck(the order goes into an infinite loop).

Any ideas would be greatly appreciated.