cancel
Showing results for 
Search instead for 
Did you mean: 

Sales order should not get saved without entering the material

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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:

Answers (1)

Answers (1)

former_member550050
Active Contributor
0 Kudos

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