Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_PO_CHANGE,

Former Member
0 Likes
1,033

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

2 REPLIES 2
Read only

Former Member
0 Likes
743

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

Read only

Former Member
0 Likes
743

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'.