cancel
Showing results for 
Search instead for 
Did you mean: 

Sales Order - To make header fields mandatory

Former Member
0 Kudos

Hi,

In va01, want to make Delivery Plant(Head Details) as mandatory. Also want to make some fields in item details, like Material group and Price group, not changeable once data is picked.Pls advise and guide.

regards

vijay.

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member183879
Active Contributor
0 Kudos

Hi

The elegant and the simple way is to do this by Incompletion procedures.

You can create an incompletion procedure.

Include this field in the procedure.

Assign the procedure to the sales document type.

Now , while you are creating a sales order, if this field is not filled, the document will become incomplete, and you cannot create any further document with reference to this document.

Hope this helps.

Reward if this helps.

Lakshmipathi
Active Contributor
0 Kudos

Dear Vijay

You can try with the following sales order User Exits

1) V45S0001

2) USEREXIT_MOVE_FIELD_TO_VBAK (<i>in the program MV45AFZZ</i>)

Thanks

G. Lakshmipathi

Former Member
0 Kudos

Hi Anuj

Your posting is something interesting.. wanna to know more about it completely..

Once after i press Actvie GUix i got a different screen.. can u pl tell me step by step procedure taking this as ex ?

Reg

Shan

Former Member
0 Kudos

the simplest way would be using SHD0 Tcode of Screen variants & Transaction variant where you can make certain feilds mandatory.

Second option would be using GUiXT and in built tool in SAP which provided to makes changes in the screen fields without code changes , a really good tool to use and to activate and use this use ALT+F12 and then there is option of activating GUiXT.

Last is you can make code changes in MV45AFZZ with relevant exit.

Hope this helps.

Cheers

Former Member
0 Kudos

Hi u can do this by using incomletion log process u can get it

Former Member
0 Kudos

Create a variant in SHD0, explore it it..

And assign the designed variant to your sales doc type..

Reg

Shan