‎2007 Feb 28 10:00 PM
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.
‎2007 Feb 28 10:02 PM
Hi,
Are you populating the X structure for the PO account..
*" POACCOUNTX STRUCTURE BAPIMEPOACCOUNTX OPTIONAL
Thanks,
Naren
‎2007 Feb 28 10:05 PM
yes i am populating POACCOUNTX as it should be, but still getting the error.
‎2007 Feb 28 10:16 PM
Hello,
In POACCOUNT-ACC_ASSIGN EQ P
POACCOUNTX-ACC_ASSIGN EQ XPOACCOUNT-ITEM EQ 000010
POACCOUNTX-ITEM EQ X[/code]
Make this Change.
Vasanth
Message was edited by:
Vasanth M
‎2007 Feb 28 10:29 PM
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