How to change the valueswhich are entered in select-options

Hi ,
Iam passing Material Numner Vlaues through select-options.
My requirement is i need to prefix and postfix star to the Material.
For that i have written logic like below.
LOOP AT S_MATNR.
S_MATNR-SIGN = 'I'.
S_MATNR-OPTION = 'EQ'.
CONCATINATE  '' S_MATNR-LOW '' INTO S_OBJKY-LOW.
APPEND S_OBJKY.
ENDLOOP.
What my problem is if user enters high low and high values how we can write the logic.

>
vinay raj wrote:
> What my problem is if user enters high low and high values how we can write the logic.
Hello Vinay,
I suppose you want to prefix & postfix a '*' to allow for selecting data using patterns.
Unfortunately you cannot use CP (read: patterns) if the HIGH value is not initial. read SAP documentation on SELECT-OPTIONS.
BR,
Suhas

Similar Messages

  • How to change the Time Zone of a selected user programically ?

    Hi all,
    I have a specific requirement to develope using Webdynpro. I want to programically change the Time ZOne of a selected  user. Could some one help me . I promise to award points for the solution.
    Thank you in advance
    Regards
    Maruti

    Hi,
    Kindly have a look at the following threads,
    Re: Timezone of current User
    Re: Changing the Time Zone attribute
    Regards,
    Saravanan K

  • Report Painter: How to change the order of lines in selection screen

    Dear Gurus on Report Painter,
    how can I change the order of the lines (where the values for the variable selection of my cost center report are entered) in the selection screen of a report painter report? The Selection screen looks awful.
    Is there also a possibility to add another description to each line of the selection screen?
    Thank you very much for your advice.
    Best regards Timo

    I am afraid you have much choice in choosing the order of the selection parameters. However, with the developer's access you may.
    This is how!
    Step 1: If it is a standard report, copy to your own report. and assign it to a report group. and execute.
    Step 2: When you execute, and the selection appears, go to systems>status and here , copy the program name (it may look something like GP46LP6VEDORBSA2IHWYSR4TL58020)
    Step3: Go to SE38 and enter the above derived program name with a view to re-arrange the line withing the program, with reference to selection parameters. 
    For example: I have a selection screen in the following order:
      Controlling area            
      Fiscal Year                 
      From period                 
      To period                   
      Plan version                                                                               
    Cost center group           
      Or value(s)                 
      Cost element group          
      Or value(s)                 
    The corresponding program that drives this order is in the program and would look like this,
    SELECTION-SCREEN BEGIN OF BLOCK VALUE_SELECTION
                     WITH FRAME TITLE TEXT-003.
    <b> PARAMETERS: $1KOKRE  LIKE CCR1S-KOKRS .
      PARAMETERS: %1KOKRE  LIKE CCR1S-KOKRS MODIF ID IN4.</b>
    <b><i> for controlling area</i></b>
      PARAMETERS: $1GJAHR  LIKE COSP-GJAHR .
      PARAMETERS: %1GJAHR  LIKE COSP-GJAHR MODIF ID IN4.
    <b><i> for fiscal year</i></b>
      PARAMETERS: $1PERIV  LIKE COSP-PERBL .
      PARAMETERS: %1PERIV  LIKE COSP-PERBL MODIF ID IN4.
    <b><i> for period from</i></b>
      PARAMETERS: $1PERIB  LIKE COSP-PERBL .
      PARAMETERS: %1PERIB  LIKE COSP-PERBL MODIF ID IN4.
    <b><i> for period to</i></b>
    etc.
      PARAMETERS: $1VERP   LIKE COSP-VERSN .
      PARAMETERS: %1VERP   LIKE COSP-VERSN MODIF ID IN4.
      PARAMETERS: $1VALUTP LIKE CCR1S-VALUTYP MODIF ID IN4 .
      PARAMETERS: %1VALUTP LIKE CCR1S-VALUTYP MODIF ID IN4.
    SELECTION-SCREEN END OF BLOCK VALUE_SELECTION.
    ......... set variables ..............................................
    SELECTION-SCREEN BEGIN OF BLOCK SET_SELECTION
                     WITH FRAME TITLE TEXT-004.
      PARAMETERS: $1KOSET  LIKE RKSB1-KSGRU.
      PARAMETERS: %1KOSET  LIKE RGSBS-SETNR MODIF ID IN5.
      SELECT-OPTIONS _1KOSET  FOR CCR1S-KOSTL .
      PARAMETERS: $1KSTAR  LIKE RKSB1-KAGRU.
      PARAMETERS: %1KSTAR  LIKE RGSBS-SETNR MODIF ID IN5.
      SELECT-OPTIONS _1KSTAR  FOR CCR1Z-KSTAR .
    SELECTION-SCREEN END OF BLOCK SET_SELECTION.<i></i><b></b>
    If you want fiscal year to appear first, you try just copying the coding relating to fiscal year just above the coding for Controlling area.
    Extend the same logic for what you may want to get.

  • How To... Change the Data Type for a SELECT-OPTIONS at run time.

    Hello,
    I am trying to restrict the values available for entry into a SELECT-OPTIONS at run time depending on user input.
    The logic is as follows. The user has two input fields. A PARAMETER field which has the type RSDIOBJNM and allows them to choose an InfoObject. And the user has a SELECT-OPTIONS field to allow them to select the Characteristic values for that InfoObject.
    I would like the following example to be possible:
    The user enters 0MATERIAL into the PARAMETER. When the user clicks on the SELECT-OPTIONS control code will derive a list of possible options the user can enter in the SELECT-OPTIONS. In this case only values found in the master data or at least no values greater than 18 characters.
    I have looked at the following function module SELECT_OPTIONS_RESTRICT and this do not appear to be helpful as they only restrict on the signs allowed for the values (unless I misunderstand, it is a complex function module!).
    The code I have so far is (thus the user enters a InfoObject into p_char1 and the select options so_char1 should only accept active values of that InfoObject):
    declaration of variables for user interface
      DATA c_char(32) TYPE c.
    declaration of count variable
      DATA i_count TYPE i.
    declaration of user interface
      SELECTION-SCREEN BEGIN OF BLOCK a1 WITH FRAME TITLE text-001.
        PARAMETERS: p_ipack TYPE RSLOGDPID.
      SELECTION-SCREEN END OF BLOCK a1.
      SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-002.
        PARAMETERS: p_char1 TYPE RSDIOBJNM.
        SELECT-OPTIONS: so_char1  for c_char NO INTERVALS.
        PARAMETERS: p_char2 TYPE RSDIOBJNM.
        SELECT-OPTIONS: so_char2  for c_char NO INTERVALS.
        PARAMETERS: p_char3 TYPE RSDIOBJNM.
        SELECT-OPTIONS: so_char3  for c_char NO INTERVALS.
      SELECTION-SCREEN END OF BLOCK b1.
    Is what I am trying to do possible???
    Thanks for any help. Ross.

    You really want to restrict possible values of a select-option based on another field, not change the length of type of the select-option field, right?
    Here is what you do:  Code a custom F4 value help for the select-option at event AT SELECTION-SCREEN ON VALUE REQUEST FOR..  The first thing you do here is read the value of the parameter field (p_ipack in your example).  You can use function module DYNP_VALUES_READ.  Based on this value, you can propose values for the select-option fields.  Note that the use can still enter whatever s(he) wishes in to the select-option field without pressing F4. In this case, you will have to code some input validations taking into account the value in the p_ipack field.

  • How to change the caption in data entry selection screen??

    using cats0009 i populated the data into wbs desc and a/a desc but
    but i am not able to change the name(caption of additioanl field) as 'wbs description'. and A/A desciption.
    can anyone please help me out how to do this...

    You don't mean selection text do you? Can you be more specific?

  • How to change the size of my media sync options?

    When I got a message that I couild update my iOS for my iPod I clicked on it and got this message:
    Updating to iOS 6.1.6 requires at least 530 MB of free space on your iPod. Please change your media sync options to make more storage available.
    How do I increase my free space on my iPod to enable me to update to the latest iOS?

    Remove some content from your device.
    Open itunes, connect ipod select less to sync, sync
    Or just update via itunes on your computer.

  • How to change the background color for lookup column options in sharepoint 2007

    Hi,
    I have a custom List with 10 fields,and in the edit form we want to display only 6 fields,
    So I have customized it with sharepoint designer 2007 ,designed a new custom edit form(Insert->ShaerPoint Controls->Custom List Form)
    We are using IE8 Browser,and the site has JQuery 1.8 loaded .
    The lookup columns is getting rendered as textbox and dropdown arrow image,instead of select html element.
    When we click on arrow image,its displaying the values magically,So I am unable to highlight the options with text "ABC" in yellow background color
    basically in the input textbox its storing all the lookup values as "ID|value "in choices attribute (I saw this in browser dev tools)
    I tried to set the textbox color everytime it loses focus using blur,however its always returning the previous value instead of current selected value.
    Is there any way we can achieve this,Any solutions/thoughts
    Thanks everyone..

    hi i bet you need to amend your jquery script to get onclick values and put it with like append HTML if you want to use Jquery.
    Also did you know you could use javascript in calculated column with type number?
    Check:
    http://sharepointwijzer.nl/sharepoint-blog/tech/icc-html-calculated-column-sharepoint-view
    Imposible is nothing

  • How to change the default JRE when there are several version of JRE in Sys

    How to change the default JRE when there are several version of JRE in System?
    i have installed j2sdk1.5.0 then installed j2ee1.4,then installed Weblogic6.1 which use jdk1.3
    Now the JRE is jdk1.3\bin
    When run class that was compiled with jdk1.5,throw:
    java.lang.UnsupportedClassVersionError
    How can i change the jre to 1.5?

    There is a workaround to move from 1.5 version to the older 1.4 version. But this could be specific to the browser setting the JRE version.
    Excerpts from sun docs:
    However, a user can still run older versions. To do so, launch the Java Plug-in Control Panel for the older version, then (re)select the browser in the Browser tab.
    Example:
    Assume you are running on Microsoft Windows with Microsoft Internet Explorer, have first installed version 1.4.2, then version 5.0, and you want to run 1.4.2.
    Go to the j2re1.4.2\bin directory where JRE 1.4.2 was installed. On a Windows default installation, this would be here: C:\Program Files\Java\j2re1.4.2\bin
    Double-click the jpicpl32.exe file located there. It will launch the control panel for 1.4.2.
    Select the Browser tab. Microsoft Internet Explorer might still appear to be set (checked). However, when 5.0 was installed, the registration of the 1.4.2 JRE with Internet Explorer was overwritten by the 5.0 JRE.
    If Microsoft Internet Explorer is shown as checked, uncheck it and click Apply. You will see a confirmation dialog stating that browser settings have changed.
    Check Microsoft Internet Explorer and click Apply. You should see a confirmation dialog.
    Restart the browser. It should now use the 1.4.2 JRE for conventional APPLET tags.
    Details are here
    http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/jcp.html
    My system (Windows XP) has the version 1.5_09 set as the default. However i just installed JRE 1.5_06 and would like to revert back to _06 as the default JRE..
    Will update if i find more information

  • IPhone 4S photos on the info tab of iPhoto are 3,1Mpx. How I change the camera to 8Mpx?

    iPhone 4S photos on the info tab of iPhoto are 3,1Mpx. How I change the camera to 8Mpx?

    Zoom out.
    There are not settings to control the image quality, the device always takes the largest image possible.  Zooming in will cause the image to be a lower resolution.

  • How to change the default currency in CJ32 and CJ33

    Dear all,
    As required by the user, I want to know how to change the default currency from controlling area currency to object currency in TCODE CJ32 and CJ33. Currently, the controlling area currency will be defaulted in the field "Views in".
    Could any one help me? Points will be awarded.
    Thank you.
    Christina.
    Edited by: Virendra Pal on May 5, 2010 8:34 AM

    Hi Christiana ,
    Once you are in tcode CJ30 / CJ32 , Enter either Project definition or WBS element and this shall take you to the Budget screen and once you are here you can find a drop down with two options .One is Controlling are currency and the other one is Object currency.
    Since the Currency is set to Object currency in OPS9, System shall allow the budget values in Object currency and if the user wants to see the same values in Controlling are currency ,then the user needs to view the values in Controlling are currency using the drop down .
    Regards
    Judy

  • I recently changed my apple ID but my previous apple ID is associated with my icloud account. I'm setting up my new iphone 6 and cannot complete the set up until I can sync my icloud account. Does anyone know how to change the icloud id?

    I recently changed my apple ID but my previous apple ID is associated with my icloud account. I'm setting up my new iphone 6 and cannot complete the set up until I can sync my icloud account. Does anyone know how to change the icloud id?

    Do the following:
    Make sure you are signed into iMessage and FaceTime with your current ID.  If they are signed into the old ID, go to Settings>Messages>Send & Receive and Settings>FaceTime, tap the ID, sign out, then sign back in with your current ID.
    Then temporarily recreate the old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  (You should not have to verify the old email account so it doesn’t matter if you no longer have access to it.)  Now go to Settings>iCloud, turn off Find My iPhone and enter your current password when prompted (even though it prompts you for the password for your old ID).  Then go to Settings>iCloud, tap Sign Out and choose Delete from My iPhone when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address back to the way it was.  Now you can go to Settings>iCloud and sign back in with your current iCloud ID and password (your data will download back to your phone).

  • How to change the year in a range of column dates to the new year?

    How to change the year in a range of column dates to the new year?

    Depends on the pattern of the dates. The last procedure will work for any pattern, or no pattern at all.
    For examples.the dates are assumed to be in column A, starting at A2
    Sequential dates?
    Enter first updated date in the first cell.
    Enter =A2+1 in cell A3. Copy the cell.
    Select A3 to the end of the list. Paste.
    With the cells still selected, Copy, then go Edit > Paste Values.
    Evenly spaced dates?
    Same procedure as above, but replace +1 in the formula with + and the number of days between dates in the list.
    Randomly spaced dates?
    Select cell B2. Press option-left arrow to insert a (temporary) column to the left of column B.
    Click on the empty cell B2 in the new column. Enter the formula below:
    =DATE(YEAR(A)+1,MONTH(A),DAY(A))
    Copy the cell, then select B2 - Bn where n is the last ow containing a date to be converted. Paste,
    With the cells still selected, Copy.
    Click on A2, then go Edit > Paste values.
    Click on the column B reference tab to select all of column B.
    Hover the mouse over the right end of the reference tab, and click the black triangle when it appears.
    Choose Delete Column from the menu that appears.
    Regards,
    Barry

  • How to change the status in the table kssk

    Hi ,
    In document management system - for a doc type pdf, I am maintaing the class (cl_xxx) in img setting. some charateristics are assigned to that class (with entry required).
    My problem is While  creating the document (cv01n). I am  not assigning the value for that char ( i.e in addition data), eventhough it is mandatory .
    In the table kssk , For that particular document , status is set to 5 . how to change the status .
    note :
    In cv04n - if i search wrt to that charateristic in the classification tab. i am not  able to get the value.
    Please help me to solv the problem.
    Regards,
    Rani.

    hi you can do like this also if it is a test server..and y had the authoridation..
    togo the table -supposekkkk-execute-select a particular record--double click it ---then it will display it in the vertical line..
    then put /h in the tcode listbox and put enter--debugg it and change this    if code = 'SHOW'  as EDIT. execute it and change it and save it..
    regards,
    venkat.

  • How to change the instance_name

    Hi guys,
    I am a member of OTN, and I am interested in installing Oracle DB and OAS9i on Linux RedHat platform, and I hope it can be used for my company in the future, so I just download the OAS9i for Linux testing use first, and I follow the Installation guide to setup, but I got a problem - How to synchronize the origin database name with its SID by changing the origin database name? As my db_name and instance_name are different, and I want the instance_name is the same as db_name, is there anybody can do me a favor, and tell me how to change the instance_name and let it the same as db_name?
    Thanks in advance for any kindly suggestion and help.
    Best Regards!
    Frank

    Sarwar, I don't quite follow you, after I enter Net8 assistant, I just can find there are three items listed under Local-Service naming: for example,
    oracle1.mydomain
    inst1_http.mydomain
    extproc_connection_data.mydomain
    as I had already reinstalled Oracle database once, the previous instance_name is ex:oracle, and after uninstall and reinstall the
    database with SID ex:oracle1, but maybe something I didn't remove
    completely, now I found my db_name and instance_name are diff,
    now my db_name is oracle, but my instance_name is oracle1, and
    I want them to be the same, but I don't know how to change
    the instance_name to the same as db_name, so Sarwar, as I listed
    above, how can I choose different service name and let my database instance_name the same as db_name?
    Or anybody know the detained instructions to remove oracle database completely? I would like to remove the database again
    and reinstall it if I can't fix the problem.
    Help! Is there anybody can help me?
    Thanks in advance!

  • How to change the number im using on my messages?

    how to change the number im using on my messages?

    If you are asking about the telephone number, Messages/Preferences/Accounts/Messages account - click add e-mail and enter it.

