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 Problem

Former Member
0 Likes
532

Hi, I am trying to add a line item for a service PO using BAPI_PO_CHANGE and I am getting this error "In case of account assignment, please enter acc. assignment data for item". Account assignment category (ACCTASSCAT) for this PO is "P".

I'm adding the corresponding registry on the POACCOUNT table for each item line I'm trying to add to the PO.

Any help in solving this problem will be appreciated.

4 REPLIES 4
Read only

Former Member
0 Likes
481

Hi,

Are you populating the X structure for the PO account..

*" POACCOUNTX STRUCTURE BAPIMEPOACCOUNTX OPTIONAL

Thanks,

Naren

Read only

0 Likes
481

yes i am populating POACCOUNTX as it should be, but still getting the error.

Read only

Former Member
0 Likes
481

Hello,


In POACCOUNT-ACC_ASSIGN EQ P
   POACCOUNTX-ACC_ASSIGN EQ X

POACCOUNT-ITEM EQ 000010

POACCOUNTX-ITEM EQ X[/code]

Make this Change.

Vasanth

Message was edited by:

Vasanth M

Read only

0 Likes
481

Thanks vasanth for your answer, but there's no ACC_ASSIGN field on the POACCOUNT structure, there's a ACCTASSCAT field on the POITEM table tho which is already set to P and the corresponding X field is set too.

Mensaje editado por:

Rodrigo Montes