Excel OutPut and Dynamically select No of Records in tabular Canvas

Hi,
I have Oracle foms 10g R2 I have two queries.
1. If I select spreadsheet(Excel) output format in report the items disperse and it is not formatted as it appears during development, what is the reason and how can I fix it.
2. I have canvas on which I am displaying multiple records(tabular canvas) but I don't want to fix the no. of record to displyed during development I want it to be dynamic based on other value, I already check SET_BLOCK_PROPERTY builtin but nothing found to be useful is it possible to set this or is there any other way to do the same job.
Many Thanks, Khawar.

Khawar,
1. This is a reports question. Please post your question 1 in the Reports forum.
2. This is not possible, but there is a workaround. See
Dynamically setting the no of records to display!

Similar Messages

  • Calling SAPGui depending on BAPI Output and User selection

    Hi everybody,
    can I somehow call a SAPGui (like in the transaction iView) depending on BAPI Output and the selection of a user?
    The problem is the following:
    Through an input form, a BAPI function receives an input parameter. I then get several results and want to select one of these results. With this result a predefined transaction <b>with SAPGui</b> should start.
    For example transaction MW23 with purchase order number 1234567.
    Does anybody know a solution to this?
    Thanks, Rebecca

    Hi Raju,
    as far as I know, you always need an ITS if you want to present a transaction in Portal as HTMLGUI.
    However, I now found a way how to use the transaction iView with the WINGui. Of course, the SAPGui client has to be installed locally.
    With the following URL the transaction iView can be called and the user can jump into a certain transaction with a certain parameter, in this case with the purchase order number:
    ('http://SERVER:50000/irj/servlet/prt/portal/prtroot/pcd!3a!2f!2fportal_content!2fcom.sap.pct!2ftemplates!2fiviews!2fcom.sap.portal.sap_transaction_iview?System=Q06&TCode=me22n&GuiType=WinGui&DynamicParameter=%7EOKCODE%3D%26RM06E-BSTNR%3D')(@PO_NUMBER)('&SAP_Dynp_AutoStart=true')
    Whereas
    SERVER has to be adapted,
    Q06 is a system for R/3 configured in the portal,
    TCode can be any transaction which can accept parameters,
    @PO_NUMBER is the variable from visual composer.
    Regards, Rebecca

  • Alv Output after dynamic selection screen

    Hi Guys
    I have coded a dynamic selection screen (shown below). I want to create an ALV report based on what the user enters in the selection screen. Is the right way of doing this to code an IF s_matnr is not initial statement then call all the subroutines for output of material data and then else call a second batch of subroutines for billing data. It seems a bit long winded to me but I haven't been able to find anything on google that clearly explains the approach.
    REPORT  ZTREVOR_DYNAMIC_ALV_MAKT_VBRP.
    TABLES : makt,
    marc,
    t001w,
    vbrk,
    vbrp.
    CONSTANTS : c_yes TYPE c VALUE '1',
    c_no TYPE c VALUE '0'.
    Selection-screen begin of block b1 with frame title text-sc1.
    PARAMETERS : p_opt1 TYPE c RADIOBUTTON GROUP radi USER-COMMAND op1, "Material
    p_opt2 TYPE c RADIOBUTTON GROUP radi.                  "Billing Document
    Selection-screen end of block b1.
    Selection-screen begin of block b2 with frame title text-sc2.
    SELECT-OPTIONS : s_matnr FOR makt-matnr MODIF ID op1, "Material
    s_vbeln FOR vbrp-vbeln MODIF ID op2. "Billing Document
    Selection-screen end of block b2.
    T SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN .
    IF screen-group1 = 'OP1' .
    IF p_opt1 = 'X' .
    screen-invisible = c_no .
    screen-active = c_yes .
    ELSE.
    screen-invisible = c_yes .
    screen-active = c_no .
    ENDIF.
    MODIFY SCREEN .
    ENDIF.
    IF screen-group1 = 'OP2' .
    IF p_opt2 = 'X' .
    screen-invisible = c_no .
    screen-active = c_yes .
    ELSE.
    screen-invisible = c_yes .
    screen-active = c_no .
    ENDIF.
    MODIFY SCREEN .
    ENDIF.
    ENDLOOP.

    Hi,
    First of all, you should check your radiobutton instead of select-option...
    Then you will have to build the output internal table dynamically based on the option chosen. There are lot of example on SDN...
    Here is a start: http://wiki.sdn.sap.com/wiki/display/Snippets/Tutorialabap-CodeforDynamicAlv+grid
    Kr,
    m.

  • At selection-screen output and  at selection-screen on

    Hi Experts,
    I had coded in both at selection-screen output for disabling input of certain fields and at selection-screen for validation like this:
    AT SELECTION-SCREEN output.
      IF p_amt = 'X'.
        LOOP AT SCREEN.
          CASE screen-name.
            WHEN 'P_AMT'.
              screen-input = '1'.
            WHEN 'P_TST'.
              screen-input = '1'.
            WHEN 'P_B4C'.
              screen-input = '1'.
            WHEN 'P_AFC'.
              screen-input = '1'.
            WHEN 'P_COM'.
              screen-input = '1'.
            WHEN 'P_COM1'.
              screen-input = '1'.
            WHEN 'P_COM2'.
              screen-input = '1'.
            WHEN OTHERS.
              screen-input = '0'.
          ENDCASE.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
      IF p_amt = 'X'.
        LOOP AT SCREEN.
          CASE screen-name.
            WHEN 'P_AMT'.
              screen-input = '1'.
            WHEN 'P_TST'.
              screen-input = '1'.
            WHEN 'P_B4C'.
              screen-input = '1'.
            WHEN 'P_AFC'.
              screen-input = '1'.
            WHEN 'P_COM'.
              screen-input = '1'.
            WHEN 'P_COM1'.
              screen-input = '1'.
            WHEN 'P_COM2'.
              screen-input = '1'.
            WHEN OTHERS.
              screen-input = '0'.
          ENDCASE.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
      IF p_pdf = 'X'.
        LOOP AT SCREEN.
          CASE screen-name.
            WHEN 'P_PDF'.
              screen-input = '1'.
            WHEN 'P_TST'.
              screen-input = '1'.
            WHEN 'P_PATH'.
              screen-input = '1'.
            WHEN OTHERS.
              screen-input = '0'.
          ENDCASE.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
      IF p_afc = 'X'.
        LOOP AT SCREEN.
          CASE screen-name.
            WHEN 'P_TST'.
              screen-input = '1'.
            WHEN 'S_FID-LOW' OR 'S_FID-HIGH'.
              screen-input = '0'.
            WHEN 'S_ORG-LOW' OR 'S_ORG-HIGH'.
              screen-input = '0'.
            WHEN 'S_OFF-LOW' OR 'S_OFF-HIGH'.
              screen-input = '0'.
            WHEN 'S_DAT-LOW' OR 'S_DAT-HIGH'.
              screen-input = '0'.
          ENDCASE.
          MODIFY SCREEN.
        ENDLOOP.
      ENDIF.
    AT selection-screen on block b5.
    if p_tst is initial.
      message text-016 type 'E'.
    endif.
    AT selection-screen on block b2.
    if p_amt ne 'X' and p_pdf ne 'X'.
    if s_fid is initial and s_org is initial.
    message text-000 type 'E'.
    endif.
    if s_dat is initial.
    message text-000 type 'E'.
    endif.
    endif.
    when i comment out at selection-screen validations the input is disabled for the screen fields as set, else the validations are executed first.
    Any solution for this???
    Thanks in advance.

    AT SELECTION-SCREEN
    Syntax
    AT SELECTION-SCREEN selscreen_event.
    Effect
    This statement defines event blocks for different events selscreen_event that are triggered by the ABAP runtime environment during selection screen processing.
    Selection screen events occur immediately before sending a selection screen and after certain user actions on a displayed selection screen. They assist in selection screen processing in the ABAP program.
    AT SELECTION-SCREEN is triggered at least twice during actions on selection screens that are linked into another selection screen as a subscreen - first for the linked selection screen itself, and then for the linking selection screens.
    Note
    The event blocks after AT SELECTION-SCREEN are implemented internally as procedures. Declarative statments in these event blocks create local data.

  • RS_VARIANT_CREATE and dynamic selections

    We would like to use a function module to create a variant and run the job in batch mode.  The program that we are trying to use is RFBILA00.  We need to use one of the dynamic selections and do not know how to do this.
    Can anyone help?  I have seen other posts on this subject but no one ever answers them.
    thanks!

    Thanks for your input but this does not help.  We have a program that is run that creates the variant to run F.01 using RFBILA00.  The variants are not defined before this program runs.  
    We are able to create the variant based on input from a selection screen in our z program, but now have a requirement to use the dynamic selection P/L account type and Balance sheet account. 
    Our Z program creates the variant, runs the job and then deletes the variant.
    If anyone has any other ideas, we are open to suggestions.

  • Submit to report with logical DB and Dynamic selection

    Hi.
    Is there an option to pass parameters to the dynamic fields of the LDB?
    The command 'SUBMIT' can only allow me to pass params to the static selection screen.
    Thanks
    Ariel Fisher

    Hi Ariel
    Actually SUBMIT will only accept fields that are described in the target program indeed.
    For this case you can use SET PARAMETERS to send values from initial program to dynamic field
    Best regards

  • Alligning output in Excel output and missing logo

    Hi All,
    My BI publisher report gives an output in Excel but the alignment specified in RTF are not reflected in the output.
    The required alignments are:
    Numbers(eg: Voucher Number, Invoice Amount etc) - Left Align
    Varchar2 (eg: Invoice Number, Vendor Name) - Right Align
    Date: Center Align
    Also my RTF contains a logo, but when my output in Excel is not displaying the logo. What can be done for the same.
    Thanks
    Arun

    Hi Arun,
    Is your image displayed in any other output say PDF?
    If that is the case then you need to set 2 properties for them to appear.
    Have a look at the blog:
    http://blogs.oracle.com/xmlpublisher/2006/10/31/
    For alignment try using
    <fo:bidi-override direction="ltr" unicode-bidi="bidi-override"><?YOUR_TAG?></fo:bidi-override>

  • Spry and Dynamic select

    Well eeh title says it all... Can Spry datasets be used in an
    update form in conjunction with dymanic &lt;select&gt; to
    show the value equal to what is in the dataset?
    I cannot get mine to work, and I have looked
    everywhere!

    "icecappacino" <[email protected]> wrote in
    message
    news:g2r997$6l0$[email protected]..
    > Do I have to use that just to fix this bug? I thought
    spry was compatible
    > with browsers?
    I don't know if you can overcome the problem in a different
    way. I know for
    sure IE has many idiosyncrasies when it came to
    <select>. You may try
    searching old messages on this forum too, since you are not
    the first
    reporting similar problems.
    Massimo Foti, web-programmer for hire
    Tools for ColdFusion, JavaScript and Dreamweaver:
    http://www.massimocorner.com

  • Weird Issue : Difference in HTML/excel output and pdf/rtf output--Urgent

    Hi There,
    I am facing a weird issue. I created one rtf template. When I preview the o/p in rtf or pdf, everything comes up as expected. When I preview the same in html or excel, few rows come up as bold though they were not supposed to. What could be the problem ?
    This is extremly urgent as the users primarily use the excel or html as o/p.
    Thanks in advance.
    Regards,
    Saurabh

    Hi Brett,
    I am using Oracle XML Publisher standalone (not with oracle apps). The version is 10.1.3.2 . The issue comes up while previewing as well as when the report is run from the XMLP server.
    Regards,
    Saurabh

  • Date format and Alignment Change in the Excel Output.

    Hi Forum,
    Greetings to You!!!
    I was created one RTF format file. In this i have to display date format as (dd-mon-yyyy) in the excel output and also some data in the column have varchar2 and numbers. When i generate the output in html, pdf format using the xml file its coming fine.
    When i generate the output in excel format then date format is changing to dd-mon-yy and who have data in number format is automatically going to rtight alignment.
    But client need all the date output in the left alignment (dd-mon-yyyy) ..Please advice me ..
    Thanks & Regards,
    Nag.CH

    Hi Helios,
    Thanks for giving reply. We are using 11.5.10.2 Application . We are not using any ADI..I just run the xml file in my local system itself in excel format..Date format is coming dd-mon-yy.Not in Apps environment.
    Thanks,
    Nag

  • XML Publisher Report EXCEL output Huge stored as Web Pages

    Hello
    I have a XML Publisher Report which generates EXCEL output and the output file size is huge.
    What I notice that it is stored as Web Pages *.htm; *.html (Save as Type) in Excel this is the reason it is huge.
    If I save as Microsoft Office Excel Workbook *.xls it Reduce the size.
    I don't know how to save as ".xls" through XML Publisher using PL/SQL.
    Any body knows? please Help..
    XML Publisher Template Builder for WORD
    Version 5.6 Build 45
    PATCH        BUG_NUMBER
    XDO.H     *3263588*
    4.5.0     *3554613*
    5.0.0     *3822219*
    5.5.0     *4206181*
    5.0.1     *4236958*
    5.6.0     *4561451*
    5.6.1     *4905678*
    5.6.2     *5097966*
    5.6.3     *5472959*
    Thanks.

    Hi Vetsrini,
    We're on 10.1.3.4.1 and siebel 8.1.1.3 and when trying to open a report from within siebel in the output format EXCEL (selected from the parameter applet), it just opens the document in the browser.
    Is there a way to get it to open directly in Excel? I guess the reason is the file extension*.EXCEL, how could we get the extension to be in excel format (xls)?
    We don't want our users to have to do this themself.
    Regards,
    Hakan

  • Opening up an Excel output takes a lot of time whenever the file size is la

    Hi All,
    We have some BI Pub reports with excel output format. These files have records in the order of thousands. The file sizes are > 2MB. Its taking a lot of time to open such files. Does anyone have any idea how can we get around this problem ??
    Thanks in advacne,
    Venkatesh N

    Another point is that BIP doesn't create a native/binary Excel file but an XML output. When you open this XML once and save it again as *.XLS it's size will decrease significantly and Excel will open it much faster.
    This applies to Excel 2000 - 2003, I don't know how it works with Office 2007.
    Regards,
    Stefan

  • Dynamic select list crashes with php

    HI All,
    I can't seem to get a dynamic select list to work in
    dreamweaver. It completly crashes everytime I try adding it to my
    page. I found someone else in the forum who had the same problem
    but no one ever responded. I've tried several things including
    putting just the record set and dynamic select on it's own page
    with no other code on it. It still crashes DW. I also tried coding
    it myself by making a listmenu and modifying it so that the option
    value equals a PHP echo of a value. It crashed there too. Does
    anyone have a piece of code with a working dynamic select list that
    uses a record set that I could look at? That way I can see where
    I'm going wrong. All I'm trying to do is get a simple drop down
    select list of employee names so someone can choose their name to
    get commission. It's a one table, 2 fields (first & last name)
    record set.
    Using DW CS3, php & MySQL.,windows XP Pro
    Any help would be really appreciated!

    AthroughZ wrote:
    > I can't seem to get a dynamic select list to work in
    dreamweaver. It
    > completly crashes everytime I try adding it to my page.
    It looks as though you have a corrupt cache file. Follow
    troubleshooting
    step 4 in the following technote:
    http://www.adobe.com/go/tn_19105
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS4",
    "PHP Solutions" & "PHP Object-Oriented Solutions"
    http://foundationphp.com/

  • Excel Output for Standard Reports using XML Publisher

    Hi All,
    Customer wants to get Excel Output for the existing Standard/Custom Reports using XML Publisher. I followed the following procedure.
    1. Changed the output to XML for Concurrent program ( Trial Balance - Detail )
    2. Used the Existing seeded Template
    3. Ran the Report using EXCEL as the output.
    When I clicked on View Output, I am not able to see the Excel output. I am seeing the HTML tags in the output window. Verified that Viewer Options existed for Excel as follows:
    File Format=Excel, Mime Type=application/vnd.ms-excel.
    When I ran the report with PDF output. I can see the PDF output.
    Ran the HTML output with new Viewer Option ( File Format=HTML, Mime Type=application/vnd.ms-excel) then I can see the output in Browser in the Excel format. I did this test after going through the Metalink Note: Note:316752.1
    My question is.. Do I need always choose the HTML ouput in the options window to trigger the Viewer option for HTML. Customer may not like this idea. He would like to choose the Excel Output and see the output in Excel format either in the Browser or Microsoft Excel.
    Can someone in this situation before help me out.
    Thanks,
    V

    Questions rephrase:
    1. Is the output is same for HTML and Excel options ?
    2. Why the output is viewable with HTML option and not with Excel option ?
    Customer has XML Publisher Version 5.0.1 and in the process of applying 5.6.1
    Thanks,
    V

  • Adding of new field in dynamic selection for financial statements

    Hi ALL,
    I want to add Trading partner in dynamic selection fields of financial statement report at document level not yet GL master level: S_ALR_87012284 - Balance Sheet / Profit and Loss Statement .
    Can any one tell how to proceed?
    I have referred notes: Note 188663 - Enhancing selection views and dynamic selection.
    But exactly I am unable to find which logical database has to be given?
    regs,
    ramesh b

    Hi,
    If you want to add extra field in your report you can do the setting in Layout selection. If it is not available kinldy check any SAP notes available or not. Otherwise do Zreport with your ABAPer.
    Regards,
    Mohan.

Maybe you are looking for