Copy using Variables with multiple single values in BEX

Hi,
I have a requirement wherein on executing the planning function, the system should take the FROM and TO values of 0FISCPER and copy the data accordingly.
Source variable is 'Single Value'.
Target variable is 'Multiple Single Value'.
I tried to give the Command Range as below:
$A$30:$C$31.
The button sequence is as below:
VAR_NAME_1      0         ZFISCPER
VAR_VALUE_1     0
VAR_NAME_2      1         ZFISCPER_M
VAR_VALUE_2     1
In the Analyzer, I entered the values as
In A30, VAR_NAME_1     0     =C20
In A31, VAR_NAME_2     1     =C21:C24
The values that I entered are as below:
C20 =   2007001 - Source value
C21 =   2007002 - Target values
C22 =   2007003
C23 =   2007004
C24 =   2007005.
The problem that Im facing is the system is unable to identify the multiple values that I enter for Target Fiscper and it displays as :#VALUE!
How to enter multiple single values and reference them accordingly?
Rgds,
Shyam

Hi,
I have tried to enter multiple single values as below:
VAR_VALUE_1     0     000  - Source
VAR_VALUE_1     1     003  -  Target
VAR_VALUE_2     1     010
VAR_VALUE_3     1     080
VAR_VALUE_4     1     099
When I tried to execute the planning function, the system copies the data from version 000 to ALL versions irrespective of values entered above.ie:
1
2
3
10
80
99
100
110
Rgds
Shyam

