A specific Requirement in Displaying Report

Hello All,
I have following scenario in one of my reports. I try to explain it with an example.
I have a total of 20 rows appearing in a report.
(1). I have to hide every 2nd row so that total 10 rows are visible to user in the report.
(2). In these 10 rows I have to show one of the values from the one hidden & one shown column depending on whichever is greater.
I tried by Modifing the Report Template table by creating class of CL_RSR_WWW_MODIFY_TABLE and face following problems:
1. If I store the value of previous column, it resets to 0 on next value of I_X. Ques: how can I store the value so that it retains its value while comparing the Previous vale with current.
2. Which variable out of  I_VALUE, I_DISPLAY_VALUE, C_CELL_CONTENT holds the actual vaule of the cell because if I see I get 0 or strange value of these variables in debug mode.
Thanks for please providing me guidance as to what step is missing so that I can proceed further.
Best Regards,
Sumita

Hi,
I didn't exactly understand your problem.
But coming to your 1st question, i guess, you need to store the value of previous column in a temporary variable in your program (class).  Then compare this with your current value.
Thanks.

Similar Messages

  • Printing to specific printer and displaying report

    Hi,
    In Forms 10g via AS10g, I need to generate a report and print the output to a specific printer. How do I do this given that the AS Linus box cannot be mapped to various printers. The printer is also not necessarily the Client machine's default printer.
    I suspect that the answer lies in using web.show_document with a html or javascript included in the url extension that directs the report to a printer. I have not been able to find out how, yet.
    I would appreciate your answers
    Thanks
    Gnana

    Hi Frank,
    thank you for coming to my aid. Could you please post some code example of the html and also what do you mean by the report link and again some code will be greatly appreciated.
    Thanks mate
    Gnana

  • How to Displaying Operating specific data in Discoverer Reports.....?

    Hi Experts,
    My Requirement : I need to develope one custom report where it has to display operating unit specific data based on the resposibility selection in Discoverer.
    My Approach : I prepared the below query and I am trying to pick Business_group_id from profile options and passing to the query.(You can observe the condition which is highlighted as red color)While i am running the query I am getting zero records.
    Please suggest me how to achieve the my requirement of displaying operating unit specific data in Discoverer.
    SELECT  A1.PERSON_ID
           ,A1.employee_number
           ,A1.first_name
           ,A1.last_name
           ,A1.known_as PREFERRED_NAME
           ,A1.GENDER
           ,A1.date_of_birth
           ,A1.Marital_status
           ,A1.original_date_of_hire
           ,A1.Organization
           ,A1.Location
           ,A1.Job_name
           ,A1.OLF_DEPARTMENT
           ,A1.OLF_DEPT_SUBGROUP
           ,A1.salary
           ,A1.salary_change_date
           ,A1.HIRE_DATE
           ,A2.PERSON_ID SUPERVISOR_ID
           ,A2.EMPLOYEE SUPERVISOR
           ,A3.PERSON_ID SUPERVISOR_ID_1
           ,A3.EMPLOYEE SUPERVISOR_NAME_1 
    FROM (
    SELECT PAPF.first_name
          ,PAPF.last_name
          ,papf.known_as
          ,papf.*** GENDER
          ,papf.date_of_birth
          ,papf.marital_status
          ,papf.employee_number
          ,PAPF.person_id
          ,PAAF.supervisor_id     
          ,PAPF.original_date_of_hire
          ,(SELECT name FROM  hr_all_organization_units WHERE Organization_id=PAAF.organization_id) Organization
          ,(SELECT location_code FROM  hr_locations WHERE location_id=PAAF.Location_id) Location
          ,(SELECT name FROM  per_jobs WHERE job_id=PAAF.job_id) Job_name
          ,PPP.proposed_salary_n SALARY
          ,ppp.change_date salary_change_date
          ,ppgk.segment1   OLF_DEPARTMENT
          ,ppgk.segment2  OLF_DEPT_SUBGROUP
          ,papf.original_date_of_hire HIRE_DATE
      FROM per_all_people_f PAPF 
          ,per_all_assignments_f PAAF
          ,per_pay_proposals  PPP
          ,PAY_PEOPLE_GROUPS_KFV ppgk
    WHERE 1=1
       AND PAPF.person_id=PAAF.person_id
       AND papf.business_group_id=paaf.business_group_id
       AND PAAF.assignment_id=PPP.assignment_id
       AND paaf.people_group_id=ppgk.people_group_id
       AND ppp.change_date =(SELECT MAX(change_date)
                               FROM per_pay_proposals
                              WHERE assignment_id=PPP.assignment_id)
       AND SYSDATE BETWEEN PAPF.effective_start_date AND PAPF.effective_end_date
       AND SYSDATE BETWEEN PAAF.effective_start_date AND PAAF.effective_end_date<font color="red">AND PAPF.BUSINESS_GROUP_ID = TO_NUMBER(FND_PROFILE.VALUE('PER_BUSINESS_GROUP_ID '))</font>
    ) A1
    SELECT PAPF.first_name
    ||','||PAPF.last_name EMPLOYEE,PAPF.PERSON_ID,PAAF.supervisor_id
    FROM per_all_people_f PAPF
    ,per_all_assignments_f PAAF
    WHERE PAPF.person_id=PAAF.person_id
    AND papf.business_group_id=paaf.business_group_id
    AND SYSDATE BETWEEN PAPF.effective_start_date AND PAPF.effective_end_date
    AND SYSDATE BETWEEN PAAF.effective_start_date AND PAAF.effective_end_date
    ) A2
    SELECT PAPF.first_name
    ||','||PAPF.last_name EMPLOYEE
    ,PAPF.PERSON_ID
    ,PAAF.supervisor_id
    FROM per_all_people_f PAPF
    ,per_all_assignments_f PAAF
    WHERE PAPF.person_id=PAAF.person_id
    AND papf.business_group_id=paaf.business_group_id
    AND SYSDATE BETWEEN PAPF.effective_start_date AND PAPF.effective_end_date
    AND SYSDATE BETWEEN PAAF.effective_start_date AND PAAF.effective_end_date
    ) A3
    WHERE 1=1
    AND A2.PERSON_ID(+)=A1.SUPERVISOR_ID
    AND A3.PERSON_ID(+)=A2.SUPERVISOR_ID
    AND A4.PERSON_ID(+)=A3.SUPERVISOR_ID
    ;

    Pl identify versions of OS, database, EBS and Discoverer. Have you reviewed these MOS Docs ?
    373634.1 - Using Discoverer 10.1.2 with Oracle E-Business Suite Release 12
    1074326.1 - Using Discoverer 11.1.1 with Oracle E-Business Suite Release 12
    313418.1 - Using Discoverer 10.1.2 with Oracle E-Business Suite 11i
    1073963.1 - Using Discoverer 11.1.1 with Oracle E-Business Suite Release 11i
    HTH
    Srini

  • Displaying operating unit specific data in Discoverer Report ????

    Hi Experts,
    My Requirement : I need to develope one custom report where it has to display operating unit specific data based on the resposibility selection in Discoverer.
    My Approach : I prepared the below query and I am trying to pick Business_group_id from profile options and passing to the query.(You can observe the condition which is highlighted as red color)While i am running the query I am getting zero records.
    Please suggest me how to achieve the my requirement of displaying operating unit specific data in Discoverer.
    SELECT  A1.PERSON_ID
           ,A1.employee_number
           ,A1.first_name
           ,A1.last_name
           ,A1.known_as PREFERRED_NAME
           ,A1.GENDER
           ,A1.date_of_birth
           ,A1.Marital_status
           ,A1.original_date_of_hire
           ,A1.Organization
           ,A1.Location
           ,A1.Job_name
           ,A1.OLF_DEPARTMENT
           ,A1.OLF_DEPT_SUBGROUP
           ,A1.salary
           ,A1.salary_change_date
           ,A1.HIRE_DATE
           ,A2.PERSON_ID SUPERVISOR_ID
           ,A2.EMPLOYEE SUPERVISOR
           ,A3.PERSON_ID SUPERVISOR_ID_1
           ,A3.EMPLOYEE SUPERVISOR_NAME_1 
    FROM (
    SELECT PAPF.first_name
          ,PAPF.last_name
          ,papf.known_as
          ,papf.sex GENDER
          ,papf.date_of_birth
          ,papf.marital_status
          ,papf.employee_number
          ,PAPF.person_id
          ,PAAF.supervisor_id     
          ,PAPF.original_date_of_hire
          ,(SELECT name FROM  hr_all_organization_units WHERE Organization_id=PAAF.organization_id) Organization
          ,(SELECT location_code FROM  hr_locations WHERE location_id=PAAF.Location_id) Location
          ,(SELECT name FROM  per_jobs WHERE job_id=PAAF.job_id) Job_name
          ,PPP.proposed_salary_n SALARY
          ,ppp.change_date salary_change_date
          ,ppgk.segment1   OLF_DEPARTMENT
          ,ppgk.segment2  OLF_DEPT_SUBGROUP
          ,papf.original_date_of_hire HIRE_DATE
      FROM per_all_people_f PAPF 
          ,per_all_assignments_f PAAF
          ,per_pay_proposals  PPP
          ,PAY_PEOPLE_GROUPS_KFV ppgk
    WHERE 1=1
       AND PAPF.person_id=PAAF.person_id
       AND papf.business_group_id=paaf.business_group_id
       AND PAAF.assignment_id=PPP.assignment_id
       AND paaf.people_group_id=ppgk.people_group_id
       AND ppp.change_date =(SELECT MAX(change_date)
                               FROM per_pay_proposals
                              WHERE assignment_id=PPP.assignment_id)
       AND SYSDATE BETWEEN PAPF.effective_start_date AND PAPF.effective_end_date
       AND SYSDATE BETWEEN PAAF.effective_start_date AND PAAF.effective_end_date<font color="red">AND PAPF.BUSINESS_GROUP_ID = TO_NUMBER(FND_PROFILE.VALUE('PER_BUSINESS_GROUP_ID '))</font>
    ) A1
    SELECT PAPF.first_name
    ||','||PAPF.last_name EMPLOYEE,PAPF.PERSON_ID,PAAF.supervisor_id     
      FROM per_all_people_f PAPF
          ,per_all_assignments_f PAAF
    WHERE PAPF.person_id=PAAF.person_id
    AND papf.business_group_id=paaf.business_group_id
       AND SYSDATE BETWEEN PAPF.effective_start_date AND PAPF.effective_end_date
       AND SYSDATE BETWEEN PAAF.effective_start_date AND PAAF.effective_end_date
    ) A2
    SELECT PAPF.first_name
    ||','||PAPF.last_name EMPLOYEE
         ,PAPF.PERSON_ID
          ,PAAF.supervisor_id     
      FROM per_all_people_f PAPF
          ,per_all_assignments_f PAAF
    WHERE PAPF.person_id=PAAF.person_id
    AND papf.business_group_id=paaf.business_group_id
       AND SYSDATE BETWEEN PAPF.effective_start_date AND PAPF.effective_end_date
       AND SYSDATE BETWEEN PAAF.effective_start_date AND PAAF.effective_end_date
    ) A3 
    WHERE 1=1
    AND  A2.PERSON_ID(+)=A1.SUPERVISOR_ID
    AND  A3.PERSON_ID(+)=A2.SUPERVISOR_ID
    AND  A4.PERSON_ID(+)=A3.SUPERVISOR_ID
    ;

    you are in the wrong forum, try an ebusiness-related forum, maybe this OA Framework

  • Requirement to display repeated texts in the wad report

    Dear experts,
    we are having a requirement to display repeated
    texts in the WAD report .As we had unchecked the checkbox
    hide repeated key values in BEX query properties and we
    are achieving this in BEX report.
    Is there any possibility to achieve the repeated key values
    in WAD report?
    Is there any global t-code or any functional module to do the
    wad settings to get the Repeated key values?
    Please do the needful.
    Thanks,
    Chiramana.

    Hi,
    Check in the following document.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/58fd9183-0e01-0010-f183-fdc9019f77ab
    Thanks
    Reddy

  • Control User Specific button in ALV report

    Hi,
    Can anybody please suggest me how to control "USER SPECIFIC" button in ALV report layout using authorization object. I mean if you can tell me which authorization object is responsible to control the "USER SPECIFIC" button.

    additional info to what Lakshmi already said:-
    normally the restrictions for saving layouts/display variants are done at 2 levels:
    1) The developer of an ALV list first predetermines the authorization in the 'i_save' parameter within the code.
    I_SAVE = ' '     -
    layouts cannot be saved
    I_SAVE = 'A'   -
    user-specific and cross-user layouts can be saved
    I_SAVE = 'X'   --- cross-user layouts can be saved
    I_SAVE = 'U'  ---  user-specific layouts can be saved
    2) The second level comes to us restriciting the S_ALV_LAYO which gives access to users to save global layouts if I_SAVE for that particular transaction is A or X.
    for example, a report has I_SAVE= 'A', which means
    it will allow to save  User-specific  layouts without any restrictions.
    and if user has S_ALV_LAYO then he can save both User-Specific and Global Layouts(variants).
    it would be better to keep this object separate.

  • Display report as well as send report o/p to spool while executing in FG

    Hi All,
    I have a requirement to display a normal report and also send the same report output to spool simultaneously while executing in foreground. How can this be done? Any kind of help is welcome.
    Regards,
    Smithesh

    Hi Mahesh
    I believe there was an issue like this in base 9.0.2 release. When saving and closing the jsp file, it would always put the default character set in the jsp definition. To workaround this, open this jsp in a editor and change the character set to the desire value. This issue has been fixed in latest patches. You can download the latest Reports 9i patchset from metalink site.
    Thanks
    Rohit

  • How to display sub total text in ALV grid display reporting

    Hi,
    I want to display a text 'SUB TOTAL'  in Sub total  row  of an ALV report.
    Presently I am getting the name of the field used in sorting to get sub totals. But I required to display own text. Could you please give me solution.
    Thanks
    Giridhar Karnam

    For doing this u need to simply modify the layout properties, please award points if found helpful
    DATA: L_LAYOUT TYPE SLIS_LAYOUT_ALV.
    L_LAYOUT-SUBTOTALS_TEXT = 'GEN SUBTOT'.
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            I_CALLBACK_PROGRAM = SY-REPID
            IS_LAYOUT          = L_LAYOUT
            IT_FIELDCAT        = IT_FIELDCAT
          TABLES
            T_OUTTAB           = IT_FINAL
          EXCEPTIONS
            PROGRAM_ERROR      = 1
            OTHERS             = 2.

  • Spool Request Display Report

    Hello,
    Pleasure to be part of this community and ask the first question.
    I have created a report and probably, that report is going to be scheduled to run weekly.
    I want to understand how I can create a job and spool request display report for this program. I have found some information from this forum about SM36/SM37 T-Code and spool request display. However, I think I am not able to get the whole scenario of how it is going to work.
    If someone can give me an idea, that would be great. Practical examples will be appreciated.
    Regards,
    Udit

    I am assuming you will be scheduling this job manually and not programmatically.. The process is as follows..
    Goto SM36
    Enter a Job Name
    click on START Condition butto and click Date and Time button
    you will see a button PERIODIC VALUES appeared below.
    Click and select WEEKLY as you have indicated, SAVE it.
    Enter date and time so that it starts on that time and is scheduled everywk at that time
    You can enter NO START AFTER in case you want to restrict this.
    Then Click STEP
    You can enter program name variant and also select Printer specification
    And that should do the trick..
    Hope this helps

  • How to Display Report Output in X & Y Axis Format based on Date & Site ?

    Hi,
       I got a requirement to display the output of a Report in X & Y Axis Format like  Date in Vertical wise & Site in Horizontal wise.
       please suggest me how to do this.

    These programs also..
    GFW_PROG_BAR : Bar chart example
    GFW_PROG_PIE: Pie chart example

  • Displaying report info

    Dears,
    i use pl/sql to display my report info
    DECLARE
       v_counter     INTEGER         := 0;
       v_line        VARCHAR2 (4000);
       v_rec_in_row  INTEGER         := 10;
       lpar varchar2(50);
       env varchar2(15);
    BEGIN
       HTP.prn ('<table>');
       HTP.prn ('<tr>');
       HTP.prn ('<td>');
       lpar:=v('P48_LVAR');
       env:=v('P48_RA_TEST');
       CASE
        WHEN lpar='SERVERS'
                    THEN 
                      FOR c IN
                          ( SELECT '<table width="">'
                             || '<tr><td><a href="f?p=200:46:7343887876276495::NO::P46_TEST,P46_TABLE:'||s.SERVER_NAME||'"><img src="#WORKSPACE_IMAGES#folder.GIF"/>'||s.SERVER_NAME||'</td></tr>'
                             || '</a></table>'
                             AS emp
                              FROM SERVERS s,ENV_SERVERS es
                         WHERE s.SERVER_NAME=es.SERVER_NAME
                         AND es.ENV_NAME LIKE decode(env,'ALL','%','ITT','itt','UAT','uat','DEV','dev','PROD','prod','%')
                              ORDER by 1)
                              LOOP
                               v_line := v_line || c.emp || '</td><td>';
                               v_counter := v_counter + 1;
                               IF v_counter = v_rec_in_row
                               THEN
                                   HTP.prn (v_line);
                                   HTP.prn ('</td></tr><tr><td>');
                                   v_line := NULL;
                                   v_counter := 0;
                               END IF;
                           END LOOP;
                           HTP.prn (v_line);
                           HTP.prn ('</td></tr></table>');
          WHEN lpar='ALIAS'
                THEN 
                      FOR c IN
                          ( SELECT           
                               '<table>'
                             || '<tr><td><a href="?p=200:46:7343887876276495:::::"><img src="#WORKSPACE_IMAGES#folder.GIF"/>'||a.ALIAS_NAME||'</td></tr>'
                             || '</a></table>'
                                      emp
                             FROM ALIAS a , SERVERS s,ENV_SERVERS e
                         WHERE a.ALIAS_SERVERNAME=s.SERVER_NAME
                              and s.SERVER_NAME = e.server_name
                         and e.env_name LIKE  decode(env,'ALL','%','ITT','ITT','UAT','UAT','DEV','DEV','PROD','PROD','%'))
                                  LOOP
                                    v_line := v_line || c.emp || '</td><td>';
                                    v_counter := v_counter + 1;
                                    IF v_counter = v_rec_in_row
                                    THEN
                                        HTP.prn (v_line);
                                        HTP.prn ('</td></tr><tr><td>');
                                        v_line := NULL;
                                        v_counter := 0;
                                    END IF;
                                END LOOP;
                                HTP.prn (v_line);
                                HTP.prn ('</td></tr></table>');
    END CASE;
    END;But sometimes i have more than 600 records to display , and the display is not user friendly.
    Is it possible to display report on 3 pages? with the same query?
    Thx.
    Celio

    Convert it to a standard report with a custom report template, using PL/SQL function returning a SQL Query to switch between the 2 queries, and [this technique|http://htmldb.oracle.com/pls/otn/f?p=23415:2:0] to get the required layout. As it's a standard report you can use standard pagination.

  • Displaying report in ecxel sheet.

    Hi Friends,
          I have a requirement,such that i want to display a report 3 char in first 3 columns then 5 keyfigures  and again 3 characteristics.Is it possible to display report? If yes, how its possible please give me the steps.
    Thank you
    dj.reddy.

    Hi ,
    it is possible with 'Tabular display'.
    for more info:
    http://help.sap.com/saphelp_nw04/helpdata/en/27/c3fa3a00b0a452e10000000a11402f/content.htm
    or you may get this using formula variables with replacement path on characteristics and includingthem in KF structure.
    Regards

  • How to display report in Acroat Reader?

    Hi,
    i have to display my reports in Acrobat reader. How is it possible to do it from reports? like i'm setting the Distribution property from the report's property palette but it doesn't seem to be working. Does it need any specific parameters to be set?
    Best Regards,
    Mehwish

    Hello,
    To display report in Acrobat Reader, you have to execute your reports with DESFORMAT=PDF
    On the web (rwcgi60), Acrobat Reader will be called automatically when DESFORMAT=PDF and DESTYPE=CACHE
    Regards

  • Displaying reports on our intranet

    Ok, so for many years I have compiled VB projects and bundled CR into them for reporting. I'm using CR2008 and would like to display reports on an intranet web site. The site is designed with ASP.NET 2005. Can anyone give me specifics on installation requirements to get this to work?
    In the design environment the reports display ok, but when on the site, there is a parsing error.

    Hi Mark,
    Below are the installation requirements regarding your application on the server:
    - Install Crystal Report 2008 runtimes on the production server(for this you can use Merge Modules/Server Install)
    Please try it and let us know.

  • Display Report Level Filter value and Input Controls Value

    Hi,
    Please let me know how to display Report Level Filter value and Input COntrol values in the report.
    I have 2 tabs in the WebI Report. The first tab has the summary details about the other tabs like reprot desc, prompt values, reprot filter values,etc.
    In the 2nd tab I have the actual report which has input controls defined, prompt values and global level report filters.
    Can anyone please tell me how to display the Report level filter values and the Input Control values in the first tab report.
    For ex: Tab 2 has a Report level filter: Region = NA
    I need to display in Tab 1 in as Region: NA
    I used the function ReportFilterSummary but that is giving me other details, I want only the object name and the value.
    Also how to dispaly the Input Control values in the tab 1.
    Please let me know if you have any suggestions for this issue.
    Thanks

    did you try
    =ReportFilter([Year])
    if you are making report filter over the year, it will return the value of the filter
    by the way, the filter should be applied over all the report not to a specific block to be able to get the correct value
    the Input control also considered as report filter, only if you're applying them on the level of the report, if you applying an input contron over a specific block or chart, you will not get the values for ReportFilter
    good luck

Maybe you are looking for

  • Should I be able to see a priority change using a mutex priority ceiling

    If I have a program which uses a mutex lock in solaris 9 which is set up to protect/priority ceiling of 5 and kick it off using priocntl with a priority of 11 and RT, I can look at top and see that it has priority 111. So my process is running real t

  • Pages created with DWT will not scroll

    I recently acquired a contract to update a site built in CS2 with tables to something that's HTML 4.01 compliant. I'm using CS5 and have updated the DWT's design, but now my pages will not scroll using the new template. I've tried using the overflow

  • ICal to iPod Classic 80gig sync problem

    Hi, just bought myself an iPod and wanted to sync my iCal (wich I just created for the first time) with my iPod. The problem is, that when I go to iTunes and check the box that says "Sync iCal calendars" it gives a message that says there aren't any

  • Mac can't search on a Windows 2003 server

    We are using a Mac G5 running OSX (10.3.9) and are not able to search for files on our Windows 2003 server. We also can't index the server from this Mac. The Macs and the Window server are fully up to date. We are using AFP for the network connection

  • [svn] 3968: Fix for - ASDoc fails if example code included by the @ includeExample tag contains an "&"

    Revision: 3968 Author: [email protected] Date: 2008-10-30 10:45:04 -0700 (Thu, 30 Oct 2008) Log Message: Fix for - ASDoc fails if example code included by the @includeExample tag contains an "&" Also fix for broken links with $$ symbol. QE Notes: Non