Select option in Struts - problem

Hi,
I have a following problem. I have a collection of objects (TDOs) which I am displaying using <logic:iterate> tag. TDO contains property whose value is for example number 1 but instead I need to display some text value - for example "Some text for value 1".
Those values are located in "lookup table" in database therefore I can not add an additional method to my DTO just for diplaying (no way I am do any hardcoding) Is there a way do have some kind of lookup bean which would solve it? If you know how to do that, can you provide me with some example?
Thanks,
Lukas

check this..
https://forums.sdn.sap.com/click.jspa?searchID=14672301&messageID=5880647
I am involved in this topic, if you have any issues in understanding let me know..

Similar Messages

  • Selection OPTION: Date input problem in Module POOL through Subscreen

    Dear ALL,
    Being new to ABAP, I am struck in a Problem.
    Requirement:
    I want an option on the Screen( My Screen 9000) for Date Range. Through this Date-Range I want to filter and pull some data from
    Database.
    As Date Range Selection option is possible only through Sub-Screen integration. Hence I integrated a Sub-Screen 400 (as below) and named the Sub-Screen area as SEL on my screen.
    Problem: As soon as I enter the dates on the screen, then those dates are not taken up by the code.
    During debugging I saw the the S_datum-low and S_datum-high are empty (in fact 00000000)
    The code follows:
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_9000.
      Call SUBSCREEN SEL  INCLUDING sy-repid '400'.
    PROCESS AFTER INPUT.
      MODULE USER_COMMAND_9000.
    DATA:  gv_datum     Type   dats,
    SELECTION-SCREEN BEGIN OF SCREEN 400 AS SUBSCREEN.
        SELECT-OPTIONS: s_datum FOR gv_datum.
    SELECTION-SCREEN END OF SCREEN 400 .
    Plz help where I am missing something.
    Regards
    Chandan

    Call the subscreen during the AT SELECTION-SCREEN event.
    SELECTION-SCREEN BEGIN OF SCREEN 400 AS SUBSCREEN.
    SELECT-OPTIONS: s_datum FOR gv_datum.
    SELECTION-SCREEN END OF SCREEN 400 .
    AT SELECTION-SCREEN.
       CALL SCREEN 100.
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE status_0100 OUTPUT.
       SET PF-STATUS '0100'.
    *  SET TITLEBAR 'xxx'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE user_command_0100 INPUT.
       CASE sy-ucomm.
         WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.
           LEAVE TO SCREEN 0.
       ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT

  • About select option

    Hi experts,
    In my alv report there is one field SERNR serial number, for this i have to put select option. My problem is this field doesn't exist in the table(Zmanifest) from where i'm fetching data. So i'm not able to mention this select option in my select query for that particular table. This field is existing in EQUI table and have no relation defined between zmanifest table & EQUI.
    In my internal table i have all fields of zmanifest & this sernr; to fulfill this field logic is
    Serial Number is combination of P_PREFIX-(dash)P_SERIAL fields in zmanifest. I have fetch all data including SERNR by above logic at my grid; but facing problem in defining SELECT-OPTIONS for Sernr.
    Please help.
    Points Sure.
    Anshuman

    Hi,
    do like this.
    take the lenght of P_PREFIX
    take the lenght of P_SERIAL
    add the length.
    for exmaple :
    P_PREFIX size is 4.
    P_SERIAL size is 10
    now declare the variable like this.
    data : v_selop(15).
    Note : 4101 = 15, so i declared the variable with lenght of 15.
    select-options : so_field for v_selop.
    now use off-set in your select query like this:
    where PREFIX = v_selop+0(4)
       and SERIAL = v_selop+5(10)
    it will work if you are using variable v_selop as a parameter else if you are using select option you have to break v_selop into two different select option like this:
    s_prefix type prefix,
    s_serial type serial.
    loop at v_selop.
    s_prefix-* = v_selop-. "      (  = sign, option)
    s_serial-* = v_selop-*.
    s_prefix-low = v_selop-low+0(4).
    s_serial-low = v_selop-low+5(10).
    s_prefix-high = v_selop-high+0(4).
    s_serial-high = v_selop-high+5(10).
    endloop.
    now use following select query
    where PREFIX in s_prefix
       and SERIAL in s_serial.
    it will surely wrok.
    Regards-
    Gagan Kumar
    Plz Reward if need full. also close the question.
    Edited by: Gagan Kumar on May 18, 2008 7:30 PM

  • Select option in Dialog prog

    Hi,
    I'm developing a dialog programming. 1st screen is the selection screen, i need to code the input for Parameter -> Material number , Select-option -> Plant. Problem hits on select option Plant.
    If we code via normal type 1 executable program, i just need code like -> Select-options: S_PLANT for mara-werks. Since right now im in dialog programming then i need to code my own LOW and HIGH value. I have done that. But i need to code in the Multiple selection/Extension button that next to HIGH.
    Do u guys know is there any FM that helping to create Multiple selection/Extension button? Like standard once click on it, it contains single value, ranges, exclude single value, exclude ranges...
    Please comment.

    Hi,
    1. Create the subscreen using the selection screen
    2. Create the subscreen area in the Dialog program
    3. Call this subscreen created  in point 1 in the subscreen area of dialog programing.
    selection-screen : begin of screen 0050 as subscreen.
    select-option : s_pernr for pa0000-pernr.
    selection-screen : end of screen 0050.
    start-of-selection
    call screen 100.
    in PBO
      call subscreen <subscreen area>including sy-repid '0050'.
    in PAI
      call subscreen <subscreen area> .

  • Itunes 10.6.1.7 problem: when I change the file "media type" from 'Music' to 'Podcast' the file disapears from ITUNES. I do this via (1) right click, (2) select 'Get Info', (3) select 'options' tab, and (4) change media type. What is the problem?

    Itunes 10.6.1.7 problem: when I change the file "media type" from 'Music' to 'Podcast' the file disapears from ITUNES. I do this via (1) right click, (2) select 'Get Info', (3) select 'options' tab, and (4) change media type. What is the problem?

    Hi Memalyn
    Essentially, the bare issue is that you have a 500GB hard drive with only 10GB free. That is not sufficient to run the system properly. The two options you have are to move/remove files to another location, or to install a larger hard drive (eg 2TB). Drive space has nothing to do with SMC firmware, and usually large media files are to blame.
    My first recommendation is this: download and run the free OmniDiskSweeper. This will identify the exact size of all your folders - you can drill down into the subfolders and figure out where your largest culprits are. For example, you might find that your Pictures folder contains both an iPhoto Library and copies that you've brought in from a camera but are outside the iPhoto Library structure. Or perhaps you have a lot of purchased video content in iTunes.
    If you find files that you KNOW you do not need, you can delete them. Don't delete them just because you have a backup, since if the backup fails, you will lose all your copies.
    Don't worry about "cleaners" for now - they don't save much space and can actually cause problems. Deal with the large file situation first and see how you get on.
    Let us know what you find out, and if you manage to get your space back.
    Matt

  • Problem in select-options value request

    Hi All,
    I have one select-option s_opt for vendor description. I want to have value request for both s_opt-low and s_opt-high. For that i have to write the functonal module
    at selection-screen on value-request for s_opt-low. and at selection-screen on value-request for s_opt-high. for both or any other procedure.
    In s_opt using drop down menu user can enter vendor description up to 10 Char, lower or upper case acceptable, & Wild card .
    Can any one help with code for the above two problems.
    Assured points.
    With thanks in advance.
    Ashok

    Hi , check the code .
    Just populate the itab entries either with a select on lfa1 .
    here im populating with sy-index values .
    REPORT zforum12.
    tables : lfa1.
    select-options : so_lifnr FOR lfa1-lifnr.
    data: begin of itab_LIFNR occurs 0,
    lifnr like lfa1-lifnr,
    end of itab_LIFnr.
    DATA: ITAB_SELECTED_lifnr TYPE DDSHRETVAL OCCURS 0 WITH HEADER LINE.
    initialization.
    do 20 times.
    move sy-index to itab_lifnr.
    append itab_lifnr.
    enddo.
    at selection-screen on value-request for SO_LIFNR-LOW.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    RETFIELD = 'SO_LIFNR-LOW'
    VALUE_ORG = 'S'
    TABLES
    VALUE_TAB = itab_LIFNR
    return_tab = ITAB_SELECTED_LIFNR
    EXCEPTIONS
    PARAMETER_ERROR = 1
    NO_VALUES_FOUND = 2
    OTHERS = 3
    IF SY-SUBRC eq 0.
    READ TABLE ITAB_SELECTED_LIFNR INDEX 1.
    MOVE ITAB_SELECTED_LIFNR-FIELDVAL TO SO_LIFNR-LOW.
    ELSE.
    * MESSAGE ....
    ENDIF.
    at selection-screen on value-request for SO_LIFNR-HIGH.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    RETFIELD = 'SO_LIFNR-HIGH'
    VALUE_ORG = 'S'
    TABLES
    VALUE_TAB = itab_LIFNR
    return_tab = ITAB_SELECTED_LIFNR
    EXCEPTIONS
    PARAMETER_ERROR = 1
    NO_VALUES_FOUND = 2
    OTHERS = 3
    IF SY-SUBRC eq 0.
    READ TABLE ITAB_SELECTED_LIFNR INDEX 1.
    MOVE ITAB_SELECTED_LIFNR-FIELDVAL TO SO_LIFNR-HIGH.
    ELSE.
    * MESSAGE ....
    ENDIF.
    start-of-selection.
    write:/ SO_LIFnr-LOW, SO_LIFNR-HIGH.
    regards,
    vijay

  • Problem in passing select-options to class meathods , type any table

    <h1>how to pass type any table to class meathod</h1>
    <h3>hi all
           i'm trying to build class to validate the selection screen , like select-options and parameters
           while writing meathod to validate the select-options
           its throwing parameter mismath error</h3>
    <h4>i tried like made import parameter in class meathod as 'TYPE ANY TABLE' and tried to pass select-options from my program it is saying type mismatch , how to overcome this problem </h4>
    <h4>and i want to pass any select option , either of type lfa1-lifnr or mara-matnr or any other</h4>
    Moderator message : Don't shout, use proper font size for explaining the question. This has been discussed in ABAP forums before. Search for available information. Thread locked.
    Edited by: Vinod Kumar on Sep 14, 2011 11:20 AM

    hI
    Triggering and Handling events
    At the moment of implementation, a class defines its:
             Instance events (using the EVENTS statement)
            Static events (using the CLASS-EVENTS statement)
    Classes or their instances that receive a message when an event is triggered at runtime and want to react to this event define event handler methods. Statement: METHODS
    CLASS IC1_VEICHLE DEFINATION.
    PUBLIC SECTION.
    METHOD CONSTRUCTOR IMPORTING
    EVENTS VEICHEL_CREATION.
    ENDCLASS
    CLASS LC1_VEICHLE IMPLIMENTATION.
    METHOD CONSTRUCTOR
    RAISE EVENT VEICHLE_CREATION.
    REWARD IF USEFULL

  • Select-options on selection-screen type char100 problem

    Hi friends! I created on selection-screen a select-options:
    SELECT-OPTIONS: zzcduc     FOR      equi-ZZCDUC.
    The field  equi-ZZCDUC is a CHAR100 field. The problem is when I run program, in this field user can't input more of 46 characters. This is a serial number with 100 characters, why I can input 100 characters?
    Thanks for any help.

    Hi, this is copied from SELECT-OPTION documentation:
    The LOW and HIGH fields of a selection option are displayed in a length up to 18 bytes long (scrollable up to 45 bytes). If you define a length longer than 45, fields are truncated on the selection screen after the 45th character. This affects the first line of the SELECT-OPTIONS table. You can, however, use SUBMIT to pass longer selection options to a report if they are specified with the addition NO-DISPLAY and thus do not appear on the selection screen. Without NO-DISPLAY, the fields are then truncated whenever the selection screen is processed in the background ( SUBMIT without VIA SELECTION-SCREEN).
    regards,

  • Problem in Select Option Freely programmed F4 Help

    Hi All,
    I had a Component 'A'  where i used select option. I used Freely programmed search help for the select option field.
    If i click F4 in the select option field it will call one component in which i have one more select option in component B.
    In component B select option field if i manually entering value and search and click apply values button the values are comming in the select option field in component A.
    But if i pressing the F4 in Component B and search and click apply values the value are not comming in the Component 'A'.
    If i open again component B and closing it without any action the value is coming in component A.
    If i debugged and see the WDDOMODIFYVIEW of tHE WDR_SELECT_OPTION is not getting called for component A.In which it has Rendering delta method of CL_WDR_SELECT_OPTION.
    Any idea about this.
    Regards,
    Ganesh.

    hi Ganesh,
    i have read your post several time and i am still not able to get hold on your problem. Probably it is to do with your complex approach of nested select_option, i can not judge why you did this way. I would advice you to step back and see it for yourself
    1)if it is need to have nested select_option
    2)check component initialization and destroy
    2)check event subscriptions

  • PROBLEM IN SELECT OPTION

    Dear all, i want to display the document no,document status,date of document,document type and item details here input field is document number.tables are bkpf and bseg.i wrote the program and executed that program it causes runtime error.so please solve the problem.
    REPORT  ZOPENSQL5.
    *ENTER INPUT VALUE
    DATA : V_BELNR TYPE BELNR_D.
    SELECT-OPTIONS : K_BELNR FOR V_BELNR.
    *CREATE USER DEFINED DATA TYPES
    TYPES : BEGIN OF TY_BKPF,
            BELNR TYPE BELNR_D, "ACCOUNTING DOCUMENT NUMBER
            BSTAT TYPE BSTAT,   "DOCUMENT STATUS
            BLDAT TYPE BLDAT,   "DOCUMENY DATE
            BLART TYPE BLART,   "DOCUMENT TYPE
            END OF TY_BKPF.
    TYPES : BEGIN OF TY_BSEG,
            BELNR TYPE BELNR_D, "ACCOUNT DOCUMENT NUMBER
            BUZEI TYPE BUZEI,   "ITEM DETAILS
            END OF TY_BSEG.
    TYPES : BEGIN OF TY_FINAL,
            BELNR TYPE BELNR_D, "ACCOUNTING DOCUMENT NUMBER
            BSTAT TYPE BSTAT,   "DOCUMENT STATUS
            BLDAT TYPE BLDAT,   "DOCUMENY DATE
            BLART TYPE BLART,   "DOCUMENT TYPE
            BUZEI TYPE BUZEI,   "ITEM DETAILS
            END OF TY_FINAL.
    *CREATE INTERNAL TABLES FOR ABOVE TABLES
    DATA : IT_BKPF TYPE STANDARD TABLE OF TY_BKPF,
           IT_BSEG TYPE STANDARD TABLE OF TY_BSEG,
           IT_FINAL TYPE STANDARD TABLE OF TY_FINAL.
    DATA : WA_BKPF TYPE TY_BKPF,
           WA_BSEG TYPE TY_BSEG,
           WA_FINAL TYPE TY_FINAL.
    *MOVE DATA
    SELECT BELNR
           BSTAT
           BLDAT
           BLART
           FROM BKPF
           INTO TABLE IT_BKPF
           WHERE BELNR IN K_BELNR.
    IF NOT IT_BKPF IS INITIAL.
      SELECT BELNR
             BUZEI
             FROM BSEG
             INTO TABLE IT_BSEG
             FOR ALL ENTRIES IN IT_BKPF
             WHERE BELNR = IT_BKPF-BELNR.
    ENDIF.
    LOOP AT IT_BSEG INTO WA_BSEG.
      MOVE-CORRESPONDING : WA_BSEG TO WA_FINAL.
      READ TABLE IT_BKPF INTO WA_BKPF WITH KEY BELNR = WA_FINAL-BELNR.
      IF SY-SUBRC = 0.
        MOVE : WA_BKPF-BSTAT TO WA_FINAL-BSTAT,
               WA_BKPF-BLDAT TO WA_FINAL-BLDAT,
               WA_BKPF-BLART TO WA_FINAL-BLART.
      ENDIF.
      APPEND WA_FINAL TO IT_FINAL.
      CLEAR WA_FINAL.
    ENDLOOP.
    *DISPLAY THE DATA
    ULINE (55).
    WRITE :/1  SY-VLINE        ,
            2  'DOC NO'        ,
            14 SY-VLINE        ,
            16 'DOC STATUS'    ,
            26 SY-VLINE        ,
            28 'DATE OF DOC'   ,
            43 SY-VLINE        ,
            44 'DOC TYPE'      ,
            55 SY-VLINE        .
    WRITE : /1 SY-VLINE.
    ULINE (55).

    You violated the most basic performance principles, please read here and only post again if there is still a problem.
    Please Read before Posting in the Performance and Tuning Forum
    Thread locked.
    Thomas

  • Select-options Problem in module pool

    Hi,
         I have created select-options in a seperate program and i have called the subscreen in module pool program.
    I dont have any problem with the display of select-options but whatever the value given is not getting in to the program. Hw to solve this problem
    Assured Points
    Thanks in Advance
    Jai

    hi,
    did you declare that in top include?
    if not declare it globally.
    In stead of subscreen, try to do with screen itself.
    Create screen like this.
    selection-screen begin of screen 300.
    selection-screen begin of block b1 with frame title text-000.
    select-options : so_ebeln for v_ebeln modif id g1,
                     so_vbeln for v_vbeln modif id g2.
    selection-screen end of block b1.
    selection-screen end of screen 300.
    Call this screen : in PAI of ur another screen.
    call selection-screen 300.
    Regards
    Sandeep REddy

  • Problem in Passing the select-options data in smartforms

    Dear ABAPers,
    I have developed new layout for Delivery Chellan using smartforms.
    using parameters i am getting document no, corresponding all details getting print.
    but the client wants to use multiple document no.
    in function module also i am passing only one import parameter (i.e. doc.no).
    my requirement is how to pass multiple data in smartfroms.
    Thanks & Regards,
    Ashok

    Dear ABAPers,
    Here i give my code Please check it out and tell me where i am going wrong.
    *& Report  ZMM_DC_FORM                                                 *
    REPORT  ZMM_DC_FORM                            .
           Data Declaration
    tables : mseg,
             mkpf,
             ekpo,
             ekko,
             objk,
             mbew,
             ser03,
             twlad,
             makt,
             adrc.
    data : begin of struct_mblnr,
           mblnr type mblnr,
           end of struct_mblnr.
    data : it_mblnr like table of struct_mblnr with header line.
    data : begin of i_struct,
           mblnr like mseg-mblnr,
           mjahr like mseg-mjahr,
           matnr like mseg-matnr,
           erfmg like mseg-erfmg,
           werks like mseg-werks,
           lgort like mseg-lgort,
           ebeln like mseg-ebeln,
           ebelp like mseg-ebelp,
           umwrk like mseg-umwrk,
           end of i_struct.
    data : begin of bednr_struct,
           matnr type ekpo-matnr,
           bednr type ekpo-bednr,
           end of bednr_struct.
    data : begin of price_struct,
           matnr type mseg-matnr,
           verpr type mbew-verpr,
           stprs type mbew-stprs,
           end of price_struct.
    data : begin of serial_struct,
           matnr like objk-matnr,
           sernr like objk-sernr,
           end of serial_struct.
    data : begin of fi_struct,
           matnr type mseg-matnr,
           maktx type makt-maktx,
           bednr type ekpo-bednr,
           erfmg type mseg-erfmg,
           verpr type mbew-verpr,
           val_p type mbew-verpr,
           end of fi_struct.
    data : it_tab like table of i_struct with header line.
    data : it_add1 type table of adrc with header line,
           it_add2 type table of adrc with header line.
    data : it_bednr like table of bednr_struct with header line.
    data : it_price like table of price_struct with header line.
    data : it_ser type table of ZMM_DC_SERIAL with header line.
    data : it_final like table of fi_struct with header line.
    data : s_date like mkpf-budat.
    data : s_ebeln like ekpo-ebeln.
    DATA : FM_NAME TYPE RS38L_FNAM.
            Selection Screen Variables
    selection-screen : begin of block b1 with frame title text-001.
    select-options : s_mblnr for mseg-mblnr.
    parameters : s_mjahr type mseg-mjahr.
    selection-screen : end of block b1.
              Start of Selection
    start-of-selection.
    select mblnr from mseg into table it_mblnr where mblnr ge s_mblnr-low
                                     and   mblnr le s_mblnr-high.
    delete adjacent Duplicates  from it_mblnr.
    *loop at it_mblnr.
    *write : it_mblnr-mblnr.
    *endloop.
    loop at it_mblnr.
    select mblnr
           mjahr
           matnr
           erfmg
           werks
           lgort
           ebeln
           ebelp
           umwrk from mseg into table it_tab where mblnr = it_mblnr-mblnr
                                           and   mjahr = s_mjahr
                                           and   xauto <> 'X'.
    read table it_tab index 1.
    *code for PO Number
    s_ebeln = it_tab-ebeln.
    *code for Supplying plant address
    select single adrnr from twlad into twlad-adrnr where werks = it_tab-werks
                                                    and   lgort = it_tab-lgort.
    select single * from adrc into it_add1 where addrnumber = twlad-adrnr.
    clear twlad-adrnr.
    *code for receiving plant address
    select single lgort from ekpo into ekpo-lgort where ebeln = it_tab-ebeln
                                                  and   ebelp = it_tab-ebelp.
    select single adrnr from twlad into twlad-adrnr where werks = it_tab-umwrk
                                                    and   lgort = ekpo-lgort.
    select single * from adrc into it_add2 where addrnumber = twlad-adrnr.
    clear : twlad-adrnr,
            ekpo-lgort.
    *code for the Material Document Date
    select single budat from mkpf into s_date where mblnr = it_mblnr-mblnr
                                                  and   mjahr = s_mjahr.
    loop at it_tab.
    it_final-matnr = it_tab-matnr.
    it_final-erfmg = it_tab-erfmg.
    *Code for Material Description
    select single maktx from makt into makt-maktx where matnr = it_tab-matnr.
    it_final-maktx = makt-maktx.
    clear makt-maktx.
    *Code for Service order Number
    select single matnr
                  bednr from ekpo into it_bednr where ebeln = it_tab-ebeln
                                         and   ebelp = it_tab-ebelp
                                         and   matnr = it_tab-matnr.
    it_final-bednr = it_bednr-bednr.
    *Code for Price for the Material
    select single matnr
                  verpr
                  stprs from mbew into it_price where matnr = it_tab-matnr
                                                and   bwkey = it_tab-werks.
    if it_price-verpr <> 0.
    it_final-verpr = it_price-verpr.
    else.
    it_final-verpr = it_price-stprs.
    endif.
    it_final-val_p = it_final-erfmg * it_price-stprs.
    append it_final.
    clear it_final.
    endloop.
    *Code for Serial Number
    select single obknr from ser03 into ser03-obknr where mblnr = it_mblnr-mblnr
                                                    and   vorgang = 'MMSL'.
    select matnr
           sernr from objk into table it_ser where obknr = ser03-obknr.
    clear ser03-obknr.
    *Calling Function Module for Smartform
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
      EXPORTING
        FORMNAME                 = 'ZMM_DC_FORM'
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
    IMPORTING
       FM_NAME                  = FM_NAME
    EXCEPTIONS
      NO_FORM                  = 1
      NO_FUNCTION_MODULE       = 2
      OTHERS                   = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION FM_NAME
    EXPORTING
    L_MBLNR = it_mblnr-mblnr
    L_DATE = S_DATE
    L_EBELN = S_EBELN
    IT_ADD1 = IT_ADD1
    IT_ADD2 = IT_ADD2
    TABLES
    IT_FINAL = IT_FINAL
    IT_SER = IT_SER.
    endloop.
    Please help me to solve this problem.It is very urgent.
    Thanks & Regards,
    Ashok.

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

  • Problem with Multiple selection option

    Hi all,
    I am working on a report, when I execute the report and the selection screen comes up, there I need to enter 5 different employee name so I am trying to use "multiple selection" option but as soon as I hit that "Yellow arrow" in front of employee name field .. I saw the output first and when I go one screen back I get that screen where I can enter the names. So can you please help me with this.
    Thanks,
    Rajeev

    Hi,
    I have written the following code, I guess the problem is in
    GD_REPID = SY-REPID.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM     = GD_REPID
    DATA: FIELDCATALOG TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
          GD_TAB_GROUP TYPE SLIS_T_SP_GROUP_ALV,
          GD_LAYOUT    TYPE SLIS_LAYOUT_ALV,
          GD_REPID     LIKE SY-REPID.
    FORM DISPLAY_ALV_REPORT .
      GD_REPID = SY-REPID.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          I_CALLBACK_PROGRAM     = GD_REPID
          I_CALLBACK_TOP_OF_PAGE = 'TOP-OF-PAGE'
          IS_LAYOUT              = GD_LAYOUT
          IT_FIELDCAT            = FIELDCATALOG[]
          I_SAVE                 = 'A'
        TABLES
          T_OUTTAB               = IT_tab
        EXCEPTIONS
          PROGRAM_ERROR          = 1
          OTHERS                 = 2.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " DISPLAY_ALV_REPORTcode}
    Thanks,
    Rajeev

  • Problem with select option in module pool

    Hello friends,
                           I have successfully created a select option in my module using sub-screen. My problem is the EXTENSION buttom in the select option. When i click on the EXTENSION button a proper pop-up appears but when i input some values or cancel this pop-up then the program gives the following dump.
    Error
    The attribute screen type with the values 'Normal Screen' and
    'Subscreen' determines the use of the screen. If a normal screen is used
    as subscreen or vice versa, an error occurs.
    The screen "ZRPMSEA" 0002 has, in this respect, an inappropriate screen type.
    Kindly Help

    HI,
    Go to the Screen Attributes and select the appropriate Radio Button
    1) Normal Screen " Whichever is required (in Which type of Screen you Want)
    2) Subscreen  " Check for the Correct type and Check the Radio Button Accordingly
    3) Modal Scree
    Cheerz
    Ram

Maybe you are looking for

  • CS5 "save as" format menu changed when creating new document

    Hi, When creating a new document in photoshop CS5 i cannot save as a jpeg or png or the other large list of file types i used to have in the save as format menu, below is what i used to be able to save as but can only do this when actually opening a

  • Make payment before issue sales order

    Dear all, Here is my problem. After customer agreed on the sales quotation, I had to collect payment from customer before issuing a sales order. How can it be done in SBO? i tried AR reserved invoice but sales order had closed after adding AR reserve

  • Cp6 - Creating a TOC button (without Flash widget)

    Hello everyone, I am working on a elearning template that doesn't use a time slider bar so, navigation is done through the use of back/next buttons. I am also employing the Captivate TOC as a overlay. The problem I am having is that the default trigg

  • Processing Pop Up message

    Dear Friends Is any body know how to get the processing pop up message.. I am looking for message box what we used to see in portal " one round rotating color gif or flash kind of" whenever we request inithing in portal.. it comes saying processing..

  • WINDOWS 용 SQL*NET 사용 시 TNS-12545

    제품 : SQL*NET 작성날짜 : 1995-11-10 WINDOWS 용 SQL*NET 사용 시 TNS-12545 ==================================== 에러 TNS-12545 "TNS:name lookup failure"는 TCP/IP 프로토콜 어댑터를 가진 SQL*NET V2를 통해 툴에서 연결하려는데 TCP/IP 프로토콜 어댑터가 TNSNAMES.ORA 파일의 ADDRESS 부분에 제공된 호스트 이름을 분석할 수