cancel
Showing results for 
Search instead for 
Did you mean: 

Make fields Mandaroty in VA01 without using SHD0

bzakaria
Participant
0 Kudos

Hello,

I want to make a field (shipping type) mandatory in transaction VA01. I used transaction SHD0 and I created a variant whose field (shipping type) is mandatory.

The control works very well, but the problem is that it only blocks the user if he opens the screen in which he is the field. If the user does not open the screen where the field is, he can create the sales order without blocking input.

I'm looking for if there is a solution to block the creation of the Sales Order even if the user does not open the screen where it is the field (shipping type). for example a means of control during the saving of the Sales Order.

Regards,

Accepted Solutions (1)

Accepted Solutions (1)

Lakshmipathi
Active Contributor

If you want system to validate at item level, then you need to assign that incompletion log to your item category.

bzakaria
Participant
0 Kudos

lakshmipathi.ganesan , thank you, it works.

But I have another problem is that this requirement of mandatory entry has been applied for all sales orders. but I want it to be applied only to a 'sales document type', as we do for VOV8 when I tried with the solution of transaction SHD0.

Lakshmipathi
Active Contributor
0 Kudos

Again and again, you keep asking questions in bits and pieces for which I have already given direction. If you want the control for header data, you need to assign the incompletion log for order type in VOV8. If you want the control to be at item level, then, the incompletion be set for item category. If the Business requirement is such that it should be only for one particular order type, then, you can differentiate the item category for that particular order

bzakaria
Participant
0 Kudos

lakshmipathi.ganesan, I am very sorry.

In VOV8 I have not paid attention that I can specify the 'incompletion proced.' for each sales document type.

In transaction VOV8 I found that the 'incompl. proced.' field is unmodifiable. it is by default the 'incompl. proced.' common between all sales document type. (in the capture I'm in edit mode) :

Could you help me how to make it editable, or if you have an idea about the things that can block the modification of this fields.

Again, my apologies.

bzakaria
Participant
0 Kudos

lakshmipathi.ganesan it's good, I found the solution, it's from the transaction 'VUA2'.

Thank you so much for your help.

Answers (1)

Answers (1)

Lakshmipathi
Active Contributor

Through incompletion log, you can very well control this. Set the field VBKD-VSART as mandatory in OVA2 at header level.


bzakaria
Participant
0 Kudos

lakshmipathi.ganesan , Thanks for your help.

I apply your trick to make two fields mandatory (Shipping type , Route)

But when I do the tests it tells me that it is necessary to enter the 'Shipping type', but it does not show me 'Route' even if it is not entered by the user in 'Item details'.

Do I have to change a parameter for 'Route', especially since he in the 'Item details'??

regards,