SAP BPC NW 7.0 How to summarize values for past periods

Hi all,
I have a following problem. I need to make adjustments for previous periods. And to create a new adjustment I need to take into account adjustments that were made in the past periods.
I mean that I need to do smth like this u201CEVGET(Application,2009.NOV)u201D but instead of u201C2009.NOVu201D I need to use u201Cwhere time<2009.NOVu201D
The question is how can I calculate adjustments values that were made in the past? (I need values for the whole history for the same dimension values).
P.S.I had an idea to create the highest hierarchy node for time dimension and to use it in EVGET function instead of 2009.NOV but  this idea was blocked by architect.

Hi Boris,
I would try the following:
- cell with "Start year" (eg: cell A1 with value "2005")
- cell with "End year" (eg: cell A2 with value "2009")
- Excel button linked to a macro or VB code that reads cells A1 and A2 and populates TIME MemberSet parameter with all the years in the reange (eg: "2009.DEC, 2008.DEC,2007.DEC,2006.DEC,2005.DEC" assuming YTD measure)
- EVSUM function in AfterRange to calculate the sum of every year in the range
Best regards.
Joao

Similar Messages

  • How to set value for radio button in sap crm survey suite

    Hi ,
    I created a survey in CRM Service, in which I added a question with answer as '10 Selection Button Group ('radio button'). And answer has 11 answer options (which means 11 radio buttions). Now when we test the survey, the value for the radio buttons is appearing like 'id_0050569b03091ee480a29d8ee61e953c'. But i want to set a specific value for each radion button (from 1 to 11). So, how to set value for radio button in sap crm survey suite???.
    Thanks & Regards,
    Seshu

    Hi,
    I found solution myself. Click on Goto -> Editing Mode -> Expert Mode. Now you can set value for radio button.
    Regards,
    Seshu

  • How to populate values for a new field in target infoprovider

    Hi Experts,
    am new to BI. i would like to know on how to populate values for a new field in the target cube with start rotuine.In my case,  i have a source infoprovider, which has 3 fields and a target infoprovider, which has 5 fields. i need to populate the new 2 fields in start routine. i dont want to populate using Field routine and am using 3.5 version. please assist with code on how to solve this issue.
    Thank you,
    Chitra.
    Edited by: Chitra_BI on Jun 13, 2011 10:23 AM

    Debug the standard code and see where the other fields are getting update. you can use the similar approach and area to code for the new field.
    Regards,
    Lalit Mohan Gupta.

  • How to set value for trim and bleed using jsx script?

    I have tried using bleedoffsetRect but somehow it is not working. Can anybody please help me on how to set value for trim and bleed using jsx script? Any example will be highly appreciated.
    Following is the code I am trying with:
    var _saveName = new File ( root_path +_strFileName+".pdf");
        var _saveOpts = new PDFSaveOptions();
        _saveOpts.printerResolution = 300; 
        var bleedarray = new Array();
         bleedarray[0] =9.00;
         bleedarray[1]=9.00;
         bleedarray[2]=9.00;
         bleedarray[3]=9.00;    
        _saveOpts.bleedOffsetRect = bleedarray;

    I would expect although I've not actually tried this for the bleed off set box to be larger than the artbaord and the first two values to be negative or 0…
    var bleedarray = new Array(-9,-9,artboard.width+9,artboard.height+9);
    Where 'artboard.width' & 'artboard.height' you will have calculated from your file. An Array(9,9,9,9); would not constitute any boxes bounds.

  • How to assign values for more than one field

    Hi,
    I have written following code
    constants: fieldname(30) value '(SAPMF02D)KNA1-AUFSD'.
    constants: fieldname1(30) value '(SAPMF02D)KNA1-LISFD'.
    constants: fieldname2(30) value '(SAPMF02D)KNA1-FAKSD'.
    field-symbols: <L_FIELD>  TYPE ANY.
    field-symbols: <L_FIELD1> TYPE ANY.
    field-symbols: <L_FIELD2> TYPE ANY.
          Assign (fieldname) to <l_field>.
          <L_FIELD> = 'ZB'. " value according to your requirement
          Assign (fieldname1) to <l_field1>.
          <L_FIELD1> = 'ZB'.
    while debugging <l_field1> is not assinging (fieldname1).
    Im able to assing for (fieldname).
    how to assign value for (fieldname1).
    plz suggest me to assign values for more than one field.
    Regards,
    Brahmaji

    Hello,
    Because there is no field name called LISFD in KNA1. Actually you misspelled the field name.
    It is KNA1-LIFSD

  • How to bind values for input parameters from an adf table?

    Hi,
    The version I am using is
    Jdev TP4 11.1.1.0.0
    I need to know how to bind values for input parameters to methods.
    I have created an af:table and I have a button created using a method which is outside the af:table. This method needs to take input parameter values from the column values in the table.
    When I have an adf form instead of the table the binding works.
    Any help?
    Thanks.

    Hi Balaji,
    you need to bind you table to a backing bean and call a method in the backing bean when you hit the button. In the method you get the selected row from the table and have access to the columns of it. Then call the the method with the parameters.
    To bind the table to a bean select the properties of the table, go to behavior section and look for the advanced section 'Binding' property.
    Select the small down arrow at the right side and click edit. In the dialog select or create a bean and property for the table.
    Go to the button properties, look for 'Action', again select the small down arrow and click 'Edit'. Select the bean which holds the table property and create a method for the button.
    The method look like    public void bearbeitenQuelle(ActionEvent actionEvent)
            // Add event code here...
            RichTable lTable = getYourTable();
            Object lData = lTable.getSelectedRowData();
            FacesCtrlHierNodeBinding lNB = (FacesCtrlHierNodeBinding) lData;
            YourViewRow lRow = (YourViewRow ) lNB.getCurrentRow();
        }Hope the get you started
    Timo

  • How to set value for selectOneChoice

    Hello,
    How to set value for selectOneChoice defined as:
    <af:selectOneChoice label="Label" id="soc1" binding="#{DepositorMergingBean.socSurnameComponent}">
    <f:selectItems id="si1" value="#{DepositorMergingBean.socSurnames}"/>
    </af:selectOneChoice>
    where socSurnames is List<SelectItem> - manually filled list of SelectItem(SomeObject, (String)text_description), so - SOC is filled manually (no binded iterators, etc..)
    Neither socSurnameComponent.setValue( new Integer(0) ) nor socSurnameComponent.setValue( socSurnames.get(0) ) do not help.
    Thanks in advance.

    this.selectOneChoice.setValue(selectItems.get(2).getValue());Try as per the following sample:
    SelectOneChoiceTest.JSPX:
    <af:form id="f1">
    <af:selectOneChoice label="Select One Choice" id="soc1"
    binding="#{SelectOneChoiceTestBean.selectOneChoice}">
    <f:selectItems value="#{SelectOneChoiceTestBean.selectItems}"
    id="si1"/>
    </af:selectOneChoice>
    <af:commandButton text="Set Selected Value" id="cb1"
    actionListener="#{SelectOneChoiceTestBean.onClick}"/>
    </af:form>
    SelectOneChoiceTestBean.java:
    import java.util.ArrayList;
    import java.util.List;
    import javax.faces.event.ActionEvent;
    import javax.faces.model.SelectItem;
    import oracle.adf.view.rich.component.rich.input.RichSelectOneChoice;
    public class SelectOneChoiceTestBean {
    private RichSelectOneChoice selectOneChoice;
    public SelectOneChoiceTestBean() {
    super();
    private List<SelectItem> selectItems;
    public void setSelectItems(List<SelectItem> selectItems) {
    this.selectItems = selectItems;
    public List<SelectItem> getSelectItems() {
    selectItems = new ArrayList<SelectItem>();
    selectItems.add(new SelectItem("One", "One"));
    selectItems.add(new SelectItem("Two", "Two"));
    selectItems.add(new SelectItem("Three", "Three"));
    return selectItems;
    public void setSelectOneChoice(RichSelectOneChoice selectOneChoice) {
    this.selectOneChoice = selectOneChoice;
    public RichSelectOneChoice getSelectOneChoice() {
    return selectOneChoice;
    public void onClick(ActionEvent actionEvent) {
    this.selectOneChoice.setValue(selectItems.get(2).getValue());
    Thanks,
    Navaneeth

  • How to estimate value for LogBufParallelism

    how to estimate value for LogBufParallelism.
    Are there any dependencies between LogBufParallelism and LogFlushMethod ?

    If you are going to use logbufparallelism
    please make sure to use a release >= 11.2.1.7.0, as there was a bug related to using logbufparellelism in previous releases:
    In previous releases, the replication agent could crash and invalidate the database when the replication agent was reading close to the end of the in-memory logs. This problem could occur when the value of the connection attribute LogBufParallelism was greater than 1. In that case, one particular log record could cause a log strand reader to block and cause other strand-readers to read records in an incorrect order. This problem has been fixed. (BugDB 10174319 and 10176689)
    The suggestion is that you can set to any value up to the number of processors or cores that you have.
    Most people though I usually choose to set it something slightly lower than that if they want cpu(s) to be used other processes on the machine.
    There is no dependency with LogFlushMethod, but there is one for LogBufMb:
    If you change the value of LogBufParallelism, you also may need to change the value of LogBufMB to
    satisfy the constraint that LogBufMB/LogBufParallelism >=8
    Jim

  • How to supply values for searchCriteria items in af:query programmatically

    Hi,
    Is it possible to supply the default values for search criteria items in af:query programmatically? I didn't find any of the method to set the values for the search criteria items inside the oracle.adf.view.rich.model.Criterion and oracle.adf.view.rich.model.AttributeCriterion classes.
    Please let me know how can I supply DATE values by default for the search criteria items inside the view criteria.
    Thanks

    Jdev I am using is 1.5.
    I've search page where I've a date field (like TransactionDate). The transactionDate is a transient variable in my VO. Created a view criteria using this transient date filed and kept the operator as 'Between'. When I load the page, I want to keep the values for Between operator as 'CurrentDate' and 'CurrentDate - 365 days' (LastYearDate as of today).
    I can't use bind variables to set the currentDate and lastYearDate to the values of the 'Between' operator. If I use so, I will get an error 'Attempt to set a parameter that doesn't occur in the sql.....'.
    So I thought of overriding the QueryEvent inside the bean. But I didn't find a way to set the values for the TransactionDate programmatically.
    I tried below code in the queryEvent method, but in this case the response time is very hign ( I didn't see the result till 30mn).
    DCBindingContainer bc = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    ViewCriteria vc =
    JUSearchBindingCustomizer.getViewCriteria((DCBindingContainer)bc.findExecutableBinding("SupplierSearchCriteriaQuery"),"__ImplicitViewCriteria__");
    Date curretYearDate = null, lastYearDate = null;
    Calendar calendar = Calendar.getInstance();
    curretYearDate = calendar.getTime();
    calendar.add(Calendar.DAY_OF_YEAR, -365);
    lastYearDate =calendar.getTime();
    Object o = new Date();
    ViewCriteriaRow vcr = (ViewCriteriaRow)vc.get(0);
    for(int i=0;i<vcr.getAttributeNames().length;i++) {
    if(vcr.getAttributeNames() == "LastTransactionDate") {
    System.out.println("====================== opeartor ================== " + vcr.getOperator("LastTransactionDate"));
    if( ("%".equals(vcr.getAttributeValues()[i]) || vcr.getAttributeValues()[i]==null)) {
    List nameList = new ArrayList();
    nameList.add("LastTransactionDate");
    List valueList = new ArrayList();
    valueList.add(lastYearDate);
    valueList.add(curretYearDate);
    vcr.setAttributeValues(nameList, valueList);
    vc.addRow(vcr);
    JUSearchBindingCustomizer.applyAndExecuteViewCriteria(bc, vc);
    Thanks,
    Lakshman

  • How to pass values for compound primary keys for updating the record in db.

    i have a entity bean in my ejb with two primary keys to it...eg. roleid,rolename...
    when iam retriving the record i use only one primary key ...so again to modify and update he same record which i retrived is a pbm..
    i cannot set the values for the compoundpk,,,
    but i can do the update for the bean with single primary key..
    i need to know how to pass the values/parameters for the coumpound primary key in my update method...
    thanx in advance...
    Arjun.G

    I istantiated a object for the pk class and assign the values for the primary key fields...
    Arjun.G

  • How does the value for "Escalated incidents" in the KPI report work?

    Hello,
    I've been running the standard KPI report in SCSM for our support groups and noticed that the value of "Number of incidents" in some cases are lower than the value for "Escalated incidents". How could this happen? Isn't "Number of
    incidents" the total and "Escalated incidents" just an indication of how many of the total that have been escalated? Do I need to add them together to get the total?
    It could be noted that we tick the check-box in the incident form manually without any connection to SLO.
    Am I missing something? Any suggestions would be appreciated. :)
    Best regards,
    Marcus

    >If you can't deactivate ahead of time, you can contact Adobe Customer Care to help you.  But like I said, you can install on up to 2 devices.  I think if you try to install on a 3rd device, your other 2 get deactivated automatically.  So even if you have to format C, you'll still be able to get up and running pretty quickly.
    Great, thank you.
    >Perpetual License means "yours to use for as long as your operating system can run it."   CS6 is almost 3 years old and no longer being updated.  It is what it is.  Presently, 4 versions back from the currently available Creative Cloud version.
    Too bad they went to a dumb subscription based model that doesn't allow you to purchase a full license outright.  I don't want to pay $30 a month,  I'd rather pay a lump sum and be done with it.

  • How to Create records for n periods

    hello,
    Iu2019m new to script logic and MDX and need any help.
    I would like to know how to do it:
    Include a new information (100) for dimension account Sales, from time period 2008.NOV, 5 periods, like that:
    2008.nov / 2008.dec/ 2009.JAN/ 2009.FEB/ 2009.MAR
    100/          100/           100/          100/          100
    Any suggestions?
    Thanks in advance.
    Sue

    Hello Kyle,
    Thanks for your reply.
    The application has a user-defined dimension, Emp. There is a property called date1 at the Emp dimension. Depending on the Emp selected, it will have a different initial time.
    The number of periods (5 in the example) can be different. There is a member at the account dimension, period, that defines how many periods must be stored.
    Information for Sales comes from other account, SalesTot. User inputs other values for SalesTot calculation.
    So I have,
    For emp1.dat1 = 2008.NOV
    have to update Sales account, beginning from 2008.NOV and updating for the others periods. The biggest difficulty is because of the initial time and I have to create new records for the sequence, and I cannot have a hierarchy for this.
    Hope this clarifies a bit.
    Thanks again.
    Sue

  • How to set value for html:img

    i am using <html:img tag to render image and i need to set some value to that image when selected and that value need to be checked in java code.
    How i can set the value for that image.
    Thanks,

    use javascript and hidden input to do this:
    <html:img src="your_img.gif"     ononclick="document.getElementById('your_hidden_input_id').value='your_value' ">
    <input type="hidden" name="your_hidden_input_name" id = "your_hidden_input_id" value="" />Hope that Helps

  • How to set value for Dropdown control using Querystring filter wepart

    Hi,
    I have a dropdown in my customized list form and need to set the value for the dropdown control using query string filter web part.
    I am able to set value for textbox control using Query String Filer web part.
    But, since the dropdown values are not populated on form load, the value is not set for dropdown control.
    How to load the values in dropdown control on form load and set a value using Query String filter webpart?
    Thanks,
    dhijit

    Hi,
    According to your post, my understanding is that you want to filter choice field using Query String Filter web part.
    To filter using query string filter web part, we can set the default value for the choice field in the query string filter web part panel as below, then connect to the list.
    Now it would be filter by the value you have set.
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How to pass values for the checkbox

    Hi all,
    We all have seen the functionality of selecting a check box and then click the button and it performs the task(i.e in the hotmail when you select a line/lines by selecting the checkbox for that line and click the delete button those all mails are deleted). we are trying to implement this functionality. I have written the following code for that, but i get the values for the selected box if the box is the first one but if I did not select the first line and select the second line, i get the values for first line as well as for the secondline separated by comma . In other word it concatinates all values. Can I have some pointers?
    <INPUT TYPE="CHECKBOX" NAME="selectedBoxes" UNCHECKED value=<%out.println(" \"" + boxValues + "\" ");
    And also I don't know how to use the oncheck event for the check box...
    Thanks in advance...
    Ameeta

    Thanks Kan,
    But I am littlebit confuse about how does multiple values have been passed. For Example, i have selected 3 check boxes to delete the record. The value for each check box I need is name, event and hours...Each of these record is separated by '*'. I have three sets of values...for three records..
    1) Ameeta*overTime*5.00
    2) Ameeta*holiday*6.00
    3) Ameeta*weekends*8.00
    I have total 5 or 6 records for this person(Ameeta) and I want to delete these listed three...some how if I use the following coding it gives me all records before the last checked box...
    while(rs1.next())
    isEmpty = false;
    eventType = rs1.getString("EVENT_TYPE" ) ; ;
    eventDate = rs1.getString("EVENT_DATE" ) ;
    hours = rs1.getString("HOURS" ) ;
    hash += Double.parseDouble(hours) ;
    boxValues += eventDate + "*" + hours + "*" shortEvents "#";
    userId = rs1.getString("USER_ID" ) ;
    // employeeId = rs1.getString("EMP_ID" ) ;
    confirmFlg = rs1.getString("CONFIRM_FLAG");
    // out.println("\nrecordQuery:\n" + recordQuery ) ;
    %>
    <tr>
    <td colspan=5 width=100>
    <INPUT TYPE="CHECKBOX" NAME="selectedBoxes" value=<%out.println(" \"" + boxValues + "\" "); %>>
    <td width="150"><%=eventDate%></td>
    <td width="150"><%=eventType%></td>
    <td width="150"><%=hours%></td>
    <td width="150"><%=location%></td>
    <td width="150"><%=confirmFlg%></td>
    </tr>
    **************************************In this code basically I am concatinating so it is obvious that I get every thing before the check box..so I did the following change by adding the line below in the code
    while(rs1.next())
    boxValues = "";
    everything else is same....
    but now I get only the last one that is true too because I am asigning it to the null but I don't know how to pass all checked one.........can anybody help me?      
    Thanks in advance...
    Ameeta

Maybe you are looking for