cancel
Showing results for 
Search instead for 
Did you mean: 

How to do compulsory to enter order reason

Former Member
0 Kudos

Dear Experts.

Please tell me, How to do compulsory to enter order reason in sales order for specific order type only? Not for all sales order.

Regards 

BK GAIKWAD

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Dear Gaikwad,

One way out is to create a imcompleteness procedure and add this field AUGRU (order reason) with the table VBAK, in the node and give a status and warning as desired by you.

Once the incompleteness procedure is created add this procedure to the particular sales order type for which you want to put the check.

Regards,

Ani

Former Member
0 Kudos

Thank Mr.Ani to prompt reply,

we have already assign in-completion log, & warning message appeared in case order reason not update in sales order, we want convert this message to error. please help.

Regards

BK GAIKWAD

Lakshmipathi
Active Contributor
0 Kudos

Go to VOV8, select your order type and execute. There you can see a field "Incomplete.messages". Tick this box and retry the process

thanks

G. Lakshmipathi

Former Member
0 Kudos

Dear Mr. Gaikwad,

If the particular field has been added in the incompletion log then the system gives a warning even when saving the document, but in standard SAP you cannot change the same to a error message.

But if the order reason is not given the order remains incomplete, and no further processing is possible for this document.

Regards,

Ani.

Former Member
0 Kudos

Dear Sir,

but in our case sales document save even we have not update order reason, how to restrict it, please help.

BK GAIKWAD

Former Member
0 Kudos

Dear Mr. Gaikwad,

You also have to tick the incompletion messages when assigning the incompletion procedure to the order type in the transaction VOV8, as suggested by Mr. Laskhmipati above also.

Once you have done this you get a message while saving a incomplete order stating the order is incomplete.

Regards,

Ani.

Former Member
0 Kudos

Dear Mr. Ali,

In-completion message already appeared, but if we have by pass the message, system allow it & sales document has been save without update order reason.

we have restrict it, if we have not update the order reason, order cannot save.

Please help

Regards

BK GAIKWAD

Former Member
0 Kudos

Hi GAIKWAD,

I think There are two way to meet your requirement as below:

1) Go to incompleten procedure determination. please go to incompletion procedure conf. ( SD>> basic functions >> Log of Incomplete Items >> Define Incompleteness Procedures >> select A-sales-header >> 11-sales order >> fields).

in that screen you should define new incompletion fields as :

table fld name description src status warning

VBAK AUGRU Order reason KKAU 01 X

2)You can go to SHD0 t-code by creating trnsaction variant and assign it to screen variant for sales order.

I hope these will be very helpful for you.

Regards,

Former Member
0 Kudos

Thank you sir,

issue has been resolved.

BK GAIKWAD

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

If you want to make it mandatory, you need to maintain in log of incompletion procedure (you can refer standard procedure 14) and need to assign this to the sales document type you want,

Be clear that order reason filed is available at the Header level only. We cannot maintain it in item level.

  • Goto Header details - Sales tab.

  • Here you can find out the order reason field.

  • The same will be available in overview screen too.

  • "OVAU" is the T.Code for creating your own order reasons.

  • If you want to make it as mandatory,there are two options.

1. By using the incompletion log and tick the mark "incomplete messages" in "VOV8" screen for your order type.

2. By using the T.Code "SHD0".

Regards

Former Member
0 Kudos

Thanks to prompt replay,

We have gone through your mail, & found all result OK, thanks,

Also please tell me how to change Incompl.proced as 14 for sales document type (ZBLM_loan material sale). Presently we have use incompl. proced as 11

We have tray to change, but system not allow changing.

Please suggest.

Regards

BK GAIKWAD

Former Member
0 Kudos

Hi,

As suggested you can use the incompletion procedure setup followed by option of not allowing incomplete document to be saved ( in Sales doc type ). Assuming that sales doc type is globally used and you have to address a region specific request, you can use Save prepare user exit where before save you can pop up the warning message validating for order reason code.

Hope this helps.

CLN

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Study well In completion procedures you will able to say to us....

-- Sandeep