11-29-2016 11:42 AM
Hi,
Our requirement – In T Code ME21N When we enter Asset Quantity in the PO Line Item, same number of Line Items should be automatically populated in Account Assignment tab with 1 Quantity each.
For example, we have entered 5 Quantity in PO Line Item; we want 5 line items with 1 Quantity each in Account Assignment tab
Regards,
PK
11-29-2016 2:53 PM
Did you look at BAdI ME_PROCESS_PO_CUST, there handle the change of quantity in PROCESS_ITEM (compare IM_ITEM->GET_DATA vs. GET_PREVIOUS_DATA result) then adapt account assignments (IM_ITEM->GET_ACCOUNTINGS, LOOP AT re_accountings-accounting->GET_DATA to read current records and IM_ITEM->CREATE_ACCOUNT to create new ones, then accounting->SET_DATA to update account records)
Regards,
Raymond
03-30-2021 7:26 PM
11-29-2016 3:13 PM
Hi Raymond,
Thanks for the reply.
Could you please explain in some more details?
Regards,
PK