Multiple Single values in Setup table filling

Hi all,
I need to fill the setup table for Sales Orders. I have around 1000 Sales orders whose number are not in any sequence.  Its extremenly difficult to fill data for each sales order individually.
Is there any way to do multiple single selection while filling the setuptable.?
Thanks in advance.

Copy the std program (example RMCVNEUA)
Copy the include rmcvntop to zrmcvntop and change the selection to a select option like this
select-options s_belnr for DD_BELNR-low.
Copy RMCSNF00 to zRMCSNF00
then overwrite the selecti_option fill in ZRMCSNF00 change to add this piece of code
*       FORM SELECT_OPTION_FILL                                       *
*       füllt select_options für Belegauswahl                         *
*  -->  SF_BELNRACT                                                   *
FORM select_option_fill USING sf_belnract  LIKE dd_belnr-low
                               sf_belnr_h  LIKE dd_belnr-high.
if not sf_belnract is initial.
  dd_belnr-sign = 'I'.
  dd_belnr-option = 'BT'.
  dd_belnr-low    = sf_belnract.
  dd_belnr-high   = sf_belnr_h.
  APPEND dd_belnr.
else.
loop at s_belnr.
  dd_belnr-sign = 'I'.
  dd_belnr-option = 'EQ'.
  dd_belnr-low    = s_belnr-low.
  APPEND dd_belnr.
endloop.
endif.
ENDFORM.                               " select_option_fill
Then change  RMCVNEUA to use zrmcvntop instead of rmcvntop and zRMCSNF00 instead of RMCSNF00

