Query regarding pageno. in report

Hi team,
i have a requirement regarding report pageno.
like they want want to print 1 of 2 , 2 of 2 in report .
i have done this in smartforms but same thing isn't work in report , is there any other way to print , so please give me solution ASAP.
Thanks ,
Puneet.

HI Puneet Check this program.
REPORT  zbhu_dataset LINE-COUNT 3.
DATA : a TYPE i.
DATA : n TYPE i.
DATA : l TYPE i.
DATA : t TYPE i, t1 type i.
DATA : BEGIN OF itab OCCURS 0,
        a(5),
       END OF itab.
itab-a = 'Hello'.
APPEND itab.
itab-a = 'Hello'.
APPEND itab.
itab-a = 'Hello'.
APPEND itab.
itab-a = 'Hello'.
APPEND itab.
itab-a = 'Hello'.
APPEND itab.
DESCRIBE TABLE itab LINES n.
t = n / sy-linct.
t1 = t * 2. " 2 is the no.of manually displayed lines.
n = n + t1. " Gives Total No.Of Lines to be displayed(headings also)
t = n / t. " Gives total no.of pages
LOOP AT itab.
  WRITE:/ itab-a.
  WRITE: sy-pagno, '/', t .
ENDLOOP.
awrd points if helpful
Bhupal

