How to set a characteristic dependent on value of a keyfigure

Hi folks,
I'm facing the following problem:
I need to create a solution that enables a user to set a characteristic to a values (Y or N).
Because of the circumstances no direct access to RSA1 is possible.
This is why I thought about BI  IP.
The idea is now to plan a keyfigure with 0 and 1. Next step would be to use a planfunction in order to create the corresponding characteristic values:
so like
keyfigure
                   month Jan Feb
customer A              1     0
customer B              1    1
char
leads to                   Jan Feb
customer A              N    Y
customer B              N    N
Any comment whether I'm on the right path?
My Fox Formular looks like:
DATA  FYEAR TYPE 0FISCYEAR.
DATA FKNO_Y TYPE YKNOKUN.
DATA FKNO_N TYPE YKNOKUN.
DATA FREMSPER_Y TYPE YREMSPER.
DATA FREMSPER_N TYPE YREMSPER.
FKNO_Y = Y.
FKNO_N = N .
FREMSPER_Y = Y.
FREMSPER_N = N.
FYEAR = VARV(YMM0005E).
FOREACH FYEAR.
   IF {YKNORESP, FYEAR, FKNO_Y, # } = 1.
      {YKNORESP, FYEAR, FKNO_N, Y} = 1.
  ELSE.
         {YKNORESP, FYEAR, FKNO_N, N} = 0.
  ENDIF.
ENDFOR.

Create 2 reports
Report 1 having Month equal to @{Pv_Type}{Dummy}
Report 2 having Year equal to @{Pv_Type}{Dummy} . Assuming Year in in CHAR datatype . If it is not then convert it to char.
Now for your Year section use Report 1 in condition (row count greater than 0) and for your Month section use Report 2 in condition (row count greater than 0).
Thanks

Similar Messages

  • How to set to-mode to Fixed Value and give a date in RSDV transaction

    Hi
             I am working in BI7.0 environment. I am deploying HR Reporting Project. I need to load data to HR Info Cube 0PAPA_C02, to do this I need to maintain validity slice (RSDV transaction) for the Info Cube. After first load I need to set "to-mode-'Fixed Value'" and give a date such as 31.12.9999.
            Can anyone please let me know the steps on how to set- to mode to Fixed Value in RSDV.
    Thanks

    Here's the basic steps to follow:
    1) Go to tcode RSDV, enter the InfoCube name (0PAPA_C02) and Execute.
    2) If there is data already in the InfoCube you will get a validity table with default validty dates from 0CALDAY.
    3) Click on the Display/Change button so that you're in change mode and edit the validity date to be 31.12.9999.
    4) In the To-Mode column, set the value to 'F' for fixed.
    5) Put the fixed date value (31.12.9999 in your example) in Fixed to time.
    6) Click on Save.

  • How to set group name as default value in People Picker in Infopath 2010

    How to set group name (shareoint Groupname)  as default value in People Picker in Infopath 2010

    Under the Developer tab in Infopath you can manage Loading Events, unfortunetly i dont have Visual Studio on this PC so i cant laborate, but i believe it's rather simple to figure out.
    Edit: Found a easier way, through Data > Default Values.

  • How to set AO channel to 0 value when VI stopped

    when a VI stopped, the AO channel stopped on the level it's get, how to set these analog output to zero when stop a vi?

    Hi!
    As a second option (and if your device supports it ) you could set the property "Idle Output Behavior"
    see here:  http://digital.ni.com/public.nsf/allkb/dc9d2ab6dfb1924e86257260000cc350
    and here: http://forums.ni.com/t5/LabWindows-CVI/Analog-output-behavior-after-the-task-has-stopped/td-p/655137
    Regards,
    Marco

  • How to set List and Tree Binding Value manually from backing bean?

    Dear All,
    I somehow found this code to work so that I could set a value on my bindings from a managed bean.
      public void setBindingExpressionValue(String expression, Object value)
        FacesContext facesContext = getFacesContext();
        Application app = facesContext.getApplication();
        ExpressionFactory elFactory = app.getExpressionFactory();
        ELContext elContext = facesContext.getELContext();
        ValueExpression valueExp =
          elFactory.createValueExpression(elContext, expression, Object.class);
        valueExp.setValue(elContext, value);
      public class MyBean{
      private String employeeId;
      public void inAmethod(){
           setBindingExpressionValue("#{bindings.employeeId.inputValue}",
                                         getEmployeeId());
      }Now, I am thinking. What if I have a List or Tree Binding in my managed bean then how or what should I send
    to the expression value. Is it a List or Map?
    The first one was easy as it is just a string but how about when dealing with collection?
    JDEV 11g PS4
    Thanks

    Hi,
    a tree binding does not set the value of the tree but determines the selected node. The binding itself represents the collection model that shows the hierarchical tree structure. So your question does not apply to a tree
    Frank

  • How to set a pixel to certain value in a Graphic object.

    Hello Every One
    I want to set a certain point in a graphic context to a new Color value let say i have a point (x, y)=(100, 100)
    and i have a JFrame window i can do like this
    Graphics g = getGraphics();
    Now i want to set the point(100, 100) to a new Color say red.
    Please tell me how to do that.
    Thanx Alot

    I was wondering about this earlier today too...
    you can use Graphics.drawLine with the startpoint and the endpoint equal to draw a dot on that pixel, but this seems like overkill.
    /me joins csquadian waiting for an better answer

  • How to set background color based on values in column grouping

    Hello,
    I have query
    select 1 as CustomerID,'Reality' as Type, 100 as Turnover
    UNION
    select 1 as CustomerID,'Budget' as Type, 120 as Turnover
    UNION
    select 2 as CustomerID,'Reality' as Type, 140 as Turnover
    UNION
    select 2 as CustomerID,'Budget' as Type, 120 as Turnover
    I have matrix, where in rows are customers, there is columngroup based on field Type and in details are summaries of Turnover. I need to change background color of Reality field, when lower than Budget. How can I do that please ?

    Hi volyn,
    After testing the issue in my own environment, we can use custom code to achieve your requirement. For more details, you can refer to the following steps:
    Copy the custom code below and paste it to your report. (Right-click report>Report Properties>Code)
    DIM PreviousValue AS Decimal
    Dim CustomerID AS String = ""
    Public Function  GetPreviousValue(byval Val as Decimal, byval CusID as string)  as Decimal
    DIM Local_PreviousValue AS Decimal
    IF CustomerID <> CusID THEN
    CustomerID  = CusID 
    PreviousValue  = val
    Local_PreviousValue  = 0
    ELSE
    Local_PreviousValue =  val - PreviousValue 
    PreviousValue  = val
    END IF
    return Local_PreviousValue 
    End function
    Click the cell which contains [Sum(Turnover)] value, modify the expression of BackgroundColor property to like this in the Properties Window: 
    =iif(Code.GetPreviousValue(Fields!Turnover.Value,Fields!CustomerID.Value)<0,"Brown","White")
    In this scenario, you can change Brown color to any color you like. The following screenshot is for your reference (I added some data to make it more clearly):
    If you have any other questions, please feel free to ask.
    Thanks, 
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to set a default tabular form value?

    I am trying to set a default value for a tabular form.
    In Tabular Form Element:
    ========================
    Display as: Date Picker
    Formet: Date Picker (DD-MON-RR)
    Default Type: Item (application or page item name)
    Default P2_DATE
    My item P2_DATE is set as:
    ==========================
    Date Picker (DD-MON-RR)
    However when I try to add a row with a default date I get this error:
    report error:
    ORA-01790: expression must have same datatype as corresponding expression
    Any ideas?
    Regards,
    Pawel.

    Sorry for spamming but found a solution:
    which was to change the type into PL/SQL Expression like so:
    to_date(:P301_PROJECT_XFR_DATE,'DD/MM/YYYY')
    This is the format I used in P2_DATE...
    Regards.

  • How to set a global configuration for Value Interaction

    Hi there
    i have this problematic situation about some of my dashboards, cause i need to set the same configuration for all of them in the part of the value interaction,
    some of there have in the "default situation" drill and others have "navigation"
    exist a config for this?
    regrats

    Hello Pavel,
    >> … and then on the login page I created a process …
    A typical APEX login page includes a process called Clear Page(s) Cache, with a sequence of 30. If the process you have create has a higher sequence (>30) it will see a null page values as they have been cleared already.
    Regards,
    Arie.
    &diams; Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all.
    &diams; Author of Oracle Application Express 3.2 – The Essentials and More

  • How to set value of textinputbean in am

    hi guys,I have an item on my oaf page that is non data base item and i want to set its value in AM.Actually I am calling a DB procedure in AM that return me a value now i want to set this value in TextinputBean.but i dont know how to set a non database item value.
    Earlier i was setting database item values by getting vo and its row.
    Please Urgent

    You can't change bean properties in AM rather you have to use controller(CO).
    Call the AM method from controller and get the value. Set the value of the bean in the controller.
    Setting the value should only be done in processRequest.
    If your use case doesn't permit to call the AM method from processRequest then call the AM method from processFormRequest and call forwardImmediatelyToCurrentPage method which will call the processRequest and set the value of the bean in processRequest.
    For sample code have a look at the forum entry
    https://forums.oracle.com/thread/2554198
    Regards,
    Peddi.

  • How to set remembering playback position as default

    Hi everyone,
    I know how to manually set the "Remember Playback Position", however it doesn't remain set and keeps on dropping off.
    does anyone know how to set it as a default value? or is there a bug effecting this functionality?

    Hi Alessanrdo,
    Thanks for your reply.
    Actually the motive behing this option is to cover the "loop hole" of ARQ application. If you notice, we can "keep" adding the same role which is already assigned with different validity dates. ARQ does not control this!
    Eventually, what happens that in the back end system, the user master record is overwhelmed with the same role entry with different validity dates!
    Unfortunately, application does not have any control over this. Therefore, at least making "RETAIN" as the default provisioning action, we can have a "sort" of control over this. What happens is, if I add a role which is already assigned to a user and change the validity dates, there will not be any new entry in the back end system with the same role.
    Hope this will help you understand the requirement and advise me.
    Regards,
    Faisal

  • How to set proxy for client-server socket connection?

    Hi,
    I'm using the code found on the following page to create a client (mobile) to server (pc) connection and send a text message.
    http://javafaq.nu/java-example-code-503.html
    This works with mobile operators without proxy, but does nothing when the operator uses a proxy. The question is, exactly how to set the proxy and port values for using that code.
    Any help is greatly appreciated, thanks,

    It's part of the cellular settings, and is usually set up by your 3G provider. You can't choose your own proxy server

  • How to set ALLOW_MULTIPLE_SERVERTASK_UKTS?

    I am new to APO/LiveCache.
    Could you tell me how to set and display the current value of ALLOW_MULTIPLE_SERVERTASK_UKTS?
    Thanks!

    Hello,
    easy way how to set/check it is to use SAP transaction  lc10 -> administration -> <something ,something > -> parameters
    or  you can use one opf the tools SAP offers to administrateliveCache or MaxDB
    MaxDB Database Studio 7.7 , or DBMGUI 7.6, you can get them from service Marketplace

  • How to set a 3 default values for a dependent key flexfield

    hi,
    I have an inquiry in oracle applications 11i - Oracle General Ledger module, Accounting Key flexfield structure.
    we have an independent key segment PROJECT and a dependent key segment SUB-PROJECT.
    Can we define 3 dependent value for the SUB-PROJECT to be the default for any new entered value in the PROJECT segment??
    e.g creating 3 default SUB-PROJECT values: X, Y, and Z. Any new value entered to the PROJECT key segment will have X, Y and Z by default as it's SUB-PROJECTS.
    If the above scenario is possible, please guide me to the best solution...
    Thank you...

    I can find that the value set of any dependent value set has only one room for a default value.
    What are the implications of creating a new Independent value set and assign it to the SubProject segment, on historical data and reports?
    thank you...

  • How to get the values from table region and how to set

    Hi,
    I have a requirement as Seeded Page Having One Table Region having around 8 columns, In That Item Description field is there. My Requirement is I need add one more field for that Region and assign the value depending Item Description.
    I will create one new Item in that region and will give name as Item, But how to set the values to Item Depending on Item Description.
    Is it possible to through CO Extension, If yes..Pls help how to get it.
    Thanks in Advance,
    Hanimi

    Hi Hanimi,
    1. You need to extend the VO, add a new Attribute.
    2. In VORowImpl of the extended VO, you can find the getter for your new attribute (example getItem())
    3. In this getter method you can write some code like:
    if("ABC".equals(getItemDescription())
    return "XYZ" ;
    -Prince
    http://princekapoor82.blogspot.com

Maybe you are looking for

  • Message determination in purchase order

    Hi , We have maintained the Condition record for NEU by Tcode MN04 based on Document type and medium as default Fax and it is working fine however when we are trying to maintain the condition record for a particular vendor by Doc type/Purch.Org/Vendo

  • "My Windows 7 Dell will see Airport network but will not connect"

    "My Windows 7 Dell will see Airport network but will not connect" Can anyone help me out with this? Thanks,

  • Regarding certification in oracle apps

    Hello, Please guide me the certification in oracle apps, which modules are available in oracle apps? and which previous certifications are required for oracle apps certi? Also tell me which apps modules are in demand ? Thanks in advance, Omkar

  • LV 2009 SP1 corrupts front panel VI during 'save' operation

    My best guess is that corruption happens during 'save' operation. Steps: 1. Slightly modify vi. 2. Run it, then stop and exit with saving of changes. (Saving takes unusual big amount time and cpu/memory resources) 3. Try to open vi and get the messag

  • How to display the HTML pages in RRC/RQM dashboard using OpenSocial gadget

    Hi, I have a requirement as below: 1. I have couple of HTML pages which are hosted in the sharepoint site and I would like to display the HTML pages 2. I would like to have an OpenSocial gadget in the RRC/RQM dashboard that will display the HTML page