Maybe you are looking for

  • How to remove the border of an Adobe Form Image Field

    Hello everyone I am using Desinger 8.0. Form properties: Preview type = Print Form (One-side): I am using an "image field" to include a image from the transaction SE78. There is always a box arround the image. How can I remove that box? I am using th

  • Wifi big problem

    in our office we have 2 x 16GB 3G IPHONES. one was bought 6 weeks ago, the other 2 weeks ago. both are updated to latest 2.0.2 update. in our office we have wireless, one has perfect signal and is connected and the other which is no more than 1foot a

  • Fillable tables in FormsCentral yet?

    Hello, It was previously answered that tables are not supported in FormsCentral.  That was is 2011.  Have any improvements been made, and are fillable tables supported in FormsCentral yet?  If not, does anyone have any workarounds to either get a tab

  • Error in Forums

    I always get an error message when I login to the Apple Discussion Forums. Here is how I login: 1. I have an RSS Feed Bookmark for "Safari for Mac" 2. I click on a new post 3. After reading the thread, I select "Login" on the right hand side of the p

  • Problem opening .ascx files

    When I open a .ascx file in Dreamewaver MX I do not see the code that makes up the page. I only see the first 14 lines of the code. I am trying to change a photo on the page. If I open the file in Notepad I see all of the code, so I know that the cod