cancel
Showing results for 
Search instead for 
Did you mean: 

"PO could not be changed using the Enjoy-BAPI"

kowong
Participant
0 Kudos

Dear Expert,

I am having this problem using BAPI_PO_CHANGE,

I want to set invoice final indicator.

i_poitem-po_item = i_process-ebelp .

i_poitem-final_inv = 'X' .

APPEND i_poitem .

i_poitemx-po_item = i_process-ebelp .

i_poitemx-final_inv = 'X' .

APPEND i_poitemx .

CALL FUNCTION 'BAPI_PO_CHANGE'

EXPORTING

purchaseorder = i_process-ebeln

TABLES

return = i_return

poitem = i_poitem

poitemx = i_poitemx.

for some POs, it returned :

"PO could not be changed using the Enjoy-BAPI".

When I use ME22N to do that, it does work....

Thank you ...

Edited by: Kokwei Wong on Mar 21, 2008 9:41 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

kowong
Participant
0 Kudos

BTW, what is Enjoy-BAPI ?