Similar Messages

  • 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

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

  • Passing multiple single values from R/3 BAPI to BW Query in VC

    Hi Experts
    I have a VC model where I am calling an R/3 BAPI which is returning a table of customer accounts.  I'm trying to go directly from that BAPI to a BW Query and pass the table of accounts into the BW Query.
    The BW Query has been set up with a variable to accept multiple single values for accounts, and I have mapped the correct output field from the BAPI to the correct input field on the Query.
    The BAPI does not seem to be passing the table of accounts into the Query.   If I hard code a single account in the mapping of the BAPI to Query call, the Query successfully returns the data I expect.
    Can I pass a table of accounts to a BW Query in this way?
    Many Thanks
    Tom

    Hi
    Have you tried with 'Group & Combine' operator. Just add this operator & join your BAPI & BI Query to this. Then in ths configure of this oparator select the 'Accoount' field & gourp the data accordingly. Also specify the aggregation if required. & in the table/chart after the operator select the fields which you want to show.
    I hope this is what you are looking for.
    Regards
    Sandeep

  • 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

  • TextEdit for Multiple Single values

    Hi,
    I have a requirement to use the select option. But select option implementations
    looks very complex for me. So i am using textEdit for collecting multiple single values. Like sales order numbers need to be collected in search page to display the details in next page.
       How should i restrict the user to enter 10 degits in each line and i should i collect the each line into a range so that i can use the range variable in select statement.
      Basically i am looking for splitting the continues string with newline and carraigereturns characters into a internal table.
    I need to write code in onInputprocessing event.
    thanks for the quick response.
    Regards,
    Prav

    hi
    use this in oninputprocessing
    DATA textedit TYPE REF TO cl_htmlb_textedit.
    CLEAR textedit.
    textedit ?= cl_htmlb_manager=>get_data(
                                    request = runtime->server->request
                                   name    = 'textEdit'
                                   id      = 'risk'
    CLEAR risk.
    IF NOT textedit->text IS INITIAL.
      risk = textedit->text.
    ENDIF.
    regards saād
    reward points if helped

  • Passing multiple single values in VC

    I have a model where ii have 2 views Detail & Summary. Im passing some values from one table to another using a intermediate query. Its not passing multiple values. My wauery has variable set as 'Multiple Single Values'. If i pass a single value it works.
    Im on VC FLEX2 SP14.
    Cheers,
    Vikram

    Hi
    Go to the properties of first table -> Selection -> Multiple selection. Then join output of this table to your intermediate query through variable port & then drag second table. Also in joining line -> assigned field use 'infoobject name_key' for every field for which you are passing the values.
    Regards
    Sandeep

  • 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

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

  • Passing Multiple Single Values from Sender Query to Receiver Query in RRI

    Dear All.
    We have 2 - Bex Reports ZBEX_1 & ZBEX_2
    1. In ZBEX_1 having the fileds data like the below.
    Account Doc. Number - Clearing Document --- Amount
    12345                  -  65432                --- 100
    12346                  -  54321               ---  50
    2. In ZBEX_2 having the following data.
    Account Doc.Number -- Amount
    45342                     - 10
    66666                        -  100
    65432                       -   10
    54321                      - 5
    3. I am Traying to create RRI Between ZBEX_1 & ZBEX_2 , with Sender query as ZBEX_1 and Receiver query as ZBEX_2
    If I drilldown from ZBEX_1 need to show the following output in the ZBEX_2
    Account Doc. Number  -  Amount
    65432                       -     10
    54321                      -     5
    i.e If Clearing Documnet in the ZBEX_1 is same as Account Doc. Number in ZBEX_2 those Account Doc. Numbers I have to show in the output of ZBEX_2 RRI Report.
    Both the records I have to show at a time.
    So please suggest me
    1. How to pass Multiple Single Values to Next Query using RRI
    2. How to Map Clearing Document to Account Doc. Number in RRI.
    NOTE: Account Doc. Num length is same as Clearing Document
    Please suggest me.
    Thanks & Regards,
    Kiran Manyam

    Your scenario of passing values from multiple records in Source does not suit well for RRI Jumps.
    In ZBEX_2 query, create a Replacement path variable on Clearing Document. In that Replacement path variable, use the Replacement with query option and choose the ZBEX_1 as the underlying query source.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/bd/589b3c494d8e15e10000000a114084/frameset.htm
    When you execute ZBEX_2, what ever clearing document values that ZBEX_1 has will be passed through the replacement path variable as a filter to the ZBEX_2
    Hope it helps!
    Uday Pothireddy

  • 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

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

  • Multiple Single Values with Select Options

    hi,
    I'm using the SELECT_OPTIONS to accept the multiple input values through CREATE_RANGE_TABLE and it is working well but
    1) i have requirement for some input fields that should accept multiple single values means without RANGES(From .. To).. Usually we achieve this by statement SELECT-OPTIONS in ABAP,  could you help me out how i can achieve same functionality in webdynpro application.
    2) i'm using dictionary search helps for WD4A, here i need to select multiple rows in the F4 results.
    kindly provide suggestion how to achieve above functionalities.
    thanks,
    gupta.

    Hi , make the ls_rsoptions-eq eq abap_true .. this disable the multiple value selection
    data: ls_complex_restrictions type if_wd_select_options=>t_complex_restrictions,
               ls_rsoptions                    type rsoptions.
      clear ls_rsoptions.
      ls_rsoptions-bt = abap_false.
      ls_rsoptions-cp = abap_false.
      *ls_rsoptions-eq = abap_true.   " for enable only single value* 
    ls_rsoptions-ge = abap_false.
      ls_rsoptions-gt = abap_false.
      ls_rsoptions-le = abap_false.
      ls_rsoptions-lt = abap_false.
      ls_rsoptions-nb = abap_false.
      ls_rsoptions-ne = abap_false.
      ls_rsoptions-np = abap_false.
      ls_complex_restrictions-m_exclude = ls_rsoptions.
      clear ls_rsoptions .
      ls_rsoptions-bt = abap_false.
      ls_rsoptions-cp = abap_false.
      *ls_rsoptions-eq = abap_true.   "  for enable only single value*
      ls_rsoptions-ge = abap_false.
      ls_rsoptions-gt = abap_false.
      ls_rsoptions-le = abap_false.
      ls_rsoptions-lt = abap_false.
      ls_rsoptions-nb = abap_false.
      ls_rsoptions-ne = abap_false.
      ls_rsoptions-np = abap_false.
      ls_complex_restrictions-m_include = ls_rsoptions.
    wd_this->m_handler->ADD_SELECTION_FIELD(
        I_ID                         =  typename
        I_DESCRIPTION                = 'N length 5'
        IT_RESULT                    = lt_range_table
        I_COMPLEX_RESTRICTIONS       = ls_complex_restrictions
        I_USE_COMPLEX_RESTRICTION    = ABAP_TRUE
        I_NO_EXTENSION               = ABAP_false
        I_NO_INTERVALS               = ABAP_TRUE ).
    for result see this screen shot from the below URL , hope this is your requirement
    [http://i35.tinypic.com/2u8ckno.jpg|http://i35.tinypic.com/2u8ckno.jpg]
    Regards
    Chinnaiya P

  • Is it possible to lock a single value in a table

    is it possible to lock a single value in a table ?
    please suggest me the best possible ways to do so
    thanks in advance
    Nkbhatt

    HI,
    You can lock a Single reocrd also, you need to create the Lock object first form SE11, then follow the below link, you will get your answer
    http://help.sap.com/saphelp_nw04s/helpdata/en/af/22ab01dd0b11d1952000a0c929b3c3/content.htm
    Regards
    Sudheer

  • Parameter Accepting Multiple Single Values Only

    I need to define a parameter that accepts multiple single values only but does not accept ranges or negations.  Basically I only want the first tab of the Select-Options screen.  Is this possible?

    Hello,
    Create a select-option as s_mara.
    At selection-screen output.
    loop at screen.
    if screen-fieldname = s_mara-high.
    screen-invisible = '1'.
    modify screen.
    endif.
    Try this. Hope this helps.
    Thanks & Regards,
    Anand Patil

Maybe you are looking for

  • Adobe Premiere Pro CC Crashes on Launch

    I have been a Creative Cloud subscriber since July 2012.  I have been using Premiere Pro CS6 since I subscribed.  Today I tried downloading the recent Premiere Pro CC. Unfortunately, after numerous attempts on my part, it continues to crash on startu

  • Quick selection tool not working correctly

    I am trying to extract a portion of a photo...i tried using the selection tool to extract the portion on another picture, and it worked GREAT! Now i'm trying to use it in another photo and the refine image tool isn't extracting it into a new layer li

  • The relationship between production order and purchase requistion After running MPS

    Dear Experts:      I met a issue . My users want to know the relationship between production order and purchase requistion . In my company we create production order and  purchase req. by  running MRP. our operations are: 1. T-CODE: MD41  create plan

  • Activating new iPhone & downloading software

    Anyone else having issues activing new iphone because of iTunes software and Apple password? I keep downloading the new software on computer, but phone saying not loaded. And when I try to connect using Apple log-in & password, Apple is telling me I

  • JSP Compilation Problem - Cannot Resolve Symbol

    I cannot see the problem. Maybe I am not sober at 2:30 am. <% Collection postBeans = ( Collection )request.getAttribute( "PostBeans" ); Iterator iterator = postBeans.iterator(); int i = 0; while( iterator.hasNext() )       PostBean postBean = (PostBe