SD Sales order release for MTO
I have a scenario regarding the sales order release.
The requirement is that, when i create a SO, it should be blocked automatically and never allow to create other subsequent document, unless its released in the SO.
I have completed doing the release procedure for SO.
Now my requirement is that, in MD04 the SO should'nt show any requirements, unlessSales order is released.
Both the requirements i.e. automatic reason for rejection and authorization check for removing reason for rejection are possible using ABAP. For the first one you need to use the user exit USEREXIT_MOVE_FIELD_TO_VBAP and for the second one you will have to use USEREXIT_SAVE_DOCUMENT_PREPARE available in program MV45AFZZ.