Message logs

Hi
I m developing a messenger.
Can anyone help me in deciding the format I should use to save my message logs, ie. txt files or databases, How does MSN and Yahoo save message logs at server end?

DON'T CROSSPOST:
http://forum.java.sun.com/thread.jsp?thread=478913&forum=31&message=2227299

Similar Messages

  • BRF+ Message Log & "Rule as Expression"

    Hi colleagues,
    I am quite new to BRFplus and have two questions:
    1) I would like to use a message log action in order to indicate errors. I tried to follow https://wiki.wdf.sap.corp/wiki/display/FDT/Message+Log   with method SET_APPLICATION_LOG_OBJECT, but I can't find the class this method belogns to. I also tried modelling a rule & action message log with help of the UI. My question is how can I log messages and where can I find them after the function is beeing processed?
    2) In every guide I can read something about rule expressions and even how to create them (e.g. http://help.sap.com/saphelp_nw70ehp1/helpdata/en/cc/85414842c8470bb19b53038c4b5259/frameset.htm), but in the workbench there is no possibilty of creating rules as expressions but only rules and rulesets (the rule is not part of the "Expression" node).
    I hope somebody knows what I mean
    Thanks a lot & kind regards,
    Ilijana

    Thanks a lot for your response!
    Could you tell me why using rules and rulesets is not recommended for 7.01 ? This could be interesting for my bachelor thesis.
    Thanks & Kind Regards,
    Ilijana

  • CK40N : no message log update after =cksu

    Hi costing experts,
    In the costing run statistics there are errors for the marking step, which I correct by entering =cksu according to SAP note 542790.
    However, the message log for the marking step is not updated. It is hard to find which are the remaining messages in the overall message log, because there are some 400 messages in total and only 50 are still relevant according to the refreshed statistics.
    Does anyone have any idea's about what can be done to update the message log?
    Thanks,
    Caroline.

    I got below error in the ST22 dump....
    "Database error text........: "ORA-00060: deadlock detected while waiting for
    resource"
    Internal call code.........: "[RSQL/INSR//BIC/FZXX_C02 ]"
    I was searching for OSS notes associated with following keywords and note able to find any notes related my support pack level we are in SP13 (SAPKW70013)
    "DBIF_RSQL_SQL_ERROR" "CX_SY_OPEN_SQL_DB" "WRITE_ICFACT"
    Any help will be greatly appreciated...
    Thanks,
    Raman

  • Message log not correctly associated with contact

    I'm having an issue where I cannot text message a particular contact or phone number. A series of steps I took seems to have exposed a glitch where the message log will not corrrectly associate itself to a newly created contact.  So now when I push the SMS button on the new contact, nothing happens. Also when I manually start a new text message and add the contact to the text message and press send, the message clears from the text box and nothing else happens.
    Here is how you reproduce the error:
    1. I called a number and quickly hung up, just as you would do to log a number for saving later.
    2. From the call log, I clicked on the SMS button to send a text message.
    3. I sent a text message.
    4. From the text message log, I clicked on the number at the top to save it to contacts.
    5. I saved a new contact with the number.
    6. If you go back to the message log, you should notice that the message log header does not update with the new contact's name. Instead it will still show the number.
    7. Finally, I went to the test contact and pressed the SMS button and nothing happens.
    After you add the contact like I did, it seems that the contact does not correct connect itself with the message log.
    After step 5, go to the message log and click on the message log header which should still be the number. When you do this, you would think it would open up the new test contact info card, but instead it opens up a new contact card, as if the number is not saved to a contact yet. It gives me the option to Add To Contacts at the bottom.

    I have the same issue.  I started not being able to text only one person.  I go to the contact and click on the "SMS" button and it doesn nothing.  If I try to send the message directly to the number it just doesn't do anything, the message leaves the text box, but doens't show up in the conversation window.  I'm not exactly sure what I did to do this, but I think it's because I added the same contact twice.  Once from my incoming calls, and once from my outgoing texts.  I've tried deleting all references to this number (ie the contact info, incoming/outoing calls and texts) but nothing has worked.  It must be the corrupt contact thing as well.

  • Message log is not getting deleted in WEBUI (BADI ORDER_SAVE)

    Hi,
    I am displaying an error message based on certain conditions in BADI: ORDER_SAVE (CHECK_BEFORE_SAVE). On getting error, I am correcting that error.
    Using CRM_MESSAGE_DELETE, I am deleting error message before displaying new error message. However, my error log is not going away. It is still displaying in the log in WEBUI.
    Could you please help me out, how can I delete error message, and error log from WEBUI.
    Thanks,
    Sandeep

    I  have the same question as you .
       I  have use folleing code to display message in web ui:
          if (conditions).
          CV_OWN_MESSAGE = 'X'.
          MESSAGE '商机描述已经存在,请修改后再保存!' type 'E' RAISING DO_NOT_SAVE .
        endif.
    but when i have edit the description , the Message log is not getting deleted in WEBUI .
    who can tell me , thanks for all your help !

  • Error message: "Logging into the account failed because an error occurred."

    Hello,
    We had an XServe G5 2.0 DP 5GB/80/2x250 running Mac OS X 10.3.9 Server with all updates as a main server for a school. The server provides Open Directory Master as well as File-Sharing (AFP and SMB) and e-mail services to about 30 teachers and 300 students. The user home directories reside on the server. A web server also runs on the machine. The students use a pool of laptops, which are configured with a local guest and admin account as well as access to the server-based home directories with Directory Access. The server had the OS running on the 80 GB hard drive and all data (Home directories, mail database, website, etc. were on the two mirrored 250 GB drives.) All was working well until...
    A few weeks ago, one of the two 250 GB died. We decided to use the opportunity to upgrade the server and set it up with 3 x 750 GB, two drives running as a mirrored pair to hold OS AND Data, the other as a stand-by unit to help replace a failing drive.
    We migrated the OS and all data from the previous drives without a problem. Since now, all data is residing on one pair of drives, we put the data from the old "Data" drive in a folder on the root level of the new HD pair. We wrote a script that launches at startup which creates the symlink in /Volumes/Data to link to /Data. We thought that with this, all would be well.
    However: When any user tries to log into his account from any iBook (10.3.9 or 10.4.11) (wirelessly), he gets the message:
    "Logging into the account failed because an error occurred. The home folder for the user account is located on an afp or smb server. contact your system administrator for help"
    If the user logs in to the guest account on the iBook, then accesses his home directory via file-sharing, he can see (read/write) all his data. So, the data and privileges seem to be OK, as well as Open Directory working correctly. Mail and the web work well also, as does logging in to a user account from one of the PC's (wired).
    Can anyone make any suggestions as to how to fix the situation? Currently, the users are using the guest accounts and accessing their data via filesharing, as well as using webmail for their e-mail, but this is a major nuisance.
    Any help will be greatly appreciated.
    Best regards,
    Alain Chammas
    A user trying to access his account from a PC (wired) has no problems.

    A good number of folks are having problems with this same error message at login, and nobody seems to have found a fix.
    I believe I have stumbled upon, if not a solution, at least part of the answer. If you're logged into a 10.4 workstation, open a Finder window and click the "Network" icon. The first time you do this, you'll only see "Library" and "Servers" icons, but if you let it sit for a moment, other folders will magically appear. One of these is "My Network" which is the critical part.
    In Workgroup Manager, edit one of your users' home directory configuration. There's a URL piece, usually "afp://server.domain.com/Users" (which is what shows up in the window when you click on the "Home" tab for that user), and then there's a "Home" path that is usually something like "/Network/Servers/servername/Users/username". Trouble is, you've noticed that 10.4 doesn't put servers into the "Servers" path, but rather into the "My Network" path.
    So, if you change that "Home" path to read "/Network/My Network/servername/Users/username", it should work--with one caveat. Apparently 10.4 doesn't create the "My Network" path on a given client until you actually browse the network on that client. If you haven't logged into a 10.4 workstation and browsed the network, the "My Network" path won't be there, and you'll still get the error. Login as a local user, browse the network (so that the "My Network" folder shows up), logout, and then login as an Open Directory user, and it should work.
    I'm betting that 10.3, 10.4, and 10.5 all handle this issue differently, so if you're in a mixed-version situation, you may have to experiment to find a workable fix.
    Derndest thing I ever saw.

  • 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

  • Can i view an xsl stylesheet? My message log is formatted and I can't read it.

    I have found a message log in My Downloads. When I try to read it, it's an xsl stylesheet. What is this? Why is it in this format, and can I convert it so I can read it? Thanks--need details--I don't know much about computers!

    An XSL stylesheet usually contains layout rules for an XML data file, but not actual data. Maybe what you found is actually the XML data file, which refers to the XSL style sheet?
    If it doesn't help to open it in a Firefox tab, try opening it in Internet Explorer or Microsoft Excel. Both have some capability to decode XML.

  • FaceTime and Messages log in error on Mac

    FaceTime and Messages log in error on my iMac and Mac Mini.  (OS X 10.8.2)
    Getting a 'registration cannot be completed at this time message', but both worked fine before (when the iMac was in my office). 
    Both FaceTime and iMessage work on the iPad.
    Running the home network through a near-new, still functioning Time Capsule.
    Have logged out, tried logging in with a new Apple ID, and get the same result.
    Help, please.

    Sorry, I'm at a loss...
    Try Apple's Express Lane...
    https://expresslane.apple.com/

  • SAX parser errors in services-messages.log

    I'm having some issues with a just installed ZCM 11.3a server. I'm getting a lot of errors:
    org.jdom.JDOMException: Could not load default SAX parser: org.apache.xerces.parsers.SAXParser: SAX2 driver class org.apache.xerces.parsers.SAXParser not found: org.apache.xerces.parsers.SAXParser
    in services-messages.log
    I have googled for the error message but can't find anything related to ZCM. Any idea about how to fix it?

    jlmendez Wrote in message:
    > I'm having some issues with a just installed ZCM 11.3a server. I'm
    > getting a lot of errors:
    >
    > org.jdom.JDOMException: Could not load default SAX parser:
    > org.apache.xerces.parsers.SAXParser: SAX2 driver class
    > org.apache.xerces.parsers.SAXParser not found:
    > org.apache.xerces.parsers.SAXParser
    >
    > in services-messages.log
    >
    > I have googled for the error message but can't find anything related to
    > ZCM. Any idea about how to fix it?
    Which OS did you install ZCM 11.3a on? I'm guessing Linux based.
    HTH.
    Simon Flood
    Novell Knowledge Partner

  • B1iF: Message log errors

    My units are working fine:
    I can produce events  (or re-send it from the msglog) and their result messages will be shown in the log.
    I can't just see the "messages" within the  "Message Log" anymore.
    On the debug vbiu section i can still see the messages but not in the message log.
    When clicking on message icon on the "Msg" column I've got this error instead:
    SAP B1iP detected an error:
    Emitted HTTP-Code
    500 - Internal Server Error
    Internal Reason
    BPE107 Validation of BizFlow failed
    Further details:
    BizFlow-URI: /com.sap.b1i.vplatform.ui/bfd/DownloadMessageLog.bfd
    validation-error: UTE001 Nested exception: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException:
    ERRORS :
    cvc-element : element information item '/:Msg[1]' is not associated with element declaration and do not has an attribute information item among the element information item's [attributes] whose [namespace name] is identical to http://www.w3.org/2001/XMLSchema-instance and whose [local name] is type.
    -> com.sap.engine.lib.xml.parser.ParserException:
    ERRORS :
    cvc-element : element information item '/:Msg[1]' is not associated with element declaration and do not has an attribute information item among the element information item's [attributes] whose [namespace name] is identical to http://www.w3.org/2001/XMLSchema-instance and whose [local name] is type.
    Recommendation
    Check for the correctness of your activity or environment or ask your system-administrator for further help.
    I already tried restarting the services, re-activating the unit and its steps... any ideas?
    If needed i can provide the "full internal error message" and its callstack
    I'm using 8.81 - pl04

    Hi Mattia Ryffel
    Could please explain what exactly do u mean by reinstalling "Framework.zip". I too am facing same problem since three days.. But not able to find a solution to it.. Do u mean to reimport SIM repositories?
    Waiting for your reply.. Thanks in advance.
    Regards
    Rohan S. Kamble

  • I've been recieving text messages on my Iphone 4s, but the phone number is not showing up on my bill under the message logs.  Anyone know why??

    I've been receiving text messages on my phone, but for some reason the phone number is not showing up on my bill under the message log.  Does anyone know why?

        donnagman,
    Thanks for the details. All numbers should show up in the message history log, unless you are communicating via iMessage. When texting the numbers that are missing in the message log are you using your normal messaging app on the device or a downloaded app? Have the numbers that are missing been shown in your message log before?
    LindseyT_VZW
    Follow us on Twitter @VZWSupport

  • Strange Solaris 8 behavior and warnings in messages log

    Hello,
    Solaris 8 4/01 has strange behavior on Ultra 10. After an aleator period after log in, without running an application, window controls dissapear and the machine hangs up.
    here are a few lines from messages log:
    Aug 20 11:53:54 paris su: [ID 105066 kern.notice] NOTICE: su1: silo overflow
    Aug 20 11:53:54 paris
    Aug 20 11:53:54 paris su: [ID 643653 kern.notice] NOTICE: su1: ring buffer overflow
    Aug 20 11:53:54 paris
    Aug 20 11:55:55 paris su: [ID 643653 kern.notice] NOTICE: su1: ring buffer overflow
    Aug 20 17:27:32 paris unix: [ID 839527 kern.notice] sched:
    Aug 20 17:27:33 paris unix: [ID 294280 kern.notice] software trap 0x7f
    Aug 20 17:27:34 paris unix: [ID 101969 kern.notice] pid=0, pc=0xf0050e14, sp=0x2a10001b2e1, tstate=0x8800001401, context=0x0
    Aug 20 17:27:36 paris unix: [ID 743441 kern.notice] g1-g7: 10037c7c, 2, 1, 7, 0, 0, 2a10001fd40
    Aug 20 17:27:37 paris unix: [ID 100000 kern.notice]
    Aug 20 17:27:38 paris genunix: [ID 723222 kern.notice] 000000001040c110 unix:sync_handler+150 (1041a970, 10400000, 0, 0, 0, 0)
    Aug 20 17:27:40 paris genunix: [ID 179002 kern.notice] %l0-3: 0000000000001602 0000000000000016 000000000000000e 0000000010009e90
    Aug 20 17:27:40 paris %l4-7: 0000000000000000 0000000000000000 000000000000000c 000000001040c140
    Aug 20 17:27:45 paris genunix: [ID 723222 kern.notice] 000000001040c1e0 unix:prom_rtt+0 (10000000, 16, f0000000, 1041b130, 3000005f548, 0)
    Aug 20 17:27:48 paris genunix: [ID 179002 kern.notice] %l0-3: 0000000000000002 0000000000001400 0000008800001401 0000000010026e4c
    Aug 20 17:27:48 paris %l4-7: 00000000f0050dc0 00000000f00676a8 000000000000000c 000000001040c290
    Aug 20 17:27:52 paris genunix: [ID 723222 kern.notice] 000000001040c330 unix:client_handler+2c (f0067138, 2a10001bc48, 20, 10428288, 1, 1041a970)
    Aug 20 17:27:55 paris genunix: [ID 179002 kern.notice] %l0-3: 000000001041a788 0000000000000000 000000001040e400 0000000000000001
    Aug 20 17:27:55 paris %l4-7: 0000000000000016 000000000000000e 0000000000000016 000000000023f0e0
    Aug 20 17:28:00 paris genunix: [ID 723222 kern.notice] 000002a10001bb90 unix:prom_enter_mon+28 (0, c, b, 300001b7000, 0, 1013c6b4)
    Aug 20 17:28:02 paris genunix: [ID 179002 kern.notice] %l0-3: 0000000010026ad4 0000000000000016 0000000000000009 0000000010009c78
    Aug 20 17:28:02 paris %l4-7: 000000001041b130 0000000000000016 0000000000000001 000002a10007d7f0
    Aug 20 17:28:07 paris genunix: [ID 723222 kern.notice] 000002a10001bc60 unix:debug_enter+d0 (0, 30000fdf910, 0, 10, 0, 3000006a098)
    Aug 20 17:28:09 paris genunix: [ID 179002 kern.notice] %l0-3: 000003000002da00 0000030000f70000 0000000000000000 00000300016943f0
    Aug 20 17:28:09 paris %l4-7: 0000000000000000 00000300016943e0 00000300007a1f28 0000000000000000
    Aug 20 17:28:13 paris genunix: [ID 723222 kern.notice] 000002a10001bd30 su:async_rxint+218 (30000fdf910, 3000107a088, 1000, ff, 0, 2000)
    Aug 20 17:28:16 paris genunix: [ID 179002 kern.notice] %l0-3: 000000001013c6b4 000003000107a089 000003000105a086 0000000000000001
    Aug 20 17:28:16 paris %l4-7: 0000030000fdf910 00000000000000f6 000003000105a000 0000000000006000
    Aug 20 17:28:21 paris genunix: [ID 723222 kern.notice] 000002a10001bde0 su:asyintr+134 (6, 30000fdf910, 6, 10441de0, 10072068, 300001b7000)
    Aug 20 17:28:24 paris genunix: [ID 179002 kern.notice] %l0-3: 0000000000000000 00000000001298dd 0000000000000000 000003000006a088
    Aug 20 17:28:24 paris %l4-7: 00000300000578c8 000003000078fea8 0000000000000000 000003000078fed0
    Aug 20 17:28:28 paris genunix: [ID 723222 kern.notice] 000002a10001be90 pcipsy:pci_intr_wrapper+64 (1047e2d8, 7e9, 1, 30000074148, 30000063208, 300001303c8)
    Aug 20 17:28:32 paris genunix: [ID 179002 kern.notice] %l0-3: 000000001026fca4 0000000000000000 0000000000000000 0000030000073c28
    Aug 20 17:28:32 paris %l4-7: 000000001158ff20 0000000000000000 0000000000000000 0000000000000000
    Aug 20 17:28:36 paris genunix: [ID 723222 kern.notice] 000002a10001bf50 unix:current_thread+44 (2a10001fd40, 1041b130, 300011de010, 10423840, 16, 0)
    Aug 20 17:28:39 paris genunix: [ID 179002 kern.notice] %l0-3: 0000000010007450 000002a10001f151 000000000000000c 000002a10001bf50
    Aug 20 17:28:39 paris %l4-7: 0000000000000000 0000000000000000 0000000000000000 000002a10001fa00
    Aug 20 17:28:44 paris genunix: [ID 723222 kern.notice] 000002a10001faa0 unix:idle+54 (1040f850, 0, 0, 1041b130, 3000005f548, 0)
    Aug 20 17:28:46 paris genunix: [ID 179002 kern.notice] %l0-3: 00000000100416c4 0000000000000000 0000000000000000 000002a1000b7d40
    Aug 20 17:28:46 paris %l4-7: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
    Aug 20 17:28:51 paris unix: [ID 100000 kern.notice]
    Aug 20 17:28:51 paris genunix: [ID 672855 kern.notice] syncing file systems...
    Aug 20 17:29:04 paris genunix: [ID 433738 kern.notice] [2]
    Aug 20 17:29:04 paris genunix: [ID 733762 kern.notice] 12
    Aug 20 17:30:47 paris genunix: [ID 433738 kern.notice] [2]
    Aug 20 17:37:27 paris last message repeated 9 times
    Aug 20 17:37:29 paris genunix: [ID 616637 kern.notice] cannot sync -- giving up
    Aug 20 17:37:30 paris genunix: [ID 353387 kern.notice] dumping to /dev/dsk/c0t0d0s1, offset 214827008
    Aug 20 17:37:38 paris genunix: [ID 409368 kern.notice] 100% done: 10582 pages dumped, compression ratio 3.80,
    Aug 20 17:37:38 paris genunix: [ID 851671 kern.notice] dump succeeded
    Any ideea what is wrong with my machine ?
    Thank you,
    Razvan

    Hi Chandra,
    unfortunately I can't stop the whole database just because of this "little" problem. And don't even know if it really helps. Now I'm installing the same SW on VMWare server. Hope, that it will help me reproduce this problem and then I can try this patch.
    Thank you, however, for your suggestion.
    Robert

  • In which tables are batch input error messages logged?

    does anybody know in which table are the batch input error messages logged?
    I have to display the error messages which have occured during the transaction
    I tried to find out, but i could see only the table BDCMSGCOLL, this table has only the Batch input message number and not the message itself?
    does anybody know about the batch input error messages?

    hi,
    check the sample code below.
    messtab is of type BDCMSGCOLL.
    Call the transaction and then use T100 to get the message.
    DATA: l_mstring(480).
    call transaction using
      REFRESH messtab.
      CALL TRANSACTION tcode USING bdcdata
                       MODE   ctumode
                       UPDATE cupdate
                       MESSAGES INTO messtab.
      l_subrc = sy-subrc.
      SKIP.
      LOOP AT messtab.
        SELECT SINGLE * FROM t100 WHERE sprsl = messtab-msgspra
                                  AND   arbgb = messtab-msgid
                                  AND   msgnr = messtab-msgnr.
        IF sy-subrc = 0.
          l_mstring = t100-text.
          IF l_mstring CS '&1'.
            REPLACE '&1' WITH messtab-msgv1 INTO l_mstring.
            REPLACE '&2' WITH messtab-msgv2 INTO l_mstring.
            REPLACE '&3' WITH messtab-msgv3 INTO l_mstring.
            REPLACE '&4' WITH messtab-msgv4 INTO l_mstring.
          ELSE.
            REPLACE '&' WITH messtab-msgv1 INTO l_mstring.
            REPLACE '&' WITH messtab-msgv2 INTO l_mstring.
            REPLACE '&' WITH messtab-msgv3 INTO l_mstring.
            REPLACE '&' WITH messtab-msgv4 INTO l_mstring.
          ENDIF.
          CONDENSE l_mstring.
          WRITE: /4 messtab-msgtyp, l_mstring(250).
        ELSE.
          WRITE: /4 messtab.
        ENDIF.
      ENDLOOP.

  • Pop-up with Message Log and ability to correct

    Hi All,
    I am working on a Dialog Program which gets the messages that occur on validating the fields of this program into a message table.
    I am able to display the messages one after the other by looping through the message table.
    Is there a way that I could display a pop-up with the Message Log and provide a button ('Correct Errors') there to correct the errors encountered which (when clicked) would take me to the field responsible for that message, while the message appears in the status bar.
    Many Thanks in Advance.
    Kind Regards
    Sanjay

    Hi,
    you can use FM POPUP_TO_DECIDE to display error message and 2 buttons (one with "Correct Errors" and other "Cancel") and "SET CURSOR FIELD CURSORFIELD" to positionate in the respective field (that you must associate  to the message)
    Example:
    CALL FUNCTION 'POPUP_TO_DECIDE'
      EXPORTING
        DEFAULTOPTION           = '1'
        TEXTLINE1               = 'Message Text'
      TEXTLINE2               = ' '
      TEXTLINE3               = ' '
        TEXT_OPTION1            = 'Correct Errors'
        TEXT_OPTION2            = 'Cancel'
      ICON_TEXT_OPTION1       = ' '
      ICON_TEXT_OPTION2       = ' '
        TITEL                   = 'Error Log'
      START_COLUMN            = 25
      START_ROW               = 6
      CANCEL_DISPLAY          = 'X'
    IMPORTING
       ANSWER                  = answer.
    if answer eq '1'.
    *Correct Errors
    SET CURSOR FIELD CURSORFIELD.
      MESSAGE Ennn.
    else.
    *Cancel
    endif.
    Regards,

  • Capture error messages in message log in ME21n transaction

    Hello friends,
    i have a question here.I have created a Z-table which contain data about material groups which will not be used for the particular plant.when we create a PO now ,i am checking for each line item whether the material group entered for each line item exists in Z-table or not.If exists then throw a message 'XXXXXXXX.'
    as this is an enhancement to Me21n transaction , i am using User exit EXIT_SAPMM06E_012 .Now my problem is for each line item i am checking for condition and throwing a message.My requirement is show up all messages(for eg : If more than 1 line item contain errors for the same condition) in the message log of the transaction ME21n screen.I dont think we can do this in the User exit as showing up messages in ME21n is standard functionality
    Could anyone please give any idea how to achieve this??
    Thanks in advance!

    Hi,
    You may write to application error log or call screen to show error log in user exit.
    Cheers.
    ...Reward if useful.

Maybe you are looking for