Save Variant Web Dynpro Select Options

Hello experts, im working with select options in a WEB Dynpro.
It is poosible to save select options varaint?
I hope anybody had an idea to do this.
THANKS!
Markus

Hi,
  After fetching the values from DB, here is the code snippet to pre fill them in the select option screen
DATA: lt_range_table TYPE REF TO data,
      rt_range_table TYPE REF TO data,
      read_only TYPE abap_bool,
      typename TYPE string.
* create a range table that consists of this new data element
  lt_range_table = lo_r_helper_class->create_range_table( i_typename = 'DATA_ELEMENT' ).
FIELD-SYMBOLS: <tab> TYPE INDEX TABLE,
<struct> TYPE ANY,
<wa> TYPE ANY,
<option> TYPE char2,
<sign> TYPE char1,
<high> TYPE ANY,
<low> TYPE ANY,
<wa_values> TYPE ANY.
ASSIGN lt_range_table->* TO <tab>.
APPEND INITIAL LINE TO <tab> ASSIGNING <wa>.
ASSIGN COMPONENT 'OPTION' OF STRUCTURE <wa> TO <option>.
ASSIGN COMPONENT 'HIGH' OF STRUCTURE <wa> TO <high>.
ASSIGN COMPONENT 'LOW' OF STRUCTURE <wa> TO <low>.
ASSIGN COMPONENT 'SIGN' OF STRUCTURE <wa> TO <sign>.
<sign> = 'I'. "Default sign which you want to give
<option> = 'EQ'. "Default option you want to give
<low> = 'VALUE_LOW." pass your valriable name here
*<high> = 'High_value'.
  " using this code snippet, you can prefill multiple rows too
* add a new field to the selection
  lo_r_helper_class->add_selection_field( i_id = 'S_ID'
  i_description = 'Field 1'
  it_result = lt_range_table ).
   You can also find an useful e-learning for the same [here|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60474842-91ca-2b10-3390-d2fd30f335fd]
Regards,
Manne.

