cancel
Showing results for 
Search instead for 
Did you mean: 

SRM-R/3 BAPI_PO_CHANGE acount ass. mod.

laurent_touillaud
Contributor
0 Kudos

Hi,

Our scenario is SRM3.0 -> R/3 ECC6 in classic extended.

We are transferring purchase orders via mf BBP_PO_INBOUND in R/3.

mf BBP_PO_INBOUND is calling mf BAPI_PO_CHANGE in R/3.

The problem is when we modify a PO in SRM and change the account assignment category the transfer fails with message :

KI249 - "Enter only one true account assignment".

After debugging it appears that system merges old account assignment WBS element and new account ass. ORDER in the same structure. (R/3 Incl. L2012F25 L. 659)

After this system counts number of account assignments -> 2

Error is raised if total real account assignments > 1.

How can we change the account assignment of an item to replace the old one from SRM side?

Best regards,

Laurent

Accepted Solutions (0)

Answers (1)

Answers (1)

laurent_touillaud
Contributor
0 Kudos

Problem identified.

The r3 target acount ass. type for srm types WBS and ORDER is the same. So when we change from one to another the type in r3 is not changed thus values are appended in the same structure as if there was multiple account assignment for the same item.