How to insert debug messages in a report

All,
I am facing a problem with one report in apps environment.
When I run the sql in toad or when I run the report from reports
builder I am getting data. But, when I run the same report using
concurrent program I am not getting any data for the same inputs.
I am not sure what is wrong. I want to put some debug messages.
Can you please tell me how to put debug messages in reports?
Thanks.

973508 wrote:
All,
I am facing a problem with one report in apps environment.
When I run the sql in toad or when I run the report from reports
builder I am getting data. But, when I run the same report using
concurrent program I am not getting any data for the same inputs.
I am not sure what is wrong. I want to put some debug messages.
Can you please tell me how to put debug messages in reports?
Thanks.Please post the details of the application release, database version and OS.
What is the type of the report?
Please see the following docs to enable debug/trace.
How Can Trace and Debug Be Turned On For A Concurrent Request? [ID 759389.1]
How To Trace a Concurrent Request And Generate TKPROF File [ID 453527.1]
Thanks,
Hussein

Similar Messages

  • How to insert horizontal lines in alv report?

    hi,
        i have to insert horizontal lines in alv report.( RM07MLBB )
            actually my requirement is:
                               basis list = RM07MLBB.
    first secondary list = another report is called here ( RM07DOCS )
                      i want to insert horizontal lines in the first secondary list, when i execute individually RM07DOCS , i can get horizontal lines, but when i dounle click in the basic list --> in the first secondary list , i am not getting the horizontal lnes.
    functional modules used are REUSE_ALV_HIERSEQ_LIST_DISPLAY & REUSE_ALV_GRID_DISPLAY.
        here in this program,
                        is_layout = alv_layout.
    hence i tried to give     
                  alv_layout-no_hline = ' '. 
    but not effecting.
              can some one please tell me , how to insert lines in the alv report.
    thanks in advance,
    Dastagir.

    hello,
         so i cannot insert horizontal lines in the first secondary list according to my sorting condition, i.e., in a single block there should be :
           if same delivery challan number is repeating they should come in the same block,
    for the corresponding delivery challen number, if have po number, is repeating , they also should come in the same block.
                       in this way i have to seperate the blocks containing EXNUM , EBELN CONDITIONED.

  • How to check Debug messages in the server

    Hi All,
    I am working on extensions and in my java controller file i have certain System.out.println messages. I would like to know how to check these messages from the server for debugging purpose.
    Kindly help me in the same.
    Thanks
    Deeksha

    11i - log file location - $APACHE_TOP/Jserv/logs/jserv.log
    r12 - log file location - $INST_TOP/logs/ora/10.1.3/opmn/oacore_default_group_1/oacorestd.out
    You can prepend your SOP with some text and search for the text in the log files.

  • How to show error message in a report program

    Hello Guys,
    I am making a report using smartforms. I am successful in showing data  but problem is if if i put a value in parameters that does not exist is database, the smartform runs and related fields shows as empty fields. But the form is running. I want to show error message if the parameter values dose not matches with the database values. The message will show as Document not exists
    So i used related error msg here like
    if sy-subrc ne 0.
              message e357.
               endif.
    But it is not working for passing values to smartform. It works if i use in classical report. Plz help me on this issue.
    Thanks,
    Rosaline.

    >
    Rosaline. wrote:
    > Thanks all for reply.  Should i have to use message before call function 'SSF_FUNCTION_MODULE_NAME' ? I tried it but not working.
    >
    >
    if it_final[] is not initial.
    >*             if sy-subrc ne 0. ---> "Remove this condition check, it not required
    >            Message e000(8i) with 'Parameter value not found'.
    >            endif.
    > *            endif. ---> "remove this
    >
    Hi,
    Sy-subrc doesnt need to be validated here, remove that If condition and check again.
    Regards,
    Karthik D

  • How to Insert Image in XML publisher Report

    Hi Forum,
    I have created rtf file for xml report and in this i inserted one Image. When run the request from apps environment and while checking the output in excel format, Image is not displaying..
    Please advice me.
    Thanks & Regards,
    Nag.CH

    Hi;
    What is your EBS and Os?
    Please check below note:
    Image Does Not Display In XML Publisher Excel Output [ID 736897.1]
    Regard
    Helios

  • How to insert a message with a File Print command

    How can I set my form so that when a user goes to print the form, using the File then Print option in the toolbars, a message pops us asking them to first fill out some information before they print?

    Hi, Maybe Stefan's blog might help http://forms.stefcameron.com/2008/04/13/prevent-printing-pdf-forms-in-acrobat-8/.  Regards Bruce

  • How to provide custom messages while viewing reports in obiee.

    Hi,
    I would like to show some custom message in all Dashboards. For instance when a user logs into the Dashboard, the report would take long time to get processed. So what to do so that we could provide custom message stating that.."Please select the required parameters..." or something else.. After selecting the necessary prompts, he would get what he wants..Is there some option in OBIEE where we can place mentioned messages.Thanks in advance...
    Regards,
    Ajay

    One thing
    You set default value which is not a database value... like Select Prompt Value something like this...
    You set this kind of text as default value for all dashboard prompts.
    So, when you click first time dashboard, it runs but leads to get No Results.
    Here you can select prompt values and can run reports..
    Or else
    see this..
    http://oraclebizint.wordpress.com/2008/01/17/oracle-bi-101332-selecting-reports-from-dashboard-prompts-and-guided-navigation-sections/
    Use this logic and in writing SQL for prompt, write a custom message that you want to write and then the report name while doing union.
    like (let's say your report name is: "Rgn Dlrs")
    select case when 1=0 then Markets.region else 'Select Prompt values and Report' end from paint
    union all
    select case when 1=0 then Markets.region else 'Rgn Dlrs' end from paint
    now implement the guided navigation for section and try....

  • How to insert LOGO in a simple report output

    Hi all,
    I need to insert a logo in a simple report output. can anybody help me

    Hi Anil,
    First upload logo to SAP by T-Code -SE78 or check the name of the logo that you want in your programm..
    then
    FORM TOP_OF_PAGE.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
           EXPORTING
                IT_LIST_COMMENTARY = G_HEADER.
       I_LOGO                   =                                                "Logo name
       I_END_OF_LIST_GRID       =
    ENDFORM.
    Thanks.

  • How to display debug message on non-debug player

    I have a debug version of flash player on my computer and in case of error it displays detailed messages together with affected filenames and stack trace. I would like to achieve the same on a non-debug player, for example filling a TextArea with all these error messages and then displaying it. I tried this:
    loaderInfo.uncaughtErrorEvents.addEventListener function, where I call the errorEvent.toString();
    the output is as follows:
    > [SecurityErrorEvent type="securityError" bubbles=false cancelable=false
    > eventPhase=2 text="Error #2048"]
    it is not very detailed. Is there possibility to have more detailed information on what is going on, which file is affected? I need this because my flex application behaves differently on different computers - sometimes it seems to have security problem while loading a file.

    The non-debug player doesn't output anything.  Some folks build facilities
    into their app like a hidden text control that stores output for later
    display with some magic key sequence.

  • How to insert the Function Module in Report?

    Dear All,
    I have create one FM named
    "Z_ME_SELECT_DOCUMENTS_ENHANCED" is in the standard include program "LEINRU30", now i have to add this include in the standard include "LEINRUXX" of Function Group "EINR".
    how to do this?
    Regards,
    Dharmesh

    This FM is part of include LEINRU30 and this include is part of LEINRUXX.
    The FM is already part of LEINRU30 however not showing in LEINRUXX in SE80.
    Is there a standard report which will move this include to LEINRUXX?
    Regards
    Dharmesh

  • How to insert logo in an ALV report ?

    Hi friends i am use the following code for inserting the logo but i am failing to display the logo can any one help me the code that i am using is...
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
      EXPORTING
        IT_LIST_COMMENTARY       = T_LISTHEADER
       I_LOGO                   = 'ENJOY'
    ENDFORM.            
    Solution will be definetly rewared with points.
    Thanks

    Hi,
    First Create logo using OAER.
    Then Write This Code:-
    *&      Form  TOP_OF_PAGE
    *       text
    FORM top_of_page.
    DATA:  t_header TYPE slis_t_listheader,
           wa_header TYPE slis_listheader.
    * Title
    wa_header-typ  = 'H'.
    wa_header-info = 'Order Table Report'.
    *  wa_header-col = 'C100'.
    APPEND wa_header TO t_header.
    CLEAR wa_header.
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
      EXPORTING
        it_list_commentary       = t_header
       i_logo                   = 'Z_LOGO'<<Your Logo Name
    *   I_END_OF_LIST_GRID       =
    *   I_ALV_FORM               =
    ENDFORM.                    "TOP_OF_PAGE
    in The FM
    *CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'*
    EXPORTING
    *    I_INTERFACE_CHECK                 = ' '
    *    I_BYPASSING_BUFFER                = ' '
    *    I_BUFFER_ACTIVE                   = ' '
         i_callback_program                = sy-repid
    *    I_CALLBACK_PF_STATUS_SET          = ' '
    *    I_CALLBACK_USER_COMMAND           = ' '
    *    *i_callback_top_of_page            = 'TOP_OF_PAGE'.<<Pass Form Name Here*
    Regards
    Sandipan

  • How to attach an image in xls report

    Hi, does anyone knows how to insert an image in excel report?..
    We'd been working this for so long and it seems that the report cannot locate/render the image properly ..
    I hope someone can give me some tips and help..
    Thanks ..
    --original sql code  TEXT format                               
    OWA_UTIL.MIME_HEADER('application/vnd.ms-excel', TRUE, 'MaGiC_KeY');
    HTP.P('Content-Disposition: attachment; filename="' || V_RPT_TITLE_NO_SPACE || '.xls"');
    OWA_UTIL.HTTP_HEADER_CLOSE;
    --end of original sql code
    --begin DEV mode Insert Image - Logo
    --OWA_UTIL.MIME_HEADER('application/vnd.ms-excel', TRUE, 'MaGiC_KeY');
    owa_util.mime_header( 'application/octet-stream', FALSE );
    htp.p('Content-Type: application/ms-excel');
    HTP.P('Content-Type: multipart/related; boundary="----=_NextPart_01CA74F8.C8882F00"');
    HTP.P('------=_NextPart_01CA74F8.C8882F00');
    htp.p('Content-Disposition: attachment; filename="filename.xls"');
    -owa_util.http_header_close;
    --end DEV mode
    base64 code (image)
    HTP.P('------=_NextPart_01CA74F8.C8882F00
    Content-Location: file:image001.jpg
    Content-Transfer-Encoding: base64
    Content-Type: image/jpeg
    /9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAUAAA/+4ADkFkb2JlAGTAAAAAAf/b
    AIQAAgICAgICAgICAgMCAgIDBAMCAgMEBQQEBAQEBQYFBQUFBQUGBgcHCAcHBg.....')

    Two thoughts.
    The first is to ask Microsoft since it is their software.
    The second is to throw Excel away and get a real report writer like Business Objects or Cognos or one of the many report creating projects Oracle provides.
    Excel, by definition, is a violation of audit trail rules.

  • How Do You Debug Oracle Report Calls From Forms On The App Server?

    I am working on a system which uses oracle forms and reports 10g.
    In our system we call, we are calling oracle reports from oracle forms. How do we debug the form code when the form and report both are running on the application server in production.
    To my knowledge, this can not be done when the form is running locally since there is only OC4J forms services locally.
    I understand one views error messages through the jinitiator console but how does one turn on this facility? How do you determine what line the error occurred?
    I am looking for step by step instructions as answer to this issue.
    Please be specific. Please write in good English.

    Good afternoon,
    If you have the developer suite installed on your PC, run the report from your form and then follow this tree from the start button on your PC:
    Developer Suite Home =>
    Reports Developer =>
    Oracle Application Server Report Services =>
    Reports Queue Manager
    Select View => Past Jobs and then find your report in the list, double-click the report entry and you'll see the error message that was generated by the Report Server when you tried to run the report.
    Good luck,
    Don.

  • How to Insert a record in a database table in debugging mode in production

    Hi,
    How to Insert a record in a database table in debugging mode in production ?
    Waiting for kind response.
    Best Regards,
    Padhy
    Moderator Message : Duplicate post locked.
    Moderator message : Warning. Don't create multiple threads for same question.
    Edited by: Vinod Kumar on May 12, 2011 11:02 AM
    Edited by: Vinod Kumar on May 12, 2011 11:04 AM

    Hi Senthil,
    Regards,
    Phani Raj Kallur
    Message was edited by: Phani Raj Kallur

  • 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.

Maybe you are looking for

  • Unable to clear Vendor f-44

    Hi All, Unable to clear vendor F-44, after selecting item and when simulating getting error as Posting is only possible with a zero balance; correct document. The posted documents are old fiscal year document and the Clearing date is current date. wi

  • Export in fce looks strange

    My QT export in FCE has horizontal lines in it. The movie in the canvas looks fine. What export options do I have to choose? Thanks Thomas

  • Forms are not opening if one of the 2-node 11gR2 DB instance is down

    recently we have upgraded database from 2-node 10gR2 RAC to 2-node 11gR2 instance. But, if one of the instance is down, the forms are not picking up the 2nd node and forms are not opening. Can someone help me to fix this issue as its PROD.

  • Automatically start, then restart!

    Since "upgrading" to Mountain Lion, when my Mac Mini auto starts in the morning the desktop is now a bit of a mess with a couple of programs not working properly and Finder windows out of place. I find that if I immediately restart the machine everyt

  • HT201412 Boxes prohibit me from moving to other screens/login

    When I hit my home button, my screensaver screen come up and there is a white box around the time.  I have to hit the slide to unlock button , several times to get to mmy passcode screen.  Once on the passcode screen, it won't allow me to puch passco