Set default screen parameters in PCH report

Hi.. I have a requirement where i have developed a custom hr report using PCH LDB. The Reporting period on the selection screen defaults to All but i want to default it to Today.
Please help.
Regards,
Riya.

Please check if this helps
REPORT  zytest.
TABLES objec.
AT SELECTION-SCREEN OUTPUT.
  CLEAR pchztr_a.
  pchztr_d = 'X'
Ensure that the above logic is only triggered for the first time OR I recommend to go wth the solution proposed
by Keshav. You can set the value of PCHTIMED in the INITIALIZATION event itself.
-Rajesh.
Edited by: Rajesh Paruchuru on Oct 5, 2010 2:25 PM
Added recommendation

Similar Messages

  • How to set default print orientation in oracle reports 6i?

    Can anyone please help how to set default print orientation of Oracle Reports 6i? Currently document is printed in Portrait orientation, but I need to print it in Landscape orientation. Is this possible?

    It is solved now. Go to Layout Model -> Main Section, Press F4. In the property pallet select the Orientation that is required to be selected when print is taken for that report.

  • Auto-populating the selection screen parameters for web report

    hello
    i am having a scenario where my web report is a link to another internet application (a BSP application) and it is called by clicking some link or button on the BSP page.
    can i pass the selection values for BW Web report directly from BSP application through a query string or by setting some cookie values so that the user will directly view the report on click of that link?
    Thanks in advance.
    Regards
    Rajeev

    we can do this by adding a URL as the query-string with web template_id and with the selection screen parameters as key value pairs

  • Print Selection Screen Parameters in ALV report only once

    Does anyone know how to print the selection screen within a ALV report.
    I've tried everything. I have the code to capture the selection parameters into a internal table. I can use top_of_page but I only want it printed once.

    Hi,
      If you have captured the selection screen entries in an internal table, then you could display it once by using the BLOCK LIST ALV.
    Check the function module.
    REUSE_ALV_BLOCK_LIST_DISPLAY
    Using this function module more than 1 alv could be display in the report.
    In our case ..there will be two alvs ...one for the selection screen n other for the main report output.
    Check the following example on the block List ALV....
    <b>BALVBT01</b>.
    Regards,
    Vara

  • How to set default company logo in bex report(analyzer)?

    hi,
    i have a requirement that i need to create default template for my queries in bex analyzer. whenever i execute my query in analyzer the company logo should be on top of the query. i know how to do it in workbook but could you explain me how to set the default company logo in bex reports?
    thanks
    vadlamudi

    See the following document on creating a workbook template with an image: [http://www.researchsummary.ca/bw/Sample_Ch10.pdf]
    In BW, there is a table that stores the default workbook. The following snippet of code allows you to identify a custom workbook template as the default template for all end users.
    *& Report Z_SET_BEX_USER_TEMPLATE *
    *& Program to update all user's default template *
    REPORT Z_SET_BEX_USER_TEMPLATE.
    TABLES: rsrwbtemplate,
            usr01.
    PARAMETER: wbid LIKE rsrwbindex-workbookid.
    SELECT
    FROM
      usr01.
      MOVE: usr01-bname TO rsrwbtemplate-templateuser,
            wbid TO rsrwbtemplate-workbookid = wbid.
      UPDATE
        rsrwbtemplate.
      IF sy-subrc 0.
        INSERT
          rsrwbtemplate.
      ENDIF.
    ENDSELECT.

  • How to set Default DateTime values in Crystal Reports 2008

    Hi All,
    I'm using Crystal Reports 2008. I have two fields FromDate and ToDate in reports. While running report, FromDate field should be displayed with CurrentDate + 00:00:00 in the UI and for ToDate it should be displayed with CurrentDate + 23:59:59 format.
    I have tried the below things, But still I want to set CurrentDate + 00:00:00 time in DateTime field.
    "In CR 2008 you would set the time portion to 00:00:00 in this way:
    1) Edit the date/time parameter and look for the 'Default Value' option; it would be blank
    2) Set this to 00:00:00
    This would default the calendar to 12/30/1899 00:00:00. The only worry here is, when you click on the calendar icon you would be presented with the calendar for the year 1899 and it is painstaking to scroll all the way to the current year."
    I found one solution in SAP forum and I have added the below lines in Record Selection formula,
    {@FromDate} = date(@CurrentDate)+time(00,00,00)
    {@ToDate} = date(@CurrentDate)+time(23,59,59)
    When I run the report, I still getting the empty values in the input parameters screen.
    Am I missing anything? Kindly help
    Thanks,
    Ramesh Kumar G.

    See the following for samples:
    Java (Crystal Reports for Eclipse) SDK - Business Intelligence (BusinessObjects) - SCN Wiki
    BusinessObjects Enterprise / SAP BusinessObjects Business Intelligence Platform 4.x Java SDK Applications
    Business Objects / BI Unmanaged Java RAS SDK Sample Applications
    Developer Help Files:
    Crystal Reports SDK
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Setting default columns displayed in interactive report

    Hi APEX community,
    I recently created an interactive report based on an sql query as follows:
    select
    "STOCK_CLIP_ID",
    "TITLE"
    from "STOCK_CLIP"
    After creating the report I added an additional column:
    select
    "STOCK_CLIP_ID",
    "TITLE",
    *"UPLOADED"*
    from "STOCK_CLIP"
    The new column does not display by default, I have to add it under Actions > Select Columns. I cant find any setting to add my new column UPLOADED to the default columns to be displayed so that when a user first navigates to the report they dont have to add that column in order to be able to see it.
    Sorry this is perhaps a stupid question with an obvious answer, i'm new to the interactive reports.
    Thanks!

    Hi,
    Login to Apex builder. Run page where is your interactive report.
    Select columns you like to show default from Action menu. Save report default layout from Action menu.
    Regards,
    Jari
    http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0

  • How to set default export format in Crystal Reports Viewer

    When Viewing Crystal Reports, the top left button can choose export file format, how to set it default to Excel?
    If we can only go with hidden the button, and create a new button, any one can kindly provide how to?
    The BOE version is XI R2 SP2.
    Thanks in advance!
    Jennie

    hi all , i have same problem like i want only 1 report to be generated like for ex:only PDF should be generated n all others has to be disabled. my jsp is as follows:
    <%@page import="com.abc.def.crystalReports.JRCHelper,
    com.crystaldecisions.reports.reportengineinterface.*,
    com.crystaldecisions.report.web.viewer.CrystalReportPartsViewer,
    com.crystaldecisions.report.web.viewer.CrystalReportViewer,
    com.crystaldecisions.reports.sdk.ReportClientDocument,
    com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,
    com.crystaldecisions.sdk.occa.report.reportsource.IReportSource,
    com.crystaldecisions.report.web.viewer.*,
    com.crystaldecisions.sdk.occa.report.exportoptions.*,
    java.sql.Connection,
    java.sql.DriverManager,
    java.sql.ResultSet,
    java.sql.SQLException,
    java.sql.Statement,
    java.util.ResourceBundle"%><%
         // This sample code calls methods from the JRCHelperSample class, which
         // contains examples of how to use the BusinessObjects APIs. You are free to
         // modify and distribute the source code contained in the JRCHelperSample class.
         try {
              ResourceBundle messageBundle = ResourceBundle.getBundle("resources.ApplicationResources");
              String reportName = messageBundle.getString("report.path");
              ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);
              if (clientDoc == null) {
                   // Report can be opened from the relative location specified in the CRConfig.xml, or the report location
                   // tag can be removed to open the reports as Java resources or using an absolute path
                   // (absolute path not recommended for Web applications).
                   clientDoc = new ReportClientDocument();
                   // Open report
                   clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);
                   // ****** BEGIN CHANGE DATASOURCE SNIPPET **************** 
                        String connectString = "jdbc:oracle:thin:@****:db;
                        String driverName = "oracle.jdbc.driver.OracleDriver";
                        String JNDIName = "";
                        String userName = "root";               // TODO: Fill in database user
                        String password = "root";          // TODO: Fill in password
                        // Switch all tables on the main report and sub reports
                        JRCHelper.changeDataSource(clientDoc, userName, password, connectString, driverName, JNDIName);
                   // ****** END CHANGE DATASOURCE SNIPPET ****************      
                   // Store the report document in session
                   session.setAttribute(reportName, clientDoc);
                   // ****** BEGIN CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET **************** 
                        // Create the CrystalReportViewer object
                        CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
                        ReportExportControl exporter = new ReportExportControl();
                        //     set the reportsource property of the viewer
                        JPEReportSourceFactory rptSrcFactory = new JPEReportSourceFactory();
                        IReportSource reportSource = (IReportSource)rptSrcFactory.createReportSource(reportName,request.getLocale());
                        Boolean b1 = new Boolean(messageBundle.getString("Toggle.Group.TreeButton"));
                        Boolean b2 = new Boolean(messageBundle.getString("Has.ExportButton"));
                        Boolean b3 = new Boolean(messageBundle.getString("Has.SearchButton"));
                        Boolean b4 = new Boolean(messageBundle.getString("Display.GroupTree"));
                        Boolean b5 = new Boolean(messageBundle.getString("Has.Logo"));
                        Boolean b6 = new Boolean(messageBundle.getString("Display.Toolbar"));
                        crystalReportPageViewer.setHasToggleGroupTreeButton(true);
                        crystalReportPageViewer.setHasExportButton(true);
                        crystalReportPageViewer.setHasSearchButton(false);
                        crystalReportPageViewer.setDisplayGroupTree(false);
                        crystalReportPageViewer.setHasLogo(false);
                        crystalReportPageViewer.setOwnPage(true);
                        crystalReportPageViewer.setOwnForm(true);
                        crystalReportPageViewer.setReportSource(reportSource);
                        crystalReportPageViewer.processHttpRequest(request, response, application, null);
                        IReportSource reportSource = (IReportSource)rptSrcFactory.createReportSource(reportName,request.getLocale());
                        //CharacterSeparatedValuesExportFormatOptions csvOptions = new CharacterSeparatedValuesExportFormatOptions();
                        ExportOptions exportOptions = new ExportOptions();
                        //exportOptions.setExportFormatType(ReportExportFormat.characterSeparatedValues);
                        //exportOptions.setExportFormatType(ReportExportFormat.PDF);     
                        exportOptions.setExportFormatType(ReportExportFormat.characterSeparatedValues);
                        exporter.setReportSource(reportSource);
                        exporter.setExportOptions(exportOptions);
                   //exporter.setExportAsAttachment(true);
                        exporter.processHttpRequest(request, response, application, null);
                   // ****** END CONNECT CRYSTALREPORTPAGEVIEWER SNIPPET ****************          
         } catch (ReportSDKExceptionBase e) {
             out.println(e);
    %>
    if i want to add custom button where to add

  • Setting default screen quality to "High"

    Captivate v5.5
    I am recording some screen shots from our corp. website to slides created in Captivate v5.5. I have set all the slides in Captivate with screen quality "High" yet all the slides I import after recording have screen quality "low".
    I know I can change them but wonder is there a way to set the fault screen quality to "high" so all new slides added are "high" quality - or whatever I want them to be rather than having to keep changing them.
    Noel

    Thank you Anjaneai and Lilybiri,
    So the way it works at the moment is this. When you create a project each slide you add will always be set to "low" quality and there is no way to change this in preferences or global settings.
    When you preview you work it will be based on "low" quality slides unless you change them one by one as you import them.
    Once you have finished the creation of your project and publish it, provided you have made the required changes in Project Settings - all slides that were "low" will be changed to the required quality setting as per the project settings in preferences.
    When you open the project again - to edit it for example, I assume the slide quality is still "low".
    I agree with you Lilybiri - Slide Quality should be an option in Preferences and the default settings should be "Optimised".
    Thanks again both.
    Noel

  • Can I set default zoom of web intelligence reports to whole page

    Hi guys,
    Every time I open web intelligence reports from BI launchpad, the default zoom is automatically set to 100%. Can I change the default zoom to whole page?
    Thanks.

    Not out of the box as far as I'm aware.
    You may be able to tinker "behind the scenes" but this may be applied for all users which may not make you very popular!

  • User mangement - Set default user parameters

    Hello Experts ,
    Does anybody know where we can set the default fields for the users , so when one is created over SU01, for example the telephone number and one parameter, is already set ?
    I searched as well for a program that can mass update user parameters but i didnt found anything i think the solution here is through a custom transaction .
    The user management is on Solution Management.
    I would be glad if someone could help me out ,
    Best regards,
    David

    Hi david,
    can you check below links
    http://www.sap-img.com/abap/mass-update-the-user-parameter-value.htm
    http://www.saptechies.com/forum/viewtopic.php?t=6023&sid=a399d43c4f9bfaa655b0e008c312159e
    regards,
    Srinivas

  • Set default screen size

    when FFX launches it defaults to a screen size smaller then I'd like for default. Is there a way to change this?
    I run it on an external 24" screen of an MBA running 10.7.5

    Hello metropical,
    Thank you for contacting Mozilla Support. That does sound frustrating. After doing some searching on our support site I've found that if you EXIT Firefox, the window will return to the same position it was in at the START of the last session. If you CLOSE Firefox it will save the position it was in at the END of the last session.
    Please let us know if this solves your problem.
    Cheers,
    Patrick

  • Set default search column in Interactive Report

    Hi All:
    In APEX 4.0, for "Interactive Report" search function:
    If user doesn't select a column name to search for (this is done by click Magnifier glass icon), the IR will search "All Columns" that contains a string you have typed in the search bar.
    Is there a way to configure IR so that, by default, it will not search "All Columns", instead, it should search a particular column that I will specify when define this IR report.
    Why I am asking this? Here is my case:
    I have created a IR report to search employee information. By default, when user enters a string in the search bar, user want to search "Emploee Full Name" column in my IR report. User wants this default search behavior and really doesn't want to "click Magnifier glass icon and select "Employee Full Name" column; then type the search string).
    Basically, in my case, the IR report should default to search "Employee Full Name" if user doesn't select any search column.
    Any idea how to achieve this?
    Thanks!
    Kevin

    In the above DA, Changing the 'Event Scope' to 'Dynamic' should trigger it after PPR. I tried it but it's not working for me.
    Try the below it's working for me as expected,
    Create DA like below,
    Event: After Refresh
    Selection Type: Region
    Region: Select your IR region
    In True Action,
    Action: Execute Javascript Code
    Code:
    $s('apexir_SEARCH_COLUMN_DROP','COLUMN_LABEL');                           
    $s('apexir_CURRENT_SEARCH_COLUMN', 'COLUMN_ALIAS');
    In Affected Element,
    Selection Type: Region
    Region: Select your IR region
    Event Scope: bind (Default)
    Make sure Fire On Page Load under 'Execution Option' is checked. (i.e. Fire On Page Load: Yes)
    I am using APEX 4.0.2.00.07. It's working for me also in apex.oracle.come it's working in my example application.
    Thanks
    Lakshmi

  • Setting Default screen

    I'd like to be able to open the adjustment panel, and always have the sharpen and Noise reduction tools appear, with out having to to open them up separatley.
    Is there a selectable default setting for the for the adjustment tool panel ?
    Thanks so much
    Markieh
    G5   Mac OS X (10.4.5)   canonD1mk2,20d

    I'd like to be able to open the adjustment panel, and
    always have the sharpen and Noise reduction tools
    appear, with out having to to open them up
    separatley.
    Is there a selectable default setting for the for
    the adjustment tool panel ?
    Thanks so much
    Currently there does not seem to be a way to set any other defaults than the ones you already get. I have submitted that in a feedback item for Apple and I'd suggest you do the same, I would also like a few different tools to show up by default.

  • Unable to set default Model

    Hi,
    When i tried to set default Model for Web Input/Report forms i am unable to change the previous. Exp when i go and set A as my default model in features>context defaults it shows as default model ....... when i open input form it still has the model B.(i have also re-logged in to see the changes not shown though)
    Please help
    Thanks,
    PR

    Thanks guys for showing interest in helping.
    As you guys can see, there's no adobe reader when u expand. Also, I already browsed the reader just in case too. Thus expanding doesnt help. =(
    Also, I cant seem to find the "file type" tab in folder options

Maybe you are looking for

  • ERROR WHILE GENERATING ARE-1 doc internal number

    Dear sir while creating  ARE-1 Doc following error getting error while generating ARE 1 DOC internal number message no : 4F238 I MAINTAIN ALL NO RANGE OBJECT ALSO THEN ALSO GETTING ERROR Sl No Object Tocde Module After Closing the Year ; Maintain the

  • Ipod no longer syncs video. Why?

    On the 20th July 2011 I updated to itunes 10.4, ever since then I have been unable to sync videos to my ipod. the program I use to convert videos has not changed. The video format has not changed. Aside from total size and length the videos are ident

  • Schedule Lines not generated for MRP Type PD

    HI All, I have created Schduling Agreement, maintained Source List with MRP Relevant - 2 option and maintained Vendor as Fix, maintained info record. I have created a material with MRP type as PD and lot size as EX, and strategy group as MTS. Now whe

  • Transfer iCloud data from 4 to 4S

    I'm having trouble with my iCloud data transfer.  I'm trying to send info from my iPhone 4 to my 4S.  Can you make a comprehensible step-by-step set of instructions on how to transfer data from a previous generation to a newer one?

  • Officejet 7500A Wide Format printer connects intermitte​ntly to computer through wireless network

    I have a recently purchased Officejet 7500A printer that I would like to use wirelessly.  I have an Apple wireless router and am running Windows 7 on my computer.  The printer and computers individually connect to the network and there are no issues