APEX variable for rowcount of standard report?

Hi Folks!
In the pagination for any APEX report there is this "X-Y-Z" option, with Z displaying the number of rows selected. This "Z" I need.
In my report I have several filter options, and I would like the user to get a feedback about how many rows are selected like "X/Y", with Y being a precalculated number, and X the number of rows returned. Now I could run the entire report a second time, storing the count(*) result in a page item, but if there is a variable already existing in APEX (for the pagination) that would certainly make things a little easier. I havn't found anything yet with searching, but most probably one of the experts here knows how to access that value.
Thanks and greetings,
Tobi

You are supposed to be able to get the required information using the #TOTAL_ROWS# and #LAST_ROW_FETCHED# substitution strings in the report region footer.
Note that for #TOTAL_ROWS# to work the report must use a pagination scheme that calculates the total number of rows, such as "Row Ranges X to Y of Z (with pagination)".
However, the #FIRST_ROW_FETCHED# and #LAST_ROW_FETCHED# are currently not changing when I test it. Either these substitution strings are not compatible with the partial-page refresh mechanism now used for report pagination, or this is a bug.

Similar Messages

  • How to define variable for below scenario in report

    Hi,
         iam designing a report in that report  if i enter the user selection was for Fiscal Year/Qtr = 2008/Q3, the data retrieved will be the Fiscal Year/Quarter selection and for the last 20 Launch Year/Quarters based on the Fiscal Year/Quarter i.e. from Launch Year/Qtr 2003/Q4 to 2008/Q3.
         how to acheive this in report. plz help me

    Hi ,
    Need to Use exceptions & conditions for this scenario's  & need to create variable for exceptions based on condtions.
    Below document provides steps how to make selections at run time for a kfg.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60b33a28-dca2-2d10-f3b2-d2096b460b1e?QuickLink=index&overridelayout=true&48842368468641
    Regards,
    Seshu.P

  • Single singon for the Discoverer+Standard Report

    Hi
    We have build discoverer report and standard report in our implementation
    I like to know is there any possibility to make it as a single sign on so that the user will be able to view all the reports(discoverer+standard) when he logs into the application instead of again logging into the discoverer viewer to view the discoverer report
    Has anyone came across this scenario Please advice me on this
    Regards
    Ramesh Kumar S

    Hi Ramesh
    You can use the ICX%Discoverer profile to set up the link between E-Business Suite and Discoverer. You also have to make sure that if Apps is running in Secure mode that Discoverer is running in HTTPS mode, otherwise the ICX file will try to setup secure security which the standard Discoverer cannot understand.
    You would still have to create a custom menu if you wanted to display a list of Discoverer workbooks inside Apps. As for creating reports using Desktop, why would you be doing this? You should be using Plus. There are too many new features available in Plus that you cannot take advantage of from within Desktop plus I have seen instances where reports created in Desktop will not open in Viewer.
    I have to question the single user concept though. This is far too dangerous and breaks all Sarbanes-Oxley auditing requirements. You ought to be using private connections and not a public connection. Are you aware that if all users gain access to all reports and all data that all security is blown out of the window? Also, any user will be able to change or delete any report and you will have no idea who did it because they will all be using the same connection.
    My advice would be to rethink your approach and come up with a more secure mechanism using private connections.
    Best wishes
    Michael

  • Materials for modifying Oracle Standard Report

    Hi,
    I need to modify Oracle Standard Reports.
    Is their any material or documentation how to do it...?
    If some one could give me the link or documentation that would be really great full!
    Thank you!
    -Preetha.

    hi
    which type of modification u want explain me i will tel u soluation
    Rizwan

  • Text Variable for Top N in Report Name

    Hi Friends..
    I am using a Top N condition in my Report and need to take in value of N from the user and also display it in to title of the report.
    The Text variable wizard does not give me the option to populate a variable value in the title..
    Any ideas would be appreciated..
    Ashish..

    Hi Dorothy,
    Once I press the variable button ..I know I can create a text variable over a characteristic..
    My problem is that I have a Top N Variable created in the conditions which is populated by user entry and I need to populate my text variable in the report title by the value of N which the user enters..
    Hope you understand my problem
    Ashish.

  • "Login Failed for user" in Standard Report Creation Wizard

    I am trying to create a report using the report wizard in CR 08. When I choose new connection ==> OLE DB(ADO)==>Microsoft OLE DB Provider for SQL Server and enter the Server and user ID (no password), I get the error "Login failed for users".
    SQL State: 42000
    [DataBase Vendor Code: 18456]
    I was using CR 10 and called the 1-866 # and was told to try it wil CR 08 and Im getting the same error. I know the log on information is correct because I use the same server name and userID to login with SQL Server management studio and Visual Studio 08.
    Please let me know what I can do to link CR to my SQL Database.
    Thanks,
    John

    How is your user accessing the site? 
    Did you extend it to a different zone, and if so what authentication provider are you using for that zone or is it the same zone?
    Looks like the domain is a workstation name?  are they logging in with valid credentials for the WIN-IMH9QUCN1FU workstation, which may be different than what they usually log in as?
    ieDaddy
    Blog: http://iedaddy.com
    Twit: @iedaddy

  • Create New Variable for COPA Drilldown Reports in KE3E

    Hi,
    How can we create a formula variable for COPA Drill down reports in KE3E? In standard global variables formula variable is not avaiable, I need to create a formula variables like ...from period, to period, last fiscal year and next fiscal year..
    While creating report in KE31/KE35 trying create local variables, but it doesn't.
    Can any body advise how can we create a new variables for  "from period, to period, last fiscal year and next fiscal year.."
    Thanks
    VS Rao

    Hi Rao
    For Period (From &To)
    1. KE3E
    2. Type of Var = Char Value
        Enter variable name, say, ZPERIOD
        Field Name = PERDE
        Replacement type = Entry
        Enter Description
        Parameter/selectop = Selection Option
    For Fiscal Year
        Type of Var = Char Value
        Enter variable name, say, ZGJAHR
        Field Name = GJAHR
        Replacement type = Entry
        Enter Description
        Parameter/selectop = Parameter
    For Next and Last Fiscal Year
    When you define your form in KE34/KE35
    Use the variable ZGJAHR in your report
    In the column for Next Year, Enter "ZGJAHR+1" as the local variable for GJAHR
    In the Column for Last year, Enter  "ZGJAHR-1" as the local variable for GJAHR
    Regards
    Ajay M

  • Standard report for period end stock report

    Hi all,
    My client is looking for a SAP standard report for material.Their req is as follows.
    Open Bal (Stock)
    Add: Purchase/Production
    Less: Sales/Consumption
    Closing Bal(Stock)
    I have sugegested them MC.9,MB51,etc....but they are not satified.
    They are not willing to go for a 'Z' report too....
    Can any one suggest me whether their is any function module or bapi or badi thro' which i can fullfill my clients req. or any other better alternative like report painter,set,etc which suit my requirement.
    (can you please let me know from table i can get these datas......just for knowledge purpose)
    hope that anybody will guide me...
    We are in 6.0 version
    God Bless
    Regards

    Try Standard Report MB5B once.
    Regards,
    Ashok

  • 1099 Misc reporting for US in SAP Standard report not containing any value

    HI All,
    In my current clients requirement is to get the SAP Standard reprort for 1099 Misc reporting for US
    1) Accordingly i have done configuration for Withholding tax for US with tax type FE
    2) There are 14 WHT Tax codes under FE , like 01 = Rent , 02 = royalty, 03 = other income etc.
    3) Assigned Tax type  with Co. Code
    4) Activated WHT tax at Co. code
    5) Created WHT country US
    And also assign WHT tax type FE and respective tax code to vendors in Accounting info in Vendor Master
    Posted couple of vendor invoices and made payment for those also
    Then after this when i run the SAP Standard report for 1099 Misc reporting for US , then the output contains with no data..  but only contains vedor names and WHT tax code which i have assigned..
    I think i have missed some configuration may be . Can any one let me know the detail step by step config and process how to get proper out put in 1099 Misc reporting for US in Standard reporting..
    Regards,
    Sandip

    Hello auroar,
    I followed the path that you provided and that lead me to this part of the tree: Define File Format for Withholding Tax Reporting...This is where I found the information that I needed.
    Thank you very much.
    -Patrick
    Edited by: Patrick Smith on Oct 22, 2009 8:41 PM

  • SAP Standard Reports for HCM

    Dear All,
    please suggest that following reports are availbale in Standard Indian Payroll or not.
    Sno     Report Name
    1     Form21
    2     Form22
    3     S.S.N Form
    4     Overtime/good Work Incentive report
    5     Changes in Payslip(PC00_M40_CEDT)
    6     Dept. wise Salary register(HO)
    7     Salary summary(Branches)
    8     Dept. Wise Monthly PF
    9     Dept. wise Monthly ESI
    10     TDS and Advance Tax
    11     Arrear Sheet
    12     Arrear ESI Monthly Report
    13     CTC Details/ stack up sheet
    14     LTA& Medical
    15     Leave Encashment
    16     Bonus
    17     Bonus Summary
    18     Bonus submitted annually
    19     Contractor details
    20     Attendance upload
    With Regards
    Ashwani

    Hi Ashwini,
    For Indian Payroll standard reports: Reports related to Income Tax you can go to
    SAP Easy Access  Menu-> Human Resources ->Payroll ->Asia/Pacific -> India -> Subsequent Activities -> Annual -> Legal Reports -> Income Tax
    Here you can get standard reports for PF, Pension and other statutory reports.
    Thanks & Regards
    Pallavi

  • Standard report in SAP materials ordered

    Hi Guru's
    Can any one help me for getting a standard report in SAP where one can track the materials ordered. That is when the materials have to be delivered, the date when the vendor despatched the goods, when we received it i.e actual GR date etc.
    Thus it gives all the dates, the quanties etc... so that we can find exactly where the delay is happening and remind the vendor for this particular order.
    Best Regards
    Mouli

    Hi Mouli,
    If you want send reminders for deliveries, then you can do that in advance or after the desired delivery date with ME91F
    If you only want monitor open POs that are late, then you can do that in ME2M or ME2L by using selection parameter WE101 and setting the delivery date to today and add with F2 the smaller sign.
    Do you record the date when the vendor dispatched the goods in your PO's ? it is possible with shipping notification.
    A report showing all this info must probably be developed by yourself, if you are not satisfied with the options in ME2M ME2L.
    It may very usefull to you
    Regards
    Madhu

  • Calling standard report to my custom report

    Hi ALL,
    i need to call a standard report into my custom report
    for example :
    i am having a report with all PR related data
    now i am having nearly 20000 purchase requisitons and there related data .
    now i will get all the Source of supply for each PR
    using bapi BAPI_SOURCEDETERMINE_GETSOS.
    now i am having all the PR's and source of supply
    then i need to assign source of supply .
    using the standard report RM06BZ00.
    then how to call this report and assign source of supply .
    Will be there any performance considerations for calling this report in a loop (20000)
    and how to catch the result
    if source of supply  was assigned ok
    if not how.
    Thanks in advance .
    siva

    Hi Prabhu,
    Use the Submit Statement for calling the standard report u can use the options available with the submit statement for passing any parameters ,
    for reference u can refer following code....
    MOVE: 'S_LIFNR' TO seltab_wa-selname,
            'S'      TO seltab_wa-kind,      " SELECT-OPTION
            'I'      TO seltab_wa-sign,
            'EQ'     TO seltab_wa-option,
            ct1_key-lifnr TO seltab_wa-low.
      APPEND seltab_wa TO seltab.
      CLEAR seltab_wa.
      MOVE: 'S_DOCNO' TO seltab_wa-selname,
            'S'      TO seltab_wa-kind,      " SELECT-OPTION
            'I'      TO seltab_wa-sign,
            'EQ'     TO seltab_wa-option,
            ct1_key-docno TO seltab_wa-low.
      APPEND seltab_wa TO seltab.
      CLEAR seltab_wa.
      MOVE: 'S_DOCTYP' TO seltab_wa-selname,
            'S'      TO seltab_wa-kind,      " SELECT-OPTION
            'I'      TO seltab_wa-sign,
            'EQ'     TO seltab_wa-option,
            ct1_key-doctyp TO seltab_wa-low.
      APPEND seltab_wa TO seltab.
      CLEAR seltab_wa.
      MOVE: 'P_CT1' TO seltab_wa-selname,
            'P'      TO seltab_wa-kind,      " SELECT-OPTION
            'I'      TO seltab_wa-sign,
            'EQ'     TO seltab_wa-option,
            'X' TO seltab_wa-low.
      APPEND seltab_wa TO seltab.
      CLEAR seltab_wa.
      SUBMIT zexc_ct1_prg
       via selection-screen
          WITH  SELECTION-TABLE seltab.

  • Standard Report Customization

    Hi All,
    I am wanted to Customization for existed oracle standard Report(VAT Sales Report).I just want to add 4 more fields.
    So that i have increase the "Main section width and hight" While i am trying to expand the Main frame i am getting the error follow
    "REP-1212: Object 'Body' is not fully enclosed by its enclosing object ''."
    Please can any one help me?
    Or please tell me the prerequisite setups for the rdf to customize it.
    Thanks in advance.
    Regards
    Raghavendra Nara

    From Reports builder help:
    REP-1212: Object '<object name1>' is not fully enclosed by its enclosing object '<object name2>'.
    Cause:  
    The possible causes of this error include the following:
    Case 1: An object is not fully enclosed by the page. That is, the object extends beyond the page boundary.
    Case 2: A repeating frame that forms a matrix is one or more layers above a repeating frame that it contains. In a matrix layout, repeating frames must be below repeating frames that they contain.
    Action:   You can take the following actions to correct this error:
    If Case 1: Move or resize the object so that it does not extend outside the page boundary. Alternatively, increase the page size in the Report Property Inspector.
    If Case 2: Using Arrange--\>Send to Back, Arrange--\>Bring to Front, Arrange--\>Move Backward, and Arrange--\>Move Forward, arrange your repeating frames such that, in terms of layers, the following is true: repeating frames are below repeating frames that they contain and down repeating frames are below across repeating frames.

  • NEED ALVGRID  MATERIAL  TO CONVERT STANDARD REPORT

    NEED ALVGRID  MATERIAL  TO CONVERT STANDARD REPORT
    THANKS IN ADVANCED.

    To my Knowledge there is not method for converting a standard report to alv grid.
    U just collect the required data to final internal table and then build field catlog.Use this field catalog in the function module.
    Check the following program it may help u.
    report z_example.
    TYPE-POOLS         slis.
    TABLES : qals.
    DATA : BEGIN OF t_out OCCURS 0,
    matnr LIKE qals-matnr, "MATERIAL
    werk LIKE qals-werk, "PLANT
    art like qals-art, "Inspaction Lot Type
    objnr like qals-objnr, "Object Number
    END OF t_out.
    DATA : i_fieldcat TYPE slis_t_fieldcat_alv,
    i_layout TYPE slis_layout_alv,
    gs_layout TYPE lvc_s_layo,
    g_repid TYPE sy-repid,
    ls_fieldcat TYPE slis_fieldcat_alv.
    SELECT-OPTIONS:s_prflos FOR qals-prueflos.
    INITIALIZATION.
    g_repid = sy-repid.
    i_layout-zebra = 'X'.
    i_layout-colwidth_optimize = 'X'.
    START-OF-SELECTION.
    PERFORM fetch_data.
    END-OF-SELECTION.
    PERFORM fill_fieldcat.
    PERFORM display_alv.
    FORM fetch_data .
    SELECT matnr werk art objnr
    FROM qals
    INTO TABLE t_out
    WHERE prueflos IN s_prflos.
    ENDFORM. " FETCH_DATA
    FORM fill_fieldcat .
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    i_program_name = g_repid
    i_internal_tabname = 'T_OUT'
    i_inclname = g_repid
    CHANGING
    ct_fieldcat = i_fieldcat[]
    EXCEPTIONS
    inconsistent_interface = 1
    program_error = 2
    OTHERS = 3.
    ENDFORM. " FILL_FIELDCAT
    FORM display_alv .
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    i_callback_program = g_repid
    is_layout = i_layout
    it_fieldcat = i_fieldcat[]
    TABLES
    t_outtab = t_out
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    ENDFORM. " display_alv
    Regards

  • How to change the text variables for a standard report-writer report ?

    I am trying to change the text variables for a report -writer report and transport the same so as to change the title page and the report output heading  .I know the Report-Group 6Z02 and the library 6O1 to which it belongs.I tried using the change transaction GR32 after going to the area menu through FGRP . I try to change the text variables through  but it throws an error "You chose a name in the reserved name range - try different name ".
    I have also tried copying this report into another report and changing the new report . I was able to change and save the text variables . Now when I try to overwrite the original report 6Z02-001 with this new report , it does not allow that.
    Let me know how I can change the text variables for the same

    Can anyone please suggest me what to do here ?

Maybe you are looking for

  • Third Party Control Account?

    Dear all, Does anyone know how can I make use of "Third Party Control Account" in R12 financials? Any real cases we can make sure of third party control account? Thanks.

  • MSVCR80.dll is missing from my computer. What is that?

    MSVCR80.dll is missing from my computer. What is that?

  • FRM-92102: A network error or server failure has occurred.

    Hi I am trying to access a shared Vision instance in Solution Beacon. I am getting the below error while accessing forms FRM-92102: A network error or server failure has occurred. The Forms client has attempted to reestablish its connection to the Se

  • Missing option in 12.0

    " Allow Text to be selected with the keyboard " this option is available in older version under " Tools " > "Advanced " > General Tab, I am using newer version 12.0. Where can I find similar option here. The reason behind is, we have a website, where

  • Authorization objects details

    Hi everyone, How can I get the list of all authorization objects and their details for a specific user ? Is there a function ? Thanks. Regards.