In one country we have more than one company. Some of those companies post to Balance sheet accounts but others companies want to post the same wage types to Vendor accounts.
Is that possible? We have tried to implement a BADI SMOD_PCPO0001 but we are getting the message below when we try to test it. It would appear what we are trying to do is not possible. Any guidance on what other companies have done in this situation would be greatly appreciated.
By the way the message is slightly incorrect. There are companies currently posting to 2333 Balance sheet accounts (F). The new symbolic account ZZZZ is a vendor type K.
EXIT_RPCIPE00_001: Acc.assgn.type changed to invalid assgn in user exit
Message no. 3G179
When working through the BAdI implementation (definition name SMOD_PCPO0001, method EXIT_RPCIPE00_001), the symbolic account was changed from 2389 to NI02.
The old symbolic account 2333 has the account assignmet type K, the new symbolic account ZZZZ has the account assignment type F. Such s change in account assignment type is not permitted.
The employee is rejected.
When implementing method EXIT_RPCIPE00_001, the symbolic account can only be altered in such a way that the account assignment type retains the same information as was stored in the posting item.
This means that it is not possible to change the symbolic account from an expense account to a payables account and vice versa.