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.

Similar Messages

  • Freight value not taking in net value--Urgent

    Hi,
    While creating purchase order freight condition valude FRB1 not taking in net value.
    Please help its is urgent.
    Regards,
    Ravindra

    Hi Ravindra
    You need post seperate invoices in case where the vendors are different, If the supply vendor and freight provider are same, you can post both costs in once invoice. Select the goods+delivery costs to make one invoice verification.
    In general, freight value will not be added even the vendor is same. Inturn both item cost and delivery cost are processed in one invoice.
    If you want, you can include the freght in net by maintaining the freight condition as not an accrual.
    But, just for this sake, you should not modify your pricing procedure.
    warm regards
    sairam akundi

  • 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

  • Passing multiple single values in Customer Exit Variables

    Hi,
    I have one requirement to Pass multiple single values in Customer Exit Variable.
    If the user gives 2010 i need to get value previous fisacal year(2009),if its 2009, we need to get 2009.
    Just requirement is like how to pass multiple single values?
    Thanks.

    Hi..
    For this create a variable- Types of variable= Characteristics Value> Processing type as Customer Exit-->Reference Char as Fiscal year..
    Try this code..
        when 'xxxx'.
          DATA: lv_zp0003_month(2) TYPE n,
                  lv_zp0003_year(4) TYPE n.
          CLEAR: lv_zp0003_month, lv_zp0003_year.
          lv_zp0003_month = sy-datum+4(2).
          lv_zp0003_year = sy-datum(4).
    If the month is January the year is set to previous year
          IF lv_zp0003_month = '01'.
            lv_zp0003_year = lv_zp0003_year - 1.
           l_s_range-low = lv_zp0003_year.
    Else the year is set to actual
          ELSE.
            l_s_range-low = lv_zp0003_year.
          ENDIF.
          IF l_s_range-low = l_s_range-high.
            l_s_range-opt = 'EQ'.
          ELSEIF l_s_range-high IS INITIAL.
            l_s_range-opt = 'EQ'.
          ELSEIF l_s_range-low LT l_s_range-high.
            l_s_range-opt = 'BT'.
          ENDIF.
          l_s_range-sign = 'I'.
          APPEND l_s_range TO e_t_range.
    Hope this helps.
    Regards.
    AKG

  • 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

  • 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

  • Passing Multiple Single values in User Exits

    Hello All,
    I have a requirement where in, a user could enter either a single value, multiple single values or a combination of a range and single values.
    This set of values need to be passed on to a variable with in a user exit. I have been able to get either one single value to pass or one single range. I am unable to pass on multiple single values or a combo of a range and single value from the user entry.
    I would appreciate if anyone could help me with the structure of the code to pass multiple single values or combo.
    I was wondering if I would need to pass the values into an internal table first and then pass it to the user exit variable. However, as I am not a strong ABAP resource, I am struggling.
    Any and all help is deeply appreciated.
    Warm regards
    Sunil

    Hello Marc,
    There are two requirements which I was trying to address.
    1. IN few queries, the users enter either a range of profit centers or multiple single values in the pop-up window. I need to pass those values from that variable to an variable of type USer Exit to derive partner profit center values with in the query.
    For this I have been able to pass values for either a single value or a single range. I am unable to pass on values for multiple single values or a combo of a range and single values.
    2. I am trying to create a query for the top 5 customers to be used in the Corporate Performance Monitor. However, when I am trying to use the variable of type "replacement path", the system does not allow me to release it for OLE DB for OLAP.
    To obviate this problem, I was hoping to create a variable of typeUSer Exit" and then pass the values from the variable of type "replacement path" to this variable.
    Is it a workable solution? I was hoping that the method to pass the values in both the above scenarios might be similar.
    Please guide me.
    Warm regards
    Sunil

  • 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.

  • 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

  • Multiple Single Values in Customer Exit

    Hi,
    Can we select multiple single values in the customer exit. I know that we can get single value or range of values with LOW, HIGH, OPTION, SIGN etc. But is it possible to do a multiple single values.
    Any help would be greatly appreciated.
    Thanks,
    Ace

    Ganesh,
    Thanks for the reply, it did give me good ide
    But I do not know how many multiple values I would have. I will be picking those values based on an internal table. So do I need to do another looping.
    Thanks,
    Ace

  • 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

  • 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

  • Multiple single values variable

    Hello all
    I want to execute planning sequence throue button in my analyzer workbook.There is a multiple single values variable in the function. I know the regular way to write variable's value in excel: VAR_VALUE_1    1       Value. What is the format for a  multiple single values variable ?
    Best

    Hello,
    You can try this
    Enter VAR_NAME_1 in the Name column and the technical name of the variable in the Value column.
    Enter VAR_LINES_1 in the Name column and the number of values to be passed in the Value column.
    Enter VAR_NAME_2 in the Name column and the technical name of the variable in the Value column.
    Enter VAR_LINES_2 in the Name column and the number of values to be passed in the Value column.
    Now, in excel sheet in 3 consecutive columns enter the fields as below:
    VAR_VALUE_1, <index> and <value1>
    VAR_VALUE_1, <index> and <value2>
    VAR_VALUE_1, <index> and <value3> etc.
    and similarly for second variable:
    VAR_VALUE_2, <index> and <value1>
    VAR_VALUE_2, <index> and <value2>
    VAR_VALUE_2, <index> and <value3> etc.
    You can specify the above cell range in command range as it is done in the static parameters window. In Excel sheet hide these cells and use cell references to other cells for the variable values to provide a more user friendly appearance.
    Regards,
    Deepti

  • Passing multiple single values to a Planning Sequence

    Hi All,
          We are using BEx Analyzer for  planning. We  are passing multiple single values for a single variable , to a IP-planning sequence.  Planning sequence is only taking the last value passed and ignoring the rest.
    Multiple variable values are passed as below:
    Name                            Index                 Value
    VAR_NAME_1     1     ZCC
    VAR_LINES     1     5
    VAR_VALUE_1     1     A10000001
    VAR_VALUE_1     1     A10000002
    VAR_VALUE_1     1     A10000003
    VAR_VALUE_1     1     A10000004
    VAR_VALUE_1     1     A10000005
    These cell references are passed to "command button" through the "Command Range" property.
    The values are calculated correctly but for only one Cost center (last one in the list) , In this case only data for the Cost Center "A10000005"  is processed and rest of the cost centers are ignored.
    What am I missing here? I appreciate your help.
    Patch Levels:
    SAP GUI  7.10 (Patch 16)
    BEx Analyzer 7.X SP 12
    Thank you,
    Math

    Hi Indu Sharma  - I have tried several combinations, but did not work.
    VAR_VALUE_1         
    VAR_VALUE_2         
    VAR_VALUE_3         
    VAR_VALUE_4         
    VAR_VALUE_5 
    VAR_VALUE_1        
    VAR_VALUE_1     
    VAR_VALUE_1        
    VAR_VALUE_1        
    VAR_VALUE_1  
    VAR_VALUE_EXT_1         
    VAR_VALUE_EXT_2         
    VAR_VALUE_EXT_3         
    VAR_VALUE_EXT_4         
    VAR_VALUE_EXT_5 
    Thank you,
    Math

  • How to pass multiple single values to parameter in planning function?

    Hi!
        I can not pass the variables (multiple single Values) from Input Layouts(BexAnalyzer) to Planning Function Types...Anyone have any idea for setting the parameter in the function types. I use the exit class CL_RSPLFC_BPS_EXITS.
    My Parameter Type is Elementary and also use variables allowed

    If you want to use the class as in a planning function type, proceed as follows:
    1. Create an InfoObject that accepts the name of the function module as a characteristic value. We recommend that you create an InfoObject of type character with length 30 and indicate that this InfoObject is "Without Master Data".
    2. In transaction RSPLF1, create a new function type. Chose the "Reference Data" option and enter the name of the class. This does NOT imply that reference data is read automatically, but results from the requirements for implementing the class.
    3. On the "Parameter" tab page, create two parameters - one for the exit module and one for the init module. The parameters should be "elementary". Chose the InfoObject you created in step two as the dedicated InfoObject. The names of the parameters are determined from the values of constant P_C_NAME_EXIT_PARAM and P_C_NAME_INIT_PARAM.
    4. If you require additional parameters in your function module (called exit parameters), you create these parameters as elementary parameters (with appropriate InfoObjects). Note an additional predefined parameter here - in many function modules, the name of the area is used from which the module is called. The area is not used in BI Integrated Planning but it may be the case that an area was created in BPS which only uses the current InfoCube. For this reason, you can create a parameter with the name specified in constant P_C_NAME_AREA_PARAM by specifying the name of this area to the function module. The value of this parameter is passed on to the function module in the interface as the value of the importing parameter I_AREA. Note that this technology can generally only by used for Basis InfoCubes and simple planning areas (not multi- planning areas or MultiProviders).
    You can create additional elementary parameters as long as the names do not correspond to the predefined names. The class automatically recognizes the additional parameters and transfers them to table IT_EXITP in the function modules.
    5. After you have activated the planning function type, you can create planning functions and fill the parameters accordingly.

Maybe you are looking for