Similar Messages

  • How to avoid SYSTEM_NO_TASK_STORAGE  with multiple single values variable

    Hi experts,
    I am trying to do a distribution with reference data standart SAP function.
    Fields to be changed:
    ZPDHIER2 (Economic Group II)
    ZPDHIER3 (Economic Group III)
    ZPDCLIENT (Client)
    Fields for condition:
    KEY FIGURE NAME
    Fields for reference:
    KEY FIGURE NAME
    ZPDSTATUS (Status)
    FISCPER3 (Fiscal Period)
    The parameters group is like:
    Fields for condition:
    Key figure: ZM_070 (one of the key figures)
    Fields for reference:
    Key figure: ZMONT_TN
    FISCPER3: 001
    Status: DE
    - "Only distribute not assigned" is checked
    I do not want the data to be distributed by any ZPDHIER2, ZPDHIER3 and ZPDCLIENT so I have restricted these characteristics in the planning level by some variables. These variables are user exit type and return multiple single values.
    The issue regarding this message is that when I execute this function, depending on the size of the data brought by ZPDCLIENT user exit variable, this dump might or might not occur. As for the testing I've done, i realize that if the number of clients exceed 500, dump will occur.
    This multiple single values variable (or any other solution) must be prepared for 3900 clients, and this number is expected to increase.
    Anyone have faced same problem?
    Hope you can provide me some help regarding this issue.
    Tanks in advance,
    André Oliveira

    Hi Wadih saad,
    I think the memory is not suffcient to hold the load. Check your swap space and memory during the client export and also check whether there is sufficient space in the hard disk to hold the export files.
    You must have calculated the client size by using the test run. This size must be available as free space in hard disk to do the export.
    Make the available space and do the export it will work.
    Regards,
    Maheswaran J

  • Variable exit not taking multiple single values...urgent pls

    Hi BW Guru's
    I have created an variable exit where the variable represents mulitple single values.
    In the customer exit when i trying to populate mulitiple values and move it to e_t_range it is not taking multiple values. I have also observed that it is a line item type. I want to know if there is anyway out since it is an urgent requirement. Any help would highly appreciated. I shall also award points accordingly. Thanks.

    Hi Anil,
    Thanks for your prompt response.
    I guess i am missing out some thing.
    The scenaio is like this I want to hard code some values which have to be removed from the selection hence I have created the variable  with multiple single value variable and I have removed (unchecked) ready for input as it is not required. After your suggestion I have also made it mandatory but after running the query I am getting a message Abort no value determined. I have written this code under if i_step = 1.
    My code goes like this….
    DATA: BEGIN OF I_SO_VENDNO occurs 0,
            SOURCSYS TYPE /BIC/TZSO_VEND-/BIC/ZSOURCSYS,
            ZSO_VEND TYPE /BIC/TZSO_VEND-/BIC/ZSO_VEND,
            TXTMD TYPE /BIC/TZSO_VEND-TXTMD,
          END OF I_SO_VENDNO.
    select * from  /BIC/TZSO_VEND into table i_so_vendno.
      loop at i_so_vendno where TXTMD CS 'GREAT LAKES'.
          l_s_range-low = i_so_vendno-zso_vend.
          l_s_range-sign = 'I'.
          l_s_range-opt = 'NE'.
          append l_s_range to e_t_range.
          clear: e_t_range, l_s_range, i_so_vendno.
      endloop.
    Want to know if I am missing out something.
    Thanks.

  • Difference between Multiple single values and Selection option variables

    Hi !
    Can any one tell me the difference between variable types:
    Multiple single values and Selection option?
    I used each one of them for selecting values for a characteristic but could not notice a difference in choosing values.
    Is there some difference in functionality or can they be used interchageably?
    Regards,
    Sri Harsha

    Harsha,
    When you go for slection option, in the variable input screen you will be having a button in the last where you can give your slections. There you can maintain either multiple single values and Multiple intervals or else not equal to also..
    Just check out there... you will be having tabs for each..
    Assign Points if it helps
    Gattu

  • Subject: BW Query Variable – Multiple Single Values

    I have set a characteristic variable on process chain id. In General tab, Variable is u201Cprocess by manual inputu201D.
    In Details tab, I set:
    Variable represents Multiple Single Values, Variable is ready for Input
    When I run my query, I can select multiple process chain ids. Problem is query returns process chain information for only one value (first value entered for process chain id in multiple selections. I have verified process chain information exists for all the multiple values.
    Appreciate any feedback.

    Thanks, I do not find any other restrictions. If I simply remove the variable which lets me spacify multiple single values, I see
    all the process chains. When I  add this variable to query under retsriction and run the query, I see pop-up and I can enter multiple values, but only first one is being searched. There is probably some setting in variable definition somewhere that it only processes first value.
    Is there a way in RSRT to show me entire ABAP code of the query. 
    I ran RSRT set some break points but it is kind hard to troubleshoot. If I had the entire code, I can try to understand what is being done.

  • IP: Exit-variable multiple single values

    Hello,
    I have a question to Exit-Variables in IP. I'd like to fill an Exit-variable with several single values, e.g. A, D, G. At the moment I could transfer only one single value, e.g. A, with following coding:
      l_example TYPE CHAR VALUE 'A'.
      l_s_range-low = l_example.
      l_s_range-sign = 'I'.
      l_s_range-opt  = 'EQ'.
      APPEND l_s_range TO p_t_range.
    How could I change the coding for transferring several single values?
    Many thanks for your help.
    Friedrich

    Hi,
      take whatever values you want to populate into one internal table l_example. Then loop over this internal table.
    Loop at l_example into wa_example.
    l_s_range-low = wa_example-value.
    l_s_seqno = sy-tabix.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    insert l_s_range INTO TABLE p_t_range.
    clear wa_example.
    Endloop.
    Hope this works.
    Regards,
    Bindu

  • Does 'Multiple Single Values' work in BOBJ 4.0 Webi?

    Experts,
    We have a BOBJ 4.0 environment. We have a BEx variable defined as 'Multiple Single values' in BEx, so that the users can enter multiple materials at the same time to query as the input. The materials are like 02.200.100, 02.100.105, 02.100.402S etc.. In the BOBJ Webi prompt filter section, for the material, I am not able to input multiple single values for the material. I get a 'No values to display' message in the prompt section itself when I try to enter multiple materials separated by semicolon.
    The users have around 500 different materials for which they want to see the data at the same time. They have this materials separated by semicolon in excel, and they want to copy that and enter this information in BOBJ prompt section (where it says to enter the values). I tried separating the materials by semicolon, comma - nothing worked out. When I enter each material individually, and search it with it key, I am able to see the material. So, doesn't 'Multiple single values' option work in BOBJ? I was able to see the data for those 500 materials each separated by a semicolon using the multiple single values option through BEx Analyzer and Portal. Isn't the same functionality provided by BOBJ?
    Please find below my BOBJ prompt screen summary. Since 'Multiple single values' option was not working, I changed the BEx variable to 'Selection Option' in BEx, so in BOBJ we now have a 'Start Value' and a 'End Value' in BOBJ. Still my question is, whether BOBJ supports multiple single values option, so that the users can enter multiple values as input? The users want to enter the multiple materials in the "Enter Search Pattern" bar in the attached screenshot. Please let me know if this is feasible
    Thanks for your time. Points will be rewarded!
    Thanks,
    G.

    Hi Goutham R,
    As of 4.0. it was by a limitation.
    I have read some where that some users were able to meet the requirement by putting a semi colon at the end of each value in a excel and feeding it to the prompt but seems like you have already tried that.
    Please see if you put a vote here in this link:
    Selection option variable not behaving the same way in WebI : View Idea
    But I think this requirement can be met in Analysis edition for OLAP.
    BR
    Prabhith

  • Multiple single value for default value?!?

    Hi guys,
    by making a characteristic value variable how can I add more than one value (not interval) for default value? I cannot even add more value if the char. variable represents multiple single values...
    Thx.

    Hi,
    For that you can make use of customer exit variable.
    else refer this link:[Variable with Multiple Default Values;
    Regards,
    Rajkandula

  • Variable multiple single value filled with customer exit used in FOX form.

    Hi guys, I definitly need your help in the following scenario:
    I have variable (multiple single value) filled in a customer exit and use it in web template. There it is used in the drop down box for selecting a special date in the analysis item. And there comes the first question:Why the results from the customer exit are written in the way "date1; date2; date3" in one line? They should appear line by line in rows. How can I influence that? I tried both data binding types, "variable" and "characteristic".
    Now a button raises a planning function with a fox formula which should write the selected date (from the drop down box) in a customer table using "call function".
    I always get the error, that I need to restrict the variable to "single value". Why do I have to do that and if necessary how can I do that? Other planning functions without the fox formula also work properly with using the selection from the drop down box.
    I appreciate you help.
    Kind regards, Anja.

    Hi Vamsi.,
    Try this code.
    WHEN 'PREVIOUS_YEAR_1'.
    IF I_STEP = 2. "after the popup of user entry
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
    WHERE VNAM = 'ZCURRENT_YEAR_PERIOD'.
    break-point.
    IF SY-SUBRC EQ 0.
    WA_YEAR = LOC_VAR_RANGE-LOW+0(4). "Year
    WA_MONTH = LOC_VAR_RANGE-LOW+5(3). "Period
    WA_YEAR = WA_YEAR - 1.
    CONCATENATE WA_YEAR wa_month INTO WA_FISC_PERD .
    CONCATENATE WA_YEAR WA_MONTH1 INTO L_S_RANGE-HIGH .
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'EQ'.
    APPEND L_S_RANGE TO E_T_RANGE.
    ENDIF.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'BT'.
    APPEND L_S_RANGE TO E_T_RANGE.
    ENDIF.
    ENDIF.
    ENDLOOP.
    endif.
    Assing points if it helps you.
    -- Selva

  • Report script - using substitution variable with multiple values

    Hi All,
    Substitution variable with multiple values is not working correctly with Report scripts. Can you please let me know what is the syntax to assign multiple values to a sub variable using maxl:
    alter database samp.samp set variable 'ExtractQuarter' 'Q1,Q2,Q3,Q4';
    alter database Samp.Samp set variable 'ExtractQuarter' 'Q1:Q4';
    I tried both of the above but they are errored out with the below error:
    Error: 1001005 - Unknown Member [Q1:Q4] in Report.
    my requirement is different for both Actual and forecast data extract so i would like to make use of this variable to extract whole year data for Forecast and current quarter data for Actual with out duplicating the report scripts for both processes.
    Thanks,
    PRaveen

    Hi,
    Please refer following thread,
    range of months in report script?
    Hope it helps.
    Regards

  • Multiple Single Values in Characteristic Variable

    Hi,
    I set up a characteristic variable in the Query Designer and opt for "multiple single values" . When I execute the query, the variable dialog box does not give me those check boxes which I can use to check which values I want to see in the report.
    How come? Can you help me with that?
    Thanks,
    Sabine

    Hi Sabine.
    Did you remember to set the variable processing type as a user entry?
    In the query designer do you see the characteristic restricted to a variable?
    BR
    Stefan

  • Exit variable with multiple values or with ranges

    Dear Experts,
    I have a date exit variable used in a planning level. If the variable has a single value, I am able to execute the planning function. But if the exit is populated with a range or multiple single values, I am unable to execute the planning function. I get this message 'Variable "ZXPRDATE" is not restricted to a single value'.
    I should be able to read all records from the cube in date range of one week for repost. Please advice if this is possible.
    Thanks,
    Gnana

    Hi Mayank,
    Yes, I am using the same variable for repost function also.
    Let me explain in detial.
    Req: I have a planning level with product, effective date and count(keyfigure). I want all products that has a count keyfigure value for the last one week.
    If my effective date is a single value, I get all the list of products on that particular day. But, if my effective date has multiple dates or a date range, nothing is read from the data base.
    Please advice.
    Thanks,
    Gnana

  • Variable with multiple values.

    Hi All,
    Can anyone help me  to create a  variable with multiple values like it should accept two Buisness Area AU10,PH10 in Query.As well as how to use this variable in fox using VARV, VARI,and VARC.
    Thanx&Rgds,
    Indu

    Hi,
      You can write an exit for variable to retrieve two values.
    Usage of this variable in FOX..
    TOTALCOUNT= VARC(variable).
    COUNT = 1.
    DO .
    IF COUNT < TOTALCOUNT.
    varval = VARI( variable, COUNT ).
    COUNT = COUNT + 1.
    ENDIF.
    Hope this helps.
    Regards,
    Bindu

  • A variable with multiple values. Is it possible?

    Normally, when we need a variable with multiple values we just write them while creating the variable or, if they depend on some other variable selected by the user a variable of type exit is used.
    However, this time we would like my user to select <b>a few</b> variable values <b>at a time</b>, i.e years 2005,2006 and 2007. He can change his mind and then select 2007 and 2008. I don't want the user to be forced to select ONLY ONE value. They need to select several values at the same time.
    Ideally, I don't want to use a range with values from 2 variables to do that.
    Thanks,
    Alberto Sabate
    Message was edited by: Alberto Sabate

    Hello Alberto,
    When restricting variables to multiple values you need to use a range. The variable restriction in BPS supports two operators EQ - equals and BT - between.
    In your example below however you could use a user exit to support this. The years you have typed in below are sequential and therefore would fit into a range.
    Cheers,
    Scott

  • Multiple single values variables in cockpit not possible ??

    Hi,
    I'm trying to create a variable in SEM-CPM-MC, but no matter what I do, I'm only able to create a runtime variable with selection type P - Variable for single value. I can select the other values, but when I save the variable, SAP automatically corrects it to P - Singe value again. I can also create a design variable with the other types, but not a runtime variable. How do I create a variable for which you can enter an interval/multiple single values?
    In the documentation it also says, that you should be able to create variables on a frame level. I don't see any button where I can create a variable on a frame level. I've done exactly as it says on help.sap.com, but I don't have a button to create a new variable on a frame level. How do I do that?
    Any help is appreciated and will be rewarded generously :o)
    Thanks,
    ramesh

    Hi Goutham R,
    As of 4.0. it was by a limitation.
    I have read some where that some users were able to meet the requirement by putting a semi colon at the end of each value in a excel and feeding it to the prompt but seems like you have already tried that.
    Please see if you put a vote here in this link:
    Selection option variable not behaving the same way in WebI : View Idea
    But I think this requirement can be met in Analysis edition for OLAP.
    BR
    Prabhith

Maybe you are looking for