on 03-21-2008 7:35 AM
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
BTW, what is Enjoy-BAPI ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.