Substituion of the FI Document type from MM posting
we are actually in the need of posting movement type 562 and would like to assign a specific document type when certain conditions are met.
In transaction OMBA document type WA is associated to the goods receipt (which is the task that is being carried out with movement 562) and we would like to substitute it with a custom document type when posting the document that meet particular criteria such as Plant and G/L account.
I have tried to create a substitution from standard transaction OBBH but, if I create it at line item level, I am not able of selecting the BLART field (since it is part of the header data) while if I create it at header level I do not have the necessary information (such as plant and G/L account) and it's not possible to select the document type as a field to be substituted.
Do you think that it would be possible to achieve my objective by creating a substituion at line item level that has, as prerequisite, the plant and G/L account, and a UEXIT as substitution?
Do you have any other suggestion to solve this issue?
Thanks and best regards
Eli Klovski replied
You can try to change the attribute to the BLART and make it subsitutable (by maintaining VWTYGB01 view via SM30) and build your subsitution on complete document, but I doubt if SAP will allow to substitute such sensitive field.