Skip to Content
avatar image
Former Member

Want only warning message in sales order not in in-completion log


I have one requirement in which user normally puts storage location in sales order and some times they nor. When ever any user doesn't put the storage location then the system should show just a warning message for eg. "Storage location is empty". But this should be only a warning message it should not come in Incompletion log of that sales order because if this will come in incompletion log then storage location will be a mandatory field for that sales order.

Is any one have any idea is this possible with any standard configurations?

Thank you,


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Sep 05, 2017 at 08:19 AM

    I would suggest that you put effort in pre-defaulting the storage location based on business rules instead of developing logic for warning messages (users learn to ignore warnings).

    Believe me, the users will appreciate this. Pre-defaulting the storage location will be a better approach compared to warnings also if you receive orders via EDI.

    Add comment
    10|10000 characters needed characters exceeded

    • This is one of the reasons why I mentioned 'undesirable' - in standard, I believe, you cannot choose what incomplete information stop you from saving a document - it is either all allowed to save or none (mandatory pricing conditions are a special case, they are not directly affected by the incompletion messages setting). You can prevent to some extent further problems with incomplete documents by not allowing further processing if specific fields are not filled, but this is just about it without any custom code...

      From usability perspective I am not sure at which point is will be best to trigger a warning message via custom code - it may be annoying to see it appear for multiple items when you have just entered material/quantity and pressed Enter, but if it happens once in a blue moon, it might be tolerable. What do you think, will issuing a message right after you have performed LGORT determination unsuccessfully be a good idea? If not, assuming that the storage location field is easily found (different layout for items) and that the users might see the problem themselves and correct it before saving, then maybe an alternative is to try issuing this message in userexit_save_document_prepare, but if you have many items - I don't know, it won't look good... And the users may complain that they have to enter VA02 to fix the problem, because you did not notify them earlier.

  • Sep 05, 2017 at 07:56 AM


    Add comment
    10|10000 characters needed characters exceeded