Similar Messages

  • Query Regarding Early Watch Report

    Hi All,
    I have certain queries regarding the Early Watch Report.
    Our platform in Oracle 10g and OS is HP-UX.Please sombody help me with the following.
    1.What is Early Watch report and why we use it?
    2.How to configure Early watch report from Solution Manager for DEV and QUA and PRO server?
    3.If we dont configure will SAP take it from the system by logging in to client 066(correct me if I am wrong).
    I have read SAP notes 20722,917558,12103,371023 but cant really make out how to configure it for our servers via Solution Manager.
    PS:Helpful suggestions will be obliged and rewarded.
    Regards,
    Ashutosh

    Hi Ashutosh,
    Please check below answers for your queries:
    1.What is Early Watch report and why we use it?
    The SAP EarlyWatch Alert is a diagnosis service, for the solution monitoring of SAP and non-SAP systems in the SAP Solution ManagerThis process identifies potential problems early, avoids bottlenecks and monitors the performance of your systems. SAP EarlyWatch Alert monitors your most important business processes and systems.
    2.How to configure Early watch report from Solution Manager for DEV and QUA and PRO server?
    Prerequisites to configure the Early Watch Report:
    You have:
    ·        set up RFC connections between your satellite systems and the SAP Solution Manager system, and an RFC connection between the SAP Solution Manager and the SAP Service Marketplace.
    ·        checked the availability of the required tools for the SAP service session (ST-A, ST-PI add-on), with the report RTCCTOOL.
    ·        assigned the Solution Monitoring roles to the users.
    ·        set up the Automatic Session Manager (ASM) in the Service Data Control Center (transaction: SDCCN) for all SAP satellite systems and the central SAP Solution Manager of your solution (SAP note 91488).
    ·        set up your systems in a solution landscape in the SAP Solution Manager.
    Configuration steps:
    1.      You configure the SAP EarlyWatch Alert scheduling in the SAP Solution Manager.
    You have:
    ¡        scheduled the service sessions for your solution, in the SAP Solution Manager Solution Directory
    Procedure:
           1.      Choose the transaction SOLUTION_MANAGER.
           2.      Choose the Solution Landscape tab in the Operations Setup area.
           3.      Choose the Solution Settings link.
    You go to the Solution Directory.
    Alternatively, you can also select a solution from the Overview of active solutions and go to the Solution Directory.
           4.      Select your solution.
           5.      You can also enter contact person data in the Contact Person tab.
          Proceed as follows:
                                                      i.       Choose Add Contact Person.
                                                    ii.       Enter the required data.
                                                   iii.       Save your entries.
    §         The contact data appears in the Solution Monitoring sessions, e.g. in Set-Up Business Process Monitoringsapurl_link_0001_0004_0005.
           6.      Specify the settings for your solution, in the Solution Settings tab:
            Ex:  Day of SAP EarlyWatch Alert data download
    At the end save your entries.
    3.If we dont configure will SAP take it from the system by logging in to client 066?
    Yes, SAP uses this client when running the Early Watch Check.
    Hope it clears your doubt.
    Thanks
    Kishore

  • Query regarding Logical Database reports

    Hi,
    I have started doing pgm on Logical Database report using VBAK,VBAP and MARA. I took VBAK as the root node and VBAP& MARA as subnodes. The actual requirement is:- I am trying to place these tables in Application server for perfromance issue using Logical database. Based on sales, the items need to be be displayed. And based on Items, the material data should be displayed.So root node here is VBAK.
    I have created these 3 nodes in SE36 tx.code. when I go back to se36 main screen and under "subobjects" ,I've selected "selections". I got a dialog box saying that "Nodes for which free selections are to be made". I have clicked on the radio buttons.And then clicked on "transfer" . I am getting a runtime error . Please let me know the solution.
    Please do send me the actual process to go on with logical database reporting.

    hi,
    look here <a href="http://help.sap.com/saphelp_47x200/helpdata/en/9f/db9bed35c111d1829f0000e829fbfe/frameset.htm">Editing Logical Databases</a>
    pls reward usefuls answers
    thx.
    Andreas

  • Query regarding the ADDM Report

    Hi All,
    My DB performance was quite slow during the last weekend because we had a major data load job and dbms_stats.gather_schema_stats jobs running simultaneously. So, we got an ADDM report generated for these 2 days and from that i could extract 2 things:
    1. The performance was slow because the dbms_stats.gather_schema_stats job was running simultaneoulsy on it.
    2. I could see that some of the SELECT queries on the tables in the schema got executed 145445335, 35, 30 and 20 times repeatedly on the DB. Now this leaves me shocked. Can anyone possibly explain the reason behind it? Was it because a gather_schema_stats was also running on the DB? But how would a select be affected by it? Would it be because it had a exclusive locks on those DB objects during the time it was running?
    Kindly suggest.
    Thanks in advance.

    Hi,
    Thanks for your response.
    No, i cannot see any of the terms like library cache locks and library cache pins with those SQL statements. The only things is see is:
    RECOMMENDATION 1: SQL Tuning, 15% benefit (28820 seconds)
    ACTION: Run SQL Tuning Advisor on the SQL statement with SQL_ID
    "725bgkkhqs73v".
    RELEVANT OBJECT: SQL statement with SQL_ID 725bgkkhqs73v and
    PLAN_HASH 2688602638
    SELECT column1 from table1;
    ACTION: Investigate the SQL statement with SQL_ID "725bgkkhqs73v" for
    possible performance improvements.
    RELEVANT OBJECT: SQL statement with SQL_ID 725bgkkhqs73v and
    PLAN_HASH 2688602638
    RATIONALE: SQL statement with SQL_ID "725bgkkhqs73v" was executed 32
    times and had an average elapsed time of 900 seconds.
    Also, my DB is 10.2.0.3.0 and OS is HP-UNX B.11.23.

  • Query regarding Crystal Reports Server

    Hi,
    I am new to Crystal Reports.
    I have created a couple of .rpt files using CR2008 and I am loading these report files in my aspx pages using CrystalReportViewer control.
    I am planning to host my webApp on IIS in production environment. Maximum simultaneous/concurrent connections to my reports would be 1 or 2.
    My question is:
    1. Do I need Crystal Reports Server in this scenario?
    2. In future if the number of concurrent users to report increases then do I need to go for Crystal Reports Server? Will just buying and installing the Crystal reports server on production server work? or will I have to do some configuration or some other changes in the existing deployed reports? OR Will I have to deploy my existing reports on Crystal Report Server again?
    Any help will be highly appreciated.
    Thanks in advance,
    Manish

    Manish, please do not cross post:
    Query regarding Crystal Reports Server
    See the [Rules of Engagement|http://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] for more details.
    Marking this thread as answered and locking...
    - Ludek

  • How to find the name of query for a given report

    Hi All,
    I am having the name of a report and i need to find out the name of query for that report . Plz tell me how to find out the name of the query for a given report.
    Thanks.
    Regards,
    Pooja Joshi.

    Use this FM
    RSAQ_DECODE_REPORT_NAME
    This FM takes program name as I/P and gives Query Name as O/P.
    This FM uses the structure AQADEF to fetch the data.
    Hope this helps.
    Regards
    Vinayak

  • From scorecard Pass parameter to be used as Measure in query of analytic Grid report in PPS in SP2013

    From scorecard Pass parameter  to be used as Measure in query of analytic grid report in PPS
    Any idea of how we can pass this parameter while connecting scorecard and report
    any use of MDX in connection formula ?
    Parameter needs to be assigned on click of scorecard cell

    Hi,
    That API has restrictions on its usage. Please see http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_util.htm#CHDICGDA
    The lines to be referred to are Also, this method requires that the parameters that describe the BLOB to be listed as the format of a valid item within the application. That item is then referenced by the function.Regards,
    PS: Your report must be on Page 98 , so it is able to reference the item P98_NAV_IMAGE. List being a Shared Component it may not be able reference that Item.
    Edited by: Prabodh on May 28, 2012 3:16 PM

  • Editing the Query name for all reports in PRD.

    Dear All,
    I have created 25 reports using Query Designer.We have moved all the reports to BI Production. And Clients are using these reports using the Tool Bex Analyser.
    Every time they are navigating through open Query -> Info Areas -> Data targets and Query.
    Instead of going this way, is there any other way to Open a query easily.
    And they wants to modify the Report name and the Technical name for all the reports. Can we able to edit the Query name for all reports, or do i need to go for SAVE AS for all querys.
    Pls Suggest.
    Thanks,
    Ram

    Hi Ram,
    1. For the first question; if it user specific query then ask the users to save them at the FAVORITES so that there is no need to go to the dataprovider specific.
    Or they can create the reports as favorites user menu screen of that particular user.
    2. In order to change the technical name and description of the queries goto RSZC t-code> give the source and target infoprovider as same> select queries>click on the reports>click on transfer selections-->
    Then you get a screen to change the description and technical name.
    But this is pertained to Infoprovider level.
    You can see all the reports on the infoprovider (cube/ods).
    Hope you understood.
    Regards,
    Ravi Kanth

  • Query regarding GL

    Hi,
    We are on R12 and I have have a query regarding balances.
    I am writing a report and need to get the functional Actual balance(GBP) for accounts.
    Each account has a balance in one or more currencies. My understanding as per the TRM was that the period_net_dr/cr columns stores the balances in ledger currency for all Journals entered and posted in GBP, while the period_net_dr_beq and period_net_cr_beq stores the ledger equivalent balance for all Journals entered and posted in Foreign currency.
    However, when I query gl_balances, I notice the following :
    1) For a ccid, for GBP currency code, the period_net_dr_beq and period_net_cr_beq are being populated , why ?
    2) For certain ccid, for GBP currency code the period_net_cr_beq and period_net_dr_beq both are zero, though there is a value in the period_net_dr/cr columns.
    3) When I do an account inquiry from GL SuperUser, I can see that for a given period and account and for Currency type 'Entered' , the Balances window shows me the
    result of period_net_dr_beq-period_net_cr_beq columns for my GBP balance.
    I am a bit confused and would appreciate if someone can point me what am I missing ?
    Thanks

    OK, I have managed to figure this one out.
    The period_net_cr / period_net_dr stores the sum of functional balances(includes the GBP journals + the functional equivalent of the non gbp journals) . Its like a running total of the functional balance.

  • Query of Default Documents/Reports

    Dear All,
             I want to get the Query of Default Documents/Reports , like Purchase Analysis (Purchasing Reports), Open Item List (Sales Reports) etc.
    Thanks,
    Ghazanfar Ahmed

    Hai!
    To view System Report Queries (Purcahse Analysis,TB ..)
    You can able to see this through SQL Trace.
    Open SQL Management Studio.
    Open Tools>Sql Server Profiler.
    Open File>New Trace.
    This will continously trace the changes done in SQL.
    Open the Purcahse analysis report now in SAP B1. U will get the query from Trace Window
    Regards,
    Thanga Raj.K

  • Performance tuning of a query in Hyperion Interactive Reporting Studio.

    Hi All,
    Cud some one please tell me... what are the possible ways that one can enhance the performance of the query in Hyperion interactive Reporting studio.. ??
    Thanks & Regards,
    Raj

    Topic Order Priority...Data Model Options
    Use Hints/Directives
    Ask DBA to review the SQL Generated by IR --- TopMenu - View - Query Log

  • Query regarding infotype

    hi sap experts i have a query regarding infotypes ..
    which infotype displays EEO Exmpt indicator and EEO reporting  unit  indicator and job classification ..please let me know ..
    thanks in advance,,..

    Hi,
    Its infotype 1610.
    Regards,
    LNB

  • Create T.Code for a query that looks like Report VF05

    Hi,
    I'm facing a problem right now.. I made a Query with SQVI, then I converted it with SQ01.. It is a report that looks like VF05 but has the column EAN/UPC Code added on it.
    Now I am trying to create a T.code to run this report, using SE93.
    So, I called the T.Code ZVF05, and then I tried to Create it, but then I don't know what Start Object I should choose: I first choosed "Program and screen", I gave the field Program value "SAPMS38R" and Screen name "180" as seen in the my Query
    , but when trying to test it, I receive the message: "Incorrect program type with Submit"
    What would you suggest to make this TCode work?
    PS. Please note that I am SD functional consultant, not a ABAPer...
    Edited by: Cristiana Vasile on Oct 13, 2008 2:23 PM

    Hi,
    In SQ01, Menu-> Query->More Funcitons->Generate Program
    Once done, Get the program name:
    SQ01, Menu-> Query->More Funcitons->Display report name..
    With this report name. goto SE93 and create a report transaction with the program name = Query program name obtained above and Screen no 1000.
    Alternatively Goto SE38 and give the Query program name obtained above  and then Execute
    Regards
    Shiva

  • Urgent query regarding performance

    hi
    i have one query regarding performance.iam using interactive reporting and workspace.
    i have all the linsence server,shared services,and Bi services and ui services and oracle9i which has metadata installed in one system(one server).data base which stores relationaldata(DB2) on another system.(i.e 2 systems in total).
    in order to increase performance i made some adjustments
    i installed hyperion BI server services, UI services,license server and shared services server such that all web applications (that used web sphere 5.1) such as shared services and UI services in server1(or computer1).and remaining linsence and bi server services in computer2 and i installed database(db2) on another computer3.(i.e 3 systems in total)
    my query : oracle 9i which has metadata where to install that in ( computer 1 or in computer 2 )
    i want to get best performance.where to install that oracle 9i which has metadata stored in it.
    for any queries please reply mail
    [email protected]
    9930120470

    You should know that executing a query is always slower the first time. Then Oracle can optimise your query and store it temporary for further executions. But passing from 3 minutes to 3 seconds, maybe your original query is really, really slow. Most of the times I only win few milliseconds. If Oracle is able to optimize it to 3 seconds. You must clearly rewrite your query.
    Things you should know to enhance your execution time : try to reduce the number of nested loops, nested loops give your an exponential execution time which is really slow :
    for rec1 in (select a from b) loop
      for  rec2 in (select c from d) loop
      end loop;
    end loop;Anything like that is bad.
    Try to avoid Cartesian products by writing the best where clause possible.
    select a.a,
             b.b
    from  a,
            b
    where b.b > 1This is bad and slow.

  • Query regarding moving components

    I have a JPanel (call it panel1) in another JPanel which has setlayout(null).
    i want to be able to "drag" around panel1 in the other panel.
    i used a quick method of adding a MouseMotionListener to panel1, and under mouseDrag(mouseevent e) had the panel just reset its setLocation to the current getX getY coordinates.
    This method does not work well, with the panel flickering abit, and not following the mouse too well, and even at some points jumping to a random location.
    Whats the best way of achieving this?
    thanks for any help in advance

    Hi,
    Thank you very much for the response. I have a query regarding the same. If i am making changes only in one single report and i am moving it to the quality. Now again i am making changes in the same report and saving it in a different request and moving it to the production. in this case, i wanted to know whether the whole changes made in the first and second request will reflect in the production or only the 2nd request's change will only reflect (since it is only a single report. there is no include in the program)
    Kindly send ur suggestions.
    Best regards,
    John

