Displaying Output to report

Hi :
   I created a bdc program program using call transaction, and it s giving required output.
for displaying out put in the report , i need to use a funtion module ( which displays header routines), where should i place this FM in my program?
Before start-of-selection or in bdc transcation routine?
Thanks.
Raghu

Hi,
    Write the code after Successful execution of BDC.
     Check if sy-subrc = 0 after call transaction then Submit the report with the requiered output.
Regards,
  Jayaram...

Similar Messages

  • Code page issue - Unix file(s) content display in a report output

    Hi All,
    I am trying to retrieve file from Unix server and display in my report output.
    I have written code as below:
    OPEN DATASET filename FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      DO.
        READ DATASET filename INTO i_tab-line.
      ENDDO.
    CLOSE DATASET.
    1. Now i am able to display files of type .txt in report output but with line numbers above each line.
    How can i avaoid it! I want to display as it looks in AL11 view.
    2. If i am displaying files of type .PDF it is giving dump with below message:
    A character set conversion is not possible.
    At the conversion of text from code page '4110' to '4102' is not possible.
    - a character was found that cannot be displayed in one of the two code pages;
    - or it was detected that this conversion is not supported.
    How can i display the .PDF (or) all types of files in my report as it is viewable in AL11.
    Can anybody solve this this.
    I have tried UTF-8 & NON-UNICODE options with ENCODE also they are also giving same dump.
    Can anybody resolve these issues!
    Thanks in advance.
    Thanks,
    Deep.

    Hi All,
    Any resolution for above posted issue!
    Thanks,
    Deep.

  • WAD Report delaying to display output

    Hello,
    WAD report taking 6 min time to display the output but the same  report displaying output
    in 1 min 50 sec when I executed in BEx Analyzer
    The Same BEx report I incorporated in WAD but it's delaying to display the output.
    What might be the cause in delaying the output display.
    Srujay

    Hi,
    Please to use the new cache mode as note:
    1026944 - New cache mode for BI 7.0 without directory
    As per the note:
    To activate the new cache mode, run the report SAP_RSADMIN_MAINTAIN with
    the following parameters and the option "INSERT":
    OBJECT:    RSR_CACHE_ACTIVATE_NEW
    VALUE:     X
    After this procedure you can benefit from the new cache mode by
    activating it for your query or queries. Go to RSRT -> enter query -> properties ->
    cache mode: 5 Cluster Enhanced should be selected.
    Or via mass maintenance to all queries (transaction RSRT -> menu "Environment" -> "Mass Maintenance").
    It should resolved your issue.
    Thanks,
    Venkat

  • Hwo to display 4 level output in report?

    hi all,
    i have to display 4 level output in report.
    how it can be done?
    thanks in advance
    Regards
    Prabhat

    Hi:
    Have a look to this documentation (interactive lists):
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba2c435c111d1829f0000e829fbfe/frameset.htm
    Cheers
    Jordi

  • How to change default output XMLP report  to rtf/excel !

    I used xmlp 5.6.2
    The default output for report is pdf file.
    Now i want to change default output to rtf or excel file
    Please ! help me !

    Hi Brightsea,
    We customized the code in FNDRSRUN.fmb, But we are not able to get the output in RTF format.
    Our requirement is to display the report output in .rtf or .xls(Not required to defaultly as .rtf or .xls).
    we are getting the following error.
    "The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    Invalid at the top level of the document. Error processing resource 'http://galaxian.bluestar.cvg0:8000/OA_CGI/FNDWRR.exe?t...
    {\rtf1\ansi\deff0"
    ^
    Regards,
    suresh.

  • Different display on client report builder and web reports

    Hi all, I have build a report in report 6i version Report Builder 6.0.8.13.1.And I set the page to 8.5*11 ,and it runs well in the client ,but when I put it on the UNIX SERVER,and run it from web URL,It displayed different from the client report builder.The web report is "smaller" than the client report ,but the font size is as same as the client .
    My HPUX is 11x,and display the Chinese report .
    Any body know why ?give me some advice ,thank u very much.

    Hi
    If you had built the report definition on Windows and then moved this to Unix server, you may find different fonts in use. This is becuase your Unix setup does not have the same fonts install. At design time, You need to use fonts which are available on Unix also. The same fonts shaould also be installed for printer in Unix i.e. the AFM/PFM font files should be kept under $ORACLE_HOME/guicommonX/tkXX/admin/AFM or PFM directory. This would give you the same output and would lessen the porting affect.
    Thanks
    Rohit

  • Need to remove space for a field when displayed in ALV Report

    Hi,
    I have material field of length 18, but the content is only 10 char. I need to remove the extra space when it is displayed on ALV Report.
    Is there any option in ALV field catalogue

    use statement condense.
    condense zmatnr.
    also giv output lenth of alv column as 10.

  • How to bring output of report on smartform

    Hi experts,
                      I want to display output of one std report on the smartform. Output of the Z report is using large no. of write statements. I want to create one smartform which displays output same as the output of report.
    Is it possible to directly bring output of report on smartform??
    Please give me solution
    Thanks
    Sameer
    Edited by: sameer dhuke on Mar 17, 2008 6:53 AM

    Hi,
    To The best of my knowledge it is not possible directly.
    You have to design the smartform with all the fields in the report.
    And u have create the driver program for the Smartform or u can use the report as a driver program itself.
    Then Call the smartform using FM SSF_FUNCTION_MODULE_NAME to call the smartform.
    Regards
    Sandipan

  • Page breaks appear in the spool output of report when run in the background

    Hi All,
    Report is using fm 'REUSE_ALV_GRID_DISPLAY' to display the report. parameters passed to this fm for display are :it_fieldcat,is_layout,it_events,t_outtab.
    Page breaks appear in the spool output when report is run in the background.These page breaks needs to be removed. When executed in the background, the excel extract should be the same as if pulling directly from the report itself.
    How to remove the page breaks in background?
    Thanks & Regards,
    Abhishek Singh

    Hi
    You can use the below code , which the reprt run in background. If you run the report in background thenyou need to use  'REUSE_ALV_LIST_DISPLAY'
    if sy-batch = ' '.
    call 'REUSE_ALV_GRID_DISPLAY'.
    else.
    call 'REUSE_ALV_LIST_DISPLAY'.
    endif.
    if you are using OO alv then write this code..
    CALL METHOD cl_gui_alv_grid=>offline
    RECEIVING e_offline = off.
    IF off IS INITIAL.
    CREATE OBJECT g_custom_container
    EXPORTING container_name = g_container.
    ENDIF.
    Regards

  • Pacifictime format PST required in the output of report

    I want to display the pacific time format i.e. PST in the output of Report.
    Can you please let me know.....if any function module or else....
    I am using the followin lines of code but it was not showing correct time...please correct me if I am wrong.
    REPORT  ZTIMEZONE.
    DATA: time_stamp type timestamp,
          dat TYPE d,
          tim TYPE t,
          tz  TYPE ttzz-tzone.
    Data : text(4) type c,
           text1(4) type c,
           text2(4) type c,
           text3(20) type c.
    data : temp(15) type c.
    *tz = 'BRAZIL'.
    tz = 'PST'.
    dat = sy-datum.
    tim = sy-UZEIT.
    CONVERT DATE dat TIME tim
            INTO TIME STAMP time_stamp TIME ZONE tz.
    WRITE: / time_stamp.
    temp = time_stamp.
    concatenate temp8(2) ':' temp10(2) ':' temp+12(2) into text3.
    write : / text3.

    It considers your time as the GST and than calculates the time for you as per the PST's rule.
    Try like this:
    DATA: time_stamp type timestamp,
    dat TYPE d,
    tim TYPE t,
    tz TYPE ttzz-tzone.
    tz = 'PST'.
    * Get the time in the time stamp
    get time stamp field time_Stamp.
    CONVERT TIME STAMP time_stamp TIME ZONE tz
            INTO DATE dat TIME tim.
    WRITE: /(10) dat, (8) tim.
    Regards,
    Naimesh Patel

  • Need to change font size and style in output of report

    hi experts,
                      im having a requirement of changing the font size in the output of report ( alv grid display).
    regards,
    andrews.

    hi rob,
                   When i execute the report i want in the output of the report (alv grid display report)
    regards,
    andrews.

  • Conditional display column in report

    Hi,
    If we have a single row report of 30 columns, and I want to display only the one with any values but null and hide the null ones, Is there a way to do it?
    It's the same issue discussed in this thread conditional display column in report
    thanks,
    Fadi.

    Samara - I suspect there are a few ways to do this, but none obvious or very easy as far as I can see.
    You can create dynamic SQL (as Arie and others have suggested) to only include the columns that are not null.
    You can build and output the HTML directly to the page, choosing only to include the values that are not null.
    You can create a set of conditions that you can apply to the report columns. A very crude example might be 30 hidden page items like 'SHOW_COL1' etc. (not great, I know), or perhaps you could set a hidden page item to a value like '01:02:03:'etc., with the number only being included if the value is not null (so that col3 being null gives you '01:02::04'etc.), so that the condition for each column is 'Text in expr 1 in contained in Item in expr 2', where expr 1 is '01' for column 1 etc.
    Sorry, that is a very contrived example, but it's just to illustrate that there's generally a way of doing pretty much anything in APEX. You might create your item containing the comparison expression by requerying the data in this kind of way:
    SELECT NVL2(column1, '01', '') || ':' || NVL2(column2, '02', '') || ':' etc.
    FROM table
    WHERE condition
    However, wanting to create a single-row report with nulls hidden makes we wonder what you're actually trying to achieve and whether there's a better way? Could you use a series of page items, for example?
    John.

  • Time display in Query/Report

    Hi,
    If I don't select/restrict a "time" characteristic in a query, I guess all data (for entire time in the InfoCube) is displayed in the report? Correct? Is it possible to modify this display by default?
    Thanks
    Sabine

    Hi Sabine,
    Yes. If you do not restrict your query by any time characteristic, it will display all the records that matches your other selection criteria. The time characteristics you see in the query are the only ones included in your cube.
    If you would like to restrict the query output by a certain time criteria, you may do so by dragging your time characteristic into the filter area of BEx and selecting the values you want to display. Or you may drag your time characteristic and then select the filter values after executing the query. Hope this helps.
    Juice

  • Problem displaying HTML in reports...

    Post Author: redwing19
    CA Forum: General
    I'm new to Crystal Reports and I can't get a report to print/display html.I
    have a column in my database that holds the HTML, and I want the data
    in this column to be in the detail of the report keeping the HTML
    format.So far, I've got the IFieldObject for the column dragged
    onto the report, and set the "TextFormat" option to "crHTMLText".  I've
    also right-clicked the object, went to the paragraph tab, and set the
    "Text Interpretation" option to "HTML Text".But when I preview
    the report, it looks like it is actually stripping out the HTML.  It
    does apply simple HTML formatting for things like bolding, italicizing,
    and underlining.  But HTML tables and bulleted lists lose all their
    formatting.What's going on?  Can I not do this?The HTML from the database that I'm attempting to display is simple and looks like this:Here's some text formatting:<b>This
    should be bold</b>, <u>This should be underlined</u>,
    <i>This should be italicized</i>.<br><br>Here's a table:<table border="1" cellpadding="2" cellspacing="0">    <tr>                  <td>column 1</td>                          <td>column 2</td>                          <td>column 3</td>    </tr>    <tr>                  <td>value 1</td>                          <td>value 2</td>                          <td>value 3</td>    </tr>    <tr>                  <td>value 1</td>                          <td>value 2</td>                          <td>value 3</td>    </tr></table><br><br>Here's an ordered list:<ol>         <li>Item in list</li>         <li>Item in list</li>         <li>Item in list</li>         <li>Item in list</li></ol>When the above HTML is displayed in the report, only the bolding,
    underlining, and italicizing are applied.  It's like the rest of the
    HTML tags are stripped out.  The content inside the HTML table and
    ordered list are still displayed, but it's all jumbled together with no
    alignment, borders, indenting, bullet points, numbering etc.  So the
    output of the report using the above html looks like this:Here's some text formatting:This should be bold, This should be underlined, This should be
    italicized.Here's a table:column 1column 2column 3value 1value 2value 3value 1value 2value 3Here's an ordered list:Item in listItem in listItem in listItem in list Anyone know if what I'm attempting is possible or why the HTML isn't displayed properly?

    Post Author: IdoMillet
    CA Forum: General
    For a description of HTML rendering limitations in Crystal Reports, see:http://support.businessobjects.com/library/kbase/articles/c2014842.asp- Ido

  • External images are not displaying in RDLC report

    I need to add an external image in my RDLC report. My issue is the image has to come from an external site URL. I passed the URL using report parameter, but doesn't show any output. However, if I pass the URL directly in the RDLC report in the image control
    it displays the image. Since this doesn't make the report dynamic, I need to know how to make Image display in RDLC report using report parameter.

    Try below:
    http://www.codeproject.com/Questions/440205/Display-image-on-rdlc-report-viewer
    Dim paramList1 AsNew Generic.List(Of ReportParameter)
    paramList1.Add(New ReportParameter("Path", "+ /images/CPC.jpg")) Me.ReportViewer1.LocalReport.SetParameters(paramList1)
    http://www.c-sharpcorner.com/uploadfile/abylex/show-images-in-reports-at-run-time-using-reportviewer/
    If you do not have images in your Application. That is, you want to use an external image.
    a. Use an Image control on your RDLC file.
    b. Set the Image's Property-Source = External.
    c. Reserve a Report's DataSource Member for the image Path. For example-
    DataSource.ImgPath.
    d. Set the value for image path from the code in DataSource.ImgPath.
        For example:
    DataSource.ImgPath = "http://www.google.com/intl/en_ALL/images/logo.gif";
    e. The following self explanatory code also needs to be written:
        reportViewer1.LocalReport.EnableExternalImages = true; 
    (reportViewer1
    is the Name for the   ReportViewer Control)
    f. Do the normal stuff to bind DataSource etc.
    g. Done. Enjoy your image in the Report.
    If this helped you resolve your issue, please mark it Answered

Maybe you are looking for

  • Windows 7 Open and Save As dialog box gives an "Access Denied" when using common Windows Explorer features.

    On many computers in our environment we have issues in Windows 7 when using the Common Dialog Box.  Within the dialog box we get the error Access Denied whenever we try to create a folder.  If we try to rename a file it doesn't give an error but it d

  • How do I rename a Mail box

    Since I downloaded Mountain Lion 9.8.2 my Apple Mail box has been renamed with my personal password for all to see on my desktop.  Not a good idea you might think but "rename mailbox is greyed out".  Why and HELP!!!!!!!!

  • An exception of class NilObjectException was not handled. The application must shutdown.

    I just upgraded to Lion last night.  Today I purchased ScholarWord OSX, downloaded it now and I can't open it.  It was previously working with the demo.  I continue to receive the Nil error above.  How do I resolve this?

  • Sound still too loud

    Over a year ago the sound in the flash player was way too loud on 100%. Now it's still too loud. On 50% volume it seems to be normal. But this only appears, when the system volume isn't set to 100% (when I'm using headphones without a volume control)

  • Can't import .3g2 movies

    hey my camera phone takes movies in .3g2 and i can not at all figure out how to get them in imovie. i tried importing from desktop and even creating a new user and importing them from a flash drive to the new screen (as suggested by non helpful apple