Varient for selection screen in Webdynpro ABAP

Dear Experts,
We all know that in abap editor selection screen we can save the selection criteria in form of 'Variants'.
I need to something similar in webdynpro. And I was requested not to use the database tables for saving the data.
Is it possible? If Yes then please let me know.
Thanks Supriyo

POWL - Power Work List
Isn't POWL - "Personal Object Work List" ? Although often interchangeable referred to as "Power Lists".
However, if Thomas says "Power Work List" I think we're going to have new variant out there to search on!
NB the POWL is very "Powerful" (sic) in this respect as you can even add your own OVS to the selection criteria. Unfortunately I have found that the POWL selections and selection process are perceived as less than obvious by end users. So much so that where we are looking at pure reporting functionality we are instead looking to BW to provide a web reporting interface.
For some reason (perhaps they've been using SAP backend reports too long) users seem to want to do their selection and then see the results - unless it's in the form of a dashboard - in which case they are happy to drill down into the results. It is like they don't trust the system to have used the correct selection criteria.

Similar Messages

  • Saving Selection Screens in Webdynpro Abap

    Hi ,
    Could you please throw some light on how to save the selection screens in Webdynpro Abap ?? Just like variants in normal Abap?
    Thanks and Regards
    Alok Sharma

    HI,
    I dont think there is automatic saving of varients in web dynpros  just like normal selection-screen.
    Just check this link you might get some idea.
    Link[Save Varient|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f028c2b9-1730-2d10-71ae-ce300ea00573?quicklink=index&overridelayout=true]
    Regards and Best wishes.

  • Default Values for Select-options In Webdynpro-ABAP

    Hi Freinds,
    Kindly,Help me in setting the Default values for the Select-options in Webdynpro ABAP.
    Here the Node and the Attributes are Created Dynamically, and then Displayed Select-options Component View.
    Regards,
    Xavier.P

    Xavier Reddy Penta sent me this question via email and I answered it directly yesterday. Here is the solution that I provided to him, so that it is stored with the original question:
    I believe your problem is that you are not setting the value into the range correctly.  You are setting it directly into the field symbol of the range like such:
    <FS> = L_STRING2.
    But ranges are deep objects. They have four fields: Sign, Option, High, and Low. This is from the online help:
    1.     sign of type c and length 1. The content of sign determines for every row whether the result of the condition formulated in the column is included or excluded in the entire resulting set for all rows. Evaluable values are "I" for include and "E" for exclude.
    2.     option of type c and length 2. option contains the selection option for the condition of the row in form of logical operators. Analyzable operators are "EQ", "NE", "GE", "GT", "LE", "LT", "CP" and "NP" if column high is initial, and "BT", "NB" if column high is not initial. With the options "CP" and "NP", the data type of the columns low and high must be of the data type c, and special rules apply for entries on the selection screen.
    3.     low of the data type defined after FOR. This column is designated for the comparison value or the lower interval limitation.
    4.     high of the data type defined after FOR. This column is designated for the upper interval limitation.
    So when you are moving the value into the field symbol you are setting it into the sign column.
    Here is an example of how you can access the components of the range:
    * create a range table that consists of this new data element
        lt_range_table =
          wd_this->lv_sel_handler->create_range_table(
               i_typename = l_typename ).
        IF l_fieldname = 'CARRID'.
          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'.
          <option> =  'EQ'.
          <low> = 'AA'.
        ENDIF.

  • How to put Mandatory option for selection screen fields in ABAP Queries

    Hi Experts
    Can anyone tell me how to put mandatory option for the selection screen fields in ABAP Queries.
    Manually I had written code in the At Selection Screen  option in infoset to display error message if that field is blank.
    But I need to display the selection fields with the tick mark (obligatory mark).
    How to do this?
    Appropriate answers will be awarded

    Hi
    For parameter option
    parameters : p_kunnr type kna1-kunnr  obligatory.
    For select option
    select-options: s_date for vbak-erdat obligatory.
    Plz rewards points ,
    Regards ,
    Ganesh.

  • Validation of login screen in WebDynpro ABAP

    Dear All,
    I have created a login screen using WebDynpro ABAP, but am not able to validate user name and password.
    Please help in this with coding and if possible with samll example.
    Thanks & Regards,
    Tazeer KS.

    Hi Tazeer, i have posted on scribd this document, step by step webdynpro login application,
    pls go through the following link
    http://www.scribd.com/doc/50261280/Login-Application-in-webdynpro
    Step1:
    Create 1 node in component controller and bind the attributes of dictionary structure USR02
    Step 2: Select the required fields, bname and bcode,
    Step3: Create Main View as shown, and bind the context view and component  node and bind the input fields. 
    Step4:
    Create second view for navigation.
    Note:
    First main view is outbound.
    Second view is inbound.
    method ONACTIONLOGIN .
      TYPES : BEGIN OF ty_usr02,
                bname TYPE USR02-bname,
                bcode TYPE USR02-BCODE,
              END OF ty_usr02.
      DATA it_usr02 TYPE TABLE OF ty_usr02.
      DATA lo_nd_login TYPE REF TO if_wd_context_node.
      DATA lo_el_login TYPE REF TO if_wd_context_element.
      DATA ls_login TYPE wd_this->Element_login.
      DATA lv_bname TYPE wd_this->Element_login-bname.
      DATA lv_bcode TYPE wd_this->Element_login-bcode.
    navigate from <CONTEXT> to <LOGIN> via lead selection
      lo_nd_login = wd_context->get_child_node( name = wd_this->wdctx_login ).
    @TODO handle non existant child
    IF lo_nd_login IS INITIAL.
    ENDIF.
    get element via lead selection
      lo_el_login = lo_nd_login->get_element( ).
    alternative access  via index
    lo_el_login = lo_nd_login->get_element( index = 1 ).
    @TODO handle not set lead selection
      IF lo_el_login IS INITIAL.
      ENDIF.
    get single attribute
      lo_el_login->get_attribute(
        EXPORTING
          name =  `BNAME`
        IMPORTING
          value = lv_bname ).
    get single attribute
      lo_el_login->get_attribute(
        EXPORTING
          name =  `BCODE`
        IMPORTING
          value = lv_bcode ).
    IF lv_bname is INITIAL and lv_bcode is INITIAL.
      else.
    SELECT bname bcode from usr02 INTO TABLE it_usr02 WHERE bname = lv_bname
                                                      and bcode = lv_bcode.
    ENDIF.
      wd_this->fire_out1_plg(
    endmethod.
    Hope it might help you,
    Get back to me if your issue is not solved.
    Thank you

  • Select-options in Webdynpro abap

    Hi,
    I want to use select options in webdynpro abap ,I checked links available in net but want a simple step by step procedure .
    -Sandeep

    Hi,
    What do you mean by simple steps? You need to write little code to add select options in WDA. You can check this wiki for reference: Web Dynpro ABAP - Complex select-options component usages - Code Gallery - SCN Wiki
    And there are lot more documents available in SCN. search here
    Regards,
    Kiran

  • Change dropdown values for a field in webdynpro abap

    Hi All ,
    I need to change dropdown values for a particular field ( Tax code ) in webdynpro component (FITE_VC_RECEIPTS) when selecting expense type.  Right now Tax code values are coming with respect to a company code but i need tax code with respect to other company code for two personel numbers .
    How can i change dropdown values for this taxcode in webdynpro abap . Please suggest.
    Thanks in advance.
    Regards,
    Sijin K P.

    Hi All ,
    Thanks for reply .
    In production taxcodes are coming fine but wrong in dev and quality . ( Australian taxcodes are coming in production for dropdown values but new zealand tax codes in dev and quality )
    I have not started doing any changes . Is there any configuration part to change tax codes that can reflect in expense claim portal . Please help ..
    Thanks in advance.
    Regards ,
    Sijin K P.

  • How to Display Varient on selection screen?

    Hi All,
    the requirement is i need to display the varient on selection screen as  Paramente.
    Display Varient   /STANDARD   as a paramente on selection screen.
    Please let me know how to do it.
    Regards,
    Kumar
    Moderator message: very basic, please search for available information before asking.
    locked by: Thomas Zloch on Aug 12, 2010 12:27 PM

    Hi All,
    the requirement is i need to display the varient on selection screen as  Paramente.
    Display Varient   /STANDARD   as a paramente on selection screen.
    Please let me know how to do it.
    Regards,
    Kumar
    Moderator message: very basic, please search for available information before asking.
    locked by: Thomas Zloch on Aug 12, 2010 12:27 PM

  • Parameters in selection screnn  in webdynpro abap

    Hello Gurus,
    We have a requirement to maintain parameters in selection screnn  in webdynpro abap.
    now we are able to create parameters  using wdr_select_options componet usage of method add_parameter_field.
    we need f4 help also for this parameter.
    how can we pass exporting parameters to this method.
    Could anyone please suggest solutions?
    and if possible send me the sample code for this requirement.
    Thanks in Advance for your replies.
    Regards,
    Babu

    Hi Rajsekhar,
    this is sample code of select option for carr id field. so you can guess and change according to your requirement.
    Observe the highlited code in below coding.
    nOTE: S_CARR_ID IS THE DATA ELEMENT OF CARR ID  FIELD, FOR THAT I AM APPLYING SELECT OPTIONS IN BELOW CODING.
    WRITE THE BELOW CODE IN WDDOINT( ) METHOD OF REQUIRED VIEW
    Data: lt_range_table type ref to data,
         read_only type abap_bool.
    WD_THIS->M_WD_SELECT_OPTIONS = WD_THIS->WD_CPIFC_SELECT_OPTIONS( ).
    WD_THIS->M_HANDLER = WD_THIS->M_WD_SELECT_OPTIONS->INIT_SELECT_SCREEN( ).
    WD_THIS->M_HANDLER->SET_GLOBAL_OPTIONS(
         I_DISPLAY_BTN_CANCEL = ABAP_FALSE
         I_DISPLAY_BTN_CHECK = ABAP_FALSE
         I_DISPLAY_BTN_RESET = ABAP_FALSE
         I_DISPLAY_BTN_EXECUTE = ABAP_FALSE ).
    LT_RANGE_TABLE = WD_THIS->M_HANDLER->CREATE_RANGE_TABLE( I_TYPENAME = 'S_CARR_ID' ).
    WD_THIS->M_HANDLER->ADD_SELECTION_FIELD(
    *          I_ID = 'S_CARR_ID'*
    *          IT_RESULT = LT_RANGE_TABLE*
    *          I_READ_ONLY = READ_ONLY* ).
    BELOW CODE IN REQUIRED ACTION( SAY IN SOME BUTTON ACTION WHICH WILL RETRIEVE THE DATA FROM DATABASE TABLE USING SELECTI OPTIONS VALUES)
    fIRST THE GET REFERENCE TO NODE( CTRL F7->READ CONTEXTB-FLIGHT NODE )
    ***THEN BELOW CODE
    DATA: RT_CARRID TYPE REF TO DATA.
    DATA:IS_FLIGHT TYPE TABLE OF SFLIGHT.
    FIELD_SYMBOLS: <FS_CARRID> TYPE TABLE.
    RT_CARRID = WD_THIS-> M_HANDLER->GET_RANGE_TABLE_OF_SEL_FIELD( I_ID = 'S_CARR_ID' ).
    ASSIGN RT_CARRID->* TO <FS_CARRID>.
    SELECT * INTO CORRRESPONDING FIELDS OF TABLE IS_FLIGHT
       FROM SFLIGHT WHERE CARRID IN <FS_CARRID>
    NODE_FLIGHT->BIND_TABLE( IS_FLIGHT ).

  • Code for selection screen,  urgent

    Hi Everyone,
      I need code for selection screen.
      I have four radio buttons, p1, p2,p3,p4(assume)
    If I select second radiobutton, remaining three radiobuttons should be in disable mode and also the information under them should be in disable mode. Give the coding details. Thanks in advance. U will be rewarded.
    Regards,
    Nagaraju

    Hi,
    REPORT ZTEST222 .
    PARAMETERS : p_add  RADIOBUTTON GROUP radi
                             USER-COMMAND radio MODIF ID MOD,
      p_disp RADIOBUTTON GROUP radi DEFAULT 'X'  MODIF ID pod,
      p_chng RADIOBUTTON GROUP radi MODIF ID rad,
      p_er_log RADIOBUTTON GROUP radi MODIF ID cod.
    SELECT-OPTIONS : s_idn    FOR  vendor   MODIF ID mod,
                                   s_pcode  FOR ws_c_pcode MODIF ID pod.
    PARAMETERS:  p_plant    LIKE  zaw_pol_plan-plant   MODIF ID rad,
                 p_zzvend   LIKE  zaw_pol_plan-zzvendor   MODIF ID cod.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF p_add EQ 'X'.
          IF screen-group1 EQ 'MOD'.
            screen-active = 1.
            MODIFY SCREEN.
    ELSE.
             screen-active = 0.
            MODIFY SCREEN.
    ENDIF.
    IF p_disp EQ 'X'.
          IF screen-group1 EQ 'POD'.
            screen-active = 1.
            MODIFY SCREEN.
    ELSE.
             screen-active = 0.
            MODIFY SCREEN.
    ENDIF.
    IF p_chng EQ 'X'.
          IF screen-group1 EQ 'RAD'.
            screen-active = 1.
            MODIFY SCREEN.
    ELSE.
             screen-active = 0.
            MODIFY SCREEN.
    ENDIF.
    IF p_er_log EQ 'X'.
          IF screen-group1 EQ 'COD'.
            screen-active = 1.
            MODIFY SCREEN.
    ELSE.
             screen-active = 0.
            MODIFY SCREEN.
    ENDIF.
    Pls. reward if useful
        ENDLOOP.
    Pls. reward if useful

  • F4 help for Time field in webdynpro abap

    Hi Guru's,
    how to get f4 help for time field in webdynpro abap.
    thanks in advance,
    narendra

    Hi Narendra,
    Check this link:
    Re: Time Search Help
    Also few more links here:
    http://forumsa.sdn.sap.com/search.jspa?forumID=249&threadID=&q=time+help&objID=f249&dateRange=lastyear&numResults=15&rankBy=10001
    Also check if this example helps you: WDR_TEST_HELP
    If your query is not yet answered then its advisable to post in webdynpro for abap (Web Dynpro ABAP). You may get some quick repliy.
    Regards,
    Swarna Munukoti.

  • How to write HTML code in Web Template for selection screen

    Hello All,
    Is it possible to write a html code in the web template html tag so that the output of the html is displayed in the selection screen, i.e before the execution of query.
    I know that we can write html, which will be displayed once the query has been executed, but can it be done for selection screen.
    if so, how.
    My exact requirement is : to display a 2-3 lines of text in the selection criteria screen - sort of, various options available to user for entering values in the selection screen.  I was thinking of putting this text using HTML code in the selection screen.
    Regards,
    Nagendra.

    Hi Erick,
    No, unfortunately nobody replied to this thread. So i assumed it is not possible to modify the selection screen thru html code.
    Btw, as my requirement was to provide user with multiple answers on the selection screen. I did the validations on customer exit and popped an errror dialog when applicable.
    Regards,
    Nagendra.

  • Change default value (200) of Max No of Hits for selection screen in WAD

    How do i change the default value of Maximum Number of Hits from 200 to 1000 for selection screen's find box in Web Application Designer .
    Thanks in Advance
    Points will be surely Rewarded

    Dear Hammad,
    Please refer to the wiki created by me,
    http://wiki.sdn.sap.com/wiki/display/BI/Information+on+the+user+setting+for+the+selector+dialog
    Regards,
    Arvind

  • How to set default variant for selection screen

    Hi,
    I want to make one variant as default for selection screen for one user.
    For eg., take COOIS. For the selection screen, i have 3 variants. But i want one variant to be default. Thsi is not for all users. Thsi is for particular user.
    I am not seeing any way to do this. please help me..
    Thanks
    Srini

    Hi,
    If you are using Z program then you can ask your developer to get Variant name Runtime from Parameter ID.
    This means you decide a Parameter ID name : ZVAR in your Z program and ask your developer to load variant each time your Z program loads.
    Now, second step will be using SU01 transaction you can set value of ZVAR in Parameters tab for the user. This value will be the variant which you created for this user.
    This will solve your problem and you can make n number of variants and assign it to different users.
    Regards,
    Arpit

  • Dinamic variant for selection screen

    Hi,
    I got a requirement where i need  a Dynamic variant for selection screen .There is a date field in the selection screen i want to create  a variant such that when i choose it,it should give the current day date in selection screen.can anyone help me.
    Regards,
    Ravi

    Hi,
    Using Customer Exit code you can give it.
    Create a Customer Exit Variable and write simple code in CMOD. See the usefull Exit code for reports in the following url.
    https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    WHEN 'ZV_DAT'.
        IF i_step = 1 .
          CLEAR l_s_range.
          l_s_range-low = sy-datum.
          l_s_range-opt = 'EQ'.
          l_s_range-sign = 'I'.
          APPEND l_s_range TO e_t_range.
        ENDIF.
    Thanks
    Reddy

Maybe you are looking for

  • Account issues for over a year.

    This occurence started over a year ago, March of 2013. Went looking at laptops for my niece's birthday and we were all playing with the tablet set-ups and got hooked. I was pretty well-off then so I went on a splurge and spent around 2,000 on new tab

  • Jaas + custom policy

    I want to source my JAAS policy files from a database. I extended java.security.Policy and I can dynamically assign permissions to a codesource. I also have JAAS authorization running without any problems. What I can't figure out is how I can associa

  • Cannot import scanned photos

    I scanned some photos with Image Capture, but I can't import them into iPhoto. When I try importing them via drag-and-drop or File>Import to Library, I get an error message that says, "The following file could not be imported. (The file is in an unre

  • Error starting web service with netbeans and tomcat

    Hi i'm trying to test a web service connection with mysql i follow all the steps showed here: http://jaxenter.com/from-database-to-restful-web-service-to-html5-in-five-minutes-48908.html the log : Using CATALINA_BASE:   "D:\Users\investigacion01\AppD

  • X220 Tablet Access Connection IP/DHCP Problem

    I have following problem with Access Connections: Everything is working fine when the ip is set to DHCP. If I come frome home (static ip) and I am going to work (a different static ip) the ip gets not changed. Is there an option to reset the ip to dh