on 2016 Apr 27 9:03 AM
Is there a possibility to keep users from saving a sales order with no items.
Sometimes when creating a standard order and after entering
the Sold-to party
the PO Number
and the Req. deliv.date
our users accidentally save the order without entering any items, thinking they already completed the order. (For example when they have to answer a call in the meantime)
Is there a customizing setting to not save the order when there are no items in it? Or to display an error message?
Thanks in advance
Jakob
Hi,
Explore in completion log process, can archive the same only you need to play at item level made few field mandatory in config of in completion log and without entering the value system will not allow the user to save the same.
Thanks
SS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Summet Sah,
I am not quite sure what you mean. I already have an Incompletion procedure in place for the used item-category with the field VBAP-KWMENG being mandatory.
It seems like the Incompletion procedure for the item-category is only used, when I enter at least one item. So it cannot be used for checking whether no item has been entered.
Kind Regadrs
Jakob
Hi,
I already solved the similar requirement by using transaction VUA2, for your relevant sales order type, tick the IC-Dialog box (Dialog message for incomplete) and save. If you then process an order and it is incomplete, when you save - system will popup with incomplete log screen and wont allow saving until the incomplete data.
Hope this solve you issue.
Many Thanks.
Sumeet Sah
Hello Sumeet Sah,
thank you very much. I managed to get it to work by editing the Incompletion procedure for the standard order, using OVA2. The field I used is VBAK-FMBDAT since it only is filled when at least one item/material is added to the order.
I also ticked the IC-Dialog Box like you suggested.
I managed to get it to work without any coding.
Thanks again.
JAKOB,
I don't think so, by adding this field in in completion procedure you can achieve your requirement.
You requirement is not allow user to save sales order without entering any line item. (Okay Fine it will work here) But what about when user has enter the line item in sales order. that time this should not trigger. If still it wont trigger then can you tell me where I can find this (MBDAT - Material Staging/Availability Date) field at header level.
Please guide me.
I don't want to disturb your correct answer but want to develop same functionality for my customer too. I develop the same but this is creating problem while entering line item too.
Hello Keyur,
I am not quite sure what you mean. Here is a screenshot of some test sales orders I created. The ones in red boxes are the ones without any items.
It is true that you cannot use the "Complete Data"-Button. Your users have to go back instead and enter the items on the initial screen.
Kind Regards
Jakob
Hi,
How about if you apply screen variant on transaction level.
Maintain that variant in order type TVAK-VARIANT field so that it will be applicable to that order.
I have not tried yet it in the system due to limited access to sandbox.
Br,
Vishal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can control this in delivery item configuration means whatever sales order is saved no delivery will be created without an item but for sales order coding seems to be needed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As far as I know there is no customizing setting for this. You can try to read xvbap in program Mv45afzz, form Userexit_save_document_prepare and raise an error message if no items are added.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
7 | |
6 | |
6 | |
5 | |
5 | |
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.