Store select-options preferences

Hi.
How can i store a select-option's user selection in a database table???
I can not use a variant,  i need to use a Z Database Table.
Which has to be the structure of this table??
How can i do this???
Thanks

Hi,
Select-Option : MATNR type mara-matnr.
Ranges : MATNR for MARA-MATNR.
r_matnr = s_matnr.
EXPORT R_MATNR to R_MATNR MEMORY ID 'ZID'.
while retrieving
IMPORT R_MATNR from R_MATNR MEMORY ID 'ZID'.
else store it into a DB table of same structure.
Best regards,
Prashant

Similar Messages

  • Store select-options on database

    Hello ABAP community,
    I would like to store select-options on the database. Of course, beforehand they need to be entered by the user. From this, the two questions arise:
    • Is here a way to put select-options on a regular dynpro?
    • Is there a re-usable mechanism of saving select-options to the database. Such a mechanism should exist because saving variants of a report is doing basically this.
    Thanks for your input,
    Christian

    Hi Christian
    To use select-options features at an ordinary screen you can use the FM <b>"COMPLEX_SELECTIONS_DIALOG"</b>.
    <b>OR</b>
    You can code a selection screen
    SELECTION-SCREEN BEGIN OF SCREEN 1001 .
    SELECTION-SCREEN END OF SCREEN 1001 .
    within your program and call it as a subscreen at your screen.
    "Variant Management" feature of selection screens is a whole process. That is you can find and utilize it using its FMs (e.g. RS_CHANGE_CREATED_VARIANT, RS_CREATE_VARIANT, RS_REFRESH_FROM_SELECTOPTIONS,...) conveniently. However, I guess it will be sophisticated, i.e. variant id's, and other stuff...
    Regarding to your scenario you can prefer storing them by your own procedure at whose basis again the structure <b>"RSPARAMS"</b> exists.
    Hope this helps...
    *--Serdar

  • Need a shortcut to "Allow pages to choose their own colors, instead of my selections above option preference" I know where it is and how to use it but I have to go through 7 mouse clicks to change it, then a few minutes later change it back. I also k

    Need a shortcut to "Allow pages to choose their own colors, instead of my selections above option preference" I know where it is and how to use it but I have to go through 7 mouse clicks to change it, then a few minutes later change it back. I also know the sequnce is alt t, alt o, alt c, alt a, then ok, ok. Got to be a way to make a one key short cut for this. I use a black background to reduce eye strain, but about 10% of the webpage I go to can't be send with black so I have to go into tools and hit 6 or 7 things to chnage it then after through with webpage have to do it all over at Not allow webpages to have own color. Very very cumbersome.
    == This happened ==
    A few times a week
    == made that way

    https://addons.mozilla.org/en-US/firefox/addon/toggledocumentcolors-198916/
    The above addon will solve your problem.
    Shortcut to toggle user color/page color :- Ctr+Shift+C

  • Where does Acrobat Reader store its print preferences?

    I'm trying to print a file directly with no human interaction using Acrobat Reader. To do such, I'm using the command line arguments "acrord32.exe /t filename \\printerlocation\printer".
    Printing works just fine except for one detail: some of my pdf files need printing with "Auto Rotate and Center" checked and "Page Scaling" to "None", while others need "Auto Rotate and Center" unchecked and "Page Scaling" to "Fit to Printable Area"...
    I've realised that Acrobat Reader stores its last selected preferences (if you close Acrobat and re-open it, these two settings are still set as they were the last time you closed Acrobat) but the question is... where?!
    I've noticed the bprintAutoRotate and the bprintExpandToFit keys in the registry under (HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\8.0\AVGeneral) and they even change their values whenever I change the options in Reader and close the application, but changing them through my application seems to have no effect - I see the values changing in the registry but Acrobat still prints (and displays if I open the print preferences dialog) the last settings it had memorized before I changed them in my application...
    Is there any other location where Acrobat stores these printing preferences? Is there a way to change these settings through the windows registry or any other configuration file(s)?!
    By the way, I'm using Acrobat Reader 8.1.3.
    Thanks in advance

    Hi Michael!
    Maybe
    HD > Users > Your Account > Library > Preferences: com.apple.internetconnect.plist this one?
    Good Luck!
    ali b

  • I accidentally deleted some drivers from my macbook air and now i can not access app store and system preferences as it says the following message (You can't open the application System Preferences because it may be damaged or incomplete)

    i accidentally deleted some drivers from my macbook air and now i can not access app store and system preferences as it says the following message (You can't open the application System Preferences because it may be damaged or incomplete)

    Repair the Hard Drive and Permissions - Lion/Mountain Lion
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported then click on the Repair Permissions button. When the process is completed, then quit DU and return to the main menu. Select Restart from the Apple menu.

  • Store defaul portlet preferences

    Hi,
    I want to implement edit mode for my portlet, where only admins have access. On the edit page, I want to enable the admins to set the default portlet preferences (the same value for all users, not only for the current user)
    How can I best do this. We are using 8.1.5.
    I have tried to use the PreferencePersistenceManager looked up with PortalBeanManager (similar as in VisitorTools) but I got a NameNotFoundException
    Thanks

    Hi,
    Select-Option : MATNR type mara-matnr.
    Ranges : MATNR for MARA-MATNR.
    r_matnr = s_matnr.
    EXPORT R_MATNR to R_MATNR MEMORY ID 'ZID'.
    while retrieving
    IMPORT R_MATNR from R_MATNR MEMORY ID 'ZID'.
    else store it into a DB table of same structure.
    Best regards,
    Prashant

  • Select Option in APD

    Hi All,
    I am trying to create select-option for selection screen for extraction of criteria data into application server. Can I create selection-screen through "ABAP Routine" in APD?
    If not, so how we can create selection-screen for the same?
    Regards
    Anukul

    Hi,
    One way I can think of is.
    a.Create a table (or use TVARVC) which can store all selection options required by the User.
    b.Create an ABAP report, which lets users enter the parameters and fill this table.
    c.When you trigger the APD, an User Exit will read the table and fill the variable values based on User's Selection,
    d.The output file will contain data required by the Users.
    Alternatively, you can also considering triggering the APD in the same ABAP.
    Regards,
    Advait

  • Hi ! My safari browser is blocked with the Ukash virus. And I can't select Safari Preferences Security. I'm also unable to reinitialize Safari. What should I do ?

    Hi ! My safari browser is blocked with the Ukash virus. And I can't select Safari > Preferences > Security. I'm also unable to reinitialize Safari. What should I do ?

    Force Quit .
    Press command + option + esc keys together at the same time. Wait.
    When Force Quit window appears, select the Safari if not already.
    Press Force Quit button at the bottom of the window.   Wait.
    Safari will quit.
    Relaunch Safari holding the shift key down.
    For more on this:
    http://www.thesafemac.com/fbi-ransomware-virus-rampant/

  • How many entries can we put in the select options

    Hi all,
    As per  my requirement I am trying to store the data in the select-option( s_kunnt)  as below
    select kunnr from kna1 into (l_kunnr) where
                and spart in p_spart.
      move 'I'         to s_kunnr-sign.
      move 'BT'        to s_kunnr-option.
      move l_kunnr to s_kunnr-low.
      move l_kunnr  to s_kunnr-high.
      append s_kunnr.
    endselect.
    Using s_kunnr in the select statement to fetch the data.
    When the customer numbers are more than 1800 in the s_kunnr, select statment going to the dump. Is number of entries in the select options are restricted for some count( around 1800)?.
    How many entries can we put in the select options?
    Thanks
    Regards
    Raj.

    Firstly, there is an error in your code. You should do the following instead:
    move 'I' to s_kunnr-sign.
    move 'EQ' to s_kunnr-option.
    move l_kunnr to s_kunnr-low.
    append s_kunnr.
    To answer your original question, the limit depends on the field width you are using in the ranges. If the field width is small, you can have thousands of entries in the range table.
    The limitation is in the length of the SQL statement string generated by the ABAP OPEN SQL engine. With the way I defined it above, the statement would have WHERE KUNNR IN ( 'value1', 'value2', 'value3'). With way you defined it, it would have WHERE KUNNR BETWEEN 'value1' and 'value1' and KUNNR BETWEEN 'value2' and 'value2'.
    When the range table is so large that it results in a short dump, you should look into FOR ALL ENTRIES option of SQL.

  • Alternative for "check select-options" for select query.

    hi all,
    my report is using a "GET" syntax, followed by "check select-options".
    My senior told me to replace the Get syntax with select query.
    Now, my program also has dynamic selection screen.
    the dynamic selection screen almost has all the fields of database table.
    so, what is the way to replace this check select-options while applying select query?
    can you tell me how dynamic selection screen fields are populated? are they stored in some internal table?
    thanks for help.

    HI
    Here is some points about LDB.
    Logical databases are special ABAP programs that retrieve data and make it available to application programs. The most common use of logical databases is still to read data from database tables by linking them to executable ABAP programs.
    However, from Release 4.5A, it has also been possible to call logical databases using the function module LDB_PROCESS. This allows you to call several logical databases from any ABAP program, nested in any way. It is also possible to call a logical database more than once in a program, if it has been programmed to allow this. This is particularly useful for programs with type 1.
    Logical databases contain Open SQL statements that read data from the database. You do not therefore need to use SQL in your own programs. The logical database reads the program, stores them in the program if necessary, and then passes them line by line to the application program or the function module LDB_PROCESS using an interface work area
    For further on LDB's refer to this link.
    [http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm]
    Hope this will help.
    Reward if helpful.
    Sumit Agarwal

  • Web Dynpro Abap: Select-Options: Save Selection Data

    Hello,
    I am using select-options in web dynpro abap.  Need to add a feature where the user can save his selection values as a variant. 
    All I can think of is getting all the selection values and saving these into a Z table.
    Can you suggest a better way?
    Thank you.
    Irene

    Hi Irene,
    Alas, it's currently not possible. You could write your own wrapper though adding a save button. Inside of the action handler you could retrieve the range tables of all fields, convert their content to a structure you like and save it a fitting db table. My suggestion is to use XML and a DB table with a XSTRING field in the data section to store the range table values.
    Using personalization will allow you to customize your ui and to hide certain select option fields.
    Best regards,
    Thomas

  • Select-options values display

    Hi experts,
    I have three select-options in a selection-screen like
    s_vbeln for vbak-vbeln,
    I want to display the values entered in the select-options of the selection-screen on the report.
    eg!..
    If user enters the multiple values in the select-options, it should show all the multiple values .
    If the user enter only the ranges ("From and To"), it should display only the ranges .

    Hi,
    Actualy all the select option behave as internal and stores the value entered in them. So here your select options s_vbeln is  an internal tables.
    To display the value Just use LOOP AT Write statement to print values.
    REPORT z_sdn.
    TABLES:
      vbak.
    SELECT-OPTIONS:
      s_vbeln for vbak-vbeln,
    loop at s_vbeln.
    WRITE:
      / s_vbeln-low,
        s_vbeln-high.
    endloop.
    By the way you are repeating the same question in the same community and you also heve more than 10 post unresolved. Both are against the rule of engagement. Moderator may lock the thread. So please avoid them.
    Regards,
    Anirban

  • Select-options ALV problem

    Hello @all,
    I want to make reporting in webdynpro ABAP. I have one Webdynpro component for this. For this I have see many tutorials. But in all the select-options and alv are on one view. i want to make it on two views. Has anybody an tutorial for this or an idea how i can do this easily.
    On one view i have my select options implemented with one container. Now I want to make the ALV table, but i want display the alv on a other site, not under the select options.
    Anybody an idea how i can do this.
    Thanks and regards
    Chrisp

    Hi,
    You can proceed as follows:
    1.Create select options in one view and ALV table in other view.
    2.since its reporting you might be having some button like SEARCH  ,once the user
       enters the  data in the selection screen he clicks on  the SEARCH  button .
    3.In the action handler of the SEARCH button ,get the data from based on the selection criteria 
        and  store that value   in component controller attribute.(create an attribute in comp controller level)
    4.Create an outbound plug for  selection screen view and inbound plug for the ALV table View .
    once you get the data ,based on selection criteria, fire the outbound plug in action handler of the button.
    5.now in the second view bind the ALV table with  data which was stored in the component controller level.
    Priya

  • Regarding selection options

    whan i am using select-options prior to this i what to display check  box on the same line.
              when i am selecting the this check box it should execute automaticall
    could u plz explain the code clearly with example.

    search forums.
    Re: Dynamic Selection Options
    Posted on: Jul 17, 2006 5:50 PM, by user: Praveen -- Relevance: 100% -- Show all results within this thread
    am doing exactly as you had stated. But the user wants to see it something like this: 1. For the selection options, he wants to see three box's. a. Technical Name of the field selection. b. ...
    Re: regarding selection options
    Posted on: Mar 15, 2007 8:46 AM, by user: SHIBA DUTTA -- Relevance: 99% -- Show all results within this thread
    you have to use begin of line and end of line. SELECTION-SCREEN BEGIN OF LINE. SELECTION-SCREEN COMMENT 1(10) TEXT-001 FOR FIELD P1. PARAMETERS: ...
    Re: Restricting selection-options
    Posted on: Jan 18, 2005 8:58 AM, by user: Andreas Mann -- Relevance: 90% -- Show all results within this thread
    FOR vbak-vbeln OBLIGATORY DEFAULT '5300000000'. INITIALIZATION. PERFORM init_1001. START-OF-SELECTION. SELECT belnr FROM bkpf INTO bkpf-belnr WHERE bukrs = '0001' AND ...
    Check that at least on Selection Options are filled
    Posted on: May 25, 2006 4:37 AM, by user: Boater -- Relevance: 90% -- Show all results within this thread
    I have a program that has four selection options. The user needs to enter a selection for at least one of the four selection options. ...
    possible entry for selection-options
    Posted on: Feb 22, 2007 7:32 AM, by user: Tiwa Noitawee -- Relevance: 89% -- Show all results within this thread
    F-1 At last 3 alphabets of Prod.hierarchy is Product line (EX1, PC5) that users have to choose via selection-options like this <b>EX1</b> EXCEL 251 : F-1 <b>PC5</b> POWERTOP W-200 ...
    select-options multiple selection
    Posted on: Mar 5, 2007 3:06 AM, by user: venkateswarao gangavarapu -- Relevance: 87% -- Show all results within this thread
    hi can u send code for getting multiple selections in select-options Thanks in advance venkat ...
    Submitting Report with selection screen options
    Posted on: Apr 27, 2005 5:45 PM, by user: Rajesh Nittala -- Relevance: 85% -- Show all results within this thread
    Hi all, I have a situation, in my report i am using a selection screen which contains input select-options are store(range), date (from ..to)....after that ...
    sample program to remove standard selection-options & replace user defined.
    Posted on: Dec 7, 2005 5:37 AM, by user: Josephine Clara Arokiasamy -- Relevance: 83% -- Show all results within this thread
    The standard selection-options are provided for the logical database. i need to supress the standard selection-options ...
    Adding default value for a select-options in a selection-screen
    Posted on: May 26, 2006 11:51 AM, by user: sid alpay -- Relevance: 77% -- Show all results within this thread
    hello gurus, i have a report program with the following select-options in a selection-screen block:
    select-options: so_site for MyTable-werks.
    i want the so_site ...
    Adding Selection Options Fields in Report(Using Query)
    Posted on: Aug 25, 2004 5:26 AM, by user: lijo joseph -- Relevance: 76% -- Show all results within this thread
    Hi, how can we add Selection Fields Options in Query Reports Which we create using SQ01. I need a default option by which ...
    Getting the selection parameters/options in a diffrent program
    Posted on: May 11, 2006 3:05 AM, by user: Chad Cheng -- Relevance: 75% -- Show all results within this thread
    use Submit to get a report from a diffrent program and I am using variants to get the value of the selection criteria. However, for a less tedious approach, I think it would be better if I get the selection ...
    Read options from selection-screen
    Posted on: Aug 24, 2006 3:30 PM, by user: Silke Eng -- Relevance: 75% -- Show all results within this thread
    Hi Kiran, as all other questions are answered already, remains the one on the select-options. Function module <b>RS_REFRESH_FROM_SELECTOPTIONS</b> returns those. Kind regards, Silke ...
    Selection screen for SAP Query: OR between options
    Posted on: Jun 29, 2006 3:04 PM, by user: Tania Pouli -- Relevance: 74% -- Show all results within this thread
    need a variant where either of two fields should not be 0. Is there some way to add an OR between two selection options? I can't change the actual query because it's used with many other variants. Thanks ...
    Pass internal table of selection-options through method!
    Posted on: Nov 22, 2004 3:49 PM, by user: Frank Roels -- Relevance: 74% -- Show all results within this thread
    I created a selection screen with multiple select-options. Now I want in a method of a class work with the internal ...
    select-options: at selection-screen on value-request
    Posted on: Sep 18, 2006 10:51 PM, by user: Sumit Agarwal -- Relevance: 72% -- Show all results within this thread
    one field is dependent on the values of the other field in the select-options. I am using the "at selection-screen on value-request event on" to populate the select-options field, S_AUFNR, that is dependent ...
    Pages: 16 [ 1 2 3 4 5 6 7 8 9 10 |

  • Table View MULTI SELECT option and Event handling problems

    Hello All,
    I am facing problem while giving miltselect option in a table view. When i mention multiselect attribute in Select option in table view, i am unable to select all the rows which i want to select,because i have an event onRowSelection event activated so when i select a row then it will automatically go to the event and i am unable to do multiple select.
    Can you guys pl tell me is there any way thtat i can put check boxes in a table column and by that i can get values of row seelct and can perform my subsequent SQL operation.
    Also i am not able to navigate in table view through BYPAGE or BYLINE option. When I click on navigate button then page got refreshed and i lost data.
    One more query guys , can you pl tell me how can i store my internal table values from one event for the another event. I have used EXport/Import but internal table values get refreshed as page got refreshed on event switching/selection.
    Please respond.

    hye rahul.
      as i told you my second solution, will help you . the values remain in the corresponding UI elements.
    For example , you have a drop down and table view. both will trigger events. bind the data of the table at drop down event and bind the dat of the drop down at table event.
    event = cl_htmlb_manager=>get_event( runtime->server->request ).
    CASE event->id.
    when 'dd1'.                   drop down event is fired.
    bind data for drop down
    dd ?= cl_htmlb_manager=>get_data(
                                          request = runtime->server->request
                                          name    = 'dropdown'
                                          id      = dd_id'           " name of the drop down id
    along with drop down bind data for table view
        tbv ?= cl_htmlb_manager=>get_data(
                                          request = runtime->server->request
                                          name    = 'tableView'
                                          id      = 'tbv_id'           " name of the table view
    when 'tbv_id'.                   drop down event is fired.
    bind data for drop down
    dd ?= cl_htmlb_manager=>get_data(
                                          request = runtime->server->request
                                          name    = 'dropdown'
                                          id      = dd_id'           " name of the drop down id
    along with drop down bind data for table view
        tbv ?= cl_htmlb_manager=>get_data(
                                          request = runtime->server->request
                                          name    = 'tableView'
                                          id      = 'tbv_id'           " name of the table view
    This is how data should be binded in case of Stateless application. All the UI elemets must b binded again.. as the global data is refresed again.
    Hope this helps.
    Regards,
    Imran.

Maybe you are looking for

  • IBook App shuts down when trying to change the font size

    Hope sb can help when I open a book/pdf, the font size is very large. When I try to make them smaller  (menu), the iBook App just shuts down. I tried a hard reset of the iPad ... still the same problem. Did sb experience the same problem? Tx!

  • PO approval process in ByD

    We have been doing approvals of PO based on cost centre and value and happy with the way it works. We now want to also do PO approvals based on Project Tasks and though on the PO you can "see" which cost centre is defined against that Project Task th

  • How can I add 1pixel border above tabs, on window name bar, like in Opera. This helps in moving FF window.

    In Opera there is a 1px line above tabs which helps in organising windows. So I can move the cursor highest on the screen, click and move the window or if I want do change window to firefox from another window i can click highest on the screen fastes

  • Web dispatcher installation

    I have to install Web Dispatcher.please refer any document or links that would guide me through the complete installation procedure. Thanks in advance Regards, Piyush

  • ABAP Proxy URI

    Hello Everyone, Over the past couple of years I have been configuring the following in SM59 /sap/xi/engine?type=entry when going from a backend system to XI 3.0 and /sap/xi/engine?type=receiver when going from XI 3.0 to a backend system. My backend s