Dynamically report orientation change. possible ?

Hello to everyone
Do anyone know if it is possible to have a report in two different orientation (landscape and portrait) in one shot ?
If yes how can i do to solve the problem ?
thanks bye

If you are running the report using RUN_PRODUCT then it is possible. Create parameter list and add the parameter:
Declare
pl_id PARAMLIST;
Begin
pl_id := create_paramater_list('ornt');
add_parameter(pl_id, 'ORIENTATION', TEXT_PARAMETER, 'LANDSCAPE');
RUN_PRODUCT(REPORTS, REPORT_NAME, SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
DESTROY_PARAMETER_LIST(pl_id);
pl_id := create_paramater_list('ornt');
add_parameter(pl_id, 'ORIENTATION', TEXT_PARAMETER, 'PORTRAIT');
RUN_PRODUCT(REPORTS, REPORT_NAME, SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
DESTROY_PARAMETER_LIST(pl_id);
END;
This is just the basic code. Some refinement is needed.
null

Similar Messages

  • HTML Article put together dynamically, scroll only possible after orientation change

    Hi guys,
    i have encountered the following problem today:
    im having a HTML page put together dynamically from a JSON source file, handling the JSON information with jQuery. i am uploading said HTML page (html page is empty until the page is in the DPS stack, then it builds itself) as an HTML article with "Smooth Scrolling: Vertical". So far, so good.
    When i open the page inside the Adobe Viewer App on my iPad, i can see the "first" part of the page (the first 1024px in portrait-orientation) but i am not able to scroll further down the page.
    however, when i do a orientation change of the device (turn it landscape and then back), i can scroll perfectly fine and am able to see everything on the page (so im quite sure the conversion from json to jquery to html does work). even stranger, when i let the page tell me its height ( via $("body").height() and $(document).height() ) it shows me, that the height of the page is indeed (e.g.) 10.000px, but i am not able to scroll down until i do the orientation change.
    am i missing something? im pretty sure that my code is correct, because once i change the orientation of my device, everything does work flawless.
    i hope my problem is understandable, any help is much appreciated.
    thanks
    Max

    Nevermind... since the HTML is empty, when the magazin gets opened, i suspect the HTML tells DPS "hey, my height is 0px, dont bother scrolling!". but once i am on the page itself and the process of bulding the page starts (HTML elements are added on the fly), it doesnt tell DPS "hey, my height changed, check if i need to be scrollable please" since im not able to scroll. when im changing orientation, it forces DPS to rerender the page and thus getting the correct height of the page.
    my workaround: setting the body height to (e.g.) 20.000px and then, later on, reduce it to the actual height needed by the HTML elements.
    but still: can someone explain me the process of loading / rendering pages inside DPS? when do DPS render pages, does it render pages the first time i open the app and then again when im on the page itself (or rather a page before the actual page?) is there a command to force DPS to rerender the page?

  • Dynamic Report with Hundreds of Columns in APPS -- Possible ?

    I am working on a design of building a dynamic report with up close to 1000 columns in Oracle MFG. Depending on the number of item parameters user entered, the report could have 100, 200, 500, up to 1000 columns. User wants the report exported to EXCEL to do analysis.
    Is this huge report possibly built and run in Oracle APPS? What are the major issues and limitations involved and what attentions I should give to design and build? Thanks in advance.

    Since formatting is not important, I would use pl/sql. Pl/sql is better suited for dynamic sql. With utl_file you can write the results of your dynamic query to a csv fiel for import in Excel.

  • Is it possible to create dynamic reports using iReports in netbeans ?

    Hi
    I want to know that is it possible to create dynamic reports using netbeans? Dynamic reports means based on user selection(for eg. say by selecting values from combo boxes) some query will be genatated and fetch the query result from data base and displayed results in iReports only my problem is i am working on Netbeans IDE and i have installed iReports as plugins in netbeans IDE. and i am not able to find any tutorial that show me how to work with iReports under netbeans IDE. and how to create dynamic reports in iReports. If u know any such tutorial then can you send me link plz...!
    Thanks

    What do you mean by "in Start Menu"? Do you mean Live tile? See https://msdn.microsoft.com/en-us/library/windows/apps/hh465403.aspx
    https://msdn.microsoft.com/en-us/library/windows/apps/dn468032.aspx
    Best Regards,
    Please remember to mark the replies as answers if they help

  • How can i create an dynamic report in Java

    hello everybody,
    I want to make dynamic reports in Java. Report contain data and images with good layout.. such as crystal reports presentation..
    Reports fields decided at run time or we can say that it is generated according to user requirement...
    can it is possible in Java. If it is then which tool is better for it..
    please suggest me.. this is very urgent requirement for me...

    i don't know what types of tools are avaiable in market... Tools for what? You still didn't tell us what exactly you want to do.
    i just imagin that
    "An user create a database dynamically on server
    databaseNobody "dynamically creates a database".
    and he decide reports desgin according to
    his requirement..... we provide an control for this
    type possibilities....."
    so this is question is build in my mind.. so i
    forward this question to this forums..
    I am just going to check the physibility of my mind
    imagination...Feasibility you mean. IMHO, the feasibility of creating that stuff yourself is very low. Reinventing the wheel usually doesn't make it better, and it's likely to be more expensive to pay you for creating an inferior solution (not because of lack of skills, but simply because the available products had a few years time to grow, feature-wise) than to simply buy the licenses. Look at Crystal Reports or JFreeChart or Jasper Reports. Or use Google to look up J2EE-based reporting libraries. There might be more.
    Which of these is best, I don't know, I never used any of those. Also, the definition of "best" changes with the requirements. What's better, a Ferrari or a truck?

  • Dynamic reporting, time dependent columns

    Hello,
    We are trying to make some dynamic reports, for example with the columns: the last six months , quarter, current year, last year etc etc (a half year report). Is it possible to give in a year\period which is the "current period", so that all dynamic (time) columns are relative from this date. This because it is not known in which month the work is done (and the cubes updated) and the reports are run.
    Regards.

    If so,.....
    1)create a variable on Time Char (instead the Business Content Variable) with manual input mandatory
    2)insert an 'OFFSET'
    For example:
    a) create a variable on calmonth
    b) create a new selection in column
    __b.1) insert your KF in selection
    __b.2) insert new variable of calmonth in selection
    __b.3) change offset of variable, i.e. for six month write -6
    Hope it helps!
    C@f
    How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left.

  • Financial Reporting making of Dynamic Reports v 11.1.1.2

    Hi,
    I have recently going through designing of a dynamic report in Financial Reporting which consists of financial representation as follows:
    There are some data which is there in the Schedules of accounts.
    Now the user wants to a make a drill down of all the account codes there in the schedule like
    schedule 13 other income.
    All the account codes in Schedule should bw drill down which I am able to make.
    Now for each account codes they want a sorting in descending order to find out which entity is contributing to how much revenue for the oraganistion or
    similarly for the cost which are in other schedules like 14,15,16 tc.
    After that they want a insertion of cell text function for each cell having a combination of account codes and entity which is having a adverse variance and analsis
    for the same.
    If someone can throw a light on this about how to do this.

    I think you have already posted this problem on another post, I said it is possible it could be a ports issue.
    Have a look at the following http://www.oracle.com/technetwork/middleware/bi-foundation/epm-component-communications-11121-354680.xls
    Select FR studio as the client and it should give indication to the ports that need to be opened.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Fuba or Report for Change the OBJECT_ID in one order documents

    Hi Guru's
    we want to reuser the Order-ID in CRM contracts (CRMD_BUS2000121)
    So I search a FuBa or a report for Changing the OBJECT_Id in the one order document or is there any other possibility.
    we use SAPCRM 4.0
    thanks
    Reiner

    Hi Reiner,
    changing a Order or Contract ID is not possible because they are the key of the Object. Perhaps I've don't get your point. Please describe your requirement in more detail.
    Regards
    Gregor

  • Dynamic report output in a webdynpro alv

    Hi,
    I have created a dynamic report in the R/3 system . In this report, i am creating a report program within the report and subsequently executing this dynamically created report and displaying in the ALV..
    Is it possible to handle such a scenario in a webdynpro ALV. One option is to use ITS and display the report in the portal but is there some other way so that i can directly view this report in an alv grid in a view.
    all help appreciated!!
    regards,
    Priyank

    Hi Priyank,
    This could be one of the solution:
    1] Run the report in background mode (using submit statement, dn't forget to give printer as LOCL), get the spool id programatically. Use the FM's CONVERT_OTFSPOOLJOB_2_PDF or CONVERT_ABAPSPOOLJOB_2_PDF.
    Which returns the ouput of table tline, convert this to xtring and bind it to xtring attribute.
    In view add a interactive form and bind the xstring attribute to the Interactive form.
    By following the above steps, we can display the result in the PDF in WD ABAP.
    2] The report result is ALV and in most of the cases we generally do not have function modules or any other easy way to get the output.
    In such cases the best approach which we follow is, to run this in background mode and generate the spool and display the ouput in PDF.
    3] But if intertactive form is not present in your requirement then we need to debug the logic of the report (if no FM or class present) and get the results and display it in the View.
    You can create a service which takes the parameters of the report, submits it and
    transfers the result to HTML. In a view you use an IFRame which takes the URL of the service and shows the result HTML.
    just additionally read this thread,
    Display simple ABAPLIST
    Here an IFrame is used to display HTML output of report. But as IFRame gets obsolete the Suresh's solution seems to be pretty cool.
    Hope this will help you!
    Cheers,
    Darshna.

  • Create dynamic report or query for piece count

    Hi abaper's
    This is a very straight forward requirement. so please give me code
    First you have to get the corresponding plant from table T320 for the given warehouse numbers in the selection screen. 
    1.     Get the sum of order qty of sales orders from the sales order tables      for the given warehouse(Plant), distribution channel and the give date      range.
    2.     Get the confirmed transfer orders qty from the TO master table where      TO confirmation date is in the given date range and WH number.
    3.     Get the total PGIed qty from the delivery master table where PGI'ed      date in the given date range, shipping point is in the corresponding      plant of the WH and for the given distribution channel.
    As you are going to use the major tables please try to write the select commands effectively to avoid further performance issues.

    How to improve the performance fo this code.....this very urgent.
    & Issue Number          : 22199                                    &
    & Programmer            : Anjaneyulu.Pabba                         &
    & Transport Number      : D01K962471                               &
    & Date of Creation      : 19/03/2008                               &
    & Description           : Dynamic report or query for piece count  &
    & Requested By          : Parvati.Polisetty                        &
    REPORT  ZR_SD_PIECE_COUNT_ALV no standard page heading
                                  line-size 255
                                  line-count 65.
                          TABLES DECLARATION
    *TABLES: T320,   "Assignment IM Storage Location to WM Warehouse Number
          VBAK,   "Sales Document: Header Data
          VBAP,   "Sales Document: Item Data
          TVKOV,  "Org. Unit: Distribution Channels per Sales Organization
          LTAK,   "WM transfer order header
          LTAP,   "Transfer order item
          LIKP,   "SD Document: Delivery Header Data
          LIPS.   "SD document: Delivery: Item data
                          TYPE-POOLS DECLARATION
    TYPE-POOLS: SLIS .
         Internal Table Declaration
    DATA : BEGIN OF TY_T320,
            WERKS TYPE WERKS_D,
            LGNUM TYPE LGNUM,
           END OF TY_T320.
    DATA : BEGIN OF TY_VBAK,
            VBELN  TYPE VBELN_VA,
            VTWEG  TYPE VTWEG,
            WERKS  TYPE WERKS_D,
            KWMENG TYPE KWMENG,
            VSTEL  TYPE VSTEL,
           END OF TY_VBAK.
    DATA : BEGIN OF TY_LTAK,
            LGNUM TYPE LGNUM,
            TANUM TYPE TANUM,
            VISTA TYPE LTAP_VISTA,
           END OF TY_LTAK.
    DATA : BEGIN OF TY_LIKP,
            VBELN TYPE VBELN_VL,
            WERKS TYPE WERKS_D,
            LFIMG TYPE LFIMG,
           END OF TY_LIKP.
    DATA : BEGIN OF TY_ITAB ,
    LGNUM  TYPE LGNUM,    "Warehouse Number / Warehouse Complex
    WERKS  TYPE WERKS_D,  "Plant
    VBELN  TYPE VBELN_VA, "Sales Document
    VTWEG  TYPE VTWEG,   "Distribution Channel
    KWMENG TYPE KWMENG,  "Cumulative order quantity in sales units
    TANUM  TYPE TANUM ,     "Transfer Order Number
    VISTA  TYPE LTAP_VISTA, "Source actual quantity in alternative
                                                 unit of measure
    LFIMG  TYPE LFIMG,  "Actual quantity delivered (in sales units)
    END OF TY_ITAB .
    DATA: T_T320 LIKE STANDARD TABLE OF TY_T320 INITIAL SIZE 0 WITH HEADER
                                                                   LINE,
          T_VBAK LIKE STANDARD TABLE OF TY_VBAK INITIAL SIZE 0 .
    DATA: T_LTAK LIKE STANDARD TABLE OF TY_LTAK INITIAL SIZE 0 WITH HEADER
                                                                    LINE.
    DATA :T_LIKP LIKE STANDARD TABLE OF TY_LIKP INITIAL SIZE 0 WITH HEADER
                                                                    LINE.
    DATA:T_ITAB LIKE STANDARD TABLE OF TY_ITAB INITIAL SIZE 0 WITH HEADER
                                                                   LINE .
    *&      Fieldcatalog Declaration
    DATA : T_FCAT TYPE SLIS_T_FIELDCAT_ALV,
           W_FCAT TYPE SLIS_FIELDCAT_ALV.
    DATA : W_LAYOUT TYPE SLIS_LAYOUT_ALV.
    ********Global Data Declaration***
    DATA :G_REPID        LIKE SY-REPID,
         G_EXIT(1)      TYPE C,
         GX_VARIANT     LIKE DISVARIANT,
         X_SAVE,                          "for Parameter I_SAVE
         GS_VARIANT TYPE DISVARIANT.      "for parameter IS_VARIANT
    data: g_lgnum type t320-lgnum,
          g_vtweg type vbak-vtweg,
          g_erdat type vbak-erdat.
    *&      Selection-Screen
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS : S_LGNUM FOR  g_lgnum, "Warehouse Number
                    S_VTWEG FOR g_vtweg, "Distribution Channel
                    S_ERDAT FOR g_erdat ."Date on which the record was
    **********"created
    SELECTION-SCREEN END OF BLOCK B1 .
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
    PARAMETER: P_VARI LIKE DISVARIANT-VARIANT.  "Layout
    SELECTION-SCREEN END OF BLOCK B2.
    *&       INITIALIZATION EVENT
    INITIALIZATION.
      CLEAR GS_VARIANT.
    'gs_variant' must at least contain the report-id to allow
    saving a variant.
      G_REPID = SY-REPID.
    § 2.At least field REPORT of this structure has to be filled!
      GS_VARIANT-REPORT = G_REPID.
    § 3.Determine saving options.
      X_SAVE = 'A'.   "The user may save all types of variants
    *******Validating selection-screen values**********************
    getting F4 value for display variant field
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_VARI.
      PERFORM F4_FOR_VARIANT.
    ****validation of F4 value of display variant
    AT SELECTION-SCREEN.
      PERFORM PAI_OF_SELECTION_SCREEN.
    *&      Start-Of-Selection
    START-OF-SELECTION.
    *****Subroutine to  select Plant from T320
      PERFORM FIND_PLANT .
    *****Subroutine to select Order Quantity from VBAP
      PERFORM ORDER_QUANTITY .
    *****Subroutine to select Transfer Order Quantity from LTAK and LTAP
      PERFORM TRANSFER_ORDER_QUANTITY.
    *****Subroutine to select TDelivery Quantity from  LIKP and LIPS
      PERFORM DELIVERY_QUANTITY.
    *&      End-Of-Selection
    END-OF-SELECTION.
    *****Subroutine for Fieldcatalog
      PERFORM FIELDCATALOG .
    *****Subroutine for Final Output
      PERFORM DISPLAY_OUTPUT .
    *&     Subroutine Implementaion
    *&      Form  FIND_PLANT
          text
    -->  p1        text
    <--  p2        text
    FORM FIND_PLANT .
      SELECT  WERKS
              LGNUM
              FROM T320
              INTO  TABLE T_T320
              WHERE LGNUM IN S_LGNUM.
    ENDFORM.                    " FIND_PLANT
    *&      Form  order_quantity
          text
    -->  p1        text
    <--  p2        text
    FORM ORDER_QUANTITY .
      SELECT VK~VBELN
             VK~VTWEG
             VP~WERKS
             VP~KWMENG
             VP~VSTEL
             INTO TABLE T_VBAK FROM VBAK AS VK
             INNER JOIN  VBAP AS VP
             ON VKVBELN = VPVBELN
             FOR ALL ENTRIES IN T_T320
             WHERE VK~VTWEG IN S_VTWEG
             AND   VK~ERDAT IN S_ERDAT
             AND   VP~WERKS = T_T320-WERKS.
    ENDFORM.                    " order_quantity
    *&      Form  Transfer_order_quantity
          text
    -->  p1        text
    <--  p2        text
    FORM TRANSFER_ORDER_QUANTITY .
      SELECT LK~LGNUM
             LK~TANUM
             LP~VISTA
             INTO TABLE T_LTAK FROM LTAK AS LK
             INNER JOIN LTAP AS LP
             ON LKLGNUM = LPLGNUM
             WHERE LK~KQUIT = 'X'
             AND   LK~BDATU IN S_ERDAT
             AND   LK~LGNUM IN S_LGNUM.
    ENDFORM.                    " Transfer_order_quantity
    *&      Form  Delivery_QUANTITY
          text
    -->  p1        text
    <--  p2        text
    FORM DELIVERY_QUANTITY .
      SELECT  VBELN WERKS LFIMG FROM LIPS
              INTO TABLE T_LIKP
              FOR ALL ENTRIES IN T_T320
              WHERE WERKS = T_T320-WERKS
              AND ERDAT IN S_ERDAT
              AND VTWEG IN S_VTWEG.
    ENDFORM.                    " Delivery_QUANTITY
    *&      Form  fieldcatalog
          text
    -->  p1        text
    <--  p2        text
    FORM FIELDCATALOG .
      W_FCAT-COL_POS       = '1' .
      W_FCAT-FIELDNAME     = 'LGNUM' .
      W_FCAT-REF_TABNAME   = 'T320'.
      W_FCAT-REF_FIELDNAME = 'LGNUM' .
      APPEND W_FCAT TO T_FCAT.
      CLEAR W_FCAT.
      W_FCAT-COL_POS       = '2' .
      W_FCAT-FIELDNAME     = 'VTWEG' .
      W_FCAT-REF_TABNAME   = 'VBAK'.
      W_FCAT-REF_FIELDNAME = 'VTWEG' .
      APPEND W_FCAT TO T_FCAT.
      CLEAR W_FCAT.
      W_FCAT-COL_POS       = '3' .
      W_FCAT-FIELDNAME     = 'KWMENG' .
      W_FCAT-REF_TABNAME   = 'VBAP'.
      W_FCAT-REF_FIELDNAME = 'KWMENG' .
    *w_fcat-seltext_m     = '# of Orders'.
      APPEND W_FCAT TO T_FCAT.
      CLEAR W_FCAT.
      W_FCAT-COL_POS       = '4' .
      W_FCAT-FIELDNAME     = 'VISTA' .
      W_FCAT-REF_TABNAME   = 'LTAP'.
      W_FCAT-REF_FIELDNAME = 'VISTA' .
    *w_fcat-seltext_m     = '# of Pcs Picked'.
      APPEND W_FCAT TO T_FCAT.
      CLEAR W_FCAT.
      W_FCAT-COL_POS       = '5' .
      W_FCAT-FIELDNAME     = 'LFIMG' .
      W_FCAT-REF_TABNAME   = 'LIPS'.
      W_FCAT-REF_FIELDNAME = 'LFIMG' .
    *w_fcat-seltext_m     = '# of Pcs Shipped'.
      APPEND W_FCAT TO T_FCAT.
      CLEAR W_FCAT.
    W_FCAT-COL_POS       = '6' .
    W_FCAT-FIELDNAME     = 'TANUM' .
    W_FCAT-REF_TABNAME   = 'LTAK'.
    W_FCAT-REF_FIELDNAME = 'TANUM' .
    **w_fcat-seltext_m     = '# of Pcs Shipped'.
    APPEND W_FCAT TO T_FCAT.
    CLEAR W_FCAT.
    W_FCAT-COL_POS       = '7' .
    W_FCAT-FIELDNAME     = 'WERKS' .
    W_FCAT-REF_TABNAME   = 'T320'.
    W_FCAT-REF_FIELDNAME = 'WERKS' .
    **w_fcat-seltext_m     = '# of Pcs Shipped'.
    APPEND W_FCAT TO T_FCAT.
    CLEAR W_FCAT.
    ENDFORM.                    " fieldcatalog
    *&      Form  display_output
          text
    -->  p1        text
    <--  p2        text
    FORM DISPLAY_OUTPUT .
      LOOP AT T_T320 INTO TY_T320.
        TY_ITAB-WERKS = TY_T320-WERKS.
        TY_ITAB-LGNUM = TY_T320-LGNUM.
        READ TABLE T_VBAK INTO TY_VBAK WITH KEY WERKS = TY_T320-WERKS.
        IF SY-SUBRC = 0.
        TY_ITAB-VBELN  = TY_VBAK-VBELN.
        TY_ITAB-VTWEG  = TY_VBAK-VTWEG.
        TY_ITAB-KWMENG = TY_VBAK-KWMENG + ty_itab-kwmeng.
        ENDIF.
        READ TABLE T_LTAK INTO TY_LTAK WITH KEY LGNUM = TY_T320-LGNUM.
        IF SY-SUBRC = 0.
        TY_ITAB-TANUM = TY_LTAK-TANUM.
        TY_ITAB-VISTA = TY_LTAK-VISTA + ty_itab-vista.
        ENDIF.
        READ TABLE T_LIKP INTO TY_LIKP WITH KEY WERKS = TY_T320-WERKS.
        IF SY-SUBRC = 0.
        TY_ITAB-LFIMG = TY_LIKP-LFIMG + ty_itab-lfimg.
        ENDIF.
        APPEND TY_ITAB TO T_ITAB.
      ENDLOOP.
    Function Module for Displaying Final Output ********
      W_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM = SY-CPROG
          IS_LAYOUT          = W_LAYOUT
          IT_FIELDCAT        = T_FCAT[]
        TABLES
          T_OUTTAB           = T_ITAB.
    ENDFORM.                    " display_output
    *&      Form  f4_for_variant
          text
    -->  p1        text
    <--  p2        text
    FORM F4_FOR_VARIANT .
      CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
        EXPORTING
          IS_VARIANT = GS_VARIANT
          I_SAVE     = X_SAVE
        IMPORTING
          E_EXIT     = G_EXIT
          ES_VARIANT = GX_VARIANT
        EXCEPTIONS
          NOT_FOUND  = 2.
      IF SY-SUBRC = 2.
        MESSAGE ID SY-MSGID TYPE 'S'      NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE.
        IF G_EXIT = SPACE.
          P_VARI = GX_VARIANT-VARIANT.
        ENDIF.
      ENDIF.
    ENDFORM.                    " f4_for_variant
    *&      Form  pai_of_selection_screen
          text
    -->  p1        text
    <--  p2        text
    FORM PAI_OF_SELECTION_SCREEN .
      IF NOT P_VARI IS INITIAL.
        MOVE GS_VARIANT TO GX_VARIANT.
        MOVE P_VARI TO GX_VARIANT-VARIANT.
        CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
          EXPORTING
            I_SAVE     = X_SAVE
          CHANGING
            CS_VARIANT = GX_VARIANT.
        GS_VARIANT = GX_VARIANT.
      ELSE.
        PERFORM VARIANT_INIT.
      ENDIF.
    ENDFORM.                    " pai_of_selection_screen
    *&      Form  variant_init
          text
    -->  p1        text
    <--  p2        text
    FORM VARIANT_INIT .
      CLEAR GS_VARIANT.
      GS_VARIANT-REPORT = G_REPID.
    ENDFORM.                    " variant_init

  • Dynamic Report layout issue - Report builder 10g

    Hi all,
    I try to implement a dynamic report that have:
    1.my_header - variable elasticity
    2.my_footer - variable elasticity - the bottom it is anchored to the bottom of my_report frame
    3.my_body - variable elasticity -must fit between the header and footer - the top it is anchored to the bottom of my_header
    All these frames are inside a main frame my_report(same height and width as body section).
    The issue is that when my_body (I have another frame and a repeating frame inside it) has more than one page, the data overrides the footer data.
    I don't want to put header and footer on margin.
    It will be great if you can give me some hints, or if it is possible to implement such a report
    Thanks,
    Gicu Buimaga

    What exactly do you mean? Are you running out of space on the page when running the report? That can only be resolved by modifying your layout.
    Or are you running out of space in the Layout Editor? In the layout editor you can make a page as long as you want. One physical page is not limited to be designed between the page boundaries you see in the Layout Editor.
    The frames you are using have to have a Variable Vertical Elasticity, though.

  • Dynami report

    Hi, I would like to know how can I create a dynamic report where de user defines de columns to display in the report, this is for a client's report, where each client wants a diferent information, from the same table.
    Than you

    Yes it is possible.
    Follow the steps below.
    1. Create query with all columns.
    2. Create parameter for each column(ex: col1_param,col2_param etc..)
    3. Write format trigger for each column in which you check the parameter value for that column.if it is to be selected then return true else return false.
    IF :col1_param = 1 then
    return true ;
    else
    return false;
    end if;
    4. If the column1 is not selected and column2 , column 3 are selected, then column2 has to be printed in place of column1 and column 3 has to be printed in place of column 2 .
    To achieve this create Anchors between Column1,2,3 by setting the anchor property horizontally collapse = YES.
    Hope this helps you.
    If you are interested I can send you example Report.RDF
    Sridhar

  • Dynamic reporting in Java

    Hi to all
    I want to create a dynamic reporting tool , in which user can add & delete no of columns from database table and for selected columns , user want to generate reports. Can any one give me idea about Java API or any other API that we can use in java application for dynamic reporting. Please give me reference example for suggested API if possible. I shall be very thankfull for your support & guidence.
    Preet

    socmag_Java_developer wrote:
    I want to create my own GUI reporting tool in java. Can you suggest me any Java API with some examplesIf you mean "*Standard* Java API", don't you find suggestions and examples in the first answer?

  • Can I create a dynamic report in the server without using a report template

    Hi,
    My company just bought a Crystal Report Server XI and it didn't have a report designer.
    I can't start creating report without the designer.
    The question is can  I generate a dynamic report at runtime (on the crystal report server ) without using report template?
    My project requirement is to use a crystal report server to manage the reports.
    Some client web application will just access this report server.
    I  hope the experts can provide me some guidance.
    regards,
    Rulix
    Edited by: Rulix Batistil on Nov 3, 2008 8:08 AM

    Hi Rulix,
    The latest version of CR Server is 2008. Therefore I'm assuming you are using CR Server 2008.
    New in CR 2008 is the .NET report modification software development kit (SDK). The report application server (RAS) SDK is now available for users of Crystal Reports .NET API without the use of a RAS server. Report modification such as changing, adding, or removing database providers, or adding, removing, or creating report objects, parameters, formulas, and sections can be achieved by accessing the RAS SDK through the Crystal Reports .NET SDK.
    Java developers however receive the JRC and Java SDK documentation through the free Crystal Reports for Eclipse download. This product will be updated on a separate schedule from Crystal Reports.
    Further Information and samples are available in our [Developer Library|https://www.sdn.sap.com/irj/sdn/businessobjects?rid=/webcontent/uuid/5001d5de-f867-2b10-00bf-8d27683c85a0]
    Kind regards,
    Tim

  • Logic needed for dynamic report

    Hi Experts,
    I have made a dynamic report where my logic is if the value of the columns is 0 than it should be blank and if the columns of the stores have some value for eg: 01 than it should populate the same store.
    The logic goes like :
    for matnr     01store 02 store
                                             01       100.00          0.00
                                             02          00              00
                                             03       50.00           13.00
    than the output should be
    matnr     01store 02 store
                                             01           01store       
                                             02        
                                             03           01store    02 store
    I have made the logic but all the lines are getting appended
    it_field_dynamic1-fieldname = 'MATNR'.
        it_field_dynamic1-desc      = 'ARTICLE'.
        it_field_dynamic1-reffield = 'MATNR'.
        it_field_dynamic1-reftab   = 'MBEW'.
        it_field_dynamic1-seq =  1.
        COLLECT it_field_dynamic1.
        CLEAR wa_itab.
        LOOP AT itab INTO wa_itab. "WHERE SALK3 NE '0.00'.
          it_field_dynamic1-fieldname = wa_itab-bwkey.
          it_field_dynamic1-desc      = wa_itab-bwkey.
    *    IF WA_ITAB-SALK3 NE '0.00'.
    *    it_field_dynamic1-reffield = wa_itab-bwkey.
    *    ENDIF.
          it_field_dynamic1-reftab   = 'MBEW'.
          it_field_dynamic1-seq =  1.
          COLLECT it_field_dynamic1.
          CLEAR wa_itab.
        ENDLOOP.
        LOOP AT it_field_dynamic1.
          wa_alv_cat1-fieldname = it_field_dynamic1-fieldname.
          wa_alv_cat1-col_pos    = sy-tabix.
          wa_alv_cat1-ref_field = it_field_dynamic1-reffield.
          wa_alv_cat1-ref_table = it_field_dynamic1-reftab.
          wa_alv_cat1-seltext   = it_field_dynamic1-desc.
          COLLECT wa_alv_cat1 INTO lt_alv_cat1 .
          CLEAR wa_alv_cat1 .
    *    APPEND wa_alv_cat TO lt_alv_cat .
        ENDLOOP.
        IF NOT lt_alv_cat1[] IS INITIAL .
    * Create Dynamic Table -> i_table
          CALL METHOD cl_alv_table_create=>create_dynamic_table
            EXPORTING
              it_fieldcatalog = lt_alv_cat1
            IMPORTING
              ep_table        = i_table1.
          ASSIGN i_table1->* TO <table1> .
    * Create dynamic work area and assign to FS
          CREATE DATA i_struct1 LIKE LINE OF <table1>.
          ASSIGN i_struct1->* TO <struc1>.
        ENDIF.
        DATA: l_row TYPE sy-index.
        FIELD-SYMBOLS: <ls_table> TYPE ANY.
        FIELD-SYMBOLS: <l_field> TYPE ANY.
        DATA: wa_dref1 TYPE REF TO data.
        FIELD-SYMBOLS: <wa_tab1> TYPE ANY.
        CREATE DATA wa_dref1 LIKE LINE OF <table1>.
        ASSIGN wa_dref1->* TO <wa_tab1>.
        FIELD-SYMBOLS: <fs1>, <fs2>.
    *  DATA: wa_dref1 TYPE REF TO data.
    *  FIELD-SYMBOLS: <wa_tab1> TYPE ANY.
        CREATE DATA wa_dref1 LIKE LINE OF <table1>.
        ASSIGN wa_dref1->* TO <wa_tab1>.
        CLEAR : wa_matnr, wa_itab.
       LOOP AT imatnr INTO wa_matnr.
    *clear: wa_itab-bwkey.
    *      CLEAR: wa_itab.
          LOOP AT itab INTO wa_itab WHERE matnr = wa_matnr-matnr.
    *        CLEAR: wa_itab-bwkey.
            IF wa_itab-salk3 EQ '0.00'.
              CLEAR: wa_itab-bwkey .
            ELSE.
            ASSIGN COMPONENT wa_itab-bwkey OF  STRUCTURE <wa_tab1> TO <fs1>.
              IF sy-subrc =  0 . "AND WA_ITAB-SALK3 NE '0.00'.
                <fs1> = wa_itab-bwkey.
              ENDIF.
            ENDIF.
    *ON  CHANGE OF WA_ITAB-MATNR.
            ASSIGN COMPONENT 'MATNR' OF  STRUCTURE <wa_tab1> TO <fs2>.
            IF sy-subrc =  0.
    *      ON CHANGE OF wa_itab-matnr.
              <fs2> = wa_itab-matnr.
    *      ENDON.
            ENDIF.
    *      APPEND <wa_tab1> TO <table1>.
          ENDLOOP.
           APPEND <wa_tab1> TO <table1>.
          CLEAR : wa_ltab.
        ENDLOOP.
    than i have called the alv grid display
    Please let me know.
    Thanks,
    Nikhil.

    Hi Oliver,
    My current output is:
    for                                  
    matnr     01store 02 store
                                                      01         100.00         0.00
                                                       02          00              00
                                                       03       50.00           13.00
                                            matnr    01store   02 store
                                             01       01store         
                                             02       01store            
                                             03       01store
    but for matnr 02,  01 store has 0 value hence it should come blank but its appending from the first line and populating 01store for material 2.
    Thanks & Regards,
    Nikhil.

Maybe you are looking for

  • I am unable to get the Apple Watch to create a passcode

    Could this be due to security settings on my phone from Airwatch? If I enter a four digit passcode, it asks me to enter a six digit passcode, when I enter a six digit nothing happens when I press OK, it just goes back to wanting a number in an endles

  • Update OSX 10.2.8 Build 6R73 repeatedly fails to install.

    Hi, I have an elderly but beloved iBook, 900Mhz Power PC G3 with 640 Mb. I have just replaced the failed hard drive and I have used the disks that came with the iBook to install OSX 10.2.1. I have successfully installed some updates e.g. Quicktime 6.

  • How can I visit busy website without problem?

    Hello, I would like to visit this website http://indianvisa-bangladesh.nic.in/visa/Reprint.jsp but 6 to 10 am GMT+6 I can't visit it . Always busy or problem loading page. So, how can i visit this website without any problem or how can I visit this w

  • HT4623 How do I update from iOS 4.2.1

    How do I update my iPad to a current version of iOS?

  • Finding employees 'under' manager in org.management in HR

    hi there, i have to know which employees are 'under' a person in org.management. e.g. i need to know all employees from a specific manager. is there any function call and/or method of class which can achive this ? best regards, Martin