Warning Messages to the log

Hi Experts,
I want to send a warning message to the order log , for this I used
CALL FUNCTION 'CRM_MESSAGE_COLLECT'
        EXPORTING
          iv_caller_name = 'ORDER'
          iv_ref_object  = iv_guid
          iv_msgno       = 002
          iv_msgid       = 'ZMSG'
          iv_msgty       = 'W'
          iv_cumulate    = 'X'
        EXCEPTIONS
          not_found      = 1
          appl_log_error = 2
          OTHERS         = 3.
MESSAGE ID 'ZMSG' TYPE 'W' NUMBER '002' .
But the problem is order is not saving at all, I want order to be saved and the warning message to be in the log.
Please help me out in this.
Thanks in Advance,
Praveen

I am using it in the BADI_ORDER_SAVE, when I do not add this message to the log the pop up message is coming out fine.
In this FM if I send E to iv_msgty ,its working fine too.The problem is coming only for warning messages.
Your time in replying to this thread will be appreciated.
Thanks in Advnace,
Praveen

Similar Messages

  • Warning Messages in the log file

    Hi,
    I see following warning message in my log files. Can any one help me what exactly this means?
    "Skipping grouping rule '(null)' in profile 'Global_Profile_Records_Management_FieldGroup'. The grouped field 'xCategoryID' is a parent "
    Thanks,
    Vidya

    See: Skipping Grouping Rule 'General' In Profile - Warnings [ID 1202354.1]     
    Cause:
    p51044545 Hiding dDocName and dSecurityGroup with IsGroup set throws IdocScript error
    Solution:
    Unchecking the IsGroup flag will avoid the reporting of the mentioned warnings
    -ryan

  • Can we save the warning message in the message log of Lead.

    Hi,
    I have an requirement where i have to raise an warning message while "creation of lead from campaign" on campaign UI, I can raise that warning message using below code.
    DATA lr_message_service TYPE REF TO cl_bsp_wd_message_service.
    lr_message_service = cl_bsp_wd_message_service=>get_instance( ).
    lr_message_service->add_message( iv_msg_type = if_genil_message_container=>mt_warning
    iv_msg_id = 'ztest'
    iv_msg_number = 006
    iv_msg_level = '1' ).
    but how can i retain this warning message in the lead message log ? "when ever i will open that lead again that warning message should be there"
    thanks & regards
    raman khurana.

    Hi,
    Below are the steps to write to the log and then read it,
    1. Create a Log useing FM BAL_LOG_CREATE. This will return the log handle.
    2. Add messages to log using FM BAL_LOG_MSG_ADD. Importing parameters are log handle and the message.
    3. You can read the log by passing the log handle to FM BAL_GLD_SEARCH_MSG. This will return the message handle.
    4. Now pass the message handle to FM BAL_LOG_MSG_READ. This inturn return the message id and class. Pass the msg. details to FM BAL_DSP_TXT_MSG_READ to read the message text.
    Regards,
    Arun Kumar

  • Warning messages in adpatch logs??

    hi Friends ,
    we are on R12.1.2 on OEL 5.4, while applying R12.1.3 patch we are getting the below Warning messages, could any one clarify why these warnings are coming and can we safly ignore these messages.
    Warning messages in ADPATCH log file.
    WARNING: Unable to load metadata entry from zip file /d01/DEV/apps/tech_st/10.1.2/jlib/ewt3.jar
    WARNING: Unable to load metadata entry from zip file /d01/DEV/apps/tech_st/10.1.2/jlib/ewt3-nls.jar
    WARNING: Will not load stale resource unit META-INF/services/java.sql
    WARNING: Unable to load metadata entry from zip file /d01/DEV/apps/tech_st/10.1.3/lib/xmlparserv2.jar
    WARNING: Unable to load metadata entry from zip file /d01/DEV/apps/tech_st/10.1.3/j2ee/oafm/applications/mapviewer/web/WEB-INF/lib/mvclient.jar
    WARNING: Unable to load metadata entry from zip file /d01/DEV/apps/tech_st/10.1.3/j2ee/home/lib/mail.jar
    WARNING: Unable to load metadata entry from zip file /d01/DEV/apps/tech_st/10.1.3/j2ee/home/lib/activation.jar
    WARNING: The following path(s), defined in /d01/DEV/apps/apps_st/appl/fnd/12.0.0/java/make/fndjar.dep as elements of the output file fndbipres.jar, could not be found
    in any area:
    WARNING: The following path(s), defined in /d01/DEV/apps/apps_st/appl/fnd/12.0.0/java/make/fndjar.dep as elements of the output file fndbicmn.jar, could not be found
    in any area:
    WARNING: The following path(s), defined in /d01/DEV/apps/apps_st/appl/fnd/12.0.0/java/make/fndjar.dep as elements of the output file fndforms.jar, could not be found
    in any area:
    WARNING: The following path(s), defined in /d01/DEV/apps/apps_st/appl/fnd/12.0.0/java/make/fndjar.dep as elements of the output file fndaol.jar, could not be found in
    any area:
    WARNING: The following path(s), defined in /d01/DEV/apps/apps_st/appl/fnd/12.0.0/java/make/fndjar.dep as elements of the output file fndctx.jar, could not be found in
    any area:
    WARNING: The following path(s), defined in /d01/DEV/apps/apps_st/appl/fnd/12.0.0/java/make/fndjar.dep as elements of the output file wfmon.jar, could not be found in
    any area:
    WARNING: The following path(s), defined in /d01/DEV/apps/apps_st/appl/fnd/12.0.0/java/make/fndjar.dep as elements of the output file wfapi.jar, could not be found in
    any area:
    WARNING: The following path(s), defined in /d01/DEV/apps/apps_st/appl/fnd/12.0.0/java/make/fndjar.dep as elements of the output file fndprospect.jar, could not be
    found in any area:
    WARNING: The following path(s), defined in /d01/DEV/apps/apps_st/appl/fnd/12.0.0/java/make/fndjar.dep as elements of the output file fndaroraclnt.jar, could not be
    found in any area:
    WARNING: The following path(s), defined in /d01/DEV/apps/apps_st/appl/fnd/12.0.0/java/make/fndjar.dep as elements of the output file jboremote.jar, could not be found
    in any area:
    WARNING: The following path(s), defined in /d01/DEV/apps/apps_st/appl/fnd/12.0.0/java/make/fndjar.dep as elements of the output file jbovbclient.jar, could not be
    found in any area:
    WARNING: The following path(s), defined in /d01/DEV/apps/apps_st/appl/fnd/12.0.0/java/make/fndjar.dep as elements of the output file jdev-rt.jar, could not be found in
    any area:
    WARNING: The following path(s), defined in /d01/DEV/apps/apps_st/appl/fnd/12.0.0/java/make/fndjar.dep as elements of the output file fndaolj.jar, could not be found in
    any area:
    Thanks
    Raghu

    Hi,
    You can ignore similar warning messages -- See (Oracle Applications DBA Minipack R12.AD.A [ID 401424.1]) for details. However, I would suggest you log a SR to confirm this with Oracle support.
    Thanks,
    Hussein

  • Warning messages in system log after upgrading to SP4

    Hello there, I am starting to see quite a lot of warning messages in the system log saying the following:
    Failed loading JDBC Driver class com.microsoft.jdbc.sqlserver.SQLServerDriver - Exception:java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver
    Failed loading JDBC Driver class com.sap.dbtech.jdbc.DriverSapDB - Exception:java.lang.ClassNotFoundException: com.sap.dbtech.jdbc.DriverSapDB
    Failed loading JDBC Driver class org.gjt.mm.mysql.Driver - Exception:java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
    We are using MSSQL as the underlying database, so maybe something needs to be unchecked somewhere? Any ideas?
    Best regards,
    Anders

    Anders,
        I just updated to SP4 and tried a user creation (my database is also MSSQL). I did not see any warnings in the system logs. Like Thomas said you must have extra entries in the Tools/Option/Java/JDBC driver names.
    All you need is just one entry "com.microsoft.sqlserver.jdbc.SQLServerDriver".
    Hope this helps.
    Thanks
    Shabna

  • Warning messages in Order log (GUI)

    Hi all,
      I need to display warning messages in the message log of Order in GUI. I tried with 'CRM_MESSAGE_COLLECT'. If I take 'W' as the message type, it is not displaying the warning message in the Order, but when I use 'E', it is displaying the error messages in the order.
    Let me know the solution. Thanks in advance.
    Following is my code.
            CALL FUNCTION 'CRM_MESSAGE_COLLECT'
              EXPORTING
                iv_caller_name       = 'ORDER'
                iv_ref_object          = lv_ord_guid
                iv_ref_kind             = 'A'
                iv_msgno              = '001'
                iv_msgid               = 'ZABC'
                iv_msgty               = 'W'
                iv_cumulate           = 'X'
              IMPORTING
                es_msg_handle     = l_msg_handle
              EXCEPTIONS
                not_found              = 1
                appl_log_error        = 2
                OTHERS               = 3.
    -Santosh

    hi
    Looks like the message numbers you are processing in the function module CRM_MESSAGE_COLLECT are only for 'errors'.
    Please go to Transaction: CRMC_MSGS
    Look at the following Application Areas
    CRM_ORDER
    CRM_ORDERADM_H
    CRM_ORDERADM_I
    CRM_ORDER_MISC
    CRM_ORDER_OUTPUT
    Select one of the above and double click 'Single Messages' towards your left side on the screen. Select the relavant message number from the list and check the 'S' flag. Press 'F1' (help) on this box and you will see the following.
    Only error messages are saved in the processing log. If a message definitely should be saved - contrary to this rule - then the indicator needs to be set.
    You need to make sure that a message marked like this can be deleted again - by calling up the function module CRM_MESSAGES_DELETE in the appropriate place in the program.
    When you do these steps, please note the message 'Do not make any changes (SAP data)'. This is not tested and used from my side. Please see if this impacts other functions. I am not sure. Do necessary R&D before you proceed further. Please explore tables CRMC_MESSAGES_S and CRMC_MESSAGES and see if this helps.
    Reward if helps
    Regards
    Manohar

  • Create warning message at the time of order creation

    I am looking for a  solution :- "Create warning message at the time of order creation/save if a cc is assigned in the settlement rule that crosses the company code of the order or where the company code of the plant for the order is different from the company code assigned to the cc"

    The txn code : IW32 (maintenance order) , this warning message for settlement rule creation using Cost center as a settlement receiver.  If the used cost center is belongs to some other company code, said warning message should occure.
    I tried user exit, field exit, also used std message control (KO-458).  Nothing is working.

  • How to load a warning message in the sub_VI in a true 'case' statement.

    I wrote a sub virtual instrument (sub_VI) containg a case structure in which a warning message is supposed to be shown only when a case is true, and this works fine by itself alone. However, when I put this sub_VI in the main VI program, the warning message doesn't come up even when the case under sub_VI is true. Is there any way to show this warning message even with the sub_VI under the main VI ?

    By default, sub VI's do not open their front panel when run. If you are putting your warning message on the front panel, then the message will appear when the VI is run on its own (as the main VI) but not when it is run as a sub VI.
    If you use one of the dialog functions such as the "One Button Dialog" fromt the "Time and Dialog" menu, then the message will appear even if used in a sub VI.
    The other option is to right click on your sub VI and set it's properties to open when run and close again afterwards.
    Rob

  • HT1848 i  Authorize my apple 4s in to my computer,but my phone non syncing to my computer, the warning message is , the phon colld not synced because this computer is no longer autherise for purchased item that are on this iPhone., wat i do??

    I  Authorize my apple 4s in to my computer,but my phone non syncing to my computer, the warning message is , the phon colld not synced because this computer is no longer autherise for purchased item that are on this iPhone., wat i do??

    Well Authorize the Computer...........

  • Warning message on the portal

    Hi,
    We are able to get error message on the cProjects portal using the method MESSAGE_ADD of class CL_RPM_MESSAGE_SERVICES by passing type E. But when i try to pass type W or I for warning or information message it does not show up on the portal. How do we display a warning message on the cProjects portal.
    Regards,
    Simmi

    the warning message worked in another method

  • I tunes won't open. No warning message, just the first terms agreement opens and when i agree itunes stopes running. I just wiped and reinstalled everything including windows. I updated everything fully. Deleted spybot unintalled and reintalled new

    I tunes won't open. No warning message, just the first terms agreement opens and when i agree itunes stopes running. I just wiped and reinstalled everything including windows. I updated everything fully. Deleted spybot unintalled and reintalled the newest and one older version of itunes. still nothing. I tried to delete some files that is hidden as directed by apple. I have been trading emails with customer support but it has been no help at all. I am running Windows XP. Before i wiped my computer I ran itunes with no problem, on this computer, this week.

    WOOOOOOOOOOOO!!!! JUST WANTED TO UPDATE Y'ALL THAT BY SOME STROKE OF HEAVENLY GLORY, ITUNES DECIDED TO WORK AGAIN!!!
    WOOOOOOOOOOOOOO!!!
    How did I do it you ask??
    after all the stuff I updated you about, I tried one last time to install....still didn't work...so once again I wiped my system of everything itunes and apple related
    well today I was trying to watch a video that required me to get the quicktime plug in, and it too me to a page that was a quicktime install + itunes 7.blah blah blah instead of the other way around
    well, don't ask me why, but low and behold
    IT WORKS!!!!
    I HAVE MY ITUNES BACK!!! (JUMPS FOR JOY)
    Just wanted to share my shear elation

  • ISA550 After upgrade 1.2.17 many error messages in the log

    Hi,
    After upgrade> 1.2.17 many error messages in the log
    Hello,
    after upgrading from 1.2.15> 1.2.17 have infinitely many errors in the log:
    Err - System: sdsd: msgq_open: Error: mq_open () failed on msg queue / sdsd, errno = 2
    Err - System: sdsd: open_control_msgq: Failed to open sdsd control message queue, errno = 2 (No such file or directory)
    These errors occur repeatedly (300 times per minute). So I went back to the FW 1.2.15.
    Does anyone have an idea?
    Thanks and regards
    Claus

    Hi John,
    Has this issue been resolved yet ?
    I'm facing the same issue after upgrading to 1.2.18
    11/11/2013 10:42    Error    System    sdsd: msgq_send: name /sdsd: pid 27242: mq_timedsend failed, errno = 9
    11/10/2013 12:42    Error    System    sdsd: http_post: Error: Failed to open connection to v1.sds.cisco.com
    11/10/2013 12:42    Error    System    sdsd: open_connection: TCP connection failed on connection 0x1B1C60F8
    11/10/2013 12:42    Error    System    sdsd: tcp_connect: Couldn't connect socket, errno = 110
    11/10/2013 0:22    Error    System    sdsd: http_get: Error: Failed to open connection to v1.sds.cisco.com
    11/10/2013 0:22    Error    System    sdsd: open_connection: TCP connection failed on connection 0x1AFC4DC0
    11/10/2013 0:22    Error    System    sdsd: tcp_connect: Couldn't connect socket, errno = 110
    11/9/2013 18:43    Error    System    sdsd: http_post: Error: Failed to open connection to v1.sds.cisco.com
    11/9/2013 18:43    Error    System    sdsd: open_connection: TCP connection failed on connection 0x1B1C60F8
    11/9/2013 18:43    Error    System    sdsd: tcp_connect: Couldn't connect socket, errno = 110
    Please let me know how to make this go away.
    What are these errors about anyway ?? What causing it ??
    Thanks
    Lutfi
    2013-11-11 10:42:29
    Error
    System
    sdsd:  msgq_send: name /sdsd: pid 27242: mq_timedsend failed, errno = 9
    2013-11-10 12:42:59
    Error
    System
    sdsd: http_post: Error: Failed to open connection to v1.sds.cisco.com
    2013-11-10 12:42:59
    Error
    System
    sdsd: open_connection: TCP connection failed on connection 0x1B1C60F8
    2013-11-10 12:42:58
    Error
    System
    sdsd: tcp_connect: Couldn't connect socket, errno = 110
    2013-11-10 00:22:57
    Error
    System
    sdsd: http_get: Error: Failed to open connection to v1.sds.cisco.com
    2013-11-10 00:22:57
    Error
    System
    sdsd: open_connection: TCP connection failed on connection 0x1AFC4DC0
    2013-11-10 00:22:56
    Error
    System
    sdsd: tcp_connect: Couldn't connect socket, errno = 110
    2013-11-09 18:43:17
    Error
    System
    sdsd: http_post: Error: Failed to open connection to v1.sds.cisco.com
    2013-11-09 18:43:16
    Error
    System
    sdsd: open_connection: TCP connection failed on connection 0x1B1C60F8
    2013-11-09 18:43:16
    Error
    System
    sdsd: tcp_connect: Couldn't connect socket, errno = 11011/11/2013 10:42    Error    System    sdsd: msgq_send: name /sdsd: pid 27242: mq_timedsend failed, errno = 9
    11/10/2013 12:42    Error    System    sdsd: http_post: Error: Failed to open connection to v1.sds.cisco.com
    11/10/2013 12:42    Error    System    sdsd: open_connection: TCP connection failed on connection 0x1B1C60F8
    11/10/2013 12:42    Error    System    sdsd: tcp_connect: Couldn't connect socket, errno = 110
    11/10/2013 0:22    Error    System    sdsd: http_get: Error: Failed to open connection to v1.sds.cisco.com
    11/10/2013 0:22    Error    System    sdsd: open_connection: TCP connection failed on connection 0x1AFC4DC0
    11/10/2013 0:22    Error    System    sdsd: tcp_connect: Couldn't connect socket, errno = 110
    11/9/2013 18:43    Error    System    sdsd: http_post: Error: Failed to open connection to v1.sds.cisco.com
    11/9/2013 18:43    Error    System    sdsd: open_connection: TCP connection failed on connection 0x1B1C60F8
    11/9/2013 18:43    Error    System    sdsd: tcp_connect: Couldn't connect socket, errno = 1

  • How to handle warning message for the fields in tab merging , PERSONAS 2.0

    Hi all,
    Please advice me on the below issue.
    In a transaction VA32 , I have merged the fields from one tab to another tab using tab caching.
    when i try to change the value of  a merged fields , it throws the warnings message. So it is continuously looping from one tab to another tab.
    So i tried to use the additional editor concepts in tab caching as below.
    Looping is stopped and throws warning message in the same tab.
    All the changes are saved successfully only when the enter button is clicked once in the main screen, else the changes are not saved and my previous value remains.
    Anybody have an idea on how we can use Additional actions in Tab caching concepts.
    Thank you,
    Arun

    Hi Kranthi,
    When i try to save the fields which i merged from different tab is not saving.
    Please find the below details.
    Green highlighted fields are custom fields which is merged from different screen like header or item overview screen. This is handled in script button.
    Red highlighted fields are merged from different tab like shipping or sales using tab caching concept.
    While changing the value of the fields which is merged from different tab , and press ENTER then it throws the Warning message if occurs.
    After warning message, if i try to save using the script button for copying all the custom fields which is merged from different screen , pasted it to their respective screens and also saved.
    Its working fine.
    When i try to save it before pressing ENTER button then the respective changes had made in the merged fields from different tab are not reflected.
    How we can handle this issue?
    Thank you,
    Arun

  • One day I just went on my iPod on messages and the log in sign showed up I thought that was weird because I am always logged i so i logged in and it went all the way back to the start! It is the same with FaceTime I do not know what to do?

    One day I just went on my iPod on messages and the log in sign showed up I tried logging in and it just brought me all the way back it is the same with FaceTime please help!

    Try:
    iOS: Troubleshooting FaceTime and iMessage activation

  • Need  to read messages from the log instead of displaying

    Hi,
    I need to read all the messages from the log with a particular log no..
    i was able to display it using FM  BAL_DSP_LOG_DISPLAY..But i want to collect the messages instead of displaying..To display according to my requirement..
    Thanks in advance

    Use this for reading :
    BAL_LOG_MSG_READ
    Regards
    Neha

Maybe you are looking for

  • Obiee 11g Agent- Device (dashboard) is not set in (Userid) delivery profile

    hi HI I have followed the steps (http://obieemanu.blogspot.in/2011/06/obiee-11g-configure-oracle-bi-scheduler.html) and enabled Agents. I am sending the mails succesfully But i am receiving below error.... Eventually succeeded, but encountered and re

  • How to open google search in new tab?

    In Leopard you could hit Command and Return, and the search would open in a new tab, this however doesn't work with Snow Leopard. What shortcut can I use to open my google search with a new tab, rather than over the existing page. Thank you.

  • Creating layers

    Despite doing everything correctly ( but clearly doing something wrong) I have been unable to create a layer on a page. The layer border is in a thin black line, not a thick blue one, and there is no layer icon at top left of layer shape. when I rele

  • How do I reinstall Photoshop Elements11 and Elements Premier after resetting my laptop. I have serial numbers

    Please help with this, I tried the live chat support, but they only deal with the latest products, they are not there to help with anything else!

  • Email relay error message

    When I try to send an email from my ipad the message goes to the outbox and I get an error message saying it can't relay messages. I have checked my internet connection and outgoing SMTP server and they are ok. My email provider is Optus and if I try