on 03-10-2011 9:43 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
96 | |
10 | |
9 | |
5 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.