Using roadmap and select-options

I'm new to abap web dynpro, i'm using a roadmap with 4 views. This is working fine but, when I try to use select options in view1 they don't show. When I set view1 as default view the select options are working fine.
this is how my current web dynpro looks like:
Main view -> roadmap with viewcontainerUIElement
    view1 -> viewContainerUIElement + table (in the window I embedded the select options in the viewContainerUIElement)
    view2
    view3
    view4
In view1 I'm using wddoinit to initialise the select options.
Thanks in advance!

Hi Srinivas,
According to you mail, I will provide some solution please try them. It will definitely works.
---> Create a attribute which holds the lead selection values of the RADIO_GROUP.
---> When you click on the Next View, You will fire the plug. Right. Just before firing the Plug, update the above
      attribute with update information.
> Do the same code for Select-options code in the WDDOINIT except the passing the values to the select-options.
> Please pass the attribute information to Select-options with updated information in the method WDDOMODIFYVIEW every time. Without creating a attribute also you can approach the same method. Just for simple access we can create a attribute. Otherwise without that we can do the same.
So Just populate the values into Select-options depending on the value of RADIO_GROUP you will do the same coding WDDOMODIFYVIEW. But initialization of SELECT-OPTIONS can be only done in the method WDDOINIT method only. WDDOINIT method only execute first time once you go through it and go back and move forward then this method won't execute.
I hope this logic will work for you. If not Please send me the Code related to SELECT-OPTIONS and RADIO_GROUP Button information.
I will be in office today up to 4.45 PM (IST). You can contact me in this time otherwise we will discuss on webex tomorrow morning at 9 AM.
Warm Regards,
Vijay

