on 10-29-2007 2:22 PM
Hi All,
How do i default an Order reason in a sales order.
I have made the field mandatory but for about 80% of the cases, client uses the same order reason. I want to deafult this Order reason in every sales order.
Any help would be appreciated.
Thanks
Ari
hi
try with this
use tcode SHDO by making a scrren variant u can make the order reason default
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
discuss with abaper regarding any such changes can be done for the sales document;default values can be maintained
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Arijeet,
Order reasons can be made mandatory in sales order but cannot be made default for standard sales order.
But you can use user exit MV45AFZZ and use function module MOVE FIELD TO VBAK.
Default VBAK-AUGRU field to order code for the selected values you want.
Reward if useful.
Regards,
Priyanka
Message was edited by:
Priyanka Dixit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the reply. I think the sol'n is just right.
<u>But another related question:</u>
The field 'Order reason' is a VBAK header field in SO but when it goes to Invoice, it becomes a VBRP Item field. In Invoice, system does not allow us to change the Order reason whereas i want the flexibility to be able to change the Order reason in the Invoice, if needed.
I tried out something and found that even after invoicing, we can change the Order reason in the Sales order but that does not update the Order reason in Invoice anymore.
Any suggestions on this one.
Thanks
Arijeet
Hello Arijeet,
You cannot change order reason in invoice as it flows from sales order through copy control settings.
Even though we can change order reason in sales order after it got invoiced but still that will not update the already created invoice. If you want to update invoice with new order reason then you need to delete exsiting invoice and recreate it.
Reward points if helpful.
Regards,
Priyanka
User | Count |
---|---|
103 | |
14 | |
10 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.