Set error message in sale order

Hi,
I want to put set the error message for given fields in sale order.So that order can not be save without filling the given fields.
Fields are -
Shipping type
Personnel Number
Material freight grp
Net value
Pricing
Harsh

Hi Harsha,
My thoughts item 2,4 & 5-
1.Shipping type
2.Personnel Number - Since this is partner function coming from your customer master, am not sure if it can be covered with incompletion log - if not you would need a piece of abap code in save_document_userexit to check if the partner function was filled.
3.Material freight grp
4.Net value - If the sales order item category needs to be priced, then this field is already marked required for sales document completion. No change needed
5.Pricing - If the sales order item category needs to be priced, then this field is already marked required for sales document completion.No change needed
regards
sadhu kishore

Similar Messages

  • Customer error message in sales order on save

    Hi Friends,
    as per requirement i have to raise the error message and system should enable the field to change values. This should happen when condition is not met on Saving of Sales order.
    For this, i have used the user exit USEREXIT_SAVE_DOCUMENT_PREPARE. But the problem is system throwing error message and all r in display mode only. as per my requirement system should allow to change the error value field.
    i have verified many posting in this SDN, but nothing is working out.
    Please guide me, how to raise the error message and system should enable that filed.
    My doubt is where should i raise the error message in sales order (MV45AFZZ)??? if any badi to raise the error message also fine for me. I tried many ways like... message with display like..... and set / get parameters and badis....  but not able to find the correct solution.
    Thanks in Advance.
    Bala

    Hi
    You need to use check for enahcement spot, which will be help to you.
    Bcz you are throwing custom error message in the standard transaction, once the error is display, you could not able to change the values. your prob can be solved by using the enhancement sport.
    This is include name (Include:MV45AF0B_BELEG_SICHERN).
    In the above include, you need to create a enhancement spot after this spot (ENHANCEMENT 16  OI0_COMMON_SAPMV45A.)  
    write your custom code and while displaying an error message. set flag = 'x', then use below code. It will display error message once you press ENTER, you will get the sale order in change mode, you change the values.
      IF flag = 'X'.
              fcode = fcode_gleiche_seite.
              perform fcode_bearbeiten.
              ch_subrc = 4.
              exit.
            ENDIF.

  • Error message in Sales Order entry

    Hi All
    I get the following error while saving the sales order. "Material 40 already exists"
    It says that the material already exists and then it allows for further processing with out making any problems. Please let me know how I can get rid of this message.
    Regards

    Hi
    You could do the next:
    1) Transaction V/30 -> there you select the interlocutor functions for your message (you could obtain the technical name of your message clicking F1 in the popup of the message)
    2) Then delete the interlocutor functions related with your message.
    Edited by: nidalap on Jun 15, 2010 6:44 PM

  • Error message in sales order against target value contract

    Hi experts
    I have value contracts scenario, when I create a Release Orders thatu2019s exceeds the value of the contract the system raise a message error, but in this case the decimal expression in wrong.
    The decimal expression of the country is 1.234.567,89
    The decimal expression of my user is 1.234.567,89
    Example:
    The contract value is 10.000
    I create a release order for 15.000
    The message error is "Target value in contract &1, item &2 is exceeded by 50.00", the correct messages should be: "Target value in contract &1, item &2 is exceeded by 5.000,00"
    I release two errors, the decimal expression according to my user and country doesn't match or the validation is doing some conversion.
    Do you have any idea was wrong??
    Thanks in advanced any input is really appreciated
    Susana

    Hi Susan.
    Just select the error message in the log  and click technical info . In the performance assistant it will show like :
    Technical Data
    Message type__________ E (Error)
    Message class_________ ZCRM_CSI_UI (Messages for UI of Leasing)
    Message number________ 022
    Message variable 1____ 
    Message variable 2____ RK78
    Message variable 3____ 0000001000
    Message variable 4____ 185124 020(Task:0000003105)
    Message Attributes
    Level of detail_______ 
    Problem class_________ 1 (very important)
    Sort criterion________ 
    Number________________ 1
    Environment Information
    Object Type___________ 15
    Logical Key___________ 
    Object GUID___________ DE3B1C475098F9F187E4002264F648B2
    Object Type___________ A
    Message class_________ 
    Save message__________ X
    Message no longer erro
    This will give you details of what  internal values are getting used for calculation . If you can give the error message class and error message number probably i can help u out.
    Regards
    Apoorva

  • Deletion Flag setting Error message for production order

    "Unprocessed future change recs for orders prevent del. flag/completion"
    I tried to used COFC and CO1P but didn't work out?
    How to fix this issue i am trying to set deletion flags for certain production orders?
    If i even found errors in final confirmations how to fix them

    Hi Aparna,
    This is absolutely fine to set the deletion flag to archieve the Production Orders.
    For this error, which you are getting, there could be entries in COGI or CO1P..
    Whether you are using Process Control (check in OPK4)?
    If that is the case you should have got the entries in CO1P.
    Can you see any entries in COGI? even 102 movement against the order?
    Check once again and revert for further discussion..
    Regards,
    Siva

  • Error while create sales order

    Hi,
    Please help.
    I am facing error while create sales order.
    No item category available (Table T184 OR VERP  )
    Message no. V1320
    Diagnosis
    No item category could be determined for the combination OR VERP .
    System Response
    The system does not allow further processing of this item.
    Procedure
    Check the entries in table T184 by means of which item category determination is controlled.
    If you do not have the authorization to do this yourself, contact your system administrator.

    Hi,
    Check in spro whether Item categorygroup VERP is assigned to sales document type.if not assign.
    Path
    SPRO-SD-sales-sales douments-sales document item-assign item categories.

  • Commit error while transferring Sales order Document to GTS

    Hello,
    We faced a transfer error while transferring sales order document to GTS.
    When I debugged the code function /SAPSLL/API_6800_SYNCH is called. In this function, /SAPSLL/CUHD_MAINTAIN_SINGLE is called with parameter lv_no_commit = 'X'. When I checked why its value is 'X', I saw that if the RFC destination and the current system are the same, then lv_no_commit = 'X', (means if the R3 and the GTS are in the same server, same client.) In debug mode I set the value of lv_no_commit to space, and then it works. It creates the GTS document.
    We are also transferring billing documents and it works fine. When I checked what is the difference between transferring sales order document and transferring Billing document, I saw that in the transferring billing document there is another function is called /SAPSLL/API_6800_CSD_SYNCH, and it's calling parameters(in background, as seperate unit) are different from calling parameters of /SAPSLL/API_6800_SYNCH. You can see the difference below.
    For sales document transfer :
        CALL FUNCTION '/SAPSLL/API_6800_SYNCH'
          DESTINATION cs_transfer-rfc_dest
    For billing document transfer :
        CALL FUNCTION '/SAPSLL/API_6800_CSD_SYNCH'
          IN BACKGROUND TASK
          DESTINATION cs_transfer-rfc_dest
          AS SEPARATE UNIT
    So my question is, do you think is it a sap standard program error, or is there any suitable settings in the customizing or SM59 to fix this error?
    Thanks in advance
    Serhat
    Edited by: Serhat Dirihan on Jan 22, 2009 11:46 AM

    Dear Serhat,
    I don't think this is an RFC problem or an error. But you wrote:
    When I checked why its value is 'X', I saw that if the RFC destination and the current system are the same, then lv_no_commit = 'X', (means if the R3 and the GTS are in the same server, same client.)
    It is impossible to have GTS and R/3 on the same system and same client. At least the client should be different. So try to check why the call is performed like that.
    Balazs

  • Error while crating Sales Order using ALE-IDoc?

    Hi all,
    I have developed an ALE-Idoc interface to create Sales Order automatically When the user created a purchase order. It is working fine since past two months.
    But now one  SO is not created and the error message in Inound idoc is 'Sales Area not defined'  message no V1316.
    The material used in Po creation is created recently and using first time .  i am expecting the problem is with in this material  because the PO's created based on other materials is still creating the SO successfully.
    Please help me in solving this problem?
    Thanks,
    Vamshi.

    Hi shan ,
    Thanks for you reply. The sales area for customer and vendor  is maintained in VOE2 and taking correctly for other materials except for the new material.
    Also in Inbound IDoc which contains the error is having correct sales area in it's segment  . But showing that in the error message as 'sales area & & & is not defined' here the sales area is wrong one it is dispalying.
    so please help me on identifying the problem?
    Thanks,
    vamshi.

  • Reg. Error message during Purchase order more than PR.

    Dear Sir
    After putting Purchase order for a Purchase requisition we can able to rise Purchase order for a PR. We a error message. Kindly give the solution this problem.
    How to set error message in this case.
    Thanks
    Rajj.

    Hi
    If u want to restrict PO creation with more than PR Qty u can set error message in OME0 or path as follows
    SPRO>Materials Management>Purchasing>Environment Data>Define Attributes of System Messages-->system message
    06 076
    Set the message no : 06 076 as error messages.
    Then when All The PR qty already convert to PO,then system will not allow another PO to created for this PR.
    Vishal...

  • How to Set User Status of Sales Order at item level.

    How to Set User Status of Sales Order at item level by default to 'Purchase Req Not Created' (example)while creating order. Please tell EXIT Name to be triggered & Internal table to be populated.
    Thanx,
    Srini
    Moderator message: please do your own research before asking.
    Edited by: Thomas Zloch on Feb 21, 2011 11:19 AM

    Mathew,
    Here is a document that should help you get started on enhancing 2LIS_11*
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c09d5356-d8c4-2d10-8b84-d24723fc1f0a?QuickLink=index&overridelayout=true
    Good luck!

  • Sales order line item delete error for MTO sales order

    Dear Experts
    iam facing below error for MTO sales order line item deletion
    "For reasons of cost management, item 000040 cannot
    be deleted"
    Please help
    Regards,
    KEdar

    It looks you try to delete the sales order line item and you get this error message.
    Try to put reason for rejection for the line item and save the order. This is equal to deleting the line item.
    You can also refer the OSS note 14097 - Order item cannot be deleted/overwritten for further information.
    Regards,

  • How to set error message for 541 Movement type

    Dear gurus,
                I want to know that is it possible to set error message through any configuration? My requirement is that when we create issue document using m.t 541 it will not allow me to process that document without releasing PO document.so for that i want to set error message.
    <removed by moderator>
    Message was edited by: Jürgen L

    Hi,
       The subcontracting goods issue can be done even without PO reference. If your organization is strictly following the goods issue against PO only and you want to restrict the goods issue if the PO is not released, then you may check the below option. Please note that the below option is available in standard only from EHP 4 or above.
    1. Refer the KBA: 1915825 - Transfer Posting reference to a Purchase Order in MIGO and activate the PO reference option in MIGO - Transfer posting.
    2. Restrict the use of 541 movement in MB1B - Go to OMJJ and enter movement type as 541. Now go to "allowed transactions" folder and remove MB1B. Now the user cant use 541 in MB1B.
    3. Maintain the field - Purchase order as mandatory field for the movement type 541 in OMJJ.
    4. Train the users to use MIGO - Transfer Posting - Purchase order option for goods issue with 541 movement.
    5. If the PO is not released, system wont allow to use the PO in MIGO - Transfer Postings.
    6. If the user is selecting Transfer Posting - Other, system wont check the PO and hence it will allow to post the goods issue even if PO is not released. You may take organizational measures to restrict the usage or you may check for authorization concept - Refer the note: 773003 - MIGO: No authorization object for action/reference document
       If you are below EHP 4, there is no standard functionality available for the requirement as of my knowledge. If so, you may go for development to restrict the same.
    Regards,
    AKPT

  • Error while processing sales order as factory calendar missing.

    "factory calendar missing or error in factory calendar".iam getting this error while processing sales order even though i have assigned it to shipping point and plant and sales org.

    Hi Malik, How are you? I'm sorry to trouble you,
                   Let me introduce, I'm Daniel, and I saw your fantastic asnwer in
    the topic "How to update Factory Calendar in SRM", and might I have the same
    problem. It's with the "factory calendar".
    In transaction va02 when I choose a Delivery Date, and I sent it to process, as
    a result in the "shipping tab" it calculated to the first item one date, and to
    the rest one date different.  I don't know What it happen?
    I debugged the program and I saw that to the first item use to calculate the
    date is the function  'APO_SCHEDULING', and to the rest item use
    'SD_SCHEDULING', and until here I come.
    How can I do to what the dates calculated are the same? or What would be the
    problem?
    I need the dates calculated are equal.
    I looked at it's using two "factory calendar" which are "J4" and "C2". Is this
    correct?
    Thanks In Advance,
    My best regards,

  • Error Message while doing Order CLSD

    Hi,
    I am getting error message while doing Order CLSD...
    Error Msg: Invalid cost element(XXXX) for reservation item 010.
    please suggest me...how to solve this issue.
    regards,
    Venkatesan Anandan

    Hi Venkatesan,
    I had replied and asked for one clarrification and to check same at your end.
    Is your Cost Element mapping done with cost cost center used in order settlement rule.
    Also check for Material Master Change document for Valuation Class change and revert back in this thread.

  • How to enable user sets from tools in sales order

    Hi,
    How to enable user sets from tools in sales order..it is greyed out..
    and is there anyway we can do to add shipsets from other place?
    Thanks

    Hi Ruchi
    I hope u had gone to the screen fields which u want them not to be editable. So there u select all the fields contents which u do not want to to be changed and check the boxes with W.content and Display and save it. Once evrything is done u have to activate the particular transcation going in to the standard variants and put the name and click the activate button.
    Hope its clear
    Reward if help ful
    Sri

Maybe you are looking for

  • How to get opening balance of a g/l account using query ?

    Dear all, I'm developing consolidated g/l accounts debit,credit totals month wise with opening & closing balances thru query based report, i'have got expected results except opening balance g/l account, How to get opening balance of a g/l account bas

  • Is there a way to find peak audio level?

    I'm using FCE 4 and I am trying to adjust the audio level on a number of tracks. In most of the I can do it without problem using Normalization Gain, but one track refuses to adjust. From what I have read it could be because there is a peak (audience

  • Is there an "instant" way to reverse color a document?

    using CS3... I figured a printer setting would have it but not finding it. I have a black and white vectorized document that needs to be done in a reverse...everything black to be white and white to be black. Its becoming very tedious to go through a

  • Trouble with activation

    I have just gotten a Iphone 4 16gb from my friend because I lost my droid. I went through the activation process, and when I got to the last page it said "Cannot load page"I reloaded the page and it still wouldn't load the page.The phone still says i

  • Any way to use XDCAM HD?

    Hi, when I try to edit XDCAM HD SP (1440x1080) footage, premiere crashes all the time. Maybe the importer failed or it still hang. All settings on my WinXP32-System are set like described in Adobes Workaround for using Premiere CS4. I also uses two o