Skip to Content
0

Populating Line Items in Account Assignment tab automatically in Purchase Order Creation

Nov 29, 2016 at 11:42 AM

53

avatar image
Former Member

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

me21n-screen.jpg (137.3 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Raymond Giuseppi
Nov 29, 2016 at 02:53 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Nov 29, 2016 at 03:13 PM
0

Hi Raymond,

Thanks for the reply.

Could you please explain in some more details?

Regards,

PK

Share
10 |10000 characters needed characters left characters exceeded