Application Development 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: 

BAPI_PO_CHANGE is not updating Quantity and Delivary Date

Former Member
0 Kudos

HI All,

I am trying to update quantity and delivery date of PO by using BAPI_PO_CHANGE,

by Passing below parameters.

As per the documentation:

Parameter: PURCHASEORDER 4500003477

Parameter: POHEADER

PMNTTRMS = 0002

PUR_GROUP = 002

Parameter: POHEADERX

PMNTTRMS = X

PUR_GROUP = X

Parameter: POITEM

PO_ITEM = 00001

CONF_CTRL = 0001

Parameter: POITEMX

PO_ITEM = 00001

PO_ITEMX = X

CONF_CTRL = X

Parameter: POSCHEDULE

PO_ITEM = 00001

SCHED_LINE = 0001

QUANTITY = 10.000

Parameter: POSCHEDULEX

PO_ITEM = 00001

SCHED_LINE = 0001

PO_ITEMX = X

SCHED_LINEX = X

QUANTITY = X

Parameter: POACCOUNT

PO_ITEM = 00001

SERIAL_NO = 01

GL_ACCOUNT = 0000400020

Parameter: POACCOUNTX

PO_ITEM = 00001

SERIAL_NO = 01

PO_ITEMX = X

SERIAL_NOX = X

GL_ACCOUNT = X

and executed bapi_transaction_commit FM immediate, i am getting below message

Purchase Orders 4500003477 changed

Error transferring ExtensionIn data for enhancement CI_COBL

No message generated for output of purchasing document

but quantity and delivery date was not changed..

why this quantity and delivery date is not changing?

<removed by moderator>

REgards,

Suresh.D

Edited by: Thomas Zloch on Feb 27, 2012

1 REPLY 1

anjaneya_bhardwaj2
Contributor
0 Kudos

Hi ,

Are you trying to pass the non char fields in CI_COBL. Please look at the link below .

[http://forums.sdn.sap.com/thread.jspa?threadID=1137795] .

Also serach for the similar threads when and notes while transferring currency and quantity field in different custom includes of the EKPO ...

Thanks,

Anjaneya .