Change an existing report

1) I have created a Oracle Report that takes an employee id as a parameter and display the employee details .
2)Now I have been told to create another report that has the same format only difference now is that the report should be generated for all employees in the database.In short employee id will not be provided and the rdf should generate reports for all employee similar to first one.
I am new to Oracle Report and couldnt understand how to achieve it.
please help

In short my query for my first report (one employee report) was
select emp_name,emp_age,emp_sal from emp where emp_id = :p_emp_id;
select emp_sex,emp_sex_desc from emp_sex where emp_id = :p_emp_id;
select emp_benefit,emp_benefit_desc from emp_benefit where emp_id = :p_emp_id;
Now for second report I will be using all the query above ,and an additional
select * from emp;
but wondering how in the report I can relate the each record I read from the query above should go as input parameter to the remaing three queries and dsiplay the emp details.I have no idea on how to relate all the query in the report.
thx
manohar.

Similar Messages

  • Changes to existing Reports,Dictionary objects when we migrate DataBase to SAP HANA

    Hi Experts,
               Can you please let me know the changes that effect to existing ABAP Dictionary objects, Reports, MPP etc... that we build by using ABAP if we migrate our underlying database to SAP HANA from any RDBMS.
                           Thanks in advance.
    Regards,
    Sandeep Rajanala

    Dear Sandeep Rajanala,
    In general the existing ABAP code(reports, classes, module pool programs, function modules etc) runs on SAP HANA as before and the existing dictionary objects like tables, views, DDIC types and structures continues to exist and work as before after migration.
    However if the existing ABAP Code relies on the technical specifics of the old database , ABAP Code changes might be necessary(which is the case for any database migration ).
    For example,
    Your ABAP code uses a feature that is specific to the old database and not in the SQL standard and therefore not in Open SQL(consumed via Native SQL using EXEC SQL or ADBC interface)
    You have ABAP code that relies on unspecified undocumented implementation behaviour of the old database
    the above cases may need minor code changes in ABAP during HANA migration inorder to ensure that your ABAP Code runs with functional correctness after migration.
    The SAP note 1785057 gives guidelines on migrating the existing ABAP Custom Code for HANA.
    Additionally we have several code inspector checks to find the ABAP code that requires changes and you can find details about these check in SAP note 1912445.
    In addition you can find an elaborate guide for transitioning custom ABAP code to HANA here which has a dedicated section on required and recommended adaptations during custom code migration.
    You can also find the recording of the SAP Teched 2013  hands on session which focuses completely on ABAP Custom Code migration aspects for HANA here
    Hope this answers your question and gives you some pointers on how you could prepare your ABAP for migrating to HANA.
    Please revert back if you have further questions.
    Best Regards
    Sundar.

  • Report Painter:How to change an existing report parameter to a SELECT optio

    Hi ,
    We have an already existign report, taht exists only in QA, How could we chnage the report such that the existing paramenter period would show up as SELECT option instead of a parameter.
    I have no experience with report painter.
    Thanks,
    Vinotha M

    I do not have any idea about Report painter and So dont know how I could do this.
    Please help with this.
    Also this report now does not exist in the development server.

  • Change the existing Reports to point to a renamed Universe

    Hi All,
    I have a universe named X1 and today I wish to change the name of the universe to X2.
    I have around 150 reports pointing to the universe X1.Is there a way to change the all the DeskI reports to universe to X2 at one go.
    I know that In deski we can go to the data manager >definitions> universe and then select the universe in the list.
    The version I am using is Business Objects XI R2 and all the reports are DeskI reports.
    Do we have any solution instead of going and changing it individually?
    Regards
    Prashant

    Hi.
    Maybe other option could be importing the universe using universe designer, in universe params change the name and export to CMC in the same path .
    The system should ask you about if you want update the universe, changing the name in all the reports.
    Please, try before with one test universe because i'm not sure....
    Good luck!

  • Change font old reports version 2.5.5.8

    Hi,
    Have to change an existing report in reports version 2.5.5.8
    When I make the change the font is automatically changing
    from default times to something that looks like verdana or it might be
    that it just goes to italic.
    I have no experience with reports and there's nobody else
    here, so please if there is any ancient guru out there I really hope
    you can help me here.
    Specifics: Oracle 7.3.4 client on HP-UX 10.20, Oracle 9.2.0.4 RDBMS
    on HP-UX 11.11
    Tnx in advance,
    Jeroen

    Yes your Router is compitable with Vista OS. The router which you have is quiet and older version, So in this case just you need to upgrade the firmware of your Router, and it will work perfectly fine with your both the computers.
    Go to website linksysbycisco.com/downloads.........insert model no of your router in serach tab......select proper version of your router........download the firmware file......save that file on desktop...
    Follow these steps to upgrade the firmware on the device : -
    Open an Internet Explorer browser page on a computer hard wired to the router...
    In the address bar type - 192.168.1.1...Leave the Username blank & in Password use admin in lower case...
    Click on the 'Administration' tab- Then click on the 'Firmware Upgrade' sub tab- Here click on 'Browse' and browse the .bin firmware file and click on "Upgrade"...
    Wait for few seconds until it shows that "Upgrade is successful"  After the firmware upgrade, click on "Reboot" and you will be returned back to the same page OR it will say "Page cannot be displayed".
    Now reset your router :
    Press and hold the reset button for 30 seconds...Release the reset button...Unplug the power cable from your router, wait for 30 seconds and re-connect the power cable...Now re-configure your router...

  • Presentation Layer column name change effects on existing reports ?

    Hello Gurus,
    I have one requirement where user are not sure about the column names in Presentation Layer.
    so they want us to create the reports and once the reports are delivered they will give us the column name as per their requirement.
    now i read couple of blogs related to this, that does it affects the exiting reports?
    in couple of blogs they says that i won't. becaus BI server creates the alias for the old name and will reflects it wherever it's used in reports..
    So can anyone tell me where this alias name has been stored in OBIEE?
    and is there any precaution that needs to be done while doing this beacuse we are expecting to create around 40-50 reports and changing the column name after changing the presentation layer name change will increase lots of work..
    Thanking You..

    I've confirmed it on a 10g environment that when you rename the column in the RPD the existing reports reflect the change.
    What I was referring to in the statement you highlight is that a column name can be changed when being used as the definition of a report. If somebody specifies an abbreviation of the current name to fit it in a table or chart then it will not be updated from a name change in the RPD.
    So long as you build reports using the name provided by the RPD and none of the developers take the liberty of renaming it in the column properties of the request/analyses the single rename should take effect through all the reports you build.
    You can also manage the column name by renaming it in a report and using the save as system wide default. But the way you intend to do it would be the best method.
    Edited by: James - Projected on 25-May-2012 14:07

  • Change subject area of existing reports......

    hi all
    Is it possible to change the subject area of the existing reports.
    in my case i had 3 reports on my dashboard having different subject areas.
    i went to the rpd level. and created a new subject area within the rpd which consists of all the 3 subject areas.
    is it possible, that i can use this new integrated subject area for my reports and dashboards that i creatd
    regards
    mahis

    go to the advanced tab of each request/report
    then you find Enter the name of the Subject Area field.. where you see your old subject area
    replace that with your new subject area name..
    Note: need not to click on Set SQL
    you also can do that in catalog manager.. open that report, right click properties > edit xml, replace old subject area name with new one...
    but, i prefer first one
    finally, why your all threads are opened?
    close them if they answered and respond back to them by assigning points..
    Edited by: Kishore Guggilla on Nov 26, 2010 5:55 PM

  • How to change existing reports of sap with CR

    Hello Professionals,
    I need your help on the following matter:
    We recently updated one of our costumers from 2007 to SAP B1 version 8.8
    So, now we are able to use the Crystal Reports-Viewer for most of existing standard-reports of SAP, such as the report for open invoices and so on.
    To the question:
    Our costumer wishes to change the report - instead of information like the installement no. (the costumer doesn't work with payment installements at all) he wishes to have other information, like card code and tel no. within the report.
    Now I tried to implement those informations. But I can't, because I don't know how to link the tables concernig primary keys and so on. And where can I find those "PLD-ITEMS"-tables??
    Can you help me please and hand over some further "how-to-information"?
    Thanks in advance,
    best regards,
    daniel

    Hi Juli,
    The procedure of how to link those table is pretty clear - so theoretically I know how I have to proceed within Crystal Reports in order to get some more - more or less useless - information into an existing report by linking some other tables perjoins into an query.
    The Problem is - to connect the ocrd or other tables concerning the business partners to the report I need the possibility of a correct and smart link. I can't think of any for a connection to the ritm-table. Gordon mentioned  that table in a comment before.
    Hi Gordon,
    meanwhile I got access to the help-information of the sdk. But how am I supposed to find the right information there? I've been into the section Customization Tools - Database Tables References.
    To tell the truth - I got problems understanding those infos and even more important: within the section reports I can't find further information to the open docs-report - is it a 'standard report'?
    Greetings and good start into the week tomorrow,
    daniel

  • Change Selection criteria for existing report in Report painter

    Hi Experts,
    We are on 4.7, using report painter for getting reports for Cost center & Profit Center. For one of the report we have selection criteria as Cost center and cost center group, but now user want us to add new selection field as Cost element and cost element Group to same report. We have tried all the options from GR32 ->Edit-> General Selection, but we don't find cost element in Key figure listed there.
    Please let us know how can we add the new field to selection criteria. We also would like to know is this is possible with existing report  to add new fields or not? Is that we need to create new report for this?
    Thanks in advance..
    Shilpa

    Shilpa-
    In my opinion the best way to troubleshoot issues like this is to go to SAP delivered standard reports and see how they are setup. For example, in your case you want to add cost element and cost element group to your report. There is one standard report from SAP - Transaction :S_ALR_87013611 which has both cost center, cost center group and cost element, cost element group in the selection criteria. You can look how this report is set up, and maintain your report in a similar fashion. Atleast this way, it will give you an idea.
    Go to transaction code GRR3 and under library look for report "1SIP-001". By double clicking on the row, you will see how it is maintained.
    Hope this helps.
    Shail

  • How do you change the connection of an existing report?

    I have a series of reports that I have to change the database connection. We had a database go down and I recovered onto our development database and am pointing the production servers to that database. I need to change our custom reports which are built on commands to point to the new database. Everytime I try to do that it deletes all of the fields off the report. Does anyone know of a method where I do not have to re-create all these reports tonight?

    I figured it out. Instead of DB Expert you take the enxt option to Set Data Source Location.

  • Change datasource in existing report

    Hi,
    I have created a WebI report (SAP Business Objects BI Platform 4.0 Client Tools (version 14.0.2.364)), on top of a BEx query. The report has one crosstab table with additional variables created. I now want to change the original BEx query to a new BEx query. Is it possible to make that change without changing the entire report? Is it possible to change just the underlying query? Please help! Thanks!
    -Janice

    Hi,
    the workflow you need to follow is:
    Data -> Data Provider -> Tools -> Change Source -> Query -> Specify new source -> Select data Source -> BEx  etc..
    This will bring up a wizard where it will make assumptions about object mappings. you need to confirm or modif these.
    Providing that the master and meta data isn't too radically different in the new target BEx, you're report may survive
    Regards,
    H

  • Does a Master Data Change Log or Report Exist?

    Does anyone know of a master data change log or report?
    Such a log or report would show all changes made to cons units, cons groups, and items; including additions, deletions and changes to a hierarchy.
    We hope to use this to synchronize cons group/unit and item hierarchies between BCS systems: Production and Development.
    For example, if a master data change was made in the Production system, we would like to log the change, and synch this change back to the Development system.
    Thanks for any insight.

    Thanks, TheScotsman, for really helpful information!
    Some detail of the findings for those who interested:
    There is a "How to... trace changes to master-data  and settings for SEM-BCS" which describes all nuances of tracking changes in MD.
    The HowTo mentions the reports RSVTPROT , UGMD_DB_LOG_DISPLAY, and a t-code SCU3 that may show the changes.
    Certainly the code of the reports might be taken as an example for writing your own code.
    Though, the reports and the SCU3 are useful when the logging of DB tables changes is activated.

  • Changing a SQL Report server Database to a new One Using Powershell script

    Hi,
    I have an existing report server (Native Mode) and a pre-configured report server database. I have created a new database and want to assign it new report server database. How can i automate this process using powershell?
    Here is the detail requirement
    If there is a Report Server database seeded on the xxxxx server, follow the below steps:
    ◾Click the Database button on the left. Click on the Change Database button, choose option Choose an existing report server database. Enter the RPT server name (e.g. xxxxxx) in Server Name text box and click Next.
    ◾In the Report Server Database selection, select the ReportServer database. Then click next button to complete the process.
    Any help in this regard will be very much helpfull.
    Sushruta Banerjee

    Hi Sushruta,
    To query export from Report server Database, the scripts below may be helpful for you:
    Export RDL Files from ReportServer Database with PowerShell
    SQL Database Reports with PowerShell
    I hope this helps.

  • Adding a new Field to an existing report

    Hi all,
    Can anybody tell me, how to add an extra field in existing
    report, without changing the basic calulation, which i made
    in the same report.
    Regards
    Hema

    okay... that is not a standard program.
    sombody developed it.following is my existing code, here in last column i want to add BOM(mast-stlnr) and Component(stpo-idnrk). remaining things are okay.
    REPORT ZPOTREND NO STANDARD PAGE HEADING
                      LINE-SIZE 195
                      LINE-COUNT 60(3)
                      MESSAGE-ID Z1.
    TABLES: EKBE,
            MARA,
            TCURR.
    SELECT-OPTIONS: S_GJAHR FOR EKBE-GJAHR,
                    S_BUDAT FOR EKBE-BUDAT DEFAULT SY-DATUM NO-EXTENSION,
                    S_MATNR FOR EKBE-MATNR,
                    S_WERKS FOR EKBE-WERKS DEFAULT 'CE',
                    S_MTART FOR MARA-MTART.
    PARAMETERS: X_APP_L TYPE P DECIMALS 2 NO-DISPLAY,
                X_APP_H TYPE P DECIMALS 2 NO-DISPLAY,
                X_DTL   AS CHECKBOX.
    DATA: BEGIN OF I_EKBE OCCURS 0,
          BUDAT LIKE EKBE-BUDAT,
          MENGE LIKE EKBE-MENGE,
          DMBTR LIKE EKBE-DMBTR,
          SHKZG LIKE EKBE-SHKZG,
          EBELN LIKE EKBE-EBELN,
          MATNR LIKE EKBE-MATNR,
          WERKS LIKE EKBE-WERKS,
          MTART LIKE MARA-MTART,
          MEINS LIKE MARA-MEINS,
    END OF I_EKBE.
    DATA: P_EBELN LIKE EKBE-EBELN,
          P_MATNR LIKE EKBE-MATNR,
          P_WERKS LIKE EKBE-WERKS,
          P_MTART LIKE MARA-MTART,
          P_MEINS LIKE MARA-MEINS.
    DATA: BEGIN OF YMTH OCCURS 10,
          YYMM(6),
          MTH(3),
          COL TYPE I,
          MENGE LIKE EKBE-MENGE,
          DMBTR LIKE EKBE-DMBTR,
    END OF YMTH.
    DATA: S_YMTH LIKE YMTH OCCURS 10 WITH HEADER LINE.
    DATA: W_YMTH LIKE YMTH OCCURS 10 WITH HEADER LINE.
    DATA: G_YMTH LIKE YMTH OCCURS 10 WITH HEADER LINE.
    DATA: S_FLAG.                                               "MTART FLAG
    DATA: BEGIN OF CDATE,
          YYMM(6),
          DD(2) VALUE '01',
    END OF CDATE.
    DATA: SDATE LIKE SY-DATUM.
    DATA: CMTH(6),
          PMTH(6),
          LMTH1(6),
          LMTH2(6),
          MTH(2).
    DATA: W_MENGE LIKE EKBE-MENGE,
          W_DMBTR LIKE EKBE-DMBTR,
          W_MENGE1 LIKE EKBE-MENGE,
          W_DMBTR1 LIKE EKBE-DMBTR,
          W_TOTAL TYPE P DECIMALS 2,
          W_COL TYPE I,
          WTEXT(18),
          APP TYPE P DECIMALS 4,
          APP1 TYPE P DECIMALS 4,
          APP2 TYPE P DECIMALS 4.
    PERFORM GET_YMTH.
    SELECT P~BUDAT P~MENGE P~DMBTR P~SHKZG P~EBELN P~MATNR P~WERKS
           Q~MTART Q~MEINS
           INTO TABLE I_EKBE
             FROM EKBE AS P INNER JOIN MARA AS Q
           ON P~MATNR = Q~MATNR
           WHERE P~GJAHR IN S_GJAHR
             AND P~BUDAT IN S_BUDAT
             AND P~MATNR IN S_MATNR
             AND P~WERKS IN S_WERKS
             AND P~BEWTP = 'E'
             AND Q~MTART IN S_MTART.
    FORMAT INTENSIFIED OFF.
    IF X_DTL <> 'X'.
       LOOP AT I_EKBE.
          I_EKBE-EBELN = SPACE.
          MODIFY I_EKBE.
       ENDLOOP.
    ENDIF.
    SORT I_EKBE BY WERKS MTART MATNR EBELN BUDAT.
    LOOP AT I_EKBE.
      CMTH = I_EKBE-BUDAT(6).
      IF P_WERKS IS INITIAL.
        P_WERKS = I_EKBE-WERKS.
        P_MTART = I_EKBE-MTART.
        P_MATNR = I_EKBE-MATNR.
        P_EBELN = I_EKBE-EBELN.
        P_MEINS = I_EKBE-MEINS.
        PMTH = CMTH.
      ENDIF.
      IF P_WERKS NE I_EKBE-WERKS.
        PERFORM CHG_MTH.
        PERFORM CHG_MATNR.
        PERFORM CHG_MTART.
        PERFORM CHG_WERKS.
      ENDIF.
      IF P_MTART NE I_EKBE-MTART.
        PERFORM CHG_MTH.
        PERFORM CHG_MATNR.
        PERFORM CHG_MTART.
      ENDIF.
      IF P_MATNR NE I_EKBE-MATNR.
        PERFORM CHG_MTH.
        PERFORM CHG_MATNR.
      ENDIF.
      IF P_EBELN NE I_EKBE-EBELN.
        PERFORM CHG_MTH.
        PERFORM CHG_MATNR.
      ENDIF.
      IF PMTH NE CMTH.
        PERFORM CHG_MTH.
      ENDIF.
      IF I_EKBE-SHKZG = 'H'.
        I_EKBE-MENGE = I_EKBE-MENGE * -1.
        I_EKBE-DMBTR = I_EKBE-DMBTR * -1.
      ENDIF.
      IF I_EKBE-DMBTR NE 0.
        W_MENGE = W_MENGE + I_EKBE-MENGE.
        W_DMBTR = W_DMBTR + I_EKBE-DMBTR.
      ENDIF.
    ENDLOOP.
    PERFORM CHG_MTH.
    PERFORM CHG_MATNR.
    PERFORM CHG_MTART.
    PERFORM CHG_WERKS.
    TOP-OF-PAGE.
      WRITE:/ SY-DATUM,SY-UZEIT,
              77 'A M T E K   E N G I N E E R I N G   L T D',
              180 'Page', (4) SY-PAGNO.
      WRITE: / SY-REPID,
              77 '     Purchase Price Trending Report      ',
              180 SY-UNAME.
      write: /78 'From Date', S_BUDAT-LOW, 'To Date', S_BUDAT-HIGH.
      SKIP.
      WRITE: / 'SBU :', I_EKBE-WERKS,
               '     Material Type :', I_EKBE-MTART.
      SKIP.
      READ TABLE YMTH WITH KEY YYMM = '999901'.
      IF SY-SUBRC EQ 0.
        WRITE AT YMTH-COL ' APP Change'.
      ENDIF.
      WRITE: /01 'Part No',
              19 'PO No',
              31 'Curr'.
      LOOP AT YMTH.
        YMTH-COL = YMTH-COL + 3.
        IF YMTH-YYMM NE '999901'.
          WRITE AT YMTH-COL YMTH-YYMM(4).
          WRITE YMTH-MTH.
        ELSE.
          WRITE AT YMTH-COL '       %'.
        ENDIF.
      ENDLOOP.
      ULINE.
    *&      Form  get_ymth
          text
    -->  p1        text
    <--  p2        text
    FORM GET_YMTH.
      CMTH = S_BUDAT-HIGH(6).
      PMTH = S_BUDAT-LOW(6).
      IF S_BUDAT-HIGH IS INITIAL.
        CMTH = PMTH.
      ELSEIF S_BUDAT-LOW IS INITIAL.
        PMTH = CMTH.
      ENDIF.
      LMTH1 = CMTH.
      CDATE-YYMM = CMTH.
      SDATE = CDATE.
      SDATE = SDATE - 1.
      LMTH2 = SDATE(6).
      WHILE PMTH <= CMTH.
        MTH = CMTH+4(2).
        CDATE-YYMM = CMTH.
        YMTH-YYMM = CMTH.
        PERFORM GET_MTH.
        APPEND YMTH.
        SDATE = CDATE.
        SDATE = SDATE - 1.
        CMTH = sdate(6).
      ENDWHILE.
      YMTH-YYMM = '999901'.
      YMTH-MTH = ' % '.
      APPEND YMTH.
      SORT YMTH BY YYMM.
      W_COL = 21.
      LOOP AT YMTH.
        W_COL = W_COL + 15.
        YMTH-COL = W_COL.
        MODIFY YMTH.
      ENDLOOP.
      APPEND LINES OF YMTH TO S_YMTH.
      APPEND LINES OF YMTH TO W_YMTH.
      APPEND LINES OF YMTH TO G_YMTH.
      REFRESH YMTH.
      APPEND LINES OF S_YMTH TO YMTH.
    ENDFORM.                                                    " get_ymth
    *&      Form  get_mth
          text
    -->  p1        text
    <--  p2        text
    FORM GET_MTH.
      CASE MTH.
        WHEN '01'.
          YMTH-MTH = 'Jan'.
        WHEN '02'.
          YMTH-MTH = 'Feb'.
        WHEN '03'.
          YMTH-MTH = 'Mar'.
        WHEN '04'.
          YMTH-MTH = 'Apr'.
        WHEN '05'.
          YMTH-MTH = 'May'.
        WHEN '06'.
          YMTH-MTH = 'Jun'.
        WHEN '07'.
          YMTH-MTH = 'Jul'.
        WHEN '08'.
          YMTH-MTH = 'Aug'.
        WHEN '09'.
          YMTH-MTH = 'Sep'.
        WHEN '10'.
          YMTH-MTH = 'Oct'.
        WHEN '11'.
          YMTH-MTH = 'Nov'.
        WHEN '12'.
          YMTH-MTH = 'Dec'.
      ENDCASE.
    ENDFORM.                                                    " get_mth
    *&      Form  chg_matnr
          text
    -->  p1        text
    <--  p2        text
    FORM CHG_MATNR.
      CLEAR W_TOTAL.
      LOOP AT YMTH.
        W_TOTAL = W_TOTAL + YMTH-DMBTR.
      ENDLOOP.
      IF W_TOTAL = 0.
        EXIT.
      ENDIF.
      CLEAR: W_DMBTR, W_MENGE, W_DMBTR1, W_MENGE1, APP, APP1, APP2.
      READ TABLE YMTH WITH KEY YYMM = LMTH2.
      IF SY-SUBRC EQ 0 AND
         YMTH-MENGE NE 0.
        W_DMBTR = YMTH-DMBTR.
        W_MENGE = YMTH-MENGE.
        READ TABLE YMTH WITH KEY YYMM = LMTH1.
        IF SY-SUBRC EQ 0.
          APP = W_DMBTR / W_MENGE.
          APP1 = YMTH-DMBTR / YMTH-MENGE.
          APP2 = ( APP1 - APP ) / APP * 100.
        ENDIF.
      ENDIF.
      IF X_APP_L IS INITIAL AND
         X_APP_H IS INITIAL.
      ELSE.
        IF APP2 < X_APP_L OR
           APP2 > X_APP_H.
          EXIT.
          CLEAR: W_DMBTR, W_MENGE, APP.
          P_MATNR = I_EKBE-MATNR.
          P_EBELN = I_EKBE-EBELN.
          PERFORM CLR_YMTH.
        ENDIF.
      ENDIF.
      SKIP.
    WRITE:/ P_MATNR, ' Amount  ',
             'USD'.
    LOOP AT YMTH.
       WRITE AT YMTH-COL(12) YMTH-DMBTR NO-ZERO.
    ENDLOOP.
    WRITE:/(18) ' ', ' Quantity',
            P_MEINS.
    LOOP AT YMTH.
       WRITE AT YMTH-COL(12) YMTH-MENGE NO-ZERO.
    ENDLOOP.
      WRITE:/ P_MATNR(18), P_EBELN, 'USD' UNDER 'Curr'.
      LOOP AT YMTH.
        IF YMTH-YYMM NE '999901'.
          CLEAR APP.
          IF Ymth-menge ne 0.
            APP = YMTH-DMBTR / YMTH-MENGE.
          ENDIF.
          WRITE AT YMTH-COL(12) APP.
          READ TABLE S_YMTH WITH KEY YYMM = YMTH-YYMM.
          IF SY-SUBRC EQ 0.
            S_YMTH-MENGE = S_YMTH-MENGE + YMTH-MENGE.
            S_YMTH-DMBTR = S_YMTH-DMBTR + YMTH-DMBTR.
            MODIFY S_YMTH INDEX SY-TABIX.
          ENDIF.
          READ TABLE W_YMTH WITH KEY YYMM = YMTH-YYMM.
          IF SY-SUBRC EQ 0.
            W_YMTH-MENGE = W_YMTH-MENGE + YMTH-MENGE.
            W_YMTH-DMBTR = W_YMTH-DMBTR + YMTH-DMBTR.
            MODIFY W_YMTH INDEX SY-TABIX.
          ENDIF.
        ELSE.
          WRITE AT YMTH-COL(12) APP2.
        ENDIF.
      ENDLOOP.
      CLEAR: W_DMBTR, W_MENGE, APP.
      P_MATNR = I_EKBE-MATNR.
      P_EBELN = I_EKBE-EBELN.
      PERFORM CLR_YMTH.
    ENDFORM.                                                    " chg_matnr
    *&      Form  chg_mtart
          text
    -->  p1        text
    <--  p2        text
    FORM CHG_MTART.
      SKIP.
      ULINE.
      CONCATENATE P_MTART 'Total' INTO WTEXT SEPARATED BY SPACE.
      PERFORM PRN_TOT TABLES S_YMTH.
      P_MTART = I_EKBE-MTART.
      LOOP AT S_YMTH.
        CLEAR: S_YMTH-DMBTR, S_YMTH-MENGE.
        MODIFY S_YMTH.
      ENDLOOP.
    ENDFORM.                                                    " chg_mtart
    *&      Form  chg_werks
          text
    -->  p1        text
    <--  p2        text
    FORM CHG_WERKS.
      CONCATENATE P_WERKS 'Total' INTO WTEXT SEPARATED BY SPACE.
      PERFORM PRN_TOT TABLES W_YMTH.
      CLEAR: W_DMBTR, W_MENGE, APP.
      P_WERKS = I_EKBE-WERKS.
      LOOP AT W_YMTH.
        CLEAR: W_YMTH-DMBTR, W_YMTH-MENGE.
        MODIFY W_YMTH.
      ENDLOOP.
      NEW-PAGE.
    ENDFORM.                                                    " chg_werks
    *&      Form  chg_mth
          text
    -->  p1        text
    <--  p2        text
    FORM CHG_MTH.
      READ TABLE YMTH WITH KEY YYMM = PMTH.
      IF SY-SUBRC EQ 0.
        YMTH-MENGE = W_MENGE.
        YMTH-DMBTR = W_DMBTR.
        MODIFY YMTH INDEX SY-TABIX.
      ENDIF.
      CLEAR: W_MENGE, W_DMBTR.
      PMTH = CMTH.
    ENDFORM.                                                    " chg_mth
    *&      Form  clr_ymth
          text
    -->  p1        text
    <--  p2        text
    FORM CLR_YMTH.
      LOOP AT YMTH.
        CLEAR: YMTH-DMBTR, YMTH-MENGE.
        MODIFY YMTH.
      ENDLOOP.
    ENDFORM.                                                    " clr_ymth
    *&      Form  prn_tot
          text
    -->  p1        text
    <--  p2        text
    FORM PRN_TOT TABLES I_YMTH STRUCTURE YMTH.
      CLEAR: W_DMBTR, W_MENGE, W_DMBTR1, W_MENGE1, APP, APP1, APP2.
      READ TABLE I_YMTH WITH KEY YYMM = LMTH2.
      IF SY-SUBRC EQ 0 AND
         I_YMTH-MENGE NE 0.
        W_DMBTR = I_YMTH-DMBTR.
        W_MENGE = I_YMTH-MENGE.
        READ TABLE I_YMTH WITH KEY YYMM = LMTH1.
        IF SY-SUBRC EQ 0.
          APP  = W_DMBTR / W_MENGE.
          APP1 = I_YMTH-DMBTR / I_YMTH-MENGE.
          APP2 = ( APP1 - APP ) / APP * 100.
        ENDIF.
      ENDIF.
    WRITE:/ WTEXT, ' Amount  ',
             'USD'.
      LOOP AT I_YMTH.
        SELECT SINGLE * FROM TCURR
          WHERE FCURR = 'SGD'
          AND   TCURR = 'USD'.
          I_YMTH-DMBTR = I_YMTH-DMBTR * TCURR-UKURS.
       WRITE AT I_YMTH-COL(12) I_YMTH-DMBTR NO-ZERO.
      ENDLOOP.
    WRITE:/(18) ' ', ' Quantity'.
    LOOP AT I_YMTH.
       WRITE AT I_YMTH-COL(12) I_YMTH-MENGE NO-ZERO.
    ENDLOOP.
      WRITE:/(18) ' ', ' APP     ', 'USD'.
      LOOP AT I_YMTH.
        IF I_YMTH-YYMM NE '999901'.
          CLEAR APP.
          IF I_YMTH-MENGE NE 0.
            APP = I_YMTH-DMBTR / I_YMTH-MENGE.
          ENDIF.
          WRITE AT I_YMTH-COL(12) APP.
        ELSE.
          WRITE AT I_YMTH-COL(12) APP2.
        ENDIF.
      ENDLOOP.
      ULINE.
      CLEAR: W_DMBTR, W_MENGE, APP.
    ENDFORM.                    " prn_tot

  • Adding a new parameter to the existing report in GL(GLRTR1.rdf)

    Hi Friends,
    I was new to this oracle Forums and i am working as a oracle apps technical consultant, i have been assigned a task in GL module to customise the existing report in GL the report name is "GLRTR1.rdf" (available in vision-demo) and its concurrent program name is "Trial Balance Summary-1" this program has the predefined parameters like:
    (Parameter Name : Values to be entered/as u wish)
    Pagebreak Segment : Company
    Pagebreak Segment Low :01
    Pagebreak Segment High:01
    Currency :USD
    Period Name :feb-2003
    Amount Type :PTD(Period to Date)
    user-parameters to be added to above parameterlist
    costcenterfrom :segment2 value of (GL_CODE_COMBINATIONS table)
    costcenterto : -- do---
    Now what i want is i want to add a user parameter to this concurrent program like costcenterfrom and costcenterto these are optional parameters and the its value set type is TABLE and i want to display value is SEGMENT2.
    when i select the parameters along with predefined and costcenterfrom and costcenter to the report output should be between the costcenter from and costcenterto along with predefined values,
    and if i am not giving any value to the costcenterfrom and costcenterto parameters then the report out put should be based on the above parameters ie predefined parameters only.
    i think u haveunderstoood the requirement and does any one please tell me know the solution for my problem its very urgent.
    i will be very greatful to them.
    Regards,
    Azeez
    [email protected]

    Hi,
    Please check whether the auth object is switched on for the info-provider or not. By default its switched on if the info-object is part of the info-provider.
    To switch it on again, enter the info-provider name in the section 'Checks For Info-provider'. Click on pencil button to enter into change mode and select your auth object.
    Hope it helps
    Thanks
    Soumya

Maybe you are looking for

  • Family account settings - FAQ?

    Is there a FAQ or tutorial on how to set up multiple devices where some are shared by family members?   The whole concept of accounts and apple ids is very confusing when you don't have a one-to-one match with people and devices and I can't even find

  • Is there a limit to number of hyperlinks in an InDesign document?

    Anyone know if there is a limit to the number of hyperlinks that can be used in an InDesign document that is to be exported as an interactive PDF? Looking to include up to 500 or so links to different URLs and would like to know if there is a limit b

  • Error Message 1111 when making purchases

    I just downloaded iTunes 7.7 two days ago and have not been able to make any purchases since. Error message 11111 appears on the screen and simply says to try the iTunes store later. Is this a problem with anyone else? Any suggestions? Help! Thanks,

  • All Exchange 2007 servers in the organization must have Exchange 2007 SP3 or later installed.

    I'm getting that error in readiness check, but we don't have an exisiting exchange install.  Our email is currently hosted.  I believe my predecessor looked into setting up exchange and we have a exchange 2007 disc, but I don't any installation on th

  • RoboHelp X5 and my Microsoft Office Pakage

    Three years ago I used my Robohelp X5 to create and to update an extensive helpfunction. Now I have to update the helpfunction since the system has been updated. In the three years I have updated Microsoft Office to Office 2007. Trying to use RH X5 g