Range selection for Fix value variable in BPS

Hi,
   When create vaiable, there is a fix value variable, under selection condition, we can choose either multiple single value or range, however if we choose the range, let say mtareial number from 1 to 100, when we run the BPS application through UPSPL, the value for material variable will be populated with value 1 to 100, when I try to change the value to a single value,it's not allowed me to change,  while the user define value type, we can change the value, Is this supposed to be?

JW,
BPS variables does not allow the choice of multiple single values, you can choose a single value OR a range of values. This issues has been brought up with SAP Development.
If you need single values or a complete range of values, you can add each single value as a fixed value and the range as another fixed value that can be selected. You can select each single value individually or the whole range (or any subranges you specified) but not multiple selections of single values.
In user definted variable if you check input allowed by users, you can add some values and the users can add more but then they could potentially go into material numbers they should not get access too.
Hope this helps,
Mary

Similar Messages

  • Multiple Range Selection for field Material in CS14

    Hi friends ,
    Is it possible to make multiple range selection for material field in tcode CS14 [used to compare primary and secondary BOM] i have made it ZCS14.
    if i make matnr2 to matnr2-low
    but my doubt is it feasible solution
    please through some light on this
    regards
    soorya

    Dear Soorya,
    What's your requirement? is that to compare the Alternative BOM's for multiple materials at the same time?
    If it's going to be for comparing one more alternative for the same material,then it's a good report.
    As per to my knowledge if the report is going to be for a list of materials Alternative BOM's means I dont
    think whether it will be a fast(time wise) report.
    Check & revert back.
    Regards
    Mangalraj.S

  • How to do range selection for connected clips?

    How to do range selection for connected clips? Whenever I press I or O, it only selects the primary storyline. I want select a portion of the connected clip and trim it.

    If you're using the 10.1.x, and if you set the playhead, so that the circle is over the connected clilp (you don't even need a range selection OR have the clip selected) you can type Option - [ to trim from the beginning of the clip to the playhead; you can type Option - ] to trim from the playhead to the end; or if you do set a Range selection, you can type Option - \ (backslash) to trim both ends off the clip preserving the range selection.
    If that circle isn't over the connected clip you require (perhaps you have a stack of clips) then you will need to click on the clip you need to have selected for the trim operation.

  • SELECT with fixed value

    Hi,
    I want to use SELECT....INTO TABLE statement but using a fixed value in one column, is that possible???
    I'm trying to do something like this:
    SELECT matnr "sy-datum" quantity FROM ztable INTO TABLE it_table.
    The it_table has got 3 columns: matnr, date and quantity but in the ztable there isn't a date and I want to insert into the table with a variable or something...
    Thanks

    Hi,
    you can do like this.
    Suppose your internal table structure is like that,
    data:begin of itab occurs 0,
           matnr type mara-matnr,
          datum type sy-datum,
          quant  type  menge,
          end of itab.
    SELECT matnr  quant FROM ztable INTO corresponding fields of  TABLE it_table.
    loop at itab .
    itab-datum = sy-datum.
    modify itab index sy-tabix.
    endloop.
    If you do like this then your column of itab-datum will have sy-datum .
    I hope this will help you.
    Help children of U.N World Food Program by rewarding them and encourage others to answer your queries

  • XSLT mapping for fixed values

    Hi,
    i am doing a XSLT mapping. i have a field which has fixed values(can be performed using graphical mapping). but the same i am not able to implement for XSLT. can anyone give me a idea about this
    <removed by moderator>
    Thanks
    Deepika
    Edited by: Mike Pokraka on Jul 24, 2008 12:57 PM

    Step u2013 By u2013 Step Simple Approach for XSLT Mapping                         
    Step – By – Step Simple Approach for XSLT Mapping                         
    generic xslt mapping part 1                                             
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1                                             
    generic xslt mapping part2                                   
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8674a                                             
    xslt recursive templates                                             
    XSLT: Recursive Templates
    regards
    kummari

  • F4 help not reflecting in ALV Grid for fixed values specified in domain

    Hi experts,
       As per subject i have a field for which i have assigned 5 fixed values in the domain level (of that field) . The problem is when i am displaying my ALV grid output i need a F4 help and F4 Option for the same is not reflecting and i have assigned in the field catlog as shown bellow.
    wa_fcat-fieldname = 'ZDEPLOY'.
      wa_fcat-tabname = 'IT_FINAL'.
    wa_fcat-f4availabl = 'X'.
    wa_fcat-key     =  'X'.
      WA_FCAT-SELTEXT_L = 'Deployment Planned'.
      wa_fcat-outputlen = '25'.
       WA_FCAT-EDIT = 'X'.
       WA_FCAT-REF_FIELDNAME = 'ZDEPLOY'.
       WA_FCAT-REF_TABNAME = 'ZETMDEPL'.
      APPEND WA_FCAT TO IT_FIELDCAT.
      CLEAR WA_FCAT.
    for the above field the f4 help is not reflecting.
    Intrestingly i have another field which i have declared using the same procedure for which my F4 help (with fixed values ) is reflecting in the same program .with the values as shown below
        wa_fcat-fieldname = 'ZFINAL'.
      wa_fcat-tabname = 'IT_FINAL'.
      WA_FCAT-SELTEXT_L = 'Final Status'.
      wa_fcat-outputlen = '10'.
       WA_FCAT-EDIT = 'X'.
       wa_fcat-ref_fieldname = 'ZFINAL'.
       wa_fcat-ref_tabname = 'ZETMDEPL'.
      APPEND WA_FCAT TO IT_FIELDCAT.
      CLEAR WA_FCAT.
    can u plz suggest me with a solution .
    Regards,
    Edited by: abhilash aswath on Oct 20, 2010 3:32 PM
    Moderator message: please do not use SMS speak.
    Edited by: Thomas Zloch on Oct 20, 2010 3:58 PM

    hi,
    There was a mismatch of characteristics. I resolved by matching the same.

  • DrillDown in ALV for fixed values of domains

    Hi,
    i want to create an ALV Grid with an structure that has data elements with domains containing fixed values.
    As far as i know, in Table Controls and other dynpro fields refering to such domains, the drilldown function is automatically available.
    In an ALV-Grid the values are available with the F4-Button.
    Ok, you can select a value, but the value is shown in the grid is the fixed value not the short text of the value like it is in Table Controls. What I did is to implement an conversion exit to show the short text in the grid, but I am not really satisfied.
    What I ask you: Is there a possability to show a field of the ALV-Structure with drilldown functionality automatically, when the domain has fixed values?
    Thanks in Advance
    Michael

    Hi Michael,
    I think I have found the solution to your problem. When you call the method SET_DROP_DOWN_TABLE of the ALV Grid, you can see that there are two tables parameters (both of which are optional).
    You can use the second tables parameter to give the short text of your field-value.
    Consider the following code snippet.
    ==========================
    data : lt_dropdown_with_alias type LVC_T_DRAL,
           ls_dropdown_with_alias type LVC_S_DRAL.
    ls_dropdown_with_alias-handle = '1'.
    ls_dropdown_with_alias-int_value = 'T'.
    ls_dropdown_with_alias-value = 'True'.
    append ls_dropdown_with_alias to lt_dropdown_with_alias.
    ls_dropdown_with_alias-handle = '1'.
    ls_dropdown_with_alias-int_value = 'F'.
    ls_dropdown_with_alias-value = 'False'.      
    append ls_dropdown_with_alias to lt_dropdown_with_alias.
    call method ALV_GRID->set_drop_down_table
                exporting IT_DROP_DOWN_ALIAS = lt_dropdown_with_alias.
    ==========================
    Obviously, <b>int_value</b> is the internal value and <b>value</b> is the text that you want to be displayed.
    Hope this helps.
    Regards,
    Anand Mandalika.
    P.S. I'm almost certain that this code will work. If it does, please do reward the points.

  • Examples for Fixed and variable prices for activity type

    Hi,
    Can someone please provide a real life example for the fixed and variable prices of an activity type?
    Moderator: Search SDN and SAP help material

    Hi,
    Fixed Price are those expenditures which remains constant in total amount irrespective of change in Volume of production.Eg Rent will be constant even if your production volume changes.The activity price calculated for such expenditures will also be constant per activity rate even if there is a change in the volume of production.
    Varriable price on the other hand changes with the volume of production .e.g power cost will change if you produce more.the the activity rate say KWH/ton will also change and its price will also change if you produce more.
    Generally activities for service center fixed costs will yield fixed price.
    Once you are done with planning in KP26.these plan amounts are used for standard cost estimate.when you are doing standard cost estimate, cost will calculated from BOM(Materials cost) and Routing(here you have activitype plan cost/hr.no.of hrs to finish goods).
    once you are with standard cost estimate it will update material master.
    To calculate variances(target costs Vs Actual cost),we use target cost.target cost is nothing but your standard cost estimate cost for that particular materials(Finished or Semi -Finished).
    you can check this in OKV6 T.code.
    Thanks,
    Rau

  • How to get Multiple Values for a single Variable in BPS.......

    Hi Gurus:
    I have a layout for planning, where I can plan for 5 days of the week. I also have a day column (yesterday) where I have the actual values. Users want to edit/foecast the next 5 days values. I am using a Variable to get the Date column which uses the System Date. However, since I am getting just one date in the Function Module (Code given below), the remaining days are greyed out and I can not enter the forecast values. I would like the same variable to get a series of dates in the same function module. What changes do I nee dto make in the ABAP code so that the remaining columns (Date) becaoe available for editing??
    The FM code I have to get "Today's Date" is as follows:
    FUNCTION ZCSHFL_GET_TODAY.
    ""Local Interface:
    *" IMPORTING
    *" REFERENCE(I_AREA) TYPE UPC_VAR-AREA
    *" REFERENCE(I_VARIABLE) TYPE UPC_Y_VARIABLE
    *" REFERENCE(I_CHANM) TYPE UPC_Y_CHANM
    *" REFERENCE(ITO_CHANM) TYPE UPC_YTO_CHA
    *" EXPORTING
    *" REFERENCE(ETO_CHARSEL) TYPE UPC_YTO_CHARSEL
    data: ls_charsel type upc_ys_charsel.
    ls_charsel-seqno = 1.
    ls_charsel-sign = 'I'.
    ls_charsel-opt = 'EQ'.
    ls_charsel-CHANM = I_chanm.
    ls_charsel-low = sy-datum.
    insert ls_Charsel into table eto_charsel.
    ENDFUNCTION.
    I want to get the Yestarday's Date as weel as dates for next 4 days from Today for this variable which are being used in the layout. Can anyone suggest the code tor this please.
    Thanks very much in advance......
    Best.... ShruMaa

    Hi,
    What I understand you need to return those dates from function module using parameter ETO_CHARSEL , right? If so just use this code:
    ls_charsel-seqno = 1.
    ls_charsel-sign = 'I'.
    ls_charsel-opt = 'BT'.  "we are giving ranges, so days between...
    ls_charsel-CHANM = I_chanm.
    ls_charsel-low = sy-datum - 1.  "...first day is yesterday
    ls_charsel-high = sy-datum + 4. "...and last day is 4 days from today
    insert ls_Charsel into table eto_charsel.
    This way you provide 5 days starting from yesterday till 4 days from today.
    Regards
    Marcin

  • Add Range Selection for Cost Center in Report Painter

    Dear Gurus,
    I had a report painter which had Cost Center selection, may I know how to change the cost center selection become in range like shown in below picture?
    [Report Painter - Cost Center in Range|http://www.pikipimp.com/pp/pimped_photo/s/image/42/231/888/range-compiled.JPG?ts=1236930732343]
    Thank you very much!

    Hi,
    Thanks for your guide, is really detail ~
    I had follow your step, create a new variable set for the cost center at GS11.
    When I want to include the set (KOSTL2) into the general data selection it prompt this [error|http://www.pikipimp.com/pp/pimped_photo/s/image/42/314/153/ErrorGS12-compiled.JPG?ts=1237172967140] may I know how should I correct it?
    Is it my setting was wrong?
    Please guide if possible.
    Thank you very much!
    Warm regards

  • Color Range Selection using Lab values

    Is there a way to select pixels in Photoshop based on given Lab values? I am using Select --> Color Range with a specified "fuzziness" threshold, but I'd rather make the selection based on specific Lab values instead of random pixels that I choose with my eye dropper. Is there a way to do this in Photoshop, or does anyone know of a plug-in that might do this?
    Also, if I end up having to use the basic Color Range tool, I'd like to know what "fuzziness" means. I understand what it does (selects more or less colors based on the threshold around the point you choose with your eyedropper), but what is that based on? A color difference (delta E) value around that point maybe?
    I am using Photoshop CS3 v10.0 on a Windows XP machine.
    Any help would be greatly appreciated.
    Thanks, Ellen

    It may be helpful to compare the Color Range command with the Magic Wand Tool. A Magic Wand "selection" is 100% opaque and all pixels outside its tolerannce have zero opacity. So the selected pixels are either totally selected or totally unselected. There is no partial selection.
    Not so with the Color Range command. The pixel clicked establishes the "base" color. Whereever that exact color occurs in the image, it is totally selected (100% opaque). The degree to which other pixels are selected (their opacity) depends on the Fuzziness setting.
    At zero Fuzziness, all pixels other than those with the base color are totally unselected (zero opacity). As the Fuzziness setting increases, pixels with values other than the base value begin to be selected, but not 100%. There is a bell-shaped (Gaussian) curve of opacity centered on the base value and dinminishing on either side of it.
    The breadth of the Gaussian curve (let's define that as the color value difference between 50% opacity on the left and 50% opacity on the right is directly proportional (not equal to) the Fuzziness. Double the Fuzziness and you double the breadth. Marching ants appear at the 50% opacity point. But be careful interpreting this because with the Magic Wand, for example, the 50% opacity point occurs at the same point as zero and 100%, there being no gradation of opacity at the edge of a Magic Wand selection.
    You need to be aware also that the Color Range command operates in each color channel and the deviation from base value is determined by the most restrictive of the three channels. If a pixel is within Fuzziness limits for one channel but not another, it doesn't pass muster. And, yes, CR uses Lab colors, but you need not be in Lab mode.

  • Date range selection from session/server variables - possible solution

    I've recently been creating some reports who'se selection is based on the contents of a session variable, using this against a date field. Thought I'd share with everyone how I did it.
    1/ Create a server/static variable called DATE_FORMAT who'se contents are 'dd/mm/yy' . Note, should include the single quotes.
    2/ Create 2 session variables that represent the beginning/end date range for your selection you are after - in my case, it was the first & last date of the previous month, PREVIOUS_PERIOD_FROM and PREVIOUS_PERIOD_TO
    3/ In the selection, add a filter on the date field in question, set the Operator as "is between".
    4/ for each of the 2 valaues, select Add->SQL expression and enter:
    EVALUATE('TO_DATE(%1,%2)',VALUEOF(NQ_SESSION."PREVIOUS_PERIOD_FROM"),VALUEOF("DATE_FORMAT"))
    and
    EVALUATE('TO_DATE(%1,%2)',VALUEOF(NQ_SESSION."PREVIOUS_PERIOD_TO"),VALUEOF("DATE_FORMAT"))

    HI,
           U can check the Select Quert by using IN s_option.
    Like eg:--
        Select * form Zemp where empno in s_empno.
    Hope this example will help u...
    here Zemp is a table...... empno is a field     s_empno is a Select-option.
    Thanks and rEgards
    Suraj S Nair

  • Warning: No indices selected for this bind variable ??

    I have a view object that is read-only and performs a JDBC connection to SQL 2000 server to get the contents of a view in the database. I need to add a couple of bind variables that I can use for searching 'ExecuteWithParams' in my JSF.
    When I click 'Add' to add a bind variable, I get the subject warning. My query has the selected attributes with 'AS Emp_No' for instance. If I want to add to the where clause 'AND EMP_NO = :EmpIdVar' as I would do in the Oracle way, how can I do it in the JDBC Positional way and avoid the warning above?
    Thanks!

    Bug 6041448 details a problem with setting the index positions of a named bind variable when the View Object's binding style is "Oracle Positional" or "JDBC Positional".
    The workaround involves not using named bind variables, and just using the ? bind variable indicators in the query without formally defining the named bind variables.
    You could adopt a technique like the one described in section "10.5.2 How to Work with Named View Object Bind Variables" of the ADF Developer's Guide for Forms/4GL Developers on the ADF Learning Center (at http://www.oracle.com/technology/products/adf/learnadf.html) as an alternative to using ExecuteWithParams [whose use required named bind parameters]. Instead, you would write a custom method on your view object that accepts your two parameters, then inside this method it would set the correct posititional parameters using setWhereClauseParam().
    Once you've added the custom method to the view object's client interface, then you can drop the custom method from the data control palette just like the ExecuteWithParams and use it in basically the same ways.

  • Range check for numeric values in varchar2 type column

    SQL oracle 10g windows XP
    I have a table which has column of type varchar2 e.g
    create table osa_gms_mailbox(reg_address varchar2(60),bin_address varchar2(60));
    let us insert some sample rows:
    insert into osa_gms_mailbox values ('8000','8000');
    insert into osa_gms_mailbox values ('9000','9000');
    insert into osa_gms_mailbox values ('[email protected]','[email protected]');
    If i try to run the query :
    select reg_address from (
    select reg_address from osa_gms_mailbox
    MINUS
    select reg_address from osa_gms_mailbox where
    regexp_like(reg_address,'^[a-z]+|[A-Z]+$')) temp
    where to_number(temp.reg_address) between 1000 and 10000;
    or
    select reg_address from (
    select reg_address from osa_gms_mailbox
    MINUS
    select reg_address from osa_gms_mailbox where
    regexp_like(reg_address,'^[a-z]+|[A-Z]+$'))
    where to_number(reg_address) between 1000 and 10000;
    it gives ORA-01722: invalid number .
    how can i get the numeric comparision done for varchar2 field and exclude the rows which have atleast one alphabet (a-z,A-Z)
    Thanks

    Hi
    Please check this sample , it may useful to you
    /*Creating a Table*/
    Create Table CHECKVARCHAR( CheckValue Varchar2(20) );
    /* Inserting values in to the column with numbers and Strings */
    Insert into CHECKVARCHAR Values ( 1000 );
    Insert into CHECKVARCHAR values ( 2000 );
    Insert into CHCEKVARCHAR values ( 10000 );
    Insert into CHECKVARCHAR values ( 'Abc' );
    Insert into CHECKVARCHAR values ( 'zyx' );
    /*Here is the Query to avoid Invalid Number */
    Select * from
    ( Select CheckValue
    from Checkvarchar
    where Ascii( Substr( CheckValue,1,1 ) ) not between 65 and 122 )
    where CheckValue between 1000 and 10000;

  • Excluding a fixed value with variable defined

    Hi
    In Bex report , a variable is defined already.
    Now the requirement is to exclude (FIXED VALUE) i.e batch with value #.
    if using the restrict option of this charactersitic, i am not able to select both fixed value(which is to be excluded)  and the variable (already defined) simultaneously.
    Message is coming as variable is complex...so cannot select both FIXED VALUE and FIXED VALUE)
    Please suggest a solution
    Regards
    DJ
    Message was edited by:
            Vidyut Kichambare

    Vidyut,
    It seems to work fine for me - select the variable you want and also the fixed value you want to exclude and it should work fine.
    select the variable and then go to the fixed values tab and select the value you want to exclude and select it and do an exclude on the same - ideally when you select a value using a variable - the # would get automatically excluded - not sure why you want to exclude # along with the variable.
    Arun
    Assign points if useful

Maybe you are looking for