2013 Mar 13 2:16 PM
Hello All,
The requirement is PO will be created by the standard process. Users will manually go and amend PO with additional line items which needs to be updated in a bespoke table (in addition to EKPO standard table)
I have implemented BADI (ME_PROCESS_PO_CUST) but not clear which method can be used to get all the line item details.
Please assist
Thanks & Regards,
Paul
2013 Mar 14 8:29 AM
To update a customer z-table, better start point is method POST. In this method you receive im_header, with method get_items( ) you will get a list of items, looping at it you can then for each item compare new values of item->get_data( ) with old values currently in database item->get_persistent_data( ), managing the not-found of course, and prepare update of your customer table to be executed via a FM in update task (v2 suggested) or in background task (rfc enabled)
Regards,
Raymond
Hello All,
The requirement is PO will be created by the standard process. Users will manually go and amend PO with additional line items which needs to be updated in a bespoke table (in addition to EKPO standard table)
I have implemented BADI (ME_PROCESS_PO_CUST) but not clear which method can be used to get all the line item details.
Please assist
Thanks & Regards,
Paul
2013 Mar 14 8:29 AM
To update a customer z-table, better start point is method POST. In this method you receive im_header, with method get_items( ) you will get a list of items, looping at it you can then for each item compare new values of item->get_data( ) with old values currently in database item->get_persistent_data( ), managing the not-found of course, and prepare update of your customer table to be executed via a FM in update task (v2 suggested) or in background task (rfc enabled)
Regards,
Raymond
2013 Mar 15 5:02 PM
Thanks Raymond.
Working perfectly fine in the method POST
Cheers,
Paul