on 11-04-2019 2:48 AM
Dear community users, I work in the SAP Procurement Support team and after dealing with this query, would like to share the information with the wider community. Question:
You try to create an implementation in BADI BD_MMPUR_FINAL_CHECK_PO however it's not possible use fields of structure PURCHASEORDERITEMS although it is available as Parameter.
The table Purchaseorderitem doesn't have a header line and can't be selected directly.
You need to define first a header structure table to read the items data.
see my proposal below :
Custom Logic:
BD_MMPUR_FINAL_CHECK_PO
sample code for PO items:
DATA LS_PURCHASEORDERITEMS like line of PURCHASEORDERITEMS
LOOP AT PURCHASEORDERITEMS INTO LS_PURCHASEORDERITEMS.
If LS_PURCHASEORDERITEMS-MATERIAL eq "xxx".
ENDIF.
ENDLOOP.
I hope it will be useful,
br
maria
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
7 | |
7 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.