Chioce of KF depending on user entry

Hello,
I have 3 different key figures that separate transaction currency, company code currency and controlling area currency per record.
The requirement is to be able to display one of these key figures based on user entry. That is, I'd like to choose for example company code currency and thereby use that particular key figure in the query.
Traditionally, a currency type is used for this, but in this case I doesn't exist. How would you solve this issue? Via a virtual KF?
Regards,
F C

Hello,
I want the query to select one of the mentioned key figures depending on the user entry. Hence, I cannot use variables. I reccon I need to fill a virtual KF with the value of either one of the real KF's.
I could create an own column per KF and hide/unhide, but this is not the requirement. Only one should be chosen depending on user entry.
Any other ideas?
Regards,
F C

Similar Messages

  • Variable Creation on user entry FISPER

    Hi All,
    I need help to design a BEx Query , currently I am facing a challenge. The client require the report query design as per the screen shot.
    Hence I have
    1. I have calculated YTD using 0P_FPER (User Entry Value).
    2. But the rest figures , I need to display over the periods , for example user entered 003.2009 , the Key Figure should be displayed under three column 001 till 003 and YTD Key figure in single column cumulative of all three periods.
    3. Please help as I am unable to create variable which will give me 002.2009 and another variable 003.2009 ..
    The number of column should be dynamic in nature depending upon user entry.
    Regards,
    Subhasish

    So , I just have to use it as restriction (filter) = 0I_BA106 for the Previous Year YTD.
    Do I need to consider any other variable for Fiscal Year restriction ?
    The Function module states :
    FUNCTION RSVAREXIT_0I_BA106 .
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(I_VNAM) LIKE  RSZGLOBV-VNAM
    *"     VALUE(I_VARTYP) LIKE  RSZGLOBV-VARTYP
    *"     VALUE(I_IOBJNM) LIKE  RSZGLOBV-IOBJNM
    *"     VALUE(I_S_COB_PRO) TYPE  RSD_S_COB_PRO
    *"     VALUE(I_S_RKB1D) TYPE  RSR_S_RKB1D
    *"     VALUE(I_S_RKB1F) TYPE  RRO01_S_RKB1F
    *"     VALUE(I_THX_VAR) TYPE  RRO01_THX_VAR
    *"     VALUE(I_STEP) TYPE  I DEFAULT 0
    *"  EXPORTING
    *"     VALUE(E_T_RANGE) TYPE  RSR_T_RANGESID
    *"  EXCEPTIONS
    *"      NO_PROCESSING
    *"      NO_VALUE
    * Purpose:
    * get actual period from variable 0P_FPPER
    * and compute interval from first period to corresponding period
    * in previous fiscal year
    * returning parameter
      DATA: l_s_range TYPE rsr_s_rangesid.
    * work area for I_THX_VAR and Period
      DATA: l_wa_thx_var   LIKE LINE OF i_thx_var
          , l_ta_range     LIKE l_wa_thx_var-range
          , l_wa_range     LIKE LINE OF l_ta_range
          , l_period(3)    TYPE n
          , l_year(4)      TYPE n
          , l_prev_year(4) TYPE n
    * some checks to start with
      IF i_vnam <> '0I_BA106'.
        RAISE no_processing.
      ENDIF.
      IF i_step <> 2.
        RAISE no_processing.
      ENDIF.
      REFRESH e_t_range.
      CLEAR l_s_range.
      CLEAR l_period.
      READ TABLE i_thx_var INTO l_wa_thx_var
        WITH TABLE KEY vnam   = '0P_FPER'.
      l_ta_range = l_wa_thx_var-range.
    * only one value allowed
      READ TABLE l_ta_range INTO l_wa_range INDEX 1.
      l_year   = l_wa_range-low(4).
      l_period = l_wa_range-low+4(3).
      IF  ( l_period IS INITIAL )
       OR ( l_year   IS INITIAL ).
        CLEAR l_s_range.
        RAISE no_value.
      ELSE.
    * get previous year
        l_prev_year = l_year - 1 .
        CONCATENATE l_prev_year con_first_period INTO l_s_range-low.
        CONCATENATE l_prev_year l_period         INTO l_s_range-high.
        l_s_range-sign = 'I'.
        l_s_range-opt  = 'BT'.
      ENDIF.
      APPEND l_s_range TO e_t_range.
    ENDFUNCTION.
    Please suggest.
    Regards,
    Subhasish

  • Check user entry in Customer Exit Variable in i_step2

    Hi Folks,
    at the moment I'm facing a challenging problem. In an BW Query i have a Customer Exit defined as "not ready for Input" to catch the Variable in I_Step = 2 and fill by a certain algorithm. When i change the CE Variable to "Inputready", the user can enter values, but i have no chance to react on these values as i_step = 2 will not b reached during execution- And this behaviour is correct. BUT is there any chance to Check user entries in an Customer Exit variable and change this somehow in des code?
    Thanks for all replies.
    BR,
    Maik

    Hi there,
    It is possibel depending on what you wish to accomplish.
    You can create two variables for the same characteristic.
    The first is an input ready variable for the user to enter the data and the second is a not input ready variable CE where you can in step 2 process the data entered from the variable ready for input.
    You can than fill the CE variable with any data, but you will have the variable restricted by the two variables (the ready for input and the CE).
    But for validating you could throw an error message based on the variable input ready.
    Diogo.

  • Assigning a customer exit variable to a user entry variable

    Hello all,
    I'm creating a PCA query and would, in a certain column, like to show the year's cumulated value (key figure amount), based on documents posted up until a certain posting period (specified via a user entry). E.g. from 01.2006 to [user entry] where the "from"-year is also dependent of the user entry.
    1) Where do I do this coding (transaction code/function module etc..)?
    2) How do I do this coding?
    3) Does this kind of variables exist as standard? If yes, which one?
    Thanks!!!
    Best regards,
    Fredrik

    Hello again,
    I have now created a new input variable named 'Z_FPER' (single value)  which I want to read into the exit variable...
    I debugged the query and found out that the value of I_STEP is 1, which is wrong. It should be I_STEP = 2... However, I have definied my user exit variable as "no input" and "mandatory". What else should I do to make it a '2'?
    Thanks,
    Fredrik
    P.S. This is the code:
    *&  Include           ZXRSRU01
    DATA: L_S_RANGE TYPE RSR_S_RANGESID.
    DATA: LOC_VAR_RANGE LIKE RRRANGEEXIT.
    CASE I_VNAM.
    WHEN 'Z_FISCPE'.
    IF I_STEP = 2. "after the popup
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
    WHERE VNAM = 'Z_FPER'.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(4)."low value, e.g.200001
    L_S_RANGE-LOW+4(3) = '001'.
    L_S_RANGE-HIGH = LOC_VAR_RANGE-LOW. "high value = input
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'BT'.
    APPEND L_S_RANGE TO E_T_RANGE.
    EXIT.
    ENDLOOP.
    ENDIF.
    ENDCASE.

  • How to change a Characteristic Offset value with a User Entry?

    I have the characteristic "Calendar Day" with the following restriction
    Between
    FROM:  "Current Calendar Day (SAP Exit ) - 60"
    TO:       Current Calendar Day (SAP Exit)
    60 is the Offset value, this will allows to displays current day and 60 days on the past.
    I want to make the offset value dynamic by using a variable that can be modified by the user, so if the user want to display a year then type 365.
    Here is an screenshot of the Query
    http://farm3.static.flickr.com/2173/2274553449_3c8d0d28a0_o.jpg

    Seems like I misunderstood you, I didn't think about making dynamic the offset value.
    The only way to acheive your requirment is to create a variable with user enter for 0CALDAY and when the user enter a specific date, you display only dates greater than those user entry date, but this case the user will enter a date instead of offset.
    Secondly, if you want the user to enter offset, then create a condition and condition variable in your query and depending on user entery, you display the results.
    hope, either one will work for you.
    thanks.
    Wond

  • SUN/Oracle directory user entry DN rename (move)

    Hi,
    Version FIM2010R2SP1 with latest publicly available hotfix rollup applied.
    Use case: Legacy enterprise directory (SUN iPlanet 5.2)  has users in different (ou) branches under the same tree depending on their current job. If they are transferred to another part of the organisation in the HR system, the requirement is to 
    move their user entry in this directory into a different ou.
    MA/Connector: Out of the box Sun/Oracle directory MA
    e.g. (dn) uid=hsmith001, ou=Sales,o=MyOrg.com
    moved to:
    (dn) uid=hsmith001, ou=Cleaners,o=MyOrg.com
    When the export is run to the connected directory, the "move"
    does actually happen in the connected source (the SUN directory server). So far so good.
    The connector space object is now marked as  'Awaiting export
    confirmation' (which is meant to occur on the next import).
    When an import is run, FIM creates a new connector space object with the new (renamed) dn but retains the existing object . At the same time it reports an error "ambiguous-import-flow-from-multiple-connectors" because it is seeing
    two objects with the same RDN (uid=hsmith). It has marked the original CS object for deletion.
    On the next synch, it says it has successfully deleted the original CS Object, however it is still there (and with the same anchor guid).
    It appears that with this connector connected to Sun Directory v5.1 and newer , you don't get to choose which attribute(s) you use for the anchor - it chooses the dn.
    It's puzzling why this issue exists in a technology set that has been around for years, so we are assuming that there is workaround or solution to this problem.
    N.B. This problem has been replicated on two completely independent environments by different people in our organisation.
    Any help/advice/suggestions would be most welcome.
    David.

    We appear to have resolved this.
    Because the sun directory MA isn't the authoritative source for the Person object then the delete failed because the cs object was still connected to the MV object (unfortunately it failed silently).
    The dn and the anchor being the same (forced by the MA) FIM does an add (for the new renamed object) and delete (for the existing object). At least that's our interpretation.
    The solution is to use an MV extension and in code, disconnect the existing cs object and connect to the directory server and do the move (outside of FIM's knowledge.). Then everything will line up on subsequent import, sync as the disconnected cs.object
    which is no longer reflected in the connected source will be deleted.
    Maybe someone has a better description of this.

  • AP Aging report - key date for user entry

    Hi All,
    We have a requirement to calculate aging buckets like 0-30,31-60,61-90...etc.
    I know the key date for this report is created on net due date in SAP standard report.
    In standard SAP report , key date is always a system date(SY-DATUM).
    What we need for this report is , we need to get all the invoices which are outstanding as of that date(the date which user enters).
    If user enters today's date(08/28/07) , he should get all the invoices outstanding till that date in aging buckets and if user enters some date in the past like 07/26/07, he should get all the invoices outstanding as of that date.
    Can  someone Pls tell me if aging buckets are calculated based on a user entry ?
    Regards,
    Kumar

    Hi Voodi,
    Aging in the standard report is being calculated like below...
    1.For open items
    Posting date<key date
    Item status = O
    2.Posting date < keydate and clearing date > key date and net due date with offsets on keydate ( key date + 1 - keydate+30 --- for 1-30 days) like wise for all aging buckets.
    in this scenarion , key date is always system date ie today's date.
    But user wants to get all the invoices based on his user entry...
    is this possible with the same standard key date variable or do we need implement any other logic???
    Regards,
    Kumar

  • User entry in a query

    Hi All,
    I have a  query wherein I want to have a user entry but do not want the query result to be affected by it.
    The details of the query are such that in this query I am calculating Sales actuals by posting period (selecting constant months to make a quarter) and sales commitment  by a normal characteristic Fiscal quarter.
    Is it possible that I have a user entry for quarter and have that quarter (selected by the user) displayed in the query but at the same time display the entire data of the query?
    Please advise.
    Thanks and warm regards,
    Sharmishtha

    Hi Anil,
    In rows I have CGL Branch (user netry/multiple values), organizational division(zdivision/user entry) and sales district. In th columns I have Previous to previous year's sales(SALDR NOTECASH restricted with fiscal year/ user entry variable with offset -2) similarly I have previous year's sales. Then I have current year's Q4 sales. For this I have restricted the same key figure with fiscal year/user entry and posting period=jan,feb,mar). This is because ZBDMIS1 does not have ZFIQUART1(fiscal quarter). Then similarly I have to calculate for all the quarters of the current year. Alongside I also have to calculate the commitments for all the quarters. For this I created a cube in which I included ZFIQUART1 (and loaded thru flat file), as customer will give data in quarter. Finally I made query on the multiprovider. Now, in the query I created a new selection for commitment of Q1 and restricted Sales Commitment Value with fiscal quarter = quarter1 and similarly for all quarters.
    But the values of the Sales Commitment val is not coming at all.
    Also I wanted to put quarter as user entry. (just as a display of the selected quarter in columns, we don't want it to filter the data)
    Thanks and warm regards,
    Sharmishtha

  • Show report in different currency depending on user parameter

    hi all,
    i'm trying to show my report in different currency, depending on users given parameter.
    i hold my account balance in USD based. User should select one parameter, in which currency they want to see their account balance. (e.g. EURO, GBP ...) and depending on their selection, i want to convert USD based info into chosen currency, by fetching field from currency table and making some calculation.
    also i want to include in report currency($, £ ...) accordingly ().
    how can i achieve this, has somebody any suggestion to me?
    thanks in advance.
    bogi.

    hi,
    i think i need to explain my problem more detailed. anyone who has suggestion, please help me.
    i have 3 tables account, times and currency.
    - times table has time_key, date, day_of_week fields.
    - account table has - account_balance and time_key_FK fields.
    - currency table has currency_type, amount, time_key_FK fields.
    1. i have function decode(:Currency,'USD',account_balance,'EURO',--here i want to replace my calculation CALC1---)
    CALC1- this calculation need to some calculation like this: account_balance * (fetched field from this sql)(select amount from currency, account where currency.currency_type='EURO' and account.time_key_FK=currency.time_key_FK)
    i tried to do this, but discoverer plus doesn't let me make condition and calc. i'm very confused.
    2. after i achieve this query, somehow i want to display on worksheet on which currency is it based. can i get parameter value, and show this value as in column heading?
    tnx!!!

  • I'd like to select print paper size with using AxAcroPDFLib method depend on user

    I'd like to select print paper size with using AxAcroPDFLib method depend on user
    request. Is it possible? in AxAcroPDFLib?
    Is there any method to select print paper size in the C# programming.
    Or if you know another method, please introduce how to use.
    Thank you for your cooperation always.

    I am pretty sure that you can only do this from JavaScript or from C/C++ APIs.

  • Current date as deafult for Calender Day and user entry

    Hello All,
    There is a select option for Calender Day for a BW query.
    This Calender Day should have a default as Current Date and User entry is also possible.
    I have used a Customer exit and written the following code under i_step = 1
    data: v_currdt like sy-datum.
    clear: v_currdt, vfl_range.
             if i_step = 1.
              vfl_range-sign = 'I'.
              vfl_range-opt = 'EQ'.
              v_currdt = sy-datum.
              vfl_range-low = v_currdt.
              append vfl_range to e_t_range.
             endif.
    Please inform if this code is incorrect, because I am not able to see the date at all.
    Cheers,
    KP

    Hi
    Check with this code!
    Implemented for the same function as you require.-
    if i_step = 1.
      case i_vname.
        WHEN 'ZZZZZZ'.
          IF i_step = 1.
            REFRESH e_t_range.
            CLEAR l_s_range.
            l_date1 = sy-datum.
            L_S_RANGE-LOW = l_date1.
            L_S_RANGE-SIGN = 'I'.
            L_S_RANGE-OPT  = 'EQ'.
            APPEND L_S_RANGE  TO E_T_RANGE.
          endif.
      endcase.
    endif.
    Regards
    M.A

  • User entry variable with exclude values

    Hello All,
    I created a  user entry/ default value variable, which allows multiple single values and is optional entry. And I also got to exclude few values from this infoobject as well as have a variable.  When I select and exclude my value from selsction and run the report, I get a system error and the varibale is converted to mandatory entry. The detail error message is displayed below.  Any useful input will be awarded
    Diagnosis
    Variable &V1& is used in the query in such a way, that an optional entry is not possible.
    For example, you might be using an "Exclude", or the variable might be connected using OR to additional selections for &V2& in the global filter, but is still displayed in the columns selections.
    It is also not possible to use an optional parameter variable to fill an interval selection in either the from-field or the to-field.
    System response
    Procedure
    If you are able to accept the mandatory entry, you need not do anything. Otherwise you must work with several variables in the query. You can use an optional interval variable to do this.
    Procedure for System Administration

    Hello ,
    I did try creating a variable with the foll details:
    Variable Type : User Entry / Default Value
    Variable Represents : Multiple Single values
    Variable entry optional
    When I run the query it converts my variable to mandotary entry.  but I want to have optional user entry variable.
    Any help will be awarded

  • How to show all the user entry variables in a workbook.

    Hi,
    My user need to see in the workbook all variables he had entered in the variable entry popup at the openning of the workbook.
    I know how to show all the variables, included the hardcoded variable in the query (with a text element, select the checkbox "Display All Statics Filters"), but I need only the user entry variables.
    There is a way to print only these variables?
    Thank you

    Thanks, but the problem is that this workbook is my Global default workbook used for all the queries. So I only want the user entry variables visible automaticly.
    There is a way to do that ?
    For information, i'm using Netweaver 7.
    Thank you

  • How to Enable the LOV to query for partial user entries in af:query in an ADF search form

    Hi guys,
    I have faced one issue in creating a search form in ADF, in that I have used af:query and table region. and I have attached an lov vo to the base vo for the list of values and given UI hint as Input values with List of values. Now the issue is that I have given auto submit property as true so when I give some value suppose "Jan-14" and tab out it gives me all the correct results. but if I give like "Jan%" and then tab out then it does not give me any value. Could you kindly help me with some solution. I am using Jdev 11.1.1.6.0.
    Thanks,
    Tanmoy

    To enable the LOV to query for partial user entries, we can trap the 'LaunchPopupListener' event and add custom code there. Within the af:query component, just wondering how can we set property the 'LaunchPopupListener' for the search criteria ?

  • How can i get user entry values at WAD

    Hi I need some user entry values display at wad?
    suppose i have x( user entry) if i will give x=1000
    on top need to show 1000 values?
    i need user entry boxes at wad level only
    ple let me know

    Hi,
    you have to set the checkbox "Display Variable Screen" in WAD. You can find if under:
    Web Template Parameters->Display Variable Screen
    Regards
    Erwin

Maybe you are looking for

  • 790fx-GD70 Dual channel memory issue

    I am just trying to build my 2nd pc and have ran into some snags I need some help with. I'm using the above motherboard with the AMD Phenom II X4 955 Black Ed  3.2 - HDZ955FBGIBOX  processor. I'm using a CORSAIR|CMPSU-750TX 750W  power supply along w

  • Can't activate FaceTime on another iOS device with my Apple ID

    Do I have to create separate iDs for each device to activate FaceTime under iOS 7?

  • Packet-Delay and Reordering with a SG200-18-Switch

    Sometimes we see an issue that the switch delays a fragment up to one millisecond. And the delay may cause reordering... We are using a "SG200-18 18-Port Gigabit Smart Switch" with the following Version: Software Information Firmware Version (Active

  • Sync database using archive log files

    Hi, I am having two databases A nd B. A is the live Database. I need to replicate the A database and its name as B. I had done the replication using hotbackup. 1. create the B database 2. then take the hotbackup and copy the files to the B database 3

  • CRM Middleware connectivity

    Hi, We have CRM & R/3 landscape, each have client 300-golden client, 400-unit testing, 500-Devlopment, 550-converion testing clients. My question- As data is client dependent, do I have to setup Middleware for each client separately or some Middlewar