cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict sales order saving without line item

Former Member
0 Kudos

Hi Gurus

In Sales Order we are able to save Sales Order without specifying any line item. this is spposed to be standard behaviour of SAP.

I have tried most of the things in Incompleteness procedure.

How i can i restrict saving of Sales Order withot any line item.

Regards

Sanjeev Bagaria

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184065
Active Contributor
0 Kudos

Hi,

Maintain Incompletion Proceudre with

Table Name-VBAP

Field-MABNR

Screen Field -MATNR

And also maintain Incompletion Procedure in VOV8 (Relevant Sales Document Type).

Thanks,

Naren

Former Member
0 Kudos

Hi

Already tried but still sales order is getting saved withot any material

Regards

Sanjeev

former_member184065
Active Contributor
0 Kudos

Hi ,

I think ,you did some mistakes in your Incompletion Procedure.

Please see below Link ,may be this will help  you .This link only for your reference .With this reference Please maintain above whatever I gave before .

http://www.magnatraining.com/incompletion-procedure/

Thanks,

Naren

Lakshmipathi
Active Contributor
0 Kudos

Try by assigning the field POSNR for the Incompletion groups "B - Sales-Item" and dont forget to assign this procedure to your item category. 

G. Lakshmipathi

prasanna_kumar4
Active Contributor
0 Kudos

Hi

Try with User exit

SE38 : MV45AFZZ

User Exit : FORM USEREXIT_SAVE_DOCUMENT_PREPARE

if sy-tcode = 'VA01'.

if xvbap-matnr is initial.

message 'Enter the Material '  type 'E'.

endif.

ENDIF.