Warning messages in schema "log".

Hello all.
I am creating a payroll function, in order to do some additional validations, and issue some messages, in the schema "log".
When i want to issue an error message, that stops any kind of furter processing, everything is working fine.
However, when i try to issue a warning message (yellow color), nothing happens (the message is not issued, in the schema "log").
Does anyone know what i am doing wrong?
To issue the error message, i wrote the folowing code:
  if sy-subrc <> 0.
Mensagem de erro no "log"
    CONCATENATE 'Colaborador' pernr-pernr ',não criado como Fornecedor!'
    INTO wa_PtEXT-TEXT1 SEPARATED BY SPACE.
    wa_PTEXT-TLEVEL = '00'.
    wa_PTEXT-TLENGTH1 = STRLEN( PTEXT-TEXT1 ).
    wa_pTEXT-TINTENSIV1 = 1.
    wa_PTEXT-EMPTY_LINES = 0.
    wa_ptext-message = 'X'.
    APPEND wa_ptext to P_TEXT.
    PERFORM fill_msgtab TABLES p_text
                               ptext
                        USING  space     "pernr dependent
                               aper_numb
                               p_mess_pos
                               'E'       "error
                               'A'
                               error     "T100 Pointer
                               l_exp.
To issue the warning message, i wrote the following code, that is not working:
Mensagem de Sucesso no "log"
        message id wa_mess_tab-msgid type wa_mess_tab-msgtyp number wa_mess_tab-msgnr
        with wa_mess_tab-msgv1 wa_mess_tab-msgv2  wa_mess_tab-msgv3  wa_mess_tab-msgv4
        INTO wa_PtEXT-TEXT1.
        wa_PTEXT-TLEVEL = '00'.
        wa_PTEXT-TLENGTH1 = STRLEN( PTEXT-TEXT1 ).
        wa_pTEXT-TINTENSIV1 = 1.
        wa_PTEXT-EMPTY_LINES = 0.
        wa_ptext-message = 'X'.
        APPEND wa_ptext to P_TEXT.
        PERFORM fill_msgtab TABLES p_text
                                   ptext
                            USING  space     "pernr dependent
                                   aper_numb
                                   p_mess_pos
                                   'W'       "error
                                   'M'
                                   error     "T100 Pointer
                                   l_exp.
Thanks in advance.
Sincerely,
Hugo Ferreira

Rimpa, could you exemplify the usage of this function module?

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

  • 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 message into Application log of Service request

    Hi Experts,
    I have a requirement where I am using Event handlers(CRMV_EVENT) to redetermine partners of a service request whenever certain values are changed in the transaction CRMD_ORDER.
    Partners will be retrieved from a custom table.
    In any circumstances, if the partners cannot be determined then we need to push a WARNING message stating that "Partners can not be determined, pls maintain the values in the custom table'.
    For this purpose I am using the function module CRM_MESSAGE_COLLECT with the following parameters, but still I am not able to see the same into the Application log of the Service request that is going to be created.
    CALL FUNCTION 'CRM_MESSAGE_COLLECT'
      EXPORTING
        iv_caller_name         = 'ORDERADM_H'
        IV_REF_OBJECT          = iv_header_guid
        IV_REF_KIND            = 'A'
       IV_LOGICAL_KEY         = '0001'
        IV_MSGNO               = '001'
        IV_MSGID               = 'ZSP'
        IV_MSGTY               = 'W'
      IV_MSGV1               = SY-MSGV1
      IV_MSGV2               = SY-MSGV2
      IV_MSGV3               = SY-MSGV3
      IV_MSGV4               = SY-MSGV4
        IV_MSGLEVEL            = '1'
      IV_FIELDNAME           =
      IV_ACTION              =
        IV_LOG_HANDLE          = lv_log_handle
        IV_CUMULATE            = 'X'
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Do I missed in passing of any additional parameters?
    Can any one of you have encountered the same problem and solved this, pls through some light on me too(if possible with block of code).
    Thanks in advance.

    Hi,
    Here is the block of code that I used to push a message in to Application log.
    Push your message into a variable called dummy and then call the below mentioned function module.
    DATA:        lv_dummy(254)    TYPE  c,            "#EC NEEDED
              MESSAGE w052(sppf_media) WITH text-001
                                            text-002
                                        INTO lv_dummy.
              CALL FUNCTION 'CRM_MESSAGE_COLLECT'
                EXPORTING
                  iv_caller_name = 'ORDERADM_H'
                  iv_ref_object  = iv_header_guid
                  iv_ref_kind    = lc_ref_kind_a
                  iv_msgno       = sy-msgno
                  iv_msgid       = sy-msgid
                  iv_msgty       = sy-msgty
                  iv_cumulate    = lc_x
                IMPORTING
                  ev_msgty       = lv_msgtyp
                  es_msg_handle  = gv_msghandle
                EXCEPTIONS
                  not_found      = 1
                  appl_log_error = 2
                  OTHERS         = 3.
              IF sy-subrc <> 0.
                MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                       WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
              ENDIF.
            ENDIF.
    Hope this helps to resolve your issue.
    Regards,
    Usha.

  • Mod_plsql warning message in apache logs

    The following warning message has been reported in error logs and it relates to wwv_flow package :-
    [Thu Oct 19 16:08:47 2006] [warn] mod_plsql: /pls/htmldb/wwv_flow.accept had to be described for execution. Refer to the PL/SQL GateWay documentation on how to avoid this
    I have checked the doco at http://download-west.oracle.com/docs/cd/A97335_01/apps.102/a90099/apptroub.htm#634288
    Section B.7.1 is the relevant section and I think its to do with mod_plsql unable to find out if the parameters to wwv_flow.accept are scalar or array and hence having to first do a describe everytime.
    Do I need to do something about it or just ignore it ?
    tks
    Vishal

    Thanks Scott.
    I have asked the client how they have configured this.
    If its ON should they turn it OFF ?
    What implications would it have then ?
    tks

  • 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

  • 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

  • Warning message in oc4j log when using af:region

    Hello -
    (Jdev 10.1.3 SU2)
    When testing my ADF faces app, the first time someone hits a page that uses a region, the following message appears in the embedded OC4J server log. I am concerned about the "WARNING" part - is this message normal or does it indicate that I might have set something up incorrectly?
    2006-05-16 08:20:53.279 WARNING Replaced jspUri /regions/userInfoRegion.jspx with /regions/userInfoRegion.jspx for componentType:xyz.userInfoThanks!
    -- Scott

    Hello,
    I'm getting the same error when i try to create a BOM using the BOMMAT03 idoc.
    How did you manage to solve this issue?
    I appreciate your help.
    Thanks&Rgds
    Angelica Fontes

  • A002: warning messages in alert log

    Can anyone tell me if this is really an informational message or if it is indicating a problem
    It is appearing on the apply system (10gr3)
    Thu Jul 21 17:20:08 2005
    A002: warning -- apply server 1, sid 118 waiting for event (since 5456 seconds):
    A002: [rdbms ipc message] timeout=1f4, =0, =0
    Thanks

    This message is informational only. There was a bug opened for apply process writing too many messages into the alert log. This issue has been fixed in 10.2 and fix was included in PSR 10.1.0.4. Please apply this patchset.

  • Warning message about Rx power high on Catalyst 4900M

    We get the following warning messages in the log on our 4900M:
    Dec 12 09:21:37.367 EST: %SFF8472-5-THRESHOLD_VIOLATION: Te3/8: Rx power low warning; Operating value: -12.1 dBm, Threshold value:  -9.9 dBm.
    Dec 12 09:31:37.537 EST: %SFF8472-5-THRESHOLD_VIOLATION: Te3/8: Rx power low warning; Operating value: -12.1 dBm, Threshold value:  -9.9 dBm.
    the 4900M is connected to a 3560E at port Te0/2. No violations are reported on the 3560E.
    We have already replaced modules on both the 4900M and the 3560E. We also replaced the fiber patch cables, and moved the patch cables to connect to a backup set of fiber cables.
    Additional logs:
    4900M#show interfaces transceiver module 3
    If device is externally calibrated, only calibrated values are printed.
    ++ : high alarm, +  : high warning, -  : low warning, -- : low alarm.
    NA or N/A: not applicable, Tx: transmit, Rx: receive.
    mA: milliamperes, dBm: decibels (milliwatts).
                                     Optical   Optical
               Temperature  Voltage  Tx Power  Rx Power
    Port       (Celsius)    (Volts)  (dBm)     (dBm)
    Te3/5        33.2       0.00      -2.1      -3.1   
    Te3/6        31.9       0.00      -1.6      -3.0   
    Te3/7        30.3       3.22      -2.3      -2.4   
    Te3/8        29.7       3.23      -2.2     -12.1   
    3560E#show interfaces transceiver module 1
    Transceiver monitoring is disabled for all interfaces.
    If device is externally calibrated, only calibrated values are printed.
    ++ : high alarm, +  : high warning, -  : low warning, -- : low alarm.
    NA or N/A: not applicable, Tx: transmit, Rx: receive.
    mA: milliamperes, dBm: decibels (milliwatts).
                                               Optical   Optical
               Temperature  Voltage  Current   Tx Power  Rx Power
    Port       (Celsius)    (Volts)  (mA)      (dBm)     (dBm)
    Te0/1        32.0       0.00       8.1      -2.1      -2.0   
    Te0/2        31.2       0.00       1.2      -2.6      -3.9  
    We are unsure what else the issue could be. Any ideas would be appreciated.

    Can you provide more detail as to what is in the link between the 4900M and the 3560E? 
    4900M --- patch cord --- bulkhead panel ---- ? backbone cable ? ---- bulkhead panel --- patch cord --- 3560E
    Do you know if there are any other connectors or splices in the network?  How many fibers are in the backbone cable?  Which transceiver are you using?  

  • Warning messages in MirrlogA  & MirrlogB

    Hi,
    I am getting the following warning message in backup log(DB12). I tried to check the at mirrlogA & mirrlogB. There are no files inside this folder. Need someone's interventions to solve this warning messages in DB12 backup logs.
    BR0335W Status of online redo log file /oracle/UQ1/mirrlogA/log_g11m2.dbf is INVALID
    BR0274W File '/oracle/UQ1/mirrlogA/log_g11m2.dbf' not found
    BR0335W Status of online redo log file /oracle/UQ1/mirrlogB/log_g12m2.dbf is INVALID
    BR0274W File '/oracle/UQ1/mirrlogB/log_g12m2.dbf' not found
    BR0335W Status of online redo log file /oracle/UQ1/mirrlogA/log_g13m2.dbf is INVALID
    BR0274W File '/oracle/UQ1/mirrlogA/log_g13m2.dbf' not found
    BR0335W Status of online redo log file /oracle/UQ1/mirrlogB/log_g14m2.dbf is INVALID
    BR0274W File '/oracle/UQ1/mirrlogB/log_g14m2.dbf' not found
    regards,
    Kaspar

    Hi ,
    Seems as if only the online Mirrorlogs are missing and the original logfiles must be there,,otherwise your database would have crashed.
    Check the original log directories('/oracle/UQ1/origlogA/ & '/oracle/UQ1/origlogB/' and you must be having files there and proceed as following.
    1. If the database is shut down
    just copy the member that is still available to the locatation & name of the missing member
    2. If the database is open
    drop the member out of the group and recreate it sqlplus '/ as sysdba'
    SQL> ALTER DATABASE DROP LOGFILE MEMBER '<path/filename>';
    SQL> ALTER DATABASE ADD LOGFILE MEMBER '<path/filename>' to group X;
    If the disk, on which the member was created on, does not exist anymore, you can specify a different location in the add logfile member command
    This should help.
    Regards
    Amit

  • Warning message of password expire

    Hi All,
    I have a requirement. When user password is going expire in 5 days, there should be warning message when user logs into portal  which says "your password is going expire in 5 days, please change".
    How achieve this functionality in portal, please advice.
    Thanks,
    Santosh.
    Edited by: Santosh Gundelli on Dec 17, 2011 10:13 AM

    You can call ABAP RFC to get expiration date. You can create portal application using Netweaver Developer Studio.
    File->New->Other->Portal Application->Create a Portal Application Project
    Then right click on the left side project name Create a New Application Object.
    Here you can write code.

  • How to handle "Memory Low" warning message?

    Recently users have been getting a warning message when they log on: "Memory low.  Leave the transaction before taking a break."  When we look at SM50 the user has a status of "On Hold" and the reason column says "PRIV".  We are on ECC 6.0 (since January 2010) and V7R1 (March 2011). 
    Usually the message is received as soon as the user logs on so it is not like it is related to a particular program.  We can go weeks without any reported instance of the message so it is not a regular occurrence.  Fortunately there does not seem to be any other symptom other than getting the message.
    I have seen a post on an SAP forum that said to adjust the instance profile with these parameters:
    rdisp/max_priv_time
    rdisp/wppriv_max_no
    I do not have any entries for this now and am not sure what the values should be.
    Does anyone have any suggestions on how to handle this on an AS/400?  Thanks in advance.
    Alan

    Hi Alan,
    what 1024 ???
    then we definetely do NOT need as4/MAXSHR64 !
    I would normally at least go for em/initial_size_MB = 8000 - as you are having issues right now ...
    Or is this a small DEV-system ?
    then 4000 might be sufficient ...
    (the 4096 is just crap - make it simple and use e.g. 4000 then ...)
    Regards
    Volker Gueldenpfennig, consolut international ag
    http://www.consolut.com http://www.4soi.de http://www.easymarketplace.de

  • XFCE login warning message

    I keep getting a warning message when I log in that tells me:
    Could not look up internet address for archlinux.  This will prevent Xfce from operating correctly.  It may be possible to correct the problem by adding  archlinux to the file /etc/hosts on your system.
    Yet, my /etc/hosts has this line in it already:
    127.0.0.1 localhost.localdomain localhost "archlinux"
    My internet works fine but I do get an "hostname: Unknown host" in the first console. Maybe that has something to do with it?
    Thanks for your help!

    Thanks a lot i fix the problem
    example
    127.0.0.1               localhost.localdomain   localhost  archlinux

Maybe you are looking for

  • ITunes music files did not transfer afte rebooting OS software

    hi there I had to reboot system 10.3 software- I was happy because I had everything backed up on a Lacie external drive that i had formatted as a bootable disk. So when my iBook came back from the repair shop with a new blank OS and asked me if I wan

  • Why won't Bluetooth work now on my Iphone 4s

    Bluetooth on my Iphone 4s doesn't seem to work, but I know it used to before the upgrades. Any fixes?

  • How to match APS's PO line to ERP's

    Hi, We want re-schedule PO according ASCP's suggestion. However there is only PO# and release# shown in ASCP PWB. Is there any way we can know the PO line#? Thks,

  • Lost music after itunes update

    Hi All I just did the latest software update for my itunes and seem to have lost all my music. Called apple care and they talked me through looking the lost music. They said it looks like its gone. Any one have this problem? I was not the first one t

  • Analog for 'Change Color' effect

    Hi everyone. All my digital photovideo gadgets incorrectly reproduce blue and relatives colors - they become lighter. This problem is solved by 'Change Color' effect (in a Photoshop the similar filter works the same way). But painfully slowly it work