Good day to you.
In Statistical Posting in Vendor and Customer (T Codes F-38 and F-55), Profit Centre field is not available.
We tried to achieve Posting to Profit Centre Field in F-38 by substituting the value entered in Assignment Field (ZUONR) into Profit Centre.
The following is what we did:
1. First we said If Company Code = "XXXX" then Substitute Profit Centre Field with value in Assignment Field.
It worked fine for entries through TCode F-02 as well as F-38 (meaning the values in Assignment Field was substituted in Profit Centre Field.
But since we wanted to restrict this Substitution to only the Transactions posted through F-38, the Prerequisite was changed to
2. If Company Code = "XXXX" and Transaction Code = F-38, then Substitute Profit Centre Field with value in Assignment Field
and posted a Transaction through F-02, Profit Centre Field is not substituted with Value in ZUONR.
But strangely even for Transactions through Transaction Code F-38, Profit Centre Field is not substituted with Value in ZUONR.
If anybody could throw light on why this prerequisite is not working and how to get around it.
I would be really very grateful for all assistance in resolving this matter.