BPC 10NW: Dynamic Reporting

Hi Gurus,
How can list the Account Members by filtering on the property? Is there any EPM function to list the dimension members on some filter?
I have following reporting requirement -
There are two set of accounts say "X" & "Y".  This been identified as a separate property "Dimlist"
I would like to give two drop downs for selection purpose in the report as -
Account Receivable -> Drop down showing accounts where dimlist = "X"
Account Payable -> Drop down showing accounts where dimlist = "Y"
Upon selection, would like to show these two set of accounts in same line. showing two values for respective accounts
Please suggest.
Regards,
Rashmi

Hi Vadim,
Thanks for sharing this information.  We'll try using this code and doing necessary changes.
However, is there any another way to acheive it using excel functionality?
We have done following steps -
Created simple query on Account in Row axis, filtering it on the property = X & Y with sort with Ascending
used formula "EPMMEMBERPROPERTY to list the property of each account in separate column
Created 2 VLOOKUPs to segregate X & Y accounts separately
Used these set of accounts in the excel function 'Data Validation' to get drop down box
However, there are few issues in this solution -
The formula EPMMEMBERPROPERTY doesn't expand as per EPM Report.  Hence, if there is any additions in accounts with X & Y properties, this dummy report needs to be refreshed manually.
The VLOOKUP needs separate ranges to get unique accounts, which cannot be done dynamically
If in 'data validation' we consider more cell range, then it doesn't ignore blanks even though "ignore blank" option is selected.  (Note:  we observe this is a EPM AddIn issue, as the same works as expected in normal excel)
Any suggestions?
It would have been good if EPM has function like EPMListMembers
Regards,
Rashmi

