cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple to Single account asignment PO Error

Former Member
0 Kudos

Hi Gurus!!

We have to change the account assignment of a Purchase Order, from multiple account assignment to single account assignment through BAPI_PO_CHANGE.

We want to delete three account items, pass from four items to one. We can do this through the ME22N transaction, but the BAPI gives the error 'Distr. ind. and partial invoice ind. must be set for multi acct. assgt.'.

We have marked the DELETE_IND field in the corresponding BAPI structure, and we have tested with all posibilities with the fields DISTRIB (EKPO-VRTKZ) and PART_INV (EKPO-TWRKZ), so we think that the problem is not with this fields. I guess if is not possible to do this with the BAPI.

Anybody knows what could be the problem?

Thanks and regards,

Manuel.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member200116
Active Participant
0 Kudos

WHAT is the error number ??

You can try these notes

SAP Note No. 1505552

SAP Note No. 748574 : BAPI_PO_CHANGE: Changing AAC w/ multiple account assignment

SAP Note No. 675536 : BAPI_PO_CHANGE: Error 06412 with multiple account assignment

Rgs

SB

Former Member
0 Kudos

Hello Shashank,

Thanks for the notes, but our error is ID 06 and number 437.

Regards,

Manuel.

former_member200116
Active Participant
0 Kudos

Sorry for late response :

I can suggest you below two recommendations, which I found :

1st : Could not be feasible to follow due to business needs...

"In the customizing transaction OME9, for the account assignment

category 'A', maintain the indicator for 'Account Assignment Screen' as

'Multiple Account Assignment' and then the indicators 'Distribution'

and 'Partial Invoice' as '1'. Save your changes and re-test system's

behaviour. Afterwards, the field t163k-twrkz will get the value '1'

which will be transferred into the ekpo-twrkz and the error message

will no longer be issued."

I would advise you test the above :

2nd : Due to upgrade this fields must be filled ..

Please make sure that the following parameters are filled in the

interface of bapi_po_create1:

POITEMX-PO_ITEMX

POSCHEDULEX-PO_ITEMX

POSCHEDULEX-SCHED_LINEX

POACCOUNT-SERIAL_NO

POACCOUNTX-SERIAL_NO

Rgs

SB