on 12-26-2008 11:24 AM
Sales order is getting saved without entering the material. How to make material entry mandatory in sales order.. so that if i try to save the sales order without entering the material the system should create an error.
Please give a clue, if there is any way other than incompletion log.
Dear DV,
T. Code: SHD0
Create a Screen Variant for Transaction VA01
and maintain Field: Material as "Mandatory".
Best Reagrds,
Amit
Note: Following is the explaination with Incompletion-Procedure -
T. Code: OVA2 - Incompletion Log
Select Group: B - Sales Order Item; and Double Click "Procedures" (left-hand Dialog-Structure)
Select InCompletion Procedure: 20 - Standard; and double click "Fields" (left-hand Dialog-Structure)
Here, Maintain entry:
Table: VBAP
Field: MATNR
Screen: PKAU
Status: 4
Imp.: Create Z-Incompletion Procedure and make necessary changes, instead of changing a Standard one.
Alternatively, check with Arijeet's post in following thread:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In standard, you cannot prevent a sales order being saved without entering a material to control this, you can try with any of the following user exits.
User exits in the program
MV45AFZZ - USEREXIT_MOVE_FIELD_TO_VBAP
or User exits in the program MV45AFZZ - USEREXIT_SAVE_DOCUMENT
or User-Exits in program MV45AFZB - USEREXIT_CHECK_VBAP
Or
you can try out with incompletion log
Incompletion Procedure 11
Insert a new Entry as VBKD-POSNR in OVA2
Incompletion Status as 01.
T. Code: VOV8, mark the Box: Incomplete message as 'ticked' under Tab: Transaction flow.
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
11 | |
11 | |
6 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.