Similar Messages

  • How to assign search help using ovs for select options for ALV in web dynpr

    how to assign search help using ovs for select options for ALV in web dynpro

    Hi,
    refer http://wiki.sdn.sap.com/wiki/display/WDABAP/InputhelpofObjectValueSelectioninWDABAP
    http://www.****************/Tutorials/WebDynproABAP/OVS/page1.htm
    and http://wiki.sdn.sap.com/wiki/display/Snippets/WebDynproAbap-OVSsearch+help
    Thanks,
    Chandra

  • How to use offset for select-option parameter ?

    Hi experts
    could anybody please let me know how to use offset for select-option parameter. i can able to use offset for table fields, variabiles and all , but don't know how to use for parameters.
    following is my code
    SELECT-OPTIONS: s_prctr  FOR vbsegs-prctr OBLIGATORY.
    here "prctr"  length is 10.
    i'm using two tables  1. vbsegd-bupla
                                    2. vbsegs-prctr
    here prctr+6(4) = bupla.
    "Bupla" length is 4
    SELECT belnr gjahr bukrs bupla sgtxt buzei FROM vbsegd INTO CORRESPONDING FIELDS OF TABLE it_vbsegd FOR ALL ENTRIES IN it_vbkpf
                                                                 WHERE belnr = it_vbkpf-belnr
                                                                   AND gjahr = it_vbkpf-gjahr
                                                                   AND bukrs = it_vbkpf-bukrs
                                                                   AND bupla IN s_prctr.  
    the above statement is not working as prctr and bupla lenths are different. here i want to use offset.
    SELECT belnr gjahr bukrs prctr sgtxt buzei FROM vbsegs INTO CORRESPONDING FIELDS OF TABLE it_vbsegs FOR ALL ENTRIES IN it_vbkpf
                                                                WHERE belnr = it_vbkpf-belnr
                                                                  AND gjahr = it_vbkpf-gjahr
                                                                  AND bukrs = it_vbkpf-bukrs
                                                                  AND prctr IN s_prctr.
    this is working as prctr and s_prctr lengths are equal.
    could anybody please help me out in this.
    Thanks in advance.
    regards
    satish

    Below code will work for you.
    SELECT-OPTIONS: s_prctr  FOR vbsegs-prctr OBLIGATORY.
    RANGES: s_bupla FOR vbsegd-bupla.
    s_bupla[] = s_prctr[].
    DELETE ADJACENT DUPLICATES FROM s_bupla.
    SELECT belnr gjahr bukrs bupla sgtxt buzei FROM vbsegd INTO CORRESPONDING FIELDS OF TABLE it_vbsegd FOR ALL ENTRIES IN it_vbkpf
                                                                  WHERE belnr = it_vbkpf-belnr
                                                                    AND gjahr = it_vbkpf-gjahr
                                                                    AND bukrs = it_vbkpf-bukrs
                                                                    AND bupla IN s_bupla.

  • Difference between Multiple single values and Selection option variables

    Hi !
    Can any one tell me the difference between variable types:
    Multiple single values and Selection option?
    I used each one of them for selecting values for a characteristic but could not notice a difference in choosing values.
    Is there some difference in functionality or can they be used interchageably?
    Regards,
    Sri Harsha

    Harsha,
    When you go for slection option, in the variable input screen you will be having a button in the last where you can give your slections. There you can maintain either multiple single values and Multiple intervals or else not equal to also..
    Just check out there... you will be having tabs for each..
    Assign Points if it helps
    Gattu

  • Parameters and Select Option in ABAP OO

    Hi all,
    it's possible to build an application starts with a method of a class thats declares parameters and select-option or I have to do it custom creating a dynpro and some input field as parameters?
    thanks
    enzo

    Just to add detail: the function module RS_REFRESH_FROM_SELECTOPTIONS returns a table of TYPE RSPARAMS_TT.
    The structure of this table is:
    SELNAME
    RSSCR_NAME
    KIND
    RSSCR_KIND
    SIGN
    TVARV_SIGN
    OPTION
    TVARV_OPTI
    LOW
    TVARV_VAL
    HIGH
    TVARV_VAL
    the first field is the name of the selection parameter, the others have the same structure obtained declaring a range with:
    TYPES|DATA <rangetab> TYPE RANGE OF <type>.
    see the help topic http://help.sap.com/saphelp_470/helpdata/en/9f/dba71f35c111d1829f0000e829fbfe/content.htm

  • Radio button and select option in one line

    Hi,
    I have an requirement in which i need to display the radio button and select option in one line in an report program.
    How can i do it? 
    Regards,
    Arun.

    Hi,
    Try this code.
    TABLES: bkpf.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS: p_r1 RADIOBUTTON GROUP a.
    SELECTION-SCREEN COMMENT 4(20) text-001 FOR FIELD p_r1.
    SELECTION-SCREEN COMMENT 30(12) text-002 FOR FIELD p_date.
    SELECTION-SCREEN POSITION 39.
    SELECT-OPTIONS: p_date FOR bkpf-budat OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    PARAMETERS: p_r2 RADIOBUTTON GROUP a.
    text-001 = " Radio button"
    text-002 = "Posting date"

  • When i scyn photo from pc to iphone, by using cable and selecting iphone on ituens,the photo which stored in my ipone, i am unable to delete some photoand even can not arrange them according to my wish

    when I scyn photo from pc to iphone , by using cable and selecting iphone on itunes, the photo which stored in my iphone , i am unable to delete some photo from them and even can not arrange them accoring to my wish, please let me know what to do ?

    you can only delete the photos you take on the phone itself as in from camera roll
    sync mean syncronize as in make the 2 side the same if you could delete the photos syncronized to your iphone then the nature of what syncronize mean result in the logic step being deleting the photo on your computer too
    you get rid of the photo by sync with another dir/ sourse or by moving the photo out of the dir of the computer and then resync

  • Program using BAPI and selection screens

    program to compare two infoobjects using BAPI and selection screen in ABAP

    BAPI-step by step procedure
    http://www.sapgenie.com/abap/bapi/example.htm
    list of all BAPI's
    http://www.planetsap.com/LIST_ALL_BAPIs.htm

  • Query: how to use structure and selection and what's the difference between

    Query: how to use structure and selection and what's the difference between these two?
    Would be appreciated if some experts here give examples to demenstrate on how to use structure and selection in query and what's the difference between these two?
    Thanks in advance!

    Hi Kevin,
    1. Well by default all the KF that you include in your query go into a Key Figure Structure. You can additionally have another structure for defining how your chars are laid out. A common example is a Calmonth structure where you have selections for 12 months, quarers and YTD values. This would be a char structure with different selections (for each month, qtr etc)
    2. Yes, a selection with a KF is the same as restricting a KF. You can use am RKF is you have one on the left hand side, or if you need to do this locally in the query, right click the structure and choose New Selection, then proceed to choose your KF and reqd char values.
    Hope this helps...

  • REPORT_ATTRIBUTE_ERROR_MESSAGE and SELECT-OPTIONS

    Hi,
    I'm still at a loss on how to use the REPORT_ATTRIBUTE_ERROR_MESSAGE on select-options using WDR_SELECT_OPTIONS.
    Do I need to create a Context Node and attributes in the view for the selection options I'm creating? Then, get the attributes of this node and context elements to pass to the REPORT_ATTRIBUTE_ERROR_MESSAGE?
    Thanks,
    Huntr

    Hi,
    I'm still at a loss on how to use the REPORT_ATTRIBUTE_ERROR_MESSAGE on select-options using WDR_SELECT_OPTIONS.
    Do I need to create a Context Node and attributes in the view for the selection options I'm creating? Then, get the attributes of this node and context elements to pass to the REPORT_ATTRIBUTE_ERROR_MESSAGE?
    Thanks,
    Huntr

  • Text for block and select option on the selection screen of Logical Databas

    Hi,
    I have copied a standard program (RFBELJ10) which is making use of LDB (BRF) and created a custom program. Now, the requirement is to add a selection screen option to the custom report and do some validation on the data extracted. I have added the select option and provided a text (lets say "Segment") to it using menu path Goto --> Text Elements --> Selection Texts and activated. But this text is not displayed on the screen when i execute the report. It is showing the string which i used while defining the select option.
    Also i need to provide a frame and title to it. but its not displayed.
    i have written the following code for that:
    SELECTION-SCREEN: BEGIN OF BLOCK seg WITH FRAME TITLE text-h01. " Segment
    SELECT-OPTIONS: s_segmnt FOR faglflexa-segment. " Segment
    SELECTION-SCREEN: END OF BLOCK seg.
    Could you please help me in getting the texts displayed for fram and the select option?
    Thanks,
    Phani

    Solved the problem. I have maintained the text in German. So, when I execute the report in english, it is not displaying the text. I have translated the texts to English and is working fine now.

  • How to develop ALV and select-option element in BSP? Help!

    Hi Experts,
    I have a requirement where I have a selection screen with 3 select-option elements and a search button. On clicking the search button an ALV table report has to be shown.
    The ALV table is used for new row/rows entry, delete row/rows and update row/rows data. This is something like table control in normal ABAP.
    Additionaly, I want the download to Excel, sorting, filtering, column swapping options in ALV.
    How can I achieve this in BSP?
    Is there any existing SElect-option and ALV component in BSP?
    Any code sample will be really helpfull.
    How much development time will it take?
    Please help!
    Thanks
    Gopal

    I think you will find that most of what you are looking for does NOT exist out of the box for BSP.  There is no delivered selection-option or value help.  I ended up creating my own over the years (You can find some versions online here in SDN in my weblogs - however a complete implementation of select-options was only delivered along with the Advanced BSP Programming book). 
    There is no ALV either.  However with the htmlb:tableView, you can acomplish quite a bit.  You may have to learn about table view iterators to get it all done.  Downloading to Excel also isn't delivered.  I developed a reusable BSP Extension element for this as well (can be found on SDN in my weblogs or with the Advanced BSP Programming book).
    If you plan to recreate all these elements by yourself, your project will take some time.  It took a while to build so many complex UI elements. 
    What release are you running on?  In Netweaver04S you have Web Dynpro ABAP.  WDA has delivered components for value help, select-options, and ALV.

  • Selection-Screen Parameter and select option

    Hi
    I had a very small and silly problem , i have a selection screen in which i had one select-options and another parameter .
    when i define both variable as select option i get output but if i define plant as parameter i dont get any output, .the code .
    SELECTION-SCREEN : BEGIN OF BLOCK s_screen WITH  FRAME TITLE text-001.
    SELECT-OPTIONS:   s_matnr FOR plaf-matnr.",       " OBLIGATORY,
    PARAMETERS:       s_werks like plaf-pwwrk. "    ,  " OBLIGATORY.
    SELECTION-SCREEN: END OF BLOCK s_screen.
    in this code when
    i enter material number i dont get output .
    i enter plant the i get output
    SELECT afko~aufnr
           afko~gamng
           afko~plnbez
           afpo~dwerk
           afpo~psmng
           afpo~matnr
           INTO CORRESPONDING FIELDS OF TABLE i_afko
           FROM afko INNER JOIN
           afpo ON afpoaufnr = afkoaufnr
           WHERE afpo~dwerk = s_werks
           and   afpo~matnr IN s_matnr
           AND   afpo~elikz = space.
    regards
    answers will be definately awarded points

    Hi
    When you use the plant in select-option, your code should be:
    WHERE afpo~dwerk IN s_werks
          and afpo~matnr  IN s_matnr
    if it's parameter:
    WHERE afpo~dwerk = s_werks
           and afpo~matnr IN s_matnr
    Are u sayng in the first case you get the data and in the second one you don't?
    Max

  • Batch Input and Select Option

    Hello,
    Please, i have one issue.
    I want to do one Batch Input for one standard transaction. In this transaction, exist one select-option and i fill more values.
    I generate the SDHB but i have problema with the select-option. How i can simulate enter value in the Select option by code?
    Thank you.

    Hi SALHI AMAL,
    We can do this. But its a lengthy process.
    You have to record by giving multiple selection values and do some changes in that code.
    The number of rows in that 'Multiple Selection' dialog is 8 and it is constant, i.e. it won't vary with monitor or screen size.
    In my testing,
      perform bdc_dynpro      using 'SAPLALDB' '3000'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '=ACPT'.
    This is the code to just to fill values in 'SELECT SINGLE VALUES' tab.
    If i want to fill more than 8 values, the following code will do that,
          perform bdc_dynpro      using 'SAPLALDB' '3000'.
          perform bdc_field       using 'BDC_OKCODE'
                                        '=P+'.
    In this, you have to determine, how many times, we have to press 'PAGE DOWN'.
    This all regards one tab in that dialog. Still there are 3 dialogs.
    Regards,
    R.Nagarajan.

  • Where's the "use pressure" and "tilt" option?

    Hi,
    There's suppose to have "Use pressure" and "use tilt" options
    in the "Brush tool" options.
    They are not in my Flash 8 pro. Why?!?
    How can I add them?!??! (windows xp)
    Thank you,
    Patrick

    Patrick,
    they are sub selections of the Brush tool in the toolbox. You
    must have a Wacom tablet installed for
    them to be an option.
    --> **Adobe Certified Expert**
    --> www.mudbubble.com
    --> www.keyframer.com
    Laval_PQ wrote:
    > Hi,
    >
    > There's suppose to have "Use pressure" and "use tilt"
    options in the "Brush
    > tool" options.
    >
    > They are not in my Flash 8 pro. Why?!?
    >
    > How can I add them?!??! (windows xp)
    >
    > Thank you,
    >
    > Patrick
    >

Maybe you are looking for

  • Material loss tracking in two step transfer posting with in plant

    Dear Friends , Here the case is  material will going loss when shifting one storage location to another , here i am using two step procedure . so how can i track rhe loss here . our client want to post loss value to production account only and also t

  • Ref cursors pls help

    hi, what is ref cursor, what is its advantage over normal cursor. How we can pass a cursor as an argument to a procedure?? How we return a cursor from a procedure??

  • Scheduling report in back ground after the previous report is executed

    Hi, There is one report which will be executed manually, once that is executed my report should be executed automatically in background. Pls help me in how to do this. Thanks, Lucky

  • What happened to the Arrowheads ?

    In Illustrator CS4 you used to add Arrowheads as an effect (under the Stylize - Add Arrowheads tool), and in CS5 it's moved to the Stroke panel. Unfortunately it appears that's not all that's changed.  It now appears to be impossible to create the ki

  • Pacman only checks core rep

    I just installed Arch but I can't get pacman to check any repositories other than core. Ie, $ pacman -Sl extra returns nothing. Here's my pacman.conf # /etc/pacman.conf # See the pacman manpage for option directives # GENERAL OPTIONS [options] LogFil