Need to read field Transaction in substitution for transaction MIRO/FB60
Here are the details of my problems:
In MIRO / FB60 there is a field called transaction (drop down on the top) where either we can post an invoice OR a credit memo. Requirement is to substitute the field profit center when ever it is a MIRO-Credit Memo OR FB60-Credit Memo.
In standard structures like BKPF / BSEG there is no field which contains this information.
I think only option left is to use some exit to store the values of the transaction into some memory variable and use it in the substitution program. Unfortunately I was not able to find any enhancement which has the field in any of the structures of exit(s).
If anyone of you solution for this please let me know.