Similar Messages

  • BPC 7.5NW Report Issues When Requesting Year To Date Data

    Dynamic reports built with 2 row expansions (Cost Ctr, Account) up to 3 columns (not expansions, set to different categories with excel formulas for variance calculations...Act vs. Bud for example) result in error messages (error retrieving data and another related error messge) when requesting YTD data vs. Periodic data.  The report runs fast and properly with Periodic measure.  When running with the YTD measure, attempts to reduce the report data volume by removing comparative categories and removing formatting (after ranges) still results in YTD data retrieve errors.
    Has anyone else had similar issues with BPC 7.5NW, SP9, and YTD data not pulling into reports?  What are the common causes for issues with YTD data retrieval?  Given the design by SAP of the BPC NW product and promotion of using BPC for both Periodic and YTD data, should I expect this report to work properly, meaning that I can get output with YTD data without long runtimes or errors that result in terminating the report?  Thank you.

    Hi,
    This would do it :SQL> !cat q.sql
    with t (dt, val) as (
         select to_date('2011/01/04','yyyy/mm/dd'), 123 from dual union all
         select to_date('2011/04/09','yyyy/mm/dd'), 234 from dual union all
         select to_date('2011/06/28','yyyy/mm/dd'), 345 from dual union all
         select to_date('2011/10/18','yyyy/mm/dd'), 456 from dual union all
         select to_date('2011/12/23','yyyy/mm/dd'), 567 from dual union all
         select to_date('2012/01/07','yyyy/mm/dd'), 678 from dual union all
         select to_date('2012/05/13','yyyy/mm/dd'), 789 from dual union all
         select to_date('2012/07/19','yyyy/mm/dd'), 890 from dual union all
         select to_date('2012/08/30','yyyy/mm/dd'), 901 from dual union all
         select to_date('2012/09/22','yyyy/mm/dd'), 012 from dual
    ------ end of sample data ------
    select *
    from t
    where dt >= trunc( add_months(trunc( &&dateexec. ,'month'),-1) ,'year')
    and dt < trunc( &&dateexec. ,'month')
    undefine dateexecThe dateexec parameter is just here to "simulate" sysdate of different points in year.
    <i>(your actual query would have sysdate where the dateexec parameter appears)</i>
    SQL> @q
    Enter value for dateexec: sysdate
    DT                         VAL
    07/01/2012 00:00:00        678
    13/05/2012 00:00:00        789
    19/07/2012 00:00:00        890 sysdate does the current year up to previous month.
    SQL> @q
    Enter value for dateexec: to_date('20120122','yyyymmdd')
    DT                         VAL
    04/01/2011 00:00:00        123
    09/04/2011 00:00:00        234
    28/06/2011 00:00:00        345
    18/10/2011 00:00:00        456
    23/12/2011 00:00:00        567when ran in january, it retrieves all the previous year.

  • BPC 10NW: Connectivity issues with environment copied from IFRS KIT

    Hi BPC Gurus,
    We are on SAP BPC 10NW SP04.
    We had installed IFRS Kit. We then copied IFRS Kit (without transactions) to another environment (TBSC_DEMO). We have then
    modified members of all the dimensions and successfully processed it.
    We are trying to log on to Consolidation Model in BPC-Excel to create Transformations etc ... however, we are getting error "the number of bytes available is inconsistant with the HTTP content - lenght header.  There may have been a network error or the client may be sending invalid requests'. However, it gets connected to 'ownership' and 'rate' models without any issues.
    Also, if we try to create an Input Form and/or Report from BPC-Admin, and drag any dimension in Row / Column it throws an error - 'unhandled exception has occured'.
    NOTE: It was given to understand from one of the SAP consultant that IFRS kit has some 'KNOWN issues' about 'authorizations and/or security features. could you please let us know the resolution at the earliest?
    ALSO, If by any chance we are able to conenct to BPC-Excel, it shows only one dimension (ACCOUNT). Please see the attached screen shot for more details.
    Are we missing any settings?
    Please assist.
    Regards,
    Rashmi

    Hi BPC Gurus,
    We are on SAP BPC 10NW SP04.
    We had installed IFRS Kit. We then copied IFRS Kit (without transactions) to another environment (TBSC_DEMO). We have then
    modified members of all the dimensions and successfully processed it.
    We are trying to log on to Consolidation Model in BPC-Excel to create Transformations etc ... however, we are getting error "the number of bytes available is inconsistant with the HTTP content - lenght header.  There may have been a network error or the client may be sending invalid requests'. However, it gets connected to 'ownership' and 'rate' models without any issues.
    Also, if we try to create an Input Form and/or Report from BPC-Admin, and drag any dimension in Row / Column it throws an error - 'unhandled exception has occured'.
    NOTE: It was given to understand from one of the SAP consultant that IFRS kit has some 'KNOWN issues' about 'authorizations and/or security features. could you please let us know the resolution at the earliest?
    ALSO, If by any chance we are able to conenct to BPC-Excel, it shows only one dimension (ACCOUNT). Please see the attached screen shot for more details.
    Are we missing any settings?
    Please assist.
    Regards,
    Rashmi

  • Reports tool of using Dynamic Report Templates or live reporting

    Since both of them can be used to create report, what is the main differnece between them? do I have to use the live reporting if I want the report can be access though the web?

    JW,
    You are correct, if you need "real-time" interactive reports on the web then you would develop using live reporting.  If you want, you can develop reports using the dynamic report templates in Excel and publish them to the web as PDF or HTML docs, but once they get published to the web the data is static.  Note that book publishing of static reports can be scheduled within BPC so that you can regenerate nightly to the web portal if you wanted to.
    I would say most people would develop reports using dynamic report templates because Excel gives you more functionality for calculations, formating etc.
    Live Reporting on the web is more limited for formating etc.
    Additionally I always find that as soon as someone opens a report from the web they immediatly want to print it....  so I usually opt for reports being developed in Excel (Dynamic Report Templates) then Book Publish with the PDF option, (PDF gives you the best control regarding print ranges).
    Hope this helps.
    Regards,
    Brian

  • 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 in Crystal Reports XI

    Hi,
    Need to know about dynamic reporting feature using Crystal Reports XI.
    Is Business View helpful for dynamic reporting?
    Any link to get some material on dynamic reporting/ business views?
    appricate your comments.
    Thanks,
    Cherry

    In the SAP Service Marketplace, go to http://help.sap.com .  Under the Business Objects tab you can select Business Objects Enterprise, and in there is a Business Views Administrator Guide.  That should provide you all of the basic information on Business Views, how they work and how to use them.
    Business Views can be helpful to you depending on what you are looking to do with your data.

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

  • How to use both Static and dynamic Reports in WAD using a single template.

    Hi,
    I have 2 reports - Report1 & Report2. Report1 is a static report with 3 column in it. In WAD user does not want to see the third series in the chart so I have made series3 invisible in the chart.
    I am calling the Report2 via 'SET_DATA_PROVIDER_PARAMETERS' in the button option.
    Now the issue is that, Report2 is a dynamic report which is using a calyear vaiable range. As Report2 is using the template of Report1, Series3 of Report2 also gets hidden.
    Any solution for this?
    Thanks
    Nisha

    Hi Nisha,
    After setting the Report 2 DP thru SET_DATA_PROVIDER_PARAMETERS, you can use one more command SET_ITEM_PARAMETERS on the Chart webitem & edit the Series to make it visible. If there is a way to reset the DP back to Report 1, then you must once again use SET_ITEM_PARAMETERS to hide the Series.
    Or you can use another Chart webitem for Report 2 DP & make the Chart webitem for Report 1 hidden & the Chart webitem for Report 2 visible using SET_ITEM_PARAMETERS after setting Report 2 DP using SET_DATA_PROVIDER_PARAMETERS.
    --Priya

  • Dynamic Reports in java application

    Hi,
    I want to create dynamic reports in an java standalone application, I have downloaded the Jfreereport <http://sourceforge.net/projects/jfreereport>
    I'm not sure, whether it could get data from a JDBC source. (or is there anyother solution to generate dynamic reports in a java application?).
    Thanks in advance,
    Payam

    I generate reports from a webserver ( Tomcat ) in PDF using iText ( www.lowagie.com/iText ). It works great. JFreereport is also using this iText and you shouldn't have any problems using JDBC. Try to read the tutorial first about iText first. This will give you an idea how JFreereport works.
    - Dieter

  • Javascript popup in dynamic report

    Hello,
    I want to be able to use Javascript popup window from a dynamic report in Apex 4.0. Is there anything built-in to help me out? Or should I use my own javascript function in the header and call it?
    My idea would be that one column would have a icon with a link that calls a javascript function to popup a window.
    Any suggestions?
    Thanks all
    Btw, what is the markup for scripts, again?

    Try:
    javascript:popupUR

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

  • Create a dynamic report

    Hi,
    I would like to create a dynamic report in crystal report.
    put data fields, text fields, criteria parameters on report in run time.
    I will appreciate if you can send me an example code in java that creates and shows the report.
    Thanks,
    Anat

    So find the appropriate website and forum and ask there.

  • Financial Reporting Studio: Formula for percentages in Dynamic report

    Hi,
    I have a formula problem in Financial Reporting Studio vers. 9.20.582. I created a dynamic report with four columns:
    1. Column: Entities
    Entity A, Entity B
    2. Column: Accounts
    Account A, Account B, Account C
    3. Column A: Accounts
    Data for a selected period
    4. Column B: Formula
    Percentage Account B to Account A and Account C to Account A per each Entity
    My question is: Could I create a formula in 4th column that shows a percentage of Account B in comparison to Account A for each Entity (everything in one cell)?
    Because when I use for example the Formula Percentoftotal([a], [a,1(1)]) it shows for second entity B the wrong percentages.
    I hope this was understandable.
    Thank you very much for your help.
    Chris
    Edited by: user8009251 on 14.04.2010 00:45
    Edited by: user8009251 on 14.04.2010 00:46

    Hi
    Good question? I think, there is a solution.
    You can use the concept of multiple grid here.
    Please keep the referred grid at one place and use another grid where you want the formulas.
    Please mail me for further info: [email protected]

Maybe you are looking for

  • Access external database views on different tablespace

    Hi everybody, I'm trying to access a external Oracle database (dbcon entry is set successfully) and read data from a view wich does not belong to my schema. In other IDEs the statement is simple: select * from schema.view In ABAP the code looks like

  • How to re-use of handling unit number (SSCC)?

    Dear, We are implementing handling unit management to our customer and HU number is SSCC code. The inbound process intended to use is as follows: 1. Create purchase order with confirmation control key 0004 (shipping notification) and receiving storag

  • Wrong Color Mode unable to import?

    I shot over 700 RAW images using sRGB Color Space rather than Adobe RGB.  When I attempt to import the images into Lightroom I get a message:  "The following files were not imported.  The files use an unsupported color mode".  Can someone assist me i

  • Read the magnetic strip of credit/debit card

    Hi All, One of our clients has got a requirement to read data from the magnetic strip of debit card/credit card. We need to display the card information on Oracle Application Payment screen once card is swiped. Can anyone please help me in this regar

  • Getting the contents of a LONG RAW column

    Hi, I'm using Oracle 8.1.7 with JDK 1.4.0, and I've got a dilemma. I have a table that has several columns, one column is a LONG RAW, the rest are just NUMBER or VARCHAR2. I need to transer the contents of particular rows to another table with the sa