cancel
Showing results for 
Search instead for 
Did you mean: 

how to make material code field mandatory in VA01

Former Member
0 Kudos

Dear all,

I want to make material code field mandatory while creating sales order (VA01). As of now even if I dont enter material code , and just enter customer code and P.O. number , I am able to save my sales order.

I tried to do it with incompletion log , but could not succeed.

SHD0 could be an option, is there any simpler way out ?

Please suggest.

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

As p[er my knowledge SHD0 is the simpler option

Regards

Damu

Former Member
0 Kudos

Dear Damu,

as of now, in my order document type VOV8 no screen variant has been defined , the field is blank. How do I know which screen variant am i currently using.

regards,

Former Member
0 Kudos

Hi

You have to create the transaction variant in the t code SHD0 for the t code (VA01) and then make the material field mandotory and then save

After that do the belwo

1.Activate the transaction variant by going to standard variant tab page .

2.Assign the transaction variant to the order type in the t code VOV8

Regards

Damu

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You have 2 options.

1 - Incompletion Log

If you add Material filed to your incompletion log, then when you try to save the sales order it'll give the "Save / Edit" pop up message. But then by pressing Save button you can save the sales order.

If you want to avoid that pop up; do this. (To avoid user saving Incomplete sales orders)

Go to VOV8 Tx.

Go in to your sales document type

Under "Transaction flow" section mark the "IIncompletion messages" tick box

Then try with a new sales order without a material number

If won't give that pop up message any more where as it'll always go in to the incompletion log. So you can't save it without maintaining the material.

That's a alternative way of doing.

2- SHD0.

Best regards,

Anupa

Former Member
0 Kudos

Dear anupa,

thanx for your prompt reply.

material code is not stored in any table, its stored in RV45A structure , and this is creating a problem, otherwise I would have opted for incompletion log.

regards,

Former Member
0 Kudos

Hi,

It's stored in VBAP table

You can use VBAP / MATNR in the incompletion procedure.

Best regards,

Anupa

0 Kudos

Hi Anupa.

I have tried your way by adding field MATNR and MATWA in incompletenes porcedure at Item Level with procedure "20" and applied this procedure in item category for concern Sales Order.

but still System is saving order without any log of incompleteness.

Please suggest.

Owais