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.

Similar Messages

  • How to hide Print and Filter option from dynamic ALV

    Hi,
    I have created the dynamic ALV. now User don't wan't Filter , export,print Option on the ALV dispaly.
    Could you please tell me How to hide Print and Filter option from dynamic ALV.
    Thanks and regards
    Amita.

    Hi,
    Please go through the following link to get an better idea on ALV.
    [https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/1190424a-0801-0010-84b5-ef03fd2d33d9&overridelayout=true]
    This is the code  which you have to write in  WDDOINIT
    DATA LO_CMP_USAGE TYPE REF TO IF_WD_COMPONENT_USAGE.
    LO_CMP_USAGE =   WD_THIS->WD_CPUSE_ALV_TEST( ).
    IF LO_CMP_USAGE->HAS_ACTIVE_COMPONENT( ) IS INITIAL.
      LO_CMP_USAGE->CREATE_COMPONENT( ).
    ENDIF.
    DATA LO_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
          LO_INTERFACECONTROLLER =   WD_THIS->WD_CPIFC_ALV_TEST( ).
            DATA LO_VALUE TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
            LO_VALUE = LO_INTERFACECONTROLLER->GET_MODEL(
    lo_value->IF_SALV_WD_STD_FUNCTIONS~SET_EXPORT_ALLOWED( abap_false ).
    lo_value->IF_SALV_WD_STD_FUNCTIONS~SET_PDF_ALLOWED( abap_false ).
    lo_value->IF_SALV_WD_STD_FUNCTIONS~SET_VIEW_LIST_ALLOWED( abap_false ).

  • How can we pass the select-option value to modulepool program?

    hi,
      how can we pass the select-option value to modulepool program ?
      Because if i declared select-options in executable program and i used SSCRFIELDS to define push buttons in selection screen.
               My requirement if enter the values to select-options and press UPDATE pussbotton then i want call screen which contains tablecontrol.
               How i get select-option values to PAI of call screen for getting the data from database table to my internal table?

    Oh I thought that you have selection-screen and again you are working on dialog programming.
    if you want to use select-option directly in module pool then it is not possible.
    but you can do other way.
    create two varaiables
    data : v_kun_low like kna1-kunnr,
             v_kun_high like kna1-kunnr.
    use these two variables in layout ,let user knows that he can not give options like gt,lt,eq ,it will be always BT.
    and also when you see normal report program,you can use multiple values in either low or high,but here it is not possibel.
    use can enter only low value and high value.
    when you come to program point of view
    declare one range
    ranges r_kunnr for kna1-kunnr.
    do the coding like
    r_kunnr-low = v_kun_low.
    r_kunnr-high = v_kun_high.
    r_kunnr-options = 'BT'.
    r_kunnr-sign = 'I'.
    append r_kunnr.
    now you can use r_kunnr in select query ,it will work like select-option.
    other than this there is no option.
    Thanks
    Seshu

  • 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"

  • How to do validations for select-options

    Hi gurus,
    can you suggest me
    how to do validations for select-options
    Thanks&ragards,
    Kals.

    HI,
    TABLES: BKPF.
    TYPES: BEGIN OF TY_BKPF,
           BUKRS TYPE BUKRS,   "COMPANY CODE
           GJAHR TYPE GJAHR,   "FISCAL YEAR
           MONAT TYPE MONAT,   "FISCAL PERIOD
    DATA: T_BKPF TYPE TABLE OF TY_BKPF,
          W_BKPF TYPE TY_BKPF.
    SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS: S_CODE   FOR BKPF-BUKRS,
                    S_YEAR   FOR BKPF-GJAHR,
                    S_PERIOD FOR BKPF-MONAT.
    SELECTION-SCREEN: END OF BLOCK B1.
                        AT SELECTION-SCREEN                           *
    IF S_CODE IS INITIAL OR S_YEAR IS INITIAL OR S_PERIOD IS INITIAL.
      MESSAGE E000(0) WITH 'ENTER VLAUES'.
    ENDIF.
    SELECT SINGLE * FROM BKPF WHERE BUKRS IN S_CODE.
      IF SY-SUBRC <> 0.
      MESSAGE E000(0) WITH 'ENTER VALID VALUES'.
      ENDIF.
    reward if useful
    thanks and regards

  • 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.

  • How do I identify and fix images Elements 10 believes are corrupt?

    During the past three days I have had problems with the functionality of my Photoshop Elements 10 and  received several messages indicating that the catalog is corrupt.  How do I identify and fix images Elements 10 believes are corrupt?

    Thank you for the prompt reply unfortunately the fix did not work.
    Let me provide some more information that may help you diagnose this problem.
    I run Elements on a PC. The operating system is Microsoft Windows 7 Home Premium. The System Type is x64-based. The processor is AMD A8-3850 APU with Radeon(tm) HD Graphics, 2900 Mhz, 4 Core(s), 4 Logical Processor(s).  The Hard Drive is 1.81 TB, and 1.5 TB of this is free.  The Ram is 16 GB.  Everything else works great.
    I have used Photoshop Elements for about 10 years, during which time I have upgraded to newer versions 5 or 6 times. I have used Elements 10 during the past 2 years.  I already bought Elements 12 but I am trying to repair this issue before I upgrade to it. I have approximately 65,000 photos in my catalog. All but the last 2,000 are backed up.
    During the past few days I encountered several problems with the functionality of my Elements 10; all errors provide messages indicating that the catalog is corrupt. Forexample, when I edit a photo in my catalog, the thumbnail image of the newly edited versionwill not display.  When I imported new photos, the thumbnail image would not display.  In all cases the photo image was replaced by a ?.
    I tried to correct the thumbnail problem by repairing and optimizing the catalog. In either case I received the same message that the catalog had not been repaired/optimized because some images were corrupt. However, despite this message, the thumbnails for the newly imported photos appeared but the thumbnails for the recently edited photos still have not.
    Currently, I cannot import new images, edit, delete or even stack photos.  I can still view, search for, copy and delete photos.  When I try to import a photo a new photo I get the following messages - ”the requested change could not be completed because the current catalog is corrupt.  You can attempt a repair in the file catalog dialog."  - "Nothing was imported.  The file(s) or folder(s) selected to import did not contain any supported file types or the files are already in this Catalog." and "The catalog could not be repaired, if you have a recent catalog backup, you should restore it."
    I have visually inspected the catalog and found about 25 recently imported photos that have a thumbnail image but lack the photo's id (i.e. img_3075.jpg would be replaced with ?). They are my photos from my camera and no different that the other 300 images I imported at the same time. However, these images in the catalog are blurry.  When I check the image in the My Pictures folder the image is fine and properly located between img_3074.jpg and img_3076.jpg.  I attempted to reconnect but received a message that there are no files to reconnect. I cannot delete the images from the catalog and If I delete them at the source (in the file folder) they still remain in the catalog view.
    Howdo I identify and fix images that Elements believes are corrupt? 
    Thanks in advance for any thoughts.

  • 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

  • How do I download and reinstall Photoshop Elements 11?

    How do I download and reinstall Photoshop Elements 11?

    I've tried to download it from the link provided to me by Adobe at the time of purchase, but have been unable to do so.
    Which link?
    Try http://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-10-11-downloads.html
    What problem are you having? Can you spell it out for us?
    Can you download successfully? Can you not install successfully? Any error messages or codes?

  • 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...

  • How do I open and use Photoshop Elements 12?

    How Do I Open and use Photoshop Elements 12? I've just purchased it and can't find a way to open and use the program.
    [email protected]

    Mac or Windows?
    Have you actually installed it, or just downloaded your purchased copy? If just downloaded then you need to double-click the downloaded file from wherever you saved it to. This will run the installer and ask you to enter your serial number (which you should NEVER post in a public forum such as this).
    If you have installed it, and if you're using Windows, it should have placed shortcuts on the desktop. But if not click Start and type 'photo' without the quotes and you should see an entry for PSE.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children
    If this post or another user's post resolves the original issue, please mark the posts as correct and/or helpful accordingly. This helps other users with similar trouble get answers to their questions quicker. Thanks.

  • 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

  • How to pass values to select options of custom transactions?

    I have to call custom transaction-ZMM_POST  from my custom report.
    I have to pass values to select options(Not to parameters) of ZMM_POST  from my report only.
    Please tell me how to pass values to select options of custom transactions?

    Have you tried this?
    DATA: T_RSPARAMS TYPE STANDARD TABLE OF RSPARAMS WITH HEADER LINE.
    T_RSPARAMS-SELNAME = "S_BUKRS".
    T_RSPARAMS-KIND = "S".
    T_RSPARAMS-SIGN = "I".
    T_RSPARAMS-OPTION = "BT".
    T_RSPARAMS-LOW = "100".
    T_RSPARAMS-HIGH = "300"
    APPEND T_RSPARAMS.
    SUBMIT Z_DUMMY WITH SELECTION-TABLE  T_RSPARAMS.
    Greetings,
    Blag.

  • Selection options element and button in one line

    Hello,
    I would like to ask or it is posible to create such screen:
    SELECTION-SCREEN BEGIN OF BLOCK area1
                              WITH FRAME TITLE text-001.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(30) text-050.
    SELECTION-SCREEN POSITION 28.
    SELECT-OPTIONS: s_chcoun FOR vbak-vbeln.
    SELECTION-SCREEN POSITION 79.
    SELECTION-SCREEN PUSHBUTTON (4) c_icon USER-COMMAND show_info.
    SELECTION-SCREEN END OF LINE.
    SELECT-OPTIONS:  s_chcou FOR vbak-aufnr.
    SELECTION-SCREEN END OF BLOCK area1.
    now selection and button-icon is in one line, but selection element position is different against others.
    O it is posible to get selection option like a default and button at the end of selection line. I think main problem is max position 79.
    Thank you

    Hi,
    Try Begin of line and position for all the selection screen elements.
    For example:
    SELECTION-SCREEN BEGIN OF BLOCK area1
    WITH FRAME TITLE text-001.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(30) text-050.
    SELECTION-SCREEN POSITION 28.
    SELECT-OPTIONS: s_chcoun FOR vbak-vbeln.
    SELECTION-SCREEN POSITION 79.
    SELECTION-SCREEN PUSHBUTTON (4) c_icon USER-COMMAND show_info.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN POSITION 28.
    SELECT-OPTIONS: s_chcou FOR vbak-aufnr.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK area1.

  • 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

Maybe you are looking for

  • Clear enclosure 23" cinema display with DVi connector?

    Hi all, I went to a local Mac store (Not Apple) where I was shown a supposedly 23" HD cinema display (clear enclosure) with a DVI CONNECTOR directly built in. I was under the impression that all clear enclosure versions natively came with the ADC con

  • How to Modify multiple users at the same time.

    Hi All, I oversee a lab with 8 24" imacs running 10.4. Each machine has the same set of guest user accounts. The machines are not connected by a actual server, although I can dump files to a common folder. My problem is every time I want to make syst

  • MetaData Keywords, - How do they work? How can I get them to sync so that my colleague can see them!

    Hello, I work with a couple of other people who use Adobe Bridge (CS2) on Windows XP computers. We have a extensive amount of photographs that we are trying to organise. To do this we want to add some kind of tag like say, 'People, grass....etc' so t

  • Mini DV issues

    Hi I have a Canon HV10 which after a year has just stopped playing back. I have taken it to be repaired but if it can't be I have a number of problems.Even if it can be I have a problem as we go to Galapagos in 3 weeks and the repair situation will n

  • Can I install SAPDings on Windows system that doesn't have SAPGUI installed

    I am working on a Windows system that has never had SAPGUI installed and am dealing with a PowerPoint file that was created on a system that did have SAPGUI, and the author used some SAPDIngs characters but did not embed the TT fonts in the PPT file