BADI : ME_PROCESS_PO_CUST
I want to use the BADI : ME_PROCESS_PO_CUST and the method POST in tht BADI. But here I don't know how to get the Item data. I was able to get the header data by using the below code
DATA : ls_hdr TYPE REF TO if_purchase_order_mm.
DATA : po_header TYPE mepoheader.
CALL METHOD im_header->get_data
re_data = po_header.
Now please guide me how to get the item data that we enter in the ME21N screen to here.
Points will be assigned for the helpful answers