How can I set up dynamic parameters in a CMC schedule?

Just need some help to set-up a month-end schedule in CMC (Central Management Console ).
The schedule will contain a number on Crystal reports. These report should be run for the month just gone. eg If the schedule is run on 30.09.14, I'd like the FROM Date in my reports to be set to 01.09.14 and the TO Date set to 30.09.14.
Can the CMC schedule update the report parameters (prompts) based on the run-date? Eg is there something like TO DATE = @TODAY ?
If this is not provided within CMC, can you suggest how it could be handled?
Thanks, Derek

Hi Derek,
This requirement is dependent to backend or universe.
What is your backend database ?
If it is SAP BW ,then in BEx we can create customer exits which makes report refresh for current month.
If it is RDBMS  and you want to provide prompt in report ,then we need to create @Prompt in universe.
Dave’s Adventures in Business Intelligence » Dynamic Dates Part III: Monthly Date Ranges
if prompt is not required then create a condition in universe to run the report always for current month
Ex: With SQL server , derive month from date
upper(CONVERT(varchar(3),ADS_EVENT.Start_Time,7))
condition
@Select(Time\Month) = upper(convert(varchar(3),sysdatetime(),107))

Similar Messages

  • How can i set the dynamic text box to show variable value?

    In AS2, I can make a dynamic text box set a var name, when i
    use button set/change the var value, this textbox can show the
    value also.
    but In AS3, dynamic text box can't add var name. than how can
    i do it now?

    Set an instance name for the dynamic textfield. Then, to
    populate the textfield with the value of a variable, use:
    textFieldInstanceName.text = variableName

  • How can i set a Title to Parameters(Selection-Screen)?

    Hi,
    i have a Selection-Screen with two Parameters. Both Parameters should be have an Title.
    But how can I set a Title two this Parameters? Is there existing any options????
    For example, the Parameters "I_WRBTR" and "I_NBDOCS" needs two Title´s.
    Every Parameter must have a title, but how can I realize this???
    *I have know only a title for "IWRBTR" but i need also a title for "I_NBDOCS"*_.
    DATA: FIELD_BUKRS(10).
    SELECTION-SCREEN BEGIN OF SCREEN 0100.
      SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME TITLE text-001.
         SELECT-OPTIONS SEL_BUKR FOR FIELD_BUKRS OBLIGATORY.
         SELECTION-SCREEN BEGIN OF LINE, COMMENT (25) text-005 FOR FIELD IWRBTR_, POSITION 33.
             PARAMETERS: I_WRBTR(10),
                                      I_NBDOCS(3).
         SELECTION-SCREEN END OF LINE.
      SELECTION-SCREEN END OF BLOCK block1.
    SELECTION-SCREEN END OF SCREEN 0100.
    Thanks for Helps.
    ETN

    Hi,
    try this short example:
    DATA: FIELD_BUKRS(10).
    SELECTION-SCREEN BEGIN OF BLOCK BLOCK WITH FRAME TITLE T_BLOCK.
    SELECTION-SCREEN BEGIN OF BLOCK BLOCK1 WITH FRAME TITLE T_BLOCK1.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (29) T_SEL_BU.
    SELECT-OPTIONS SEL_BUKR FOR FIELD_BUKRS OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK BLOCK1.
    SELECTION-SCREEN BEGIN OF BLOCK BLOCK2 WITH FRAME TITLE T_BLOCK2.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT (32) T_WRBTR.
    PARAMETERS: I_WRBTR(10).
    SELECTION-SCREEN COMMENT 50(15) T_NBDOCS.
    PARAMETERS: I_NBDOCS(3).
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK BLOCK2.
    SELECTION-SCREEN END OF BLOCK BLOCK.
    INITIALIZATION.
      T_BLOCK  = 'parameter'.
      T_BLOCK1 = '1. parameter'.
      T_BLOCK2 = '2. parameter'.
      T_SEL_BU = 'Buchungskreis'.
      T_WRBTR  = 'Parameter wrbtr'.
      T_NBDOCS = 'Parameter nbdocs'.
    Regards, Dieter

  • How can I set VM parameters except Xms and Xmx?

    I can set the Xms and Xmx as the following:
    <j2se version="1.4+" initial-heap-size="80m" max-heap-size="80m"/>
    but how can I set other VM parameter such as Xmn,XX:SurvivorRatio,and some which to special JVM(for example:JRockit)?

    There is a whole list ov vm-args considered "safe" by java web start listed in the developers guide at:
    http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/syntax.html#resources
    these can be set with the new arg to the j2se element, vm-args like this:
    <j2se version="1.5.0+" java-vm-args="-esa -Xnoclassgc"/>
    /Andy

  • How can I do a dynamic include of a page fragment?

    I have a technical support website with a lot of simple html pages. What I want to do is hyperlink from the index page to another page, which would display these html pages as a page fragment, dynamically based on a session bean set by the hyperlink.
    I basically want to do this, if it was possible:
    <jsp:directive.include file="#{SessionBean1.pageToDisplay}"/>
    Now the FAQ's has a topic "How can I do a dynamic include of a page fragment?", which would seem to answer my question.
    But this is all it says, and it makes no sense to me. Could someone please translate? :)
    "Using a page fragment file (but using instead of the usual Creator approach) will accomplish a dynamic include."

    Here is 1 solution:
    First add this to the jsp:root tag:
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    Then surround the page fragment directive with something like this:
                            <div style="position: absolute; left: 24px; top: 408px">
                                <c:if test="${SessionBean1.count > 0}">
                                    <jsp:directive.include file="testPF.jspf"/>
                                </c:if>
                            </div>

  • Can we set the dynamic data source when using getReportParameters() ?

    Hello!
    I have a report where one of its parameters refers to a list of values (LOVs). This list of values is an SQL Query type. When the data source used in the report is defined in the BI Publisher server, I'm able to get the report parameters using the getReportParameters() function in my application. However, if the data source is not defined the function throws an exception, which is understandable.
    I decided to dynamically set the data source so that even if the data source used by the report is not defined in the BI Publisher server, it still will be able to get the LOVs for the parameter. I tried setting the JDBCDataSource of the dynamicDataSource for the ReportRequest object that I passed to the getReportParameters() function. Please see the sample code below:
    reportRequest.dynamicDataSource = new BIP10.BIPDataSource();
    reportRequest.dynamicDataSource.JDBCDataSource = new BIP10.JDBCDataSource();
    setReportDataSource(reportRequest.dynamicDataSource.JDBCDataSource, connectstr, jdbc, dc); //function to set the values for JDBCDataSource object
    reportParams = webrs.getReportParameters(reportRequest, uid, pwd); //call the getReportParameters
    I was expecting this to work as this is what I did to dynamically set the data source before calling the runReport function. So, my question is -- can we set the dynamic data source when using getReportParameters() ? I tried this both in versions 10g and 11g. It does not seem to work on both versions.
    Regards,
    Stephanie

    report_id column of apex_application_page_ir_rpt can help us uniquely identify each saved report.
    We can assign this report_id value to a page item and this page item can be put in the Report ID Item text box of the Advanced section of the Report Attributes page of the IR.
    This should load the saved report identified by report_id and you can get rid of javascript
    Regards,
    Vishal
    http://obiee-oracledb.blogspot.com
    http://www.packtpub.com/oracle-apex-4-2-reporting/book
    Kindly mark the reply as helpful/correct if it solves your problem

  • How can i set dynamice for week on Selection screen..pls help me..Urgent

    Hi..All
    please Help me .. i am very  confused..
    i need to set a varient for week which is dynamic on selection screen.
    b) Week from current week to current week + 2. (<b>Dynamic selection)</b>how can i set dynamice for week on Selection screen,,
    how can i do this..i am alrady set dynamice variant for Date.. there is option for D.. but in case of week there is a no option.
    pls help me..urgent
    thamks in advance.
    mayukh

    Hi,
    I think the way out is use the dynamic select option while setting up the varinat and use sy-datum to sy-datum+9 which should essentially serve the purpose.
    While saving the variant, for that particular date field check the Selection variable checkbox, then Choose D
    option and then choose current days + or - option from there.
    Rgds,
    HR

  • How can I set a path for a new AD-User in this Switch example?

    Hi,
    I am nearing the end of my script that creates a new ad user, adds them to a set of groups, and moves them to their correct ou.
    The problem I have is that I cant work out how to move them to the OU.
    eg.
    Step 1. In my function I have completed the part that creates the user, and I have used the -passthru parameter to return the new user object into a variable called $obj.  
    Step 2. I have created a switch that accepts a department variable, and adds the user to the corresponding groups.
    Step 3. Finally I want the user to be created in an OU that is relevant to their job role. If possible in the same switch as above.
    Here is the switch :
    Switch($dept)
    Finance {$FinanceGroups = @("Finance","Users");ForEach($group in $FinanceGroups){Add-ADGroupMember -Identity $group -Members $Obj}}
    Sales {$SalesGroups = @("Sales","Users");ForEach($group in $SalesGroups){Add-ADGroupMember -Identity $group -Members $Obj}}
    Support {$SupportGroups = @("Support","Users");ForEach($group in $SupportGroups){Add-ADGroupMember -Identity $group -Members $Obj}}
    I was trying to do it like this.
    Finance{$FinanceGroups=@("Finance","VPN_Users");ForEach($groupin$FinanceGroups){Add-ADGroupMember-Identity$group-Members$Obj}{$Obj.Path ="OU=Staff,OU=Accounts,OU=Resources,DC=homenet,DC=com"}}
    But it doesn't seem to work, and I think the problem could be that the new user object returned by the -passthru parameter is read only. So I can't set it's parameters.
    Can you think of a way to do it?
    Thanks

    I would re-write this function as follows:
    Function New-User {
    [CmdletBinding(SupportsShouldProcess=$true, ConfirmImpact='High')]
    Param(
    [Parameter(Mandatory=$true,
    ValueFromPipeLine=$true,
    ValueFromPipeLineByPropertyName=$true,
    Position=0)]
    [String]$fname,
    [Parameter(Mandatory=$true,
    ValueFromPipeLine=$true,
    ValueFromPipeLineByPropertyName=$true,
    Position=1)]
    [String]$sname,
    [Parameter(Mandatory=$true,
    ValueFromPipeLine=$true,
    ValueFromPipeLineByPropertyName=$true,
    Position=2)]
    [ValidateSet("Milan","London","tokyo")]
    [String]$site,
    [Parameter(Mandatory=$true,
    ValueFromPipeLine=$true,
    ValueFromPipeLineByPropertyName=$true,
    Position=3)]
    [ValidateSet("Finance","Sales","Support")]
    [String]$dept,
    [Parameter(Mandatory=$false,
    ValueFromPipeLine=$true,
    ValueFromPipeLineByPropertyName=$true,
    Position=4)]
    [String]$baseOU = "OU=Accounts,OU=Resources,DC=homenet,DC=com",
    [Parameter(Mandatory=$false,
    ValueFromPipeLine=$true,
    ValueFromPipeLineByPropertyName=$true,
    Position=5)]
    [String]$tempPass = "Temp-pass1"
    Write-Verbose "Creating user '$fname $sname' in OU 'OU=$dept,$baseOU'"
    $objUser = New-ADUser -name "$fname $sname" `
    -GivenName $fname `
    -Surname $sname `
    -DisplayName "$fname $sname" `
    -SamAccountName "$fname.$sname" `
    -AccountPassword ($tempPass | ConvertTo-SecureString -AsPlainText -Force ) `
    -ChangePasswordAtLogon:$true `
    -Path "OU=$dept,$baseOU" `
    -PassThru
    $Groups = @("All_$site","Users","$dept")
    Write-Verbose "Adding user '$fname $sname' to groups '$($Groups -join ', ')'"
    $Groups | % { Add-ADGroupMember -Identity $_ -Members $objUser.DistinguishedName }
    Write-Verbose "Enabling user account '$fname $sname'"
    Enable-ADAccount -Identity $objUser.DistinguishedName
    <#
    Examples
    New-User -fname "Sam" -sname "test" -site Milan -dept Finance -Verbose
    #>
    Notice:
    Function name: follows verb-noun format - best practice 
    $obj variable renamed to $objUser - using variable name that reflects its content
    Use of CmdLetBinding[] and confirm impact as high since you're writing to AD 
    Use of ValidationSet to minimize parameter input errors
    Parameterized baseOU, and TempPass
    Added requirement to change password at first logon
    Enabling the account at the end
    You should wrap each of the 3 steps in a try-catch block. Check for things like user already exists or not, group exists r not, OU exists or not..
    Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable) _________________________________________________________________________________
    Powershell: Learn it before it's an emergency http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx http://technet.microsoft.com/en-us/scriptcenter/dd793612.aspx

  • How u will set the external parameters like packet size and number

    How u will set the external parameters like packet size and number of parallel process.

    Dear Karthik,
    <b>ALE:</b>    
    Use Transaction UPSC02         -      ALE Distribution Unit: Packet Types.
    Performance Optimization for <b>ODS</b> Objects:
    To ensure a good ODS object loading performance, take the following into account:
           1.      Creating SIDs
    The creation of SIDs takes a long time and can be avoided in the following cases by:
           Not setting the indicator for BEx Reporting if you are using the ODS object only as a data store. If you do set this indicator, SIDs are created for all new characteristic values.
           If you use line items (for example, document number or time stamp) as characteristics in the ODS object, in the characteristic maintenance, indicate these as Attribute Only.
    SIDs are created in parallel if <b>parallel activation</b> is switched on (see last point). They are then created with the same number of parallel processes as created for the activation.
    However, if you specify a server group or a special server in customizing, these specifications are not only valid for the activation, but also for the SID creation. The creation of SIDs runs on the application server on which the batch job also runs.
           2.      DB partitioning in active data tables (technical A table)
    By partitioning by database level, you can delete data from the ODS object much more quickly. As a partitioning criterion, choose the characteristic by which you want to delete.  For more information on partitioning database tables, see the database documentation (DBMS-CD). Partitioning is supported by the following databases: Oracle, DB2/390, Informix.
           3.      Indexing
    Use selection criteria for queries for ODS objects. If the key fields are specified, the existing primary index is used. The more frequently accessed characteristic should appear on the left-hand side.
    If you did not specify the key fields completely in the selection criteria (visible in the SQL trace), you improve the run time of the query by creating additional indexes. You can create these secondary indexes in the ODS object maintenance.
           4.      Activation of data in an ODS object
    To improve system performance when activating data in the ODS object, you can make the following entries in Customizing under SAP Customizing Implementation Guide -> SAP NetWeaver -> Business Information Warehouse -> General BW Settings ->  ODS Object Settings:
           the maximum number of parallel processes when activating data in the ODS object as when moving SIDs
           the minimum number of data records for each data package when activating data in the ODS object, meaning you define the size of the data packages that are activated
           the maximum wait time in seconds when activating data in the ODS object. This is the time when the main process (batch process) waits for the dialog process that is split before it classifies it as having failed.
           the server group that needs to be used when activating the data in ODS objects in parallel You have to create the server groups beforehand using the following path: Tools -> Administration -> Network -> RFC Destination, RFC -> RFC Groups. If you do not specify anything here, then the activation runs on the server on which the batch process was started for activation. If a server from the server group is not active, then the activation is cancelled.
           5.      Loading unique data records
    If you only load unique data records (meaning data records with nonrecurring key combinations) into the ODS object, then the loading performance is improved when you set the indicator Unique Data Records in the ODS object maintenance.
    The records are then updated more quickly because the system no longer needs to check whether the record already exists. You do have to be sure that there duplicate records are definitely not being loaded, because this will lead to termination.
    Regards,
    Naveen.

  • How can I fill combobox dynamically?

    I have a combobox which I have to fill dynamically. The data source I have has multiple columns.
    How can I bind this with combobox?
    How can I set which column has to bind with combobox label and which with data?

    <mx:ComboBox dataProvider="{myDataProvider}" labelField="myDatabaseField" />

  • How can i Set ArrayList values to selectOneListbox

    Please Let me know How can i Set ArrayList values to selectOneListbox dynamically from the managed bean

    Note: beanList is a list of selectItems
    ArrayList<SelectItem> beanList;

  • I forgot the administrator password for my mac and cant set a new one without it how can i set a new one

    i forgot the administrator password for my mac and cant set a new one without it how can i set a new one

    Reset Password 10.7, 10.8...
    http://reviews.cnet.com/8301-13727_7-20087723-263/how-to-run-the-password-reset- utility-in-os-x-10.7-lion/

  • How can I set an event to repeat on a week day rather than a numerical day of each month?

    How can I set an event to repeat on a week day rather than a numerical day of each month? I see an option at the bottom of the repeat window .... but I cannot use it. Actually, when I try it freezes up my Calendar.
    Lorrene Baum Davis

    These scrrenshots are from Snow Leopard - I would think that Lion wouldn't be too much different.

  • How can I set my WebI filters to Null and not Null

    Folks,
    I have created a report in WebI and now I am to set up some filters as Null and some Not Null.
    How can I set my WebI filters to Null and not Null?
    Regards,
    Bashir Awan

    Hi,
    As you said you could do it at the report level and also at the universe level.
    One more way is to create the filters in the universe levele and add them in thequery filter.
    Ex: in the filter you need to write :
    Column1 is null and and column 2 is not null etc.
    Hope this will help.
    If this did't  solve your problem then please explain it in detail.
    Cheers,
    Ravichandra K

  • How can I set up Cinema Display as a main screen and leave my macbook pro as a second screen instead?

    How can I set up Cinema Display as a main screen and leave my macbook pro as a second screen instead?

    I learned that the Dock is positioned at the chosen edge of whatever Display is positioned farthest to that side.  E.g. for the Dock to be positioned on the right side of the Cinema Display (instead of the right side of the MacBook), the Cinema Display must be oriented (by dragging) to the right of the MacBook monitor on the "Arrangement" tab of the Displays Preference Panel.

Maybe you are looking for

  • Problem on dual monitor system

    Hi; I have dual monitors and put Eclipse on the right monitor full screen. When I move the mouse over a variable, the pop-up is displayed in the left monitor. ??? - thanks - dave

  • Randomising order of elements in vectors

    hi i have a vector containing vectors containing Doubles (nightmare, i know!). Just wondering if there's an easy way of randomising the order or the elements in the main vector. thanks, al

  • Matrix with Info Columns from different Table

    Hi, how can i manage to have a column in a matrix that doesn't represent a value of the table the other columns are using? For example, i have a matrix and this matrix has values of the UDT (@Table) and one column contains the projectcode. now i want

  • Clock in Clock Out

    Hi, After running the time evaluation the clock in and clock out corrections is not appearing on the portal. We are using CATS for service provider to enter the clock in and clock out. Is there any back ground jobs which have to be run for the data t

  • My app is running slow on iPad .....

    Hi     I made an application which get the image from server and do the processing on it . It is like images are downloaded in the background and do the processing(like zoom,pan etc) on the already downloaded images . But the zoom and pan is not work