Similar Messages

  • 'Save for Web & Devices' selects multiple artboards - AI CS4

    I have a simple, two-artboard document (like the old FreeHand days!) but, when I go to 'Save for Web & Devices' to optimise it, the graphic from both pages appear as one optimised image. How can I get it to select only the artboard I am viewing?
    Many thanks.

    Well, one way would be to create an artboard that's the size of your art. You can do this easily enough by choosing the Artboard Tool and clicking once on your artwork. Alternatively, you can define slices.
    :) Mordy

  • Web Dynpro selection variant

    Hi
    is it possible to save in WebDynpro on the standard selection screen save something like selection variant in selection screens in standard ABAP?

    Hi,
    Check this thread for Thomas Jungs' reply -
    Variant Uploaded Directly
    Regards,
    Lekha.

  • Dynamic variant create for select option High value

    Hi ,
    I would like to set a dynamic variant for Date filed in selection screen as lower limit as 01/01/2009 and Last day of previous month as hiher limit. For examplae: Lower limit = 01/01/2009 and higher limit as 02/28/2011.
    Please help me in creating dynamic variant as mentiond above.
    Thanks & Regards,
    Venkat N.

    Hi,
    Thank you for your reply and could you please provide if you have any code.
    Thanks & Regards,
    Venkat N.

  • Dynamic variant at job - selection options

    Hi Experts,
    Could any of You pls help me to find out the original selection for a job, if the selection variant was not saved previously?
    There are a couple of user report, which could be run at the background with an ad-hoc selection variant, such as RM07DOCS (MB51). Here the user could set the actual selection and run the report at background by creating a job. But in this job the selection variant has a dinamic identification code such as &0000000000001.
    After the job is set, run and have a result, I could find no way to check what had been the original selection represented by this varian code.
    Is there a way to find out what was the selection for the job, if I only have a dynamic variant parameter?
    Answers will be appreciated

    thanq.
    and pls. let me further clarify that,
    programitically am populating the date as current date minus 1 in the field of my_date in the selection screen.
    now, they wanna to run the report in back ground, daily.
    now, I followed ur tip/link and saved with_date_variant, fine.
    so, pls. let me know that,
    1) if the report runs in back ground tomorrow with with_date_variant(which is i created by seeing ur link), Is the selection screen my_date(prog. populates as June 5th) will be override with current date(i.e. June 6th)?
    In broad, Is the selection criteria wuld be over writes with the Dynamic varints?
    thanq

  • Save for web and devices not selectable

    Hi, I cant seem to select the "save for web and devices" option in the 64 bit version of photoshop CS5, but it works on the regular version, and I never use the regular version, all my preferences are on the 64 bit version and too many have been changed for me to be comfortable to start using it instead of the 64 bit one. Is there a fix for this to work again?

    Hi there,
    If Silkrooster's suggestions don't help after verifying the image mode you are using, you may try to restore your Photoshop preferences. See the video below for easy-to-follow instructions:
    Julianne notes at the 5-minute mark that the second method she outlines will get rid of your color settings, keyboard shortcuts, workspace prefs, etc. This may affect the preferences you mentioned being accustomed to in your post, so please keep that in mind.
    If that doesn't solve your issue, either, you may need to troubleshoot User Permissions by following the instructions at one of the links below, depending on your OS:
    Macintosh: http://www.apple.com/findouthow/mac/#useraccounts (Be sure to change the “New Account:” pop-up from [Standard] to [Administrator] when creating the new user)
    Windows XP: http://kb2.adobe.com/cps/404/kb404859.html
    Windows 7: http://helpx.adobe.com/x-productkb/global/create-local-administrator-account-windows.html
    I hope this helps!

  • Select-Options on a Tabstrip Subscreen on a REAL Dynpro

    Hello,
    i ve the following problem:
    I have a Report with a normal selection-screen and a call screen 100 after that.
    That Dynpro 100 itself is a Tabstrip-Control. And on one of the Tabs i need to place some Select-options fields ( and a pushbutton + an alv, which shows the result of the selection, but thats not a problem).
    The Problem i think is, that a Tab itself is a subscreen. not a "real" dynpro. i tried to place a subscreen control on that tab ( subscreen in a subscreen dynpro ) and define a selection screen as subscreen. but it s not being displayed.
    selection-screen begin of screen 0888 as subscreen.
    selection-screen begin of block s01 with frame title text-s01.
    select-options: s_mrbe for eedmsettlunit-settlunit.
    selection-screen end  of block s01.
    selection-screen end   of screen 0888.
    in dynpro logic:
    PROCESS BEFORE OUTPUT.
      MODULE status_0222.
      CALL SUBSCREEN:
        subscreen5 INCLUDING sy-repid '0888'.
    PROCESS AFTER INPUT.
      MODULE user_command_0222.
        call SUBSCREEN subscreen5.
    maybe you can help
    Moderator message : Duplicate post locked. Continue with the thread - [Select-Options on a Tabstrip Subscreen on a REAL Dynpro|Select-Options on a Tabstrip Subscreen on a REAL Dynpro;.
    Edited by: Vinod Kumar on Jun 15, 2011 2:02 PM

    Hello,
    Your problem is to show a subscreen selection-screen on another subscreen, right?
    It works for me:
    1. Copy DEMO_DYNPRO_TABSTRIP_LOCAL report.
    2. Add your own subscreen selection-screen:
    SELECTION-SCREEN BEGIN OF SCREEN 9001 AS SUBSCREEN.
    .. SELECT-OPTIONS: p_sel FOR ok_code.
    SELECTION-SCREEN END OF SCREEN 9001.
    3. Call your subscreen 9001 on screen 100
    PROCESS BEFORE OUTPUT.
      MODULE STATUS_0100.
      CALL SUBSCREEN: SUB1 INCLUDING SY-REPID '9001', "<---
                      SUB2 INCLUDING SY-REPID '0120',
                      SUB3 INCLUDING SY-REPID '0130'.
    PROCESS AFTER INPUT.
      MODULE CANCEL AT EXIT-COMMAND.
      CALL SUBSCREEN: SUB1,
                      SUB2,
                      SUB3.
      MODULE USER_COMMAND.

  • Radio Buttons in select options

    Hi WD4a development team,
    is it planned to integrate radio buttons into WDR_SELECT_OPTIONS in future releases?
    Cheers,
    Sascha

    Hi Sascha,
    There had been serious deliberation regarding what to carry over (reimplement) in WD select options compared to dynpro select options. Selection fields got in (obviously), dropdowns and checkboxes as well (not so obvious). Parameter fields got added in SP13 due to much demand by developers, although we felt that adding something that's already defined within Web Dynpro (with more properties and options) doesn't add much further value.
    Anyway, for the same reason originally Radiobuttons didn't make it as well as Tabstrips. Both are not based on range tables and the latter one can easily be added around the component from outside.
    Shortly said, if we add all kinds of ui elements available in Web Dynpro to the select options component, we will end up with recreating portions of the Web Dynpro runtime while having ppl asking for keeping things in sync or extending them all the time. For anyone who develops Web Dynpro applications that's not desireable at all (you will be dependent on SAP all the time). Instead, we felt that we should empower the community instead to add whatever is available as an ui element. So it seems to be a lot more desireable to add some break-out places inside of SelectOptions where developers can add their own ui elements.
    This in turn means that parameter fields have highly likely been the last addition to SelectOptions in terms of new specialized screen item types.
    Of course, the break-out screen item type is just an idea for a future enhancement. So I can't make a commitment nor provide an eta.
    Best regards,
    Thomas

  • Save for web not working for .PNG?

    When I slice up a .psd file and then go file > save for web and select to save the images as .png it does not work for some reason. No matter what I select it only uses jpeg. I am using Photoshop CS2.
    Any suggestions?

    As Zeno said, file format selection is per slice, not a global override. Select al lslices, then pick the PNG options.
    Mylenium

  • Matte in Save for Web matte is adding a border

    I have an image that has a transparent background and a thick black border across the top.
    When I go to Save for Web and select a white matte, it adds a ~1px white border to the top of the image.  Why is it doing that and how can I get it to stop (other than adding white layers for the background).?
    And where is 4-up?
    It would be really nice if Adobe would list features they delete when listing "What's New".

    I tried nudging the straight black border up a pixel, but that didn't work. 
    And I'm not using "clip to artboard" so the placement on the artboard is irrelevant.
    I know what mattes are for, I have jagged lines and text within the image.  I prefer not to add a white object to the back of every graph, and I'd prefer not to have 20 artboards on this one page.
    I never saw a matte add pixels to straight lines before and never outside the boundaries of the image.  Surely that is not what Adobe intended.
    here's before:
    http://www.texasahead.org/economy/tracking/data/images/homes_old.png
    here's after:
    http://www.texasahead.org/economy/tracking/data/images/homes.png

  • Why are the dimensions of my slice being reduced by 'Save for Web'?

    Hey
    When I create a slice and then select 'save for web' the selection i'm trying to save is reduced in size. Originally I only noticed this when I was finding the saved file in the folder, but I now I notice that in the preview of the save for web menu the size is smaller than the actual slice should be.
    Any ideas what could be causing this? I'm using the latest version of Photoshop CC. It doesn't seem to be happening on our PC, but on both the Macs we have tried we are getting the issue.
    Cheers

    None of my pictures that I uploaded into iPhoto are in my Finder under Pictures.  Should I copy and paste my folders from iPhoto into here, in case something happens to my iPhoto program (in addition to backing them up onto an external hard drive like I already do)?
    No, that's just wasting space.  A back up needs to be on a different disk.
    Your photos are within the iPhoto Library.

  • Huge file size with Save for Web but preview is ok

    Hi,
    I have googled but not found anything about this but I have the same problem on my computer and also on a colleagues computer so it seems it should not be totally unknown.
    This is what i do
    1 Open a eps file, one color logo, 72dpi, size it to 110x21
    2 save for web
    3 select png-24 format. preview says file size ~1.3 kB
    4 save -> actual file size on disk is 4 kB (ie 3 times bigger file size than it should be)
    5 Preview and then right click in browser + save image as gives correct file size (on my colleagues computer this does not work, he always gets the wrong size)
    I have also tried with gif and various settings, image sizes etc and the result is the same.
    I'm using Windows Vista 32-bit and Photoshop CS4.
    Is this a known problem?
    Thanks

    Thanks for your reply but i don't think that's it. When I check properties on the file in Windows it tells both "Size" and "Size on disk", where the latter is actual size on disk (depending on cluster size) but the size I am talking about is the first one.
    Also just to be clear, when I say Preview, I mean clicking the Preview button that opens the file in a browser window. Not the preview within the Save for Web and Devices dialog. So I think this file is correctly created and *should* be the same as if I click Save (but it obviously isn't)
    This sounds very much like a bug to me, anyone else who have seen this or can recreate?
    Thanks

  • WD for ABAP - select options

    hi folks,
    has anyone ever used the select-options component in an own abap webdynpro application, i know there is a sample program but no documentation on it, can anyone give me a hint how to use it easily?
    kind regards,
    oliver

    Hi Oliver,
    Just embbed the WND_SELECTION_SCREEN interface view into a view container in your window. Then call method INIT_SELECTION_SCREEN of the component interface and obtain the handle to the helper interface. This interface offers various methods to set up and change a selection options area. In the beginning you might want to call ADD_SELECTION_FIELD() to add as many fields as you like. There several others methods as well to add text lines, group selection fields in blocks, etc. Mostly, it is a 1:1 conversion of the functionality provided by the dynpro select options. In case you don't like the default buttons at the top, you can switch them off by calling SET_GLOBAL_OPTIONS. A range table can be created dynamically by calling method CREATE_RANGE_TABLE().
    Hope this helps.
    Kind regards,
    Thomas

  • How to integrate backend web dynpro abap application in Portal 7.3?

    Hello,
    before Portal 7.3 I was able to integrate a web dynpro abap application as iView in the portal. Now I don't get the point on how to do it. I cannot find a "normal" iview that enables me to give the backend and the application name. The possibilty to create iView based on remote source looks strange because I don't want to upload the application I just want to do my normal user/pass mapping and show the applicaton via iView.
    Somehow I don't get the point with the new version. Could someone give me a hint where to find more information regardings this problem`?
    Thanks a lot,
      Vanessa

    Hi Vanessa,
    Could someone tell me if I should see the SAP Web Dynpro for ABAP iView template in the long list of available templates when I create a new iView?
            You will 'SAP Web Dynpro iView' option in the list while creating iview from template.Create and change the property platform to 'Web Dynpro for ABAP'.
    Is it correct not to use the remote source option? I think yes because otherwise he would upload the app to the portal, if I am not wrong.
         If i understood your question correct,then You can use this option as well to create iview.Atlast it wil create only iview for the application not the application itself in the portal.
    Naga

  • "Save for web and devices" making images saturated

    I have been using the "save for web and devices" option for quite some time but suddenly it has started to make all images very saturated compared to the actual file. I made no changes to the output settings or the color management settings. Even when I change those sttings it makes no difference. The image is saturated no matter what. Any idea what's going on? I am about ready to uninstall and reinstall the software in hopes that it will make the problem go away, but I'm hoping there is an easier fix. Thank you

    These are my settings. Are they the same in your SFW dialog?

Maybe you are looking for

  • Renaming startup disk to begin with a dot

    I realized that 10.6 prevents you from renaming a startup disk to begin with a dot (a period), so that you can hide the volume on the desktop/Finder. I've tried the diskutil rename command in terminal, but it gives me an error saying some like "not s

  • SRM and the Info record

    Hi, If I use a Classic Scenario the info record is a source of supply. So, we need to delete it when we implement the SRM. How do I do with the costs calcutation? The variants use the info record as a base to do the calculation. Thanks for the help E

  • Adobe Reader install error on Windows Vista :(

    I get this error for w/e reason.

  • My old Canon zr200 and my new macbook pro 13

    I have just moved to my macbook pro 12 from a macbook 13. I just got the adaptor to connect my canon zr200 mini dv via firewire. The camera and footage will show up, but will not import. Not manually or on auto. Upgrading laptops also upgraded Leopar

  • Selection of suitable planning strategy

    Hello All Here is a requirement for deciding the planning strategy of the material, material is produced when the actual order arrives for it, but procurement of sub assemblies can be done beforehand, to this material belongs 5 subassemblies, out of