2006 Jul 04 12:27 PM
hi,
when Use BAPI_PO_CHANGE,I want to mark the 'Delivery Complete Indicator'? and I have passed 'X' to NO_MORE_GR field of the item. but I no have luck to make it work. I must be in debuged status,the BAPI program can run sucessfully.
can you help me???
Best Regards
Samuel Liu
hi,
when Use BAPI_PO_CHANGE,I want to mark the 'Delivery Complete Indicator'? and I have passed 'X' to NO_MORE_GR field of the item. but I no have luck to make it work. I must be in debuged status,the BAPI program can run sucessfully.
can you help me???
Best Regards
Samuel Liu
2006 Jul 04 1:37 PM
Hi Liu ,
first u have to change PO qty as per Delivered Qty = issued qty , then only SAP will take mark it as <b>'Delivery Complete Indicator'</b>.
Regards
prabhu
2006 Jul 04 3:28 PM
Hi Liu,
Try this... When we are updating item we also have to set update indicator in table poitemx also. Also call 'BAPI_TRANSACTION_COMMIT'.
poitem-PO_ITEM = ekpo-ebelp.
poitem-NO_MORE_GR = 'X'.
APPEND t_poitem.
poitemx-po_item = ekpo-ebelp.
poitemx-po_itemx = 'U'.
poitemx-no_more_gr = 'X'.
APPEND t_poitemx.
CALL FUNCTION 'BAPI_PO_CHANGE'
EXPORTING
purchaseorder = ekpo-ebeln
TABLES
RETURN = return
POITEM = poitem
POITEMX = poitemx.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |