How to trace the message in which line of program used?

Dear fellows,
       Many times when we run a t-code (especially standard t-code), it will return many message log. but when we debug the t-code to trace the error message, it is difficult to find why raise this error message. Even we can not find in which line of program. We can not use the where-to-used list in SE91 to trace, because it is not written like this:       message 033(FD) TYPE E.
       For example in validation(GGB0)  we use some message, but when this message come out, we didn't know this message in which program raise.  And it also can not be traced using message at in debug mode.
       In many case, the way of using message is not easy to be trace , but if we can find which line of program to raise this message, would help a lot for finding the cause problem.
       Is there any tool for us to trace message ?
       Thanks for your sincerely answer!

Hello All,
If the message log is filled like this
  L_S_MSG-MSGTY     = 'E'.
  L_S_MSG-MSGID     = 'BL'.
  L_S_MSG-MSGNO     = '303'.
  L_S_MSG-MSGV1     = '007'.
Can you trace this message by putting a watch-point/break point? I guess no! If some has YES as answer, please feel free to correct me.
That is why whenever filling a message log/return table it is important that we ensure that the message can be traced back using "where-used". Hence the usage of MESSAGE...INTO (or the pre-historic, IF 1 = 2 ... MESSAGE ... ENDIF) construct.
BR,
Suhas

Similar Messages

  • How to print the message in 2 lines?

    How to print the message in 2 lines?
    Here i am having it like this... MESSAGE i000(zm) WITH lv_uname.
    here I want to print lv_uname in 2 lines because it lengthy one.
    Thanks,
    Sridhar.

    No man, itas not comming..I am using the below logic to print my message:
        CONCATENATE text-I01 lv_printdate1 text-I02 INTO lv_printname
    SEPARATED BY space.
        MESSAGE i002(zm) WITH lv_printname.
    its printing in a single line...

  • How user trace the message created in Satellite System

    HI All,
    I'm using Servide Desk in my company. Just wondering how user can trace the progress of the message created where email notification is not configured.
    Remember when user send/save the message, there's a message number created. Just wonder any center/ transaction code user can trace the progress and have a visible view on the message ON THE SATELLITE System, not in SOLMAN.
    Thanks,
    NIcholas Chang

    >
    Nicholas Chang wrote:
    > Hi All,
    >
    > What standard F4 help screen should i modify and from where should i start? Could you please enlighten me on what function or program that this F4 help screen bind to? I need to know the function/program in order for my abaper to work on this.
    >
    > Also, i just wondering is every user able to create message in Satellite System under Help -> Create Message? According to the SOLMAN Security Guide, it mention user with role SAP_SUPPDESK_CREATE are able to create message but i've and created and tested with a restricted profile user without SAP_SUPPDESK_CREATE role, and it still manage to create message.
    >
    > I've completed the SOLMAN SD setup and currently tryin to fine tune it.
    >
    > Your help is very much appreciated.
    >
    > Thanks!
    > Nicholas
    Hi Nicholas
    If you are using a "Named" user instead of the Trusted Relationship in the RFC maintained in BCOS_CUST for entry OSS_MSG then this is quite possible. In this case the "Named" user will be used to call the interface to create message and the calling user ie the end user creating the ticket will only be used as "Reporter" of the message.
    Regards
    Amit

  • HOW TO TRACE THE PLSQL API BEING CALLED WHEN WE USE FORM

    Dear ALL,
    How I can track the PLSQL API name when we press any button in form.
    For example when I click on Bill By Requirement button on EAM Work Order Billing FORM , how will I know which PLSQL API is being called.
    Please give me an idea about how to identify the PLSQL API being called.
    Thanks and Regards,
    Lavan

    Please refer to (FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]).
    Thanks,
    Hussein

  • How to extend the execution time of an ABAP Program using the Process chain

    Hello Sapians,
    Our Environment has got 600seconds = 10 mintues as the execution time.
    My ABAP Program is taking more than this 600 seconds, to show the result, I found this when I tried to execute in debug mode, it shows the result.
    If I execute in background also it shows the results succesfully.
    Only issue is when I execute this report in foreground it has been taking ages and goes on Time OUT Error.
    It has been decided that we can extend the execution time only for this report, and it will reset the time back to 10mintues once the report has been executed successfully or failed in between for any other reasons.
    And we can achieve this by using the process chains.
    Can any body help me please in this regard
    Thanks,

    Hi,,,,,,,,,,
    Besides Process Chain There is another way out for this........
    Resetting time counter of dialog process so that time-out does not
    happen. Use this fm within your program at appropriate locations to
    reset time counter.
    "CALL FUNCTION 'TH_REDISPATCH'."
    Thanks
    Saurabh

  • How to delete the messages from SXMB_MONI which are already cancelled .

    Hi All,
    The messages were earlier in System error(Red flag) state so i cancelled it manually.
    I want to know how to delete the messages from sxmb_moni which are already cancelled manually using ctrl+f8.
    if not possible , then i want to see them in earlier state i.e.., in System error(Red flag).
    can any tell me the procedure of doing it.
    thanks
    Sai.

    Hi AmitSri,
    Thanks for u r reply,
    What is retention period, where can i find this option.
    And i don't have authorizations to sxmb_adm --> configure delete procedure
                                                                             --> Define interfaces for archiving and retention period.
    and to RSXMB_DELETE_MESSAGES in se38 , i don't have authorizations to run
    Is there any way to delete the messages or make them to System error( Red flag) which are manually cancelled.
    Thanks
    Sai.
    Edited by: sai_SHA on Aug 17, 2011 12:29 AM

  • How to find the number of fetched lines from select statement

    Hi Experts,
    Can you tell me how to find the number of fetched lines from select statements..
    and one more thing is can you tell me how to check the written select statement or written statement is correct or not????
    Thanks in advance
    santosh

    Hi,
    Look for the system field SY_TABIX. That will contain the number of records which have been put into an internal table through a select statement.
    For ex:
    data: itab type mara occurs 0 with header line.
    Select * from mara into table itab.
    Write: Sy-tabix.
    This will give you the number of entries that has been selected.
    I am not sure what you mean by the second question. If you can let me know what you need then we might have a solution.
    Hope this helps,
    Sudhi
    Message was edited by:
            Sudhindra Chandrashekar

  • How to trace the missing authorizations using NWBC at object level

    Hi all,
    In SAP R/3 any authorization issue can be tracked down till authorization object level using SU53 tcode and ST01 tcode.
    1 - I have a super user who has all the roles in Solution manager system and test user which I created with just 1 role Incident management role. But when I login with Super user ID I can see in tcode (WDY_APPLICATION - Incident Management ) I have 4 tabs (Overview,Messages,Reports and Queries) but when I execute the same tcode using test ID I can only see Overview and Messages tab. Report and Query tab were missing . Please advice on how to trace the missing authorizations using NWBC at object level? or how to solve this issue......
    2 - How to add a Web dynpro Transaction code (example WDY_APPLICATION - Incident Management )while building a role in PFCG?
    Thanks
    LAK

    Hi Gurus,
    Can anyone please help me with my questions.
    In addition here are few more info that I need
    How to bring in the new authorizations without logiing off and logging in back in NWBC ( Equivalent to Menu-->Refresh in SAP GUI)
    Thanks
    LAK

  • How 2 move the message from memory card 2 phone me...

    did anyone know in nokia N73 how 2
    move the message from memory card move
    to phone memory???? did anyone know
    how 2 move it??? teach me plz.....

    Here is an easy way to move your messages from Phone Memory to Memory Card or from Memory Card to Phone memory In Nokia models.
    1- Install latest version of Nokia PC Suite and connect your set.
    2- Open Nokia Communication Centre. (Select Phone Memory or Memory Card from which you want to move messages to other memory)
    3- Select all messages in a single folder (Inbox/Sent Items or from My Folders) and click on file> export. This will create *.csv file.
    4- Download NBU Explorer 1.8 from http://www.soft82.com/download/windows/nokia-nbuex​plorer/  (You must have installed Windows Installer 3.1 and Microsoft .Net Framework 3.5 to run NBU Explorer. You can easily download these from Microsoft Site,)
    5- Open *.csv file in NBU Explorer and click File > Export All. (Your all messages will be exported as *.vmg files.)
    6- Disconnect and connect your phone again in Nokia PC Suite.
    7- Now set your target memory in your phone for messages.
    8- Open Communication Centre and Select your desired folder then click on file > Import messages by selecting multiple messages *.vmg files. (You don’t have to import messages one by one but you can import all messages in a single folder at once)
    9- And you have done it.
    10- You can import *.csv list in Nokia PC Suite rather *.vmg files, but in this case, all the spaces (blank spaces) in your messages will be lost. All the text of your messages will be merged to a single line. So exporting via NBU Explorer is recommended.  
    11- Any query?  Contact me at ********@yahoo.com.
    MODERATOR'S NOTE:
    E-mail address has been removed from this post as it is unwise to post such personal information in a public web forum. This is for your personal safety and privacy.
    Edited by: Aikin19

  • How to Customize the Message "No Row Returned" from a Report

    Hi,
    I've been trying to customize the Message "No Row Returned" from a Report.
    First i followed the instructions in Note:183131.1 -
    How to Customize the Message "No Row Returned" from a Report
    But of course the OWA_UTIL.REDIRECT_URL in this solution did not work (in a portlet) and i found the metalink document 228620.1 which described how to fix it.
    So i followed the "fix" in the document above and now my output is,..
    "Portlet 38,70711 responded with content-type text/plain when the client was requesting content-type text/html"
    So i search in Metalink for the above and come up with,...
    Bug 3548276 PORTLET X,Y RESPONDED WITH CONTENT-TYPE TEXT/PLAIN INSTEAD OF TEXT/HTML
    And i've read it and read it and read it and read it and can't make heads or tails of what it's saying.
    Every "solution" seems to cause another problem that i have to fix. And all i want to do is customize the Message "No Row Returned" from a Report. Please,...does anyone know how to do this?

    My guess is that it only shows the number of rows it has retrieved. I believe the defailt is for it to only retrieve 50 rows and as you page through your report it retrieves more. So this would just tell you how many rows was retireved, but probably not how many rows the report would contain if you pages to the end. Oracle doesn't really have a notion of total number of rows until the whole result set has been materialized.

  • How to check the messages in solution manager?

    hai experts !
    how to check the messages in solution manager?
    in which transaction do we see them?

    Hi Kiran,
    From what I gather from your brief question, you are perhaps looking for CRM_DNO_MONITOR that would display all queries created from Satellite/SolMan system itself, as support messages.
    If you are looking for Notifications underlying those messages, please look for DNOTIFWL.
    For more specific answers, please provide more description of what you are looking for.
    Trust this helps.
    Regards,
    Srini

  • I'm trying to install OS 10.6 onto my Macbook, which currently has OS 10.5.8. I clicked install (on the DVD) and selected my Macintosh HD drive. I was given the message that that disk cannot be used because it does not have the GUID partition????

    I'm trying to install OS 10.6 onto my Macbook, which currently has OS 10.5.8. I clicked install (on the DVD) and selected my Macintosh HD drive. I was given the message that that disk cannot be used because it does not have the GUID partition. In order to have a GUID partition, it suggested I go to disk utility and make the change. I couldn't see the partition tabs in the disk utility application. So how do I accomplish the GUID partition?

    The problem is, reformatting the partition may require you erase the hard drive.   Normally Intel Macs are preformatted GUID.    The fact that yours is not, says someone who initially installed the system on your Mac did you a disservice.   Regardless, you should backup your data before you upgrade.  GUID formatted drives generally are not compatible with iBooks (pre-2006 consumer notebooks by Apple) Powerbooks, and PowerMacs, and iMac G5s.    So if you indeed have machine with the MacBook name on the screen frame, it was not properly formatted from the beginning.  

  • XI: How to update the Message Status (shown by transaction SXMB_MONI  )

    Hi
       My question might be stupid, but I need you help.
    I would like to know how can I update the message status what we see while using trasaction SXMB_MONI  . The Scenrio is, I have a Custom Interface program build on the Abap Proxy interface method called EXECUTE_ASYNCHRONOUS.
    If I am not wrong, transaction SXMB_MONI is on the XI system and also on the SAP Application system. ( But I am not sure in what way the same transaction differ in two systems )
    My issue is,  when I receive the xml data into a structure in abap proxy, I am doing some validation on the received message data. If I found some error in the data , then I need to update the Message status of the SXMB_MONI to  ERROR flag. How to implement this ?   I have not done one before. And I am not sure, if any exception like error message is raised, will it stop the proxy from processing further and update the Message Status and this can be viewed using SXMP_MONI in the SAP application system to be ERROR flag?
    Or is there a BAPI or function module to handle this ?
    Appreciate your help
    David

    Hi
    I am not sure If I had understood you reply. But Would need your help to have a bit more insight to your answer. I am not completely into XI , but I am from ABAP side.
    At the R/3 side , Abap Proxy object geneted has the INTERFACE and its associated  METHOD, in which I am building my own abap code to do any validation on incomming data. But If I want to Raise a Exception, I understand that this Expection has to be first defined .
    But do I have to define a new Z Expection class  or can I just add a exception in the Proxy -Interface-method.
    I have not understood this process.
    All I need to do is, if I find any incomming data error , during my validation at the R/3 side, I need to stop the METHOD processing ( by any means ) and Update the Message Status flag show in SXMB_MONI to Error . 
    What is the trigger  that i can implement in myown code that will update the Message status to Error , from R/3 perspective of using SXMB_MONI.
    Thanks
    David

  • How to get the form name which is used in standard tcode like me23n in sap

    how to get the form name which is used in standard tcode like me23n in sap
    Moderator message: four out of four threads locked, please read and understand the following before posting further:
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|Asking Good Questions in the SCN Discussion Spaces will help you get Good Answers]
    Edited by: Thomas Zloch on Nov 18, 2011 1:32 PM

    how to get the form name which is used in standard tcode like me23n in sap
    Moderator message: four out of four threads locked, please read and understand the following before posting further:
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|Asking Good Questions in the SCN Discussion Spaces will help you get Good Answers]
    Edited by: Thomas Zloch on Nov 18, 2011 1:32 PM

  • How to judge the mouse enter which one of buttons?

    There two buttons(no text,only icon on them),
    and how to judge the mouse enter which one of
    them and show the different message at one textfield?

    Try this. I don't know if the code works, but the true solution will be like it.
    void mouseClicked(MouseEvent e)
        int mask = e.getModifiers();
        if((mask & InputEvent.BUTTON1_MASK) != 0)
            System.out.println("You touched to the button 1!");
        else if((mask & InputEvent.BUTTON2_MASK) != 0)
            System.out.println("You touched to the button 2!");
        else if((mask & InputEvent.BUTTON3_MASK) != 0)
            System.out.println("You touched to the button 3.");
    }Ghys

Maybe you are looking for

  • ERROR in note Implementation  1847570 for SEPA project

    Hi ALL,      I Tried To implement note: 1847570 in ECC 6.00 SAP but I have a probleme that The package: FKK_SEPA Doesn't exist,      Please Note that by implementing this note Only the program : RFKK_NOTE_1847570 is created, so i tried to create manu

  • Flashlight won't work or turn on what do I do?

    My iPod 5th generations flashlight stopped working when I turned it on and I thought it was strange because it's only 7 days old what can I do or do I have to replace it ??

  • How to populate IDOC segments...

    Hello Experts, I was just tasked to add new fields in an IDOC segment. My question is, how do I populate those newly created fields? The data will be coming from a purchase order. Thank you guys and take care!

  • Refuses to automatically forward to hyperlinked page. How can I change this?

    When I come to a page shift (usually required by the site) a bar opens at the top saying FF will not automatically transfer me - I need to click an 'allow' box at the right of the bar. Never have seen this before last week - is there a setting I can

  • Currency code error

    ware is type the currency code i put the journal entry in using template but currency code are missing error is given message (131-20) so please give the solution