Maybe you are looking for

  • Wireless Configuration: HP Photosmart Premium C309g-m

    I had no difficulty in configuring 27" iMac to communicate wirelessly with HP C309g-m. Doing the same for Macbook Air has me stymied. The set up has me go to this page: http://hpf5e3a5.local./index.htm?cat=network&page=device Selecting (left sidebar)

  • Low resolution Logic Pro icon

    Just upgraded to Lion and downloaded Logic Pro from the app store. I am wondering how to get rid of the low resolution icon that it gave me upon download. I have already replaced it multiple times with high resolution icons, no dice. Still pixelated/

  • Use Chains, or PL/SQL Block of calls.

    I currently have a half dozen cron jobs that kick off different batches of processing. Originally, these were generally a sequence of C programs that did different operations (fetch student info from student record system and load into IdM system, pr

  • Help - can't see shared printer on MBP

    Hello, I'm trying to share a printer on our wireless network. We have 2 MBP, the printer is plugged into one via USB. The option to share the printer is ticked. When I go into the add printers on the other MBP it's no where to be seen? Any ideas? Tha

  • Safari 4.0.3 Develop menu user agent default

    I have noticed that whenever a new window is opened the user agent defaults to "Mozilla/4.0(compatible-MSIE 6.0 Windows NT 5.1-SV1-.NET CLR 1.1.4322". Can I change the default to safari 4.0.3-Mac?