How to get order's detail error message

Now, when I check order with t-code: crmd_order.
I can see  error in  GUI :Item 10 Pricing error: Mandatory condition missing.
But how can  I get the message with FM or other code?

Hi Ping su,
Check the function group 'CRM_MESSAGES' you will get bunch of function modules which deals with messages. In my scenario I had to look for a message in order lineitem and if that error message is present in the order I had to take further action. Here is what I did :
  DATA:ls_bal_s_msgidno  TYPE bal_s_idno,
       lt_bal_r_msgidno1 TYPE bal_r_idno,
       lt_bal_r_msgidno2 TYPE bal_r_idno,
       lt_msg_handle     TYPE bal_t_msgh.
  ls_bal_s_msgidno-sign = 'I'.
  ls_bal_s_msgidno-option = 'EQ'.
  ls_bal_s_msgidno-low-msgid = 'ZMESSAGES'.
  ls_bal_s_msgidno-low-msgno = 002.
  APPEND ls_bal_s_msgidno TO lt_bal_r_msgidno2.
  LOOP AT lt_orderadm_i INTO ls_orderadm_i.
*   Check if the message is available in the log.
    REFRESH: lt_msg_handle.
    CALL FUNCTION 'CRM_MESSAGES_SEARCH'
      EXPORTING
        it_r_msgidno  = lt_bal_r_msgidno1
        iv_ref_object = ls_orderadm_i-guid
      IMPORTING
        et_msg_handle = lt_msg_handle.
    IF lt_msg_handle IS NOT INITIAL.
      lv_flag = 'X'.
      EXIT.
    ENDIF.
  ENDLOOP.
Hope this will give you some idea to handle your scenario.
Thanks,
Vikash.

Similar Messages

  • How to get rid of the error message we could not complete your iTunes store request?

    How to get rid of the error message we could not complete your iTunes store request?
    having this problem when trying to authorise an newly downloaded app in iTunes

    Based on the numerous posts regarding iTunes and the App Store, there appears to be an issue at Apple's end. Although Apple has not provided any indication on the cloud status page.
    Do not change your settings.
    Edit

  • How to get rid of sync error message

    Hello,
    When I first installed CC on my computer, our company's proxy was refusing the connections to the Adobe cloud servers and I couldn't sync my test file "test.indd".
    From that moment I'm getting the "unable to sync "test.indd" due to server error" message.
    After having determinated all the server ips that Adobe uses in the Amazon cloud and added manually the exeptions to our proxy server, syncing files finally worked. Great thanks to Adobe for not giving the server ips out and not helping at all.
    Syncing files now works but I keep receiving the "unable to sync "test.indd" due to server error" message.
    I have tried to recreate the file with the exact filename and sync it again but that doesn't solve my problem.
    As a paying customer (7 x CC for teams licences) I contacted the Adobe support and they told me that they don't do any support for server problems !???!!!!! and redirected me to this forum page http://helpx.adobe.com/creative-cloud/kb/arent-my-files-syncing.html which has nothing to do with my problem. Can't find any words to describe that customer support...
    Maybe there is someone in this community willing to do the job of Adobe support and help me?

    Thanks for your reply Mylenium,
    Sorry I forgot to mention my system: Windows 7 Pro 64Bit SP1.
    In C:\users\You\AppData\Roaming I find many cache related files, but only a few that are not related to any specific CC app:
    C:\Users\***\AppData\Roaming\Adobe\CEPServiceManager4\cache\ExtensionManifest
    C:\Users\***\AppData\Roaming\Adobe\Common\Media Cache
    C:\Users\***\AppData\Roaming\Adobe\Common\Media Cache Files
    I have backuped those files, removed from their respective folders and restarted the CC Desktop app but the message is still popping up.
    Does anyone know in which file(s) the sync cache is stored exactly? I can't find any information about that on the net nor forum.

  • How can get Dreamweaver to stop error message: an ftp error has occurred- cannot connect to host?

    Dreamweaver is locking me out when I try to connect to the host via ftp. I get the error message: "An ftp error has occurred - cannot make connection to host". This error message started yesterday when I used the wrong host ftp address too many times. I have since received the correct ftp address from my website host, but the system won't even let me log in...it just gives me that error message when I click the connection button on the panel. My website host recommends that I uninstall Dreamweaver and re-install it again. My concern is, if I un-install the Dreamweaver app, which I downloaded from the Cloud, will the Cloud know I've un-installed Dreamweaver and allow me to download it again? Please help.

    See my response in your most recent thread. Please don't double post like that - it can confuse things considerably when replies come in to both threads.

  • SSIS - Getting the detailed error message from a FTP Task

    Greetings all,
    I'm working on a SSIS package that pulls a file down from an FTP server, then has its way with it.
    Under expected conditions, everything is working perfectly. However, I never want to download the same file twice. In order to enforce this, I just set the OverWriteFileAtDest option to false. Obviously, if the file has already been brought over, the package
    fails. This is the intended functionality.
    However, in such a case I want to handle the error separately. Now, when I setup a EventHandler to deal with it, the error message that's passed over is:
    "Error: An error occurred in the requested FTP operation"
    Oh joy. Ambiguity at its finest. However, the detailed description is:
    "Receiving file "/server/folder/file.XLS". File "\\server\folder\file.XLS" already exists.
    Try as I might, I can't seem to capture the detailed error message so that I can act on it. I'm looking for a way to capture this info, pass it to an expression, and then handle it from there.
    Thanks!

    Did you try enabling logging for the package and capturing it in SQL table which case you should get error messages in sysssislog table
    http://msdn.microsoft.com/en-IN/library/ms186984(v=sql.110).aspx
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • DSEE 6.3: how to show detailed error messages to ldap clients?

    Is there any possibilty in DSEE 6.3 to send to ldap clients detailed error messages about - for example - missing required attributes in ldap add operation?
    I don't have access to ldap server's logs, so I loose a lot of time trying to figure out "which of 40 attributes I sent to server is bad?"...

    Thank you for reply.
    I know that I can view schema, but I need the functionality which is available in relational databases. When I try to store bad field value in database table, I get descriptive error message: "field XYZ has bad value". In DSEE I get "schema violation" or other cryptic message.
    It's very hard to track the problem if you operate on 30 or more attributes. Which one causes error?
    I see that this functionality is available in DSEE backend (error logs are descriptive). How to turn on this for clients?
    If it is not possible, I will try to write special software module which will double DSEE functionality and check attributes before storing them in DSEE.

  • When I want to get an app, an error message comes up saying I need 3.0 software update.  How do I get my ipod updated in itunes, when itunes says my ipod is already updated?

    When I want to get an app, an error message comes up saying I need 3.0 software update.  How do I get my ipod updated in itunes, when itunes says my ipod is already updated?
    OR if I cannot update to software 3.0, how can I find apps that will work just for my ipod touch?

    It sounds like you have a 1G iPod Touch, in which case you can only upgrade to iOS version 3.1.  Here is a link to purchase the update.
    http://support.apple.com/kb/HT2052
    B-rock

  • SXMB_MONI  detailed error message in XML how can be it retrive .

    Hi Guys/SAP,
                           Iam creating a Zee report for my client to capture all my detail error message which is Display in SXMB_MONI
    Error Tab in XML formt .How can i capture this and how it is stroed in SAP.Please kindly let me know.Iam also alalyais this issue for the past 4 days but iam not able to find out where it is stored.If any one come accross this issue or know kindly let me know .Iam expecting few tips from SAP also .Iam also exploring more on this .
    The below detilas of error message in SXMB_MONI is required,
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_Test_SenderJDBC_ReceiverFILE_MM_</SAP:P1>
      <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
      <SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_Test_SenderJDBC_ReceiverFILE_MM_: RuntimeException in Message-Mapping transformatio~</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Regards,
    Sri

    Hello Sri
    See the link below:
    Creating Alert Categories 
    http://help.sap.com/saphelp_nw70/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm
    You can use the container variables to output the error information from the message in sxmb_moni.
    Regards
    Mark

  • I keep getting a community toolbar error message. I am running Yosemite. I have no idea what it is referring to. Any help on how to get rid of it?

    I am getting a community toolbar error message on Safari. Does anyone know how to get rid of it? I am running Yosemite. Thank you!

    To remove the "Conduit" spyware, take the steps below.
    Triple-click the line below on this page to select it:
    ~/Library/Application Support/Conduit
    Copy the selected text to the Clipboard by pressing the key combination command-C. From the Finder menu bar, select
              Go ▹ Go to Folder…
    Paste into the box that opens (command-V), then press return. A Finder window should open with a folder named "Conduit" selected. If it does, delete the selected item.
    Repeat with these lines:
    ~/Library/Internet Plug-Ins/ConduitNPAPIPlugin.plugin /Applications/Toolbars
    You may be prompted for your login password. Next, copy this line:
    /Library
    Select Go to Folder… again and paste. Don't delete the Library folder. Delete only the following items inside it, if they exist.
              Application Support/Conduit
              InputManagers/CTLoader
              LaunchAgents/com.conduit.loader.agent.plist
              ScriptingAdditions/ct_scripting.osax
    Close the Finder windows you opened. Log out and log back in.
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Remove any extensions with the word "Conduit" in the description, and any others you don't know you need. If in doubt, remove all of them.

  • How do I get rid of the error message "There was an error connecting to the server “Office AirPort Extreme” ?

    How do I get rid of the error message "There was an error connecting to the server “Office AirPort Extreme” ?  This message shows up 3 times when I boot my iMac.

    I do have a USB hard drive hooked up to the Airport.  I've never created an AppleScript for it.  Should I disconnect the USB drive and see if I still get the error message?
    Thanks for your reply!

  • I can't open my CS4 Photoshop. I'm getting the 150:30 error message. How can I proceed?

    I was away from my mac for a couple of months. Today, trying to open my Photoshop CS4 I get the 150:30 error message.
    Any ideas how to fix this?

    Run the license repair tool. Carefully follow the instructions for your version of OSX.
    http://helpx.adobe.com/x-productkb/global/error-licensing-stopped-mac-os.html#main_Solutio n_2__Run_the_License_Repair_Tool

  • When starting Firefox 4 I get an error message. After clicking OK it nevertheless runs. How can I get rid off the error message.

    When starting up Firefox 4 I get an error message. After clicking OK it nevertheless runs. How can I get rid off the error message?
    The error message is: what happened: Type Error: Components. classes ['@mozilla.org/extensions/manager;1'] is undefined.
    It appears all the time already from the beginning after installing Firefox 4.

    Thanks a lot. The Ask toolbar created this problem. Another problem is: When searching on the web via Google, normally it is possible to type a few letters and then look what appears and then click on the wanted word(s). A number of word(s) ineed do appear, however it is not possible to select any of them as ws possible as mentioned in olders versions.

  • I am unable to update devices with Apple Configurator because of this message - unable to send ClearPasscode command to device - I am running Configurator 1.5 and ios 7.1.1.  I am unable to rename/number devices. How can I get rid of this error message.

    I am unable to update devices with Apple Configurator because of this message - unable to send ClearPasscode command to device - I am running Configurator 1.5 and ios 7.1.1.  I am unable to rename/number devices. How can I get rid of this error message.

    I've just seen this message for the first time and it's showing on 10 devices.
    What I really love about Apple Configurator is the copious amount of context driven help offered to you.
    "Unable to send ClearPasscode command to device.
    The device was disconnected.
    Check the USB connection to the device."

  • Getting more detailed error messages from Adobe Acrobat

    Hi
    Is there a way to get more detailed error messages from Adobe Acrobat reader when he detecs an error in a PDF file?
    My program generates PDF files. There is one that throws an error in Acrobat while GhostScript and Google Chromes PDF Reader display it correctly.
    I wonder where the error is, but the error message is just "expected dictionary", when I hold CTRL and press "OK".
    GhostScript usually gives useful error messages, but it has no error this time.

    More specifically, Acrobat Pro!
              - Dov

  • My Apple G5 using operating system 10.6.8 keeps locking up. I get no warning or error message. I do get some intermittent screen distortion. Any ideas as to what could be causing this and how i get rid of this problem? Complete system re - install? N

    My mac keeps locking up it s Power mac G5 Intel using 10.6.8 OS.X. I get no warning or error messages it just locks up and the only way to get it to work again is to depress power button and restart. Its random intermittent and incredibly frustrating. I do get some screen distortion from time to time and wondered whether it may be a graphics card issue or whether it could be solved with a complete system re-install and OS upgrade?

    According to everymac.com, your Mac came with Tiger, 10.4.x and can't go any higher than Lion, 10.7.x.
    It would have come with gray, machine specific disks. Since there's no reason to install 10.4.x first, and then Snow Leopard over that, just purchase a retail copy of Snow Leopard for $20. What you won't get with the retail version of SL is the iLife suite (Garage Band, iDVD, etc.) that were on the original bundled disks, but you can purchase iLife on Amazon pretty cheap, and get newer versions besides.
    When you get Snow Leopard, you can boot to the DVD, erase the drive and install everything clean. Hopefully, you issue is only software, and not hardware related.

Maybe you are looking for