How to declare and work with select-option in screen painter?

hello there,
can anybody plz suggest me ,how to declare and work with select-option in screen painter?
neon

Hi Blue,
Please check these threads which will help you a lot..
module pool programming " to add selection-option on screen"
Re: Select option in Dialog program screen
Re: SELECT-OPTIONS in Screen
Good luck
Narin

Similar Messages

  • Working with select option in WD4A

    can any one provide me some document or video file to work with select options in webdynro for abap?

    Hi,
    Find the following URLs
    PDF - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/21706b4b-0901-0010-7d93-c93b6394bc1d
    Video Clip - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/media/uuid/1a3c52e7-0b01-0010-ed81-f31d4868c5d6
    Login to SDN to play the video clip.
    Reward accordingly.
    Regards
    ChandraK

  • How to degin a  select-option in screen painter?

    Help me !
    How can i create an object  like select-option  in screen painter.
    I want to input a range ,but there are no button or text   in screen painter  like  select-option?

    hai u can create select options on screen but in little differernt way..
    1st way : if u want to give only 1 interval then declare on screen as two different variables in same line
    and after that append the value in ranges.
    2nd way: here u can define as asingle input vriable  beside that variable u can give a icon as extension in select option and give give some function code to that.if we click on that in user command write following code :
      IF V_OKCODE = 'EXT'.
        CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
            EXPORTING
                 TITLE             = 'Title'
                 TEXT              = 'Text'
                 SIGNED            = 'X'
            LOWER_CASE        = ' '
            NO_INTERVAL_CHECK = ' '
            JUST_DISPLAY      = ' '
            JUST_INCL         = ' '
            EXCLUDED_OPTIONS  =
            DESCRIPTION       =
                 HELP_FIELD        = 'T001W-WERKS'
            SEARCH_HELP       =
             TABLES
                  RANGE             = R_WERKS
            EXCEPTIONS
                 NO_RANGE_TAB      = 1
                 CANCELLED         = 2
                 INTERNAL_ERROR    = 3
                 OTHERS            = 4
        IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    help field the field reference wich u want to declare and range is where values will be stored atomatically as in select options.
    once we click the icon if we execute the function module a window will open as in selection option in reports.there user can enter the values.once the user enters the values it will stored automatically in ranges declared like r_werks in above example.
    try it..

  • How to save and work with a Word document stored in the Oracle 8i Database?

    Hi,
    If you have any experience with saving and working with a Word document (stored in 8i) from Forms 6.0, then please let me know how.
    Thanks ...
    Peter Nielsen

    hi
    i had worked storing word documents in oracle8i.tell me what exactly u want to know.
    null

  • How to install and work with oracle webcenter 11g

    Hi
    Will please guide how to install and work on oracle webcenter11g, i am fresher in oracle that's why. so please guide me
    Regards
    Rajesh P

    In order to create and develop a webcenter portal application, you only need to install JDeveloper and download the WeBCenter extensions. That's true.
    But this install does not include the WebCenter services like dicussions, document services, analytics,... If you want to use these and integrate them in your portal, then you would need to install the suite as described on my blog.

  • How to make htis code work with select options???

    REPORT YTEST.
    TABLES: MARA,MARC,MARD,MBEW,MVKE,MAKT.
    DATA: BEGIN OF I_MARC OCCURS 0,
    MATNR LIKE MARC-MATNR,
    EKGRP LIKE MARC-EKGRP,
    PSTAT LIKE MARC-PSTAT,
    DISPO LIKE MARC-DISPO,
    BESKZ LIKE MARC-beskz,
    END OF I_MARC.
    DATA: BEGIN OF I_MARD OCCURS 0,
    MATNR LIKE MARD-MATNR,
    LGORT LIKE MARD-LGORT,
    ERSDA LIKE MARD-ERSDA,
    WERKS LIKE MARD-WERKS,
    END OF I_MARD.
    DATA: BEGIN OF I_MBEW OCCURS 0,
    MATNR LIKE MBEW-MATNR,
    BWKEY LIKE MBEW-BWKEY,
    PEINH LIKE MBEW-PEINH,
    END OF I_MBEW.
    DATA: BEGIN OF I_MARA OCCURS 0,
    MATNR LIKE MARA-MATNR,
    MTART LIKE MARA-MTART,
    MATKL LIKE MARA-MATKL,
    MEINS LIKE MARA-MEINS,
    MBRSH LIKE MARA-MBRSH,
    BSTME LIKE MARA-BSTME,
    END OF I_MARA.
    DATA: BEGIN OF I_MVKE OCCURS 0,
    MATNR LIKE MVKE-MATNR,
    VKORG LIKE MVKE-VKORG,
    VTWEG LIKE MVKE-VTWEG,
    VRKME LIKE MVKE-VRKME,
    KONDM LIKE MVKE-KONDM,
    END OF I_MVKE.
    DATA: BEGIN OF I_MAKT OCCURS 0,
    MATNR LIKE MAKT-MATNR,
    SPRAS LIKE MAKT-SPRAS,
    MAKTX LIKE MAKT-MAKTX,
    END OF I_MAKT.
    DATA: BEGIN OF I_OUT OCCURS 0,
    MATNR LIKE MARC-MATNR,
    MEINS LIKE MARA-MEINS,
    MBRSH LIKE MARA-MBRSH,
    MATKL LIKE MARA-MATKL,
    MTART LIKE MARA-MTART,
    BSTME LIKE MARA-BSTME,
    WERKS LIKE MARD-WERKS,
    EKGRP LIKE MARC-EKGRP,
    PSTAT LIKE MARC-PSTAT,
    DISPO LIKE MARC-DISPO,
    BESKZ LIKE MARC-BESKZ,
    LGORT LIKE MARD-LGORT,
    ERSDA LIKE MARD-ERSDA,
    BWKEY LIKE MBEW-BWKEY,
    PEINH LIKE MBEW-PEINH,
    VKORG LIKE MVKE-VKORG,
    VTWEG LIKE MVKE-VTWEG,
    VRKME LIKE MVKE-VRKME,
    KONDM LIKE MVKE-KONDM,
    SPRAS LIKE MAKT-SPRAS,
    MAKTX LIKE MAKT-MAKTX,
    END OF I_OUT.
    select-options: s_matnr for marc-matnr.
    SELECT MATNR EKGRP PSTAT DISPO BESKZ FROM MARC INTO
    CORRESPONDING FIELDS OF TABLE I_MARC where matnr in s_matnr.
    SELECT MATNR MTART MATKL MEINS MBRSH BSTME FROM MARA INTO
    CORRESPONDING FIELDS OF
    TABLE I_MARA FOR ALL ENTRIES IN I_MARC
    WHERE MATNR EQ I_MARC-MATNR.
    SELECT MATNR SPRAS MAKTX FROM MAKT INTO
    CORRESPONDING FIELDS OF TABLE I_MAKT
    FOR ALL ENTRIES IN I_MARC
    WHERE MATNR = I_MARC-MATNR.
    SELECT MATNR LGORT ERSDA WERKS FROM MARD INTO
    CORRESPONDING FIELDS OF TABLE
    I_MARD FOR ALL ENTRIES IN I_MAKT
    WHERE MATNR = I_MAKT-MATNR.
    SELECT MATNR BWKEY PEINH FROM MBEW INTO
    TABLE I_MBEW
    FOR ALL ENTRIES IN I_MARD
    WHERE MATNR = I_MARD-MATNR.
    SELECT MATNR VKORG VTWEG VRKME KONDM FROM MVKE INTO
    TABLE I_MVKE
    FOR ALL ENTRIES IN I_MBEW
    WHERE MATNR = I_MBEW-MATNR.
    LOOP AT I_MARC.
    MOVE I_MARC-MATNR TO I_OUT-MATNR.
    MOVE I_MARC-EKGRP TO I_OUT-EKGRP.
    MOVE I_MARC-PSTAT TO I_OUT-PSTAT.
    MOVE I_MARC-DISPO TO I_OUT-DISPO.
    MOVE I_MARC-BESKZ TO I_OUT-BESKZ.
    READ TABLE I_MARA WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MARA-MTART TO I_OUT-MTART.
    MOVE I_MARA-MBRSH TO I_OUT-MBRSH.
    MOVE I_MARA-MEINS TO I_OUT-MEINS.
    MOVE I_MARA-MATKL TO I_OUT-MATKL.
    MOVE I_MARA-BSTME TO I_OUT-BSTME.
    READ TABLE I_MAKT WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MAKT-SPRAS TO I_OUT-SPRAS.
    MOVE I_MAKT-MAKTX TO I_OUT-MAKTX.
    READ TABLE I_MARD WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MARD-LGORT TO I_OUT-LGORT.
    MOVE I_MARD-ERSDA TO I_OUT-ERSDA.
    MOVE I_MARD-WERKS TO I_OUT-WERKS.
    READ TABLE I_MBEW WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MBEW-BWKEY TO I_OUT-BWKEY.
    MOVE I_MBEW-PEINH TO I_OUT-PEINH.
    READ TABLE I_MVKE WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MVKE-VKORG TO I_OUT-VKORG.
    MOVE I_MVKE-VTWEG TO I_OUT-VTWEG.
    MOVE I_MVKE-VRKME TO I_OUT-VRKME.
    MOVE I_MVKE-KONDM TO I_OUT-KONDM.
    APPEND I_OUT.
    CLEAR I_OUT.
    ENDLOOP.
    Loop at i_out.
    write:/ i_out-MATNR,
    i_out-EKGRP,
    i_out-PSTAT,
    i_out-DISPO,
    i_out-BESKZ,
    i_out-LGORT,
    i_out-ERSDA ,
    i_out-WERKS,
    i_out-BWKEY,
    i_out-PEINH,
    i_out-MTART,
    i_out-MATKL,
    i_out-MEINS,
    i_out-MBRSH,
    i_out-BSTME,
    i_out-VKORG,
    i_out-VTWEG,
    i_out-VRKME,
    i_out-KONDM,
    i_out-SPRAS,
    i_out-MAKTX.
    endloop.
    regards,
    sriram

    REPORT YTEST.
    TABLES: MARA,MARC,MARD,MBEW,MVKE,MAKT.
    DATA: BEGIN OF I_MARC OCCURS 0,
    MATNR LIKE MARC-MATNR,
    EKGRP LIKE MARC-EKGRP,
    PSTAT LIKE MARC-PSTAT,
    DISPO LIKE MARC-DISPO,
    BESKZ LIKE MARC-beskz,
    END OF I_MARC.
    DATA: BEGIN OF I_MARD OCCURS 0,
    MATNR LIKE MARD-MATNR,
    LGORT LIKE MARD-LGORT,
    ERSDA LIKE MARD-ERSDA,
    WERKS LIKE MARD-WERKS,
    END OF I_MARD.
    DATA: BEGIN OF I_MBEW OCCURS 0,
    MATNR LIKE MBEW-MATNR,
    BWKEY LIKE MBEW-BWKEY,
    PEINH LIKE MBEW-PEINH,
    END OF I_MBEW.
    DATA: BEGIN OF I_MARA OCCURS 0,
    MATNR LIKE MARA-MATNR,
    MTART LIKE MARA-MTART,
    MATKL LIKE MARA-MATKL,
    MEINS LIKE MARA-MEINS,
    MBRSH LIKE MARA-MBRSH,
    BSTME LIKE MARA-BSTME,
    END OF I_MARA.
    DATA: BEGIN OF I_MVKE OCCURS 0,
    MATNR LIKE MVKE-MATNR,
    VKORG LIKE MVKE-VKORG,
    VTWEG LIKE MVKE-VTWEG,
    VRKME LIKE MVKE-VRKME,
    KONDM LIKE MVKE-KONDM,
    END OF I_MVKE.
    DATA: BEGIN OF I_MAKT OCCURS 0,
    MATNR LIKE MAKT-MATNR,
    SPRAS LIKE MAKT-SPRAS,
    MAKTX LIKE MAKT-MAKTX,
    END OF I_MAKT.
    DATA: BEGIN OF I_OUT OCCURS 0,
    MATNR LIKE MARC-MATNR,
    MEINS LIKE MARA-MEINS,
    MBRSH LIKE MARA-MBRSH,
    MATKL LIKE MARA-MATKL,
    MTART LIKE MARA-MTART,
    BSTME LIKE MARA-BSTME,
    WERKS LIKE MARD-WERKS,
    EKGRP LIKE MARC-EKGRP,
    PSTAT LIKE MARC-PSTAT,
    DISPO LIKE MARC-DISPO,
    BESKZ LIKE MARC-BESKZ,
    LGORT LIKE MARD-LGORT,
    ERSDA LIKE MARD-ERSDA,
    BWKEY LIKE MBEW-BWKEY,
    PEINH LIKE MBEW-PEINH,
    VKORG LIKE MVKE-VKORG,
    VTWEG LIKE MVKE-VTWEG,
    VRKME LIKE MVKE-VRKME,
    KONDM LIKE MVKE-KONDM,
    SPRAS LIKE MAKT-SPRAS,
    MAKTX LIKE MAKT-MAKTX,
    END OF I_OUT.
    select-options: s_matnr for marc-matnr.
    SELECT MATNR EKGRP PSTAT DISPO BESKZ FROM MARC INTO
    CORRESPONDING FIELDS OF TABLE I_MARC where matnr in s_matnr.
    if i_marc[] is not initial.
    SELECT MATNR MTART MATKL MEINS MBRSH BSTME FROM MARA INTO
    CORRESPONDING FIELDS OF
    TABLE I_MARA FOR ALL ENTRIES IN I_MARC
    WHERE MATNR EQ I_MARC-MATNR.
    SELECT MATNR SPRAS MAKTX FROM MAKT INTO
    CORRESPONDING FIELDS OF TABLE I_MAKT
    FOR ALL ENTRIES IN I_MARC
    WHERE MATNR = I_MARC-MATNR.
    endif.
    if i_makt[] is not initial.
    SELECT MATNR LGORT ERSDA WERKS FROM MARD INTO
    CORRESPONDING FIELDS OF TABLE
    I_MARD FOR ALL ENTRIES IN I_MAKT
    WHERE MATNR = I_MAKT-MATNR.
    endif.
    if i_mard[] is not initial.
    SELECT MATNR BWKEY PEINH FROM MBEW INTO
    TABLE I_MBEW
    FOR ALL ENTRIES IN I_MARD
    WHERE MATNR = I_MARD-MATNR.
    endif.
    if i_mbew[] is not initial.
    SELECT MATNR VKORG VTWEG VRKME KONDM FROM MVKE INTO
    TABLE I_MVKE
    FOR ALL ENTRIES IN I_MBEW
    WHERE MATNR = I_MBEW-MATNR.
    endif.
    LOOP AT I_MARC.
    MOVE I_MARC-MATNR TO I_OUT-MATNR.
    MOVE I_MARC-EKGRP TO I_OUT-EKGRP.
    MOVE I_MARC-PSTAT TO I_OUT-PSTAT.
    MOVE I_MARC-DISPO TO I_OUT-DISPO.
    MOVE I_MARC-BESKZ TO I_OUT-BESKZ.
    READ TABLE I_MARA WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MARA-MTART TO I_OUT-MTART.
    MOVE I_MARA-MBRSH TO I_OUT-MBRSH.
    MOVE I_MARA-MEINS TO I_OUT-MEINS.
    MOVE I_MARA-MATKL TO I_OUT-MATKL.
    MOVE I_MARA-BSTME TO I_OUT-BSTME.
    READ TABLE I_MAKT WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MAKT-SPRAS TO I_OUT-SPRAS.
    MOVE I_MAKT-MAKTX TO I_OUT-MAKTX.
    READ TABLE I_MARD WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MARD-LGORT TO I_OUT-LGORT.
    MOVE I_MARD-ERSDA TO I_OUT-ERSDA.
    MOVE I_MARD-WERKS TO I_OUT-WERKS.
    READ TABLE I_MBEW WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MBEW-BWKEY TO I_OUT-BWKEY.
    MOVE I_MBEW-PEINH TO I_OUT-PEINH.
    READ TABLE I_MVKE WITH KEY MATNR = I_MARC-MATNR.
    MOVE I_MVKE-VKORG TO I_OUT-VKORG.
    MOVE I_MVKE-VTWEG TO I_OUT-VTWEG.
    MOVE I_MVKE-VRKME TO I_OUT-VRKME.
    MOVE I_MVKE-KONDM TO I_OUT-KONDM.
    APPEND I_OUT.
    CLEAR I_OUT.
    ENDLOOP.
    Loop at i_out.
    write:/ i_out-MATNR,
    i_out-EKGRP,
    i_out-PSTAT,
    i_out-DISPO,
    i_out-BESKZ,
    i_out-LGORT,
    i_out-ERSDA ,
    i_out-WERKS,
    i_out-BWKEY,
    i_out-PEINH,
    i_out-MTART,
    i_out-MATKL,
    i_out-MEINS,
    i_out-MBRSH,
    i_out-BSTME,
    i_out-VKORG,
    i_out-VTWEG,
    i_out-VRKME,
    i_out-KONDM,
    i_out-SPRAS,
    i_out-MAKTX.
    endloop.
    reward points to all helpful answers
    kiran.M

  • How to  define and work with bind-variables without the dialog-box ?

    I want to select different tables with the same bind_variables,
    but do want not fill the bind-variables-dialogbox
    everytime I use the select statements
    because I could simple edit and bind this bind-variables once
    at the first select.
    select col1, col2 into :bind1, :bind2 from mybasictable_10 where col3 = 'ABCD':
    select * from mytable_b where b1 = :bind1 and b2 = :bind2 ;
    select * from mytable_c where c1 = :bind1 and c2 = :bind2 ;
    select * from mytable_d where d1 = :bind1 and d2 = :bind2 ;
    select * from mytable_e where e1 = :bind1 and e2 = :bind2 ;
    it doesn't work and I didn't find that in help,
    how does it work in sql-developer ?
    regards

    david,
    back to the root of my question:
    I do use an 10 years old low-end sql / plsql-tool where I can simple and fast do sql-things like that:
    select col1, col2 into :bind1, :bind2 from mybasictable_10 where col3 = 'for_example_ABCD':
    select * from mytable_b where b1 = :bind1 and b2 = :bind2 ;
    select * from mytable_c where c1 = :bind1 and c2 = :bind2 ;
    select * from mytable_d where d1 = :bind1 and d2 = :bind2 ;
    select * from mytable_e where e1 = :bind1 and e2 = :bind2 ;
    I would like to use oracles SQL-Developer instead of this 'old' tool,
    and want to use my 'old' sql / plsql scripts
    but the SQL-Developer in this matter seems is to much complicate to use,
    I can do complex and big things with sql-dev,
    but not simple using bind-variables ;-)( .

  • How to design select-option through screen painter

    I am new to screen painter. I want to make a screen having range of values high/low (just like select-option)......How can I do this using screen painter?

    Hi!
    Method 1
    a) Create a subscreen area in your screen layout where you want to create the select options.
    b) In the top include of  your module pool program declare a selection screen as a subscreen e.g.
           SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
                 select-options s_matnr for mara-matnr.
           SELECTION-SCREEN END OF SCREEN.
    c) In the PBO and PAI of the main screen where the select options needs to be created do a call subscreen of the above screen (100).
           CALL SUBCREEN sub_area INCLUDING    
      This call subscreen statement is necessary for transport of values between screen and program.
    Note: All validations of the selection screen fields e.g. the s_matnr field created above should be done in selection screen events like AT SELECTION-SCREEN etc and not in PAI. These selection screen validations etc should be done in the top include only.
    Method 2
    a) Create 2 separate fields in your screen layout - one for the low value and one for the high value. Insert an icon beside the high value which will call the multiple selections popup screen on user command. Use function module COMPLEX_SELECTIONS_DIALOG to achieve this.
    struc_tab_and_field-fieldname   = con_cust.      " 'KUNNR'
    struc_tab_and_field-tablename = con_kna1.     " 'KNA1'.
    CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
              EXPORTING
              TITLE                   = ' '
                text                         = g_titl1                                " 'Customers'
                tab_and_field     = struc_tab_and_field
              TABLES
                RANGE                   = rng_kunnr
              EXCEPTIONS
                NO_RANGE_TAB          = 1
                CANCELLED                    = 2
                INTERNAL_ERROR     = 3
                INVALID_FIELDNAME = 4
                OTHERS                           = 5.
    IF NOT rng_kunnr[] IS INITIAL.
             Read the very first entry of the range table and pass it to
             dynpro screen field
               READ TABLE rng_kunnr INDEX 1.
               IF sy-subrc = 0.
                  g_cust = rng_kunnr-low.
               ENDIF.
    You can use the return table rng_kunnr to populate your own internal range table with the values entered by the user. Basically here you are just simulating the work of a select-options parameter by module pool screen elements
    You can go with it also ....
    Re: Select-options in dynpro
    Regards....

  • How to work with Alphanumeric Editor in Screen Painter?

    Hello Guys,
    I am trying to work on Screen Painter Layout and it's showing me that Graphical Screen Editor is not
    available and continue working with Alphanumeric Editor.I don't know how to work on this.Guys,
    Please let me know why is the message and what can we do about it.
    Thanks in advance,
    Sri

    Somtimes you will get this message if something got screwy with your SAPgui, for me simply closing out of SAPgui and going back in has fixed this issue.  If you do not know for sure that your SAPgui had been installed including the screen painter, then you should start there.  You will need the SAPgui installation executable, either from CDs or a downloaded file.  Run the SAPgui installation, and make sure to select the screen painter as part of the install, i believe it is under "development tools" in previous versions.  In newer versions I believe it is installed by default, but I do no for a fact that it is not this way in earlier releases, such as the 46D gui.
    So for make sure that Screen Painter has been installed with your SAPgui, if you are sure that it had been installed, perhaps it was working fine yesterday, then I would suggest first closing out SAPgui, and going back in, and trying the screen painter, If the problem persists, it may be worth it to reinstall the gui.
    Regards,
    Rich Heilman

  • Select Options in Screen Painter

    Hi there
    Is there some way I can create two text boxes and one button, when the buttons gets pressed the same action as your usual SELECT-OPTIONS dialog box gets displayed? Is ther maybe a function module I can call for this?
    Thanx,
    Jan

    you can call a selection screen in sub screen area
    declare selection screen as
    begin of selection-screen 0100 as subscreen.
    end of selection-screen...
    then,
    in flow logic of your module pool screen
    PBO
    call subscreen <sub_area> including sy-repid '0100'.
    " at selection-screen output event is called
    PAI.
    call subscreen <sub_area>.
    "at selection-screen is called
                                              OR
    Call FM COMPLEX_SELECTIONS_DIALOG when the select options button is pressed
    Edited by: Amit Gupta on Nov 6, 2008 11:19 AM

  • How to pass and work with a PL/SQL or Temp table in a Procedure?

    My problem is that I have a query that involves about 10 tables or so, but everything starts from one base table. I am trying to split the base table so that the query actually finishes.
    Problem Query:
    with base_table as
    select * from table_a
    , t1 as
      select * from table_b
    -- There are some manipulation in the SQL, but not listing it here.
    , t2 as
      select * from table_c INNER JOIN t1 on t1.id = table_c.id
    ) What I want to do is limit base table and thus create a procedure such that it evalutes a temporary table and the temporary table will be limited by 1000 rows or so.
    Thanks for your help.

    Currently I am using:
    DECLARE
       l_start                       NUMBER;
       l_increment                   NUMBER;
       l_max                         NUMBER;
    BEGIN
       l_start := 1;
       l_increment := 100;
       SELECT COUNT(*) AS the_count
         INTO l_max
         FROM table_a;
       LOOP
       INSERT INTO new_table
         WITH base_table AS
         (SELECT p.*
            FROM (SELECT DENSE_RANK () OVER (ORDER BY alpha_id) rnum, a.*
                    FROM table_a a) p
           WHERE rnum BETWEEN l_start AND l_start + l_increment - 1)
       , t1 AS
         (SELECT *
            FROM table_b
    -- There are some manipulation in the SQL, but not listing it here.
       , t2 AS
         (SELECT *
            FROM table_c INNER JOIN t1 ON t1.ID = table_c.ID
    SELECT *
      FROM t2, temp_base;
    COMMIT;
          l_start := l_start + l_increment;
          EXIT WHEN l_start > l_max;
       END LOOP;Is it better to create a Temporary table or pass the data as a cursor:
    SELECT DENSE_RANK () OVER (ORDER BY alpha_id) rnum, a.*
    FROM table_a a
    Thanks.

  • How to install and work with label templates?

    I'm designing some product labels including text and graphics and want to print them on to Avery labels, 21 per A4 sheet. Is there a way I can design the label and then get it to print multiple copies on to the avery sheet without having to copy and paste the whole time?

    Thank you, that's certainly helps - now I' guess I've just got to work out how to set up the grid so it exactly fits the labels and prints in the right place!

  • Issue with Select Options

    Dear Experts,
    I used component wdr_select_options to achieve select options functionality, But it displaying only one field as per my requirement user expecting both low & high fields.
    Can you guide for 5 select options whether i have use t times the component at my component level.
    And also could please guide me how to use select options at code level.
    Thanks & Regards,
    Siva Mandapudi.
    Edited by: SIVAMANDAPUDI on Jul 18, 2011 6:39 PM

    Hi Saravan,
    Please find below details.
    The exception is:
    The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
    caught in
    procedure "ONACTIONSEARCH_SUPPLIER" "(METHOD)", nor was it propagated by a
    RAISING clause.
    code:
    DATA FOR WORKING WITH SELECT OPTIONS
      data: rt_SUPPLIERNO type ref to data.
      data: rt_SUPPLIERNAME type ref to data.
    field-symbols: <fs_SUPPLIERNO> type table,
                    <fs_SUPPLIERNAME> type table.
      TYPES: BEGIN OF T_SUPPLIERNO,
             SIGN(1),
             OPTION(2),
             LOW TYPE /SAPAPO/LOC,
             HIGH TYPE /SAPAPO/LOC,
            END OF T_SUPPLIERNO.
      TYPES: BEGIN OF T_SUPPLIERNAME,
             SIGN(1),
             OPTION(2),
             LOW TYPE /SAPAPO/LOC_DESCR40,
             HIGH TYPE /SAPAPO/LOC_DESCR40,
            END OF T_SUPPLIERNAME.
      DATA: WA_SUPPLIERNO TYPE T_SUPPLIERNO, IT_SUPPLIERNO TYPE TABLE OF T_SUPPLIERNO,
            WA_SUPPLIERNAME TYPE T_SUPPLIERNAME, IT_SUPPLIERNAME TYPE TABLE OF T_SUPPLIERNAME.
    Retrieve the data from the select option
      rt_SUPPLIERNO = wd_this->m_handler->get_range_table_of_sel_field(
                               i_id = 'ID_SNO' ).
    dump raising when get_range_table_of_sel_field is called.
    Thanks a lot.
    Regards
    Siva Mandapudi.

  • Multiple records with select option

    i have to use select option in selection screen, which wl take the multiple values but that select option wont act as a range, the select option is a session name  from sm35, the table from where data is retrieved is APQI, i have used  a parameter before using select option ,like:
    selection-screen begin of line.
    parameters: P_grpid like apqi-groupid.
    select-options: s_grpid like apqi-groupid.
    selection-screen end of line.
    AT-SELECTION SCREEN ON VALUE REQUEST FOR p-GRPID. " previous situation
    {the code starts
    FM F4 selection is called}
    AT-SELECTION SCREEN ON VALUE REQUEST FOR S_GRPID-low. " CURRENT situation
    FM F4 selection is called}
    now when i give data in slection screen for s_grpid-low then it works as a parametr, but it doesnt take multiple values at s_grpid when i have alos mentioned the same for s_grpid-high.
    Please tell me how to achive multiple records with select option, or u can also send a sample code if you have..
    Thanks
    Swarnali

    Hello Swarnali,
    You need to fill internal table of select-option once you got into the event AT SELECTION-SCREEN ON VALUE REQUEST FOR so_carr-LOW.
    so sudo code will be:
    AT SELECTION-SCREEN ON VALUE REQUEST FOR so_carr-LOW.
    Select data from table.
       so_carr-LOW = value
       append so_carr.
    You can also use NO INTERVAL to suppress the so_carr-HIGH value on selection screen.
    Thanks,
    Augustin.

  • I imported about 300 RAW images yesterday and worked with them for about an hour. iPhoto locked up on me and I rebooted. After I did the event icon is now gray and it says there are no photos. I know the photos are there. Any idea how I can recover them?

    I imported about 300 RAW images yesterday and worked with them for about an hour. iPhoto locked up on me and I rebooted. After I did the event icon for that event is now gray and it says there are no photos. I know the photos are there. Any idea how I can recover them?

    a best practice to is to never have any computer program (including iPhoto) delete the photos from the card but to import the photos and keep them and then after at least one successful backup cycle has completed and then reformat the card --  I use three very large (32 GB) cards in rotation so I do not reformat for typically a year or more giving me one more long term backup of my photos
    Back up your iPhoto library, Depress and hold the option (alt) and command keys and launch iPhoto - rebuild your iPhoto library database
    LN

Maybe you are looking for

  • Acrobat Adobe 9; editing converted pdf to word document

    I have acrobat adobe 9 standard and I have converted my document from pdf to microsoft word where I am suppose to be able to edit it as a word document.  It shows up as an image and I am not able to edit it.  Does anyone know what I am doing wrong or

  • Cannot insert String[] objects in PreparedStatements !!!

    Hello guys, I'm using PostgreSQL 7.0.3 for a website project. I've got a table in the website database system which has a integer array type, e.g. create table preferences( user_id integer references user, music varchar(20)[5], magazines varchar(20)[

  • Input does not take any manual entry

    hi interface masters, i have a screen field where i have f4 values attached to this field. now when the user wants to enter anything manually or when he tries to enter somthing on the input screen the screen should not allow him or write nothing on t

  • Multiple scales do not assign properly ot traces

    The Labview XY Graph object does not allow me to map signals properly to their scales.  I have attached a simple XY Graph VI where there are 3 input traces that I want to map to their 3 respective Y Scales.  The drop down menu item does not allow me

  • ActionMethod in CommandLink is not called whenadding Components dynamically

    I want to create a customTable component in which paginator will be a sub tag. <custom:customTable value="#{testBean.data}" var="current1"> <t:panelGrid binding="#{tableBean.paginator}"></t:panelGrid> <t:column>           <h:outputText value="#{curre