Module pool-element list

can someone plz tell the steps to create element list in se51 and also the design of layout?
How to execute module pool program.
Thanks.

Alchemi,
Run SE51 and go into the Layout.  This is where you paint the screen.  Once you save and activate the screen in this Layout window, the Element List is built automatically for you.  The Element list is the objects (elements) on the screen.
To run a module pool prog, run t-code SE93.  Create a new t-code for the program ZABC, for example.
Make sure to select the radio button for "Dialog transaction"
and then add short text and the Program's name and first (start-up) screen of the program.
Save the new t-code and then enter that new t-code into the fastpath textbox and press ENTER

Similar Messages

  • How to capture the selected values from module pool dialog list box !

    Hi experts,
    Can anyone help me out in capturing the values from the list box.
    i am able to set the values in the list box.But i am not able to capture the selected value from the list box. Always the list box name is getting as "space"
    I also tried in using the FM "VRM_GET_VALUES" but it is retireving all the values. Is there is any flag for filttering out the selected value.
    Your inputs are appreciated.
    Thanks,
    Vijay.

    Along with the PBO and PAI event, add a POV event in the flow logic of the screen
    DEMO_DROPDOWN_LIST_BOX -is a good demo example.
    PROCESS ON VALUE-REQUEST.
    FIELD structure_name-field_name MODULE create_dropdown_box.
    In the report :
    MODULE create_dropdown_box INPUT.
      SELECT carrid carrname
                    FROM scarr
                    INTO CORRESPONDING FIELDS OF TABLE itab_carrid.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield        = 'CARRID'
                value_org       = 'S'
           TABLES
                value_tab       = itab_carrid
           EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
      IF sy-subrc <> 0.
      ENDIF.
    ENDMODULE.
    In the layout, assign a Function Code , for eg : 'SELECTED' to the listbox and lets say name of the field is SDYN_CONN-CARRID. So in the PAI module,
    MODULE user_command_0100 INPUT.
      CASE ok_code.
        WHEN 'SELECTED'.
          MESSAGE i888(sabapdocu) WITH sdyn_conn-carrid.
      ENDCASE.
    ENDMODULE.
    sdyb_conn-carrid will contain your selected field

  • How to populate list box in module pool program

    How to populate list box in module pool program.
    Please give me reply as soon as posible
    regards,
    Venu.

    hi,
    go thrugh the folling code .
    TABLES sdyn_conn.
    DATA   ok_code TYPE sy-ucomm.
    Global data
    TYPES: BEGIN OF type_carrid,
             carrid type spfli-carrid,
             carrname type scarr-carrname,
           END OF type_carrid.
    DATA itab_carrid TYPE STANDARD TABLE OF type_carrid.
    *& Processing Blocks called by the Runtime Environment                 *
    Event Block START-OF-SELECTION
    START-OF-SELECTION.
      CALL SCREEN 100.
    Dialog Module PBO
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'SCREEN_100'.
    ENDMODULE.
    Dialog Modules PAI
    MODULE cancel INPUT.
      LEAVE PROGRAM.
    ENDMODULE.
    MODULE user_command_0100 INPUT.
      CASE ok_code.
        WHEN 'SELECTED'.
          MESSAGE i888(sabapdocu) WITH sdyn_conn-carrid.
      ENDCASE.
    ENDMODULE.
    Dialog Module POV
    MODULE create_dropdown_box INPUT.
      SELECT carrid carrname
                    FROM scarr
                    INTO CORRESPONDING FIELDS OF TABLE itab_carrid.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield        = 'CARRID'
                value_org       = 'S'
           TABLES
                value_tab       = itab_carrid
           EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
      IF sy-subrc <> 0.
      ENDIF.
    ENDMODULE.
    the following code should be included in flow logic of screen
    process on value-request.
      field scarr-carrname  module create_dropdown_box.
    in module pool select list box.
    hope it is useful.
    regards,
    sreelakshmi.

  • Is it possible to enter our own value in dropdown list box in Module Pool. How?

    Dear Experts,
    Being new to ABAP, I am trying my hands on Dropdownlist box on Module Pool.
    I want to pull data from Ztable(Custom Table) into Dropdown list box on Screen in Module pool and be able to edit it, delete it and enter new data through it, thus thereby able to manage the Ztable. Is it possible in dropdown.
    Looking forward for experts advice.
    Regards
    Deepika

    Dear Kannan,
    Thanks. But why sud I write an event in Table maintenance generator. My code is in Module Pool and it has no connection with Table Msintenance.
    The I/O field Drop down list box is on the Screen in my Module Pool. I am able to pull data in it from Ztable but now I want to edit this pulled data and also want to enter new data in this dropdown list box.
    Regards
    Deepika

  • Displaying MIR4 attachment list TIF image in module pool screen

    Hi All,
    I have a screen with a custom container and I tried to call a TIF image from MIR4 which is in attachment list(which is stored in archived link).
    I need a function module to display this image in my Module pool screen using the container.
    I tried using below code
    * Create controls
         CREATE OBJECT container_1
           EXPORTING
             container_name = 'CONTAINER'.
    *    create object container_2
    *      exporting container_name = 'PICTURE_CONTROL_2'.
         CREATE OBJECT PICTURE_CONTROL_1
           EXPORTING
             parent = container_1.
    *    CREATE OBJECT PICTURE_CONTROL_2 exporting parent = container_2.
    CALL METHOD PICTURE_CONTROL_1->LOAD_PICTURE_FROM_URL
           EXPORTING
    *    URL    = 'SAPR3://984BE16932C81EE3B2AA1E3B0D12C6FF'
    *      URL    = 'file://E:\Personal\New_Passport4.jpg'
    *       URL    = 'SAPR3://984BE16932C81EE3B2BDF8E44B035648.TIF'
    *URL    = 'SAPR3://SAPR3CMS/get/100/Z1/984BE16932C81EE3B2BDF8E44B035648//.TIF'.
         URL    = 'SAPR3://WebRepository/0020698212/DEMOWORD97SAPLOGO?Version=00000'
         IMPORTING
              RESULT = lv_result.
    CALL METHOD PICTURE_CONTROL_1->set_display_mode
         EXPORTING
           display_mode = PICTURE_CONTROL_1->display_mode_fit_center.
    But I am able to display this URL    = 'SAPR3://WebRepository/0020698212/DEMOWORD97SAPLOGO?Version=00000' and not able to display my archive link image which is in TIF.
    note: Display image of Arc.link Doc.type ZBUSI_TIF (doc.class TIF)
    Please help me on this.
    Thanks
    Geetha Charan

    Hi sai,
    Please refer th procedure.
    For the select-options you might have defined a selection screen.
    Next you can fetch the entire data that you wanted to display in a module pool into an internal table.
    you can call the screen you defined for o/p upon the selection.
    Then, You define a screen XXXX  and a table control in the scree, and in the PAI module of the screen
    you write a chain end chain processing in which you can display the contents of your internal table.
    OR
    if you want the selection also to be in the module pool,  then for displaying the O/P you can definr a sub-screen of the initial screen and you can call that sub-screen on selcting, which can be done with a function code.
    Hope this helps

  • List Box Problem In MODULE POOL PROGRAM(EDIT MODE)

    I Have Developed A MODULE POOL PROGRAM ,
    It Basically Consists Of   CREATE  EDIT and DISPLAY Modes.
    CREATE MODE:
    When I am Creating For Example FORM NO 1,it is having Fields With drop down list box with values
    A,B and C. if I Choose A then That form will Get Created With A value and Form 1 will be created.
    EDIT MODE:
    The same form If u want to edit In EDIT Mode ,it is displaying value A and it Showing the list box in the fillowing Manner.A,B,C,and A.(This is what the problem I am Facing Know).It Is Displaying the value two times.How to Avoid this ,PLs Help me in this regard.
    Thaks & Regards,
    Anuradha.

    Where ever you are populating the List Box, write a REFRESH statement just before that.
    Means Refresh the old content and add new content

  • Problem in dropdown list display in module pool

    Hi All,
       One of the fields of  my module pool program is a drop down list. I am able to populate the values to the list but when i select any value, it doesnot come to the field.
    Can any one help me out in this ?
    Thanks in advanve ...
    Ranjita

    hi Ranjitha,
    Ensure that you are doing the following activities:
    1-> in the field attributes, you have mentioned FCODE.
    2-> use function module DYNP_VALUES_UPDATE to set the selected value to the field.
    sample code:
    put selected value into a dynpro field--
         IF dy_field-fieldvalue NE l_seark.
           REFRESH dy_field.
           APPEND  dy_field.
           CALL FUNCTION 'DYNP_VALUES_UPDATE'
                EXPORTING
                     dyname               = sy-cprog
                     dynumb               = sy-dynnr
                TABLES
                     dynpfields           = dy_field
                EXCEPTIONS
                     invalid_abapworkarea = 1
                     invalid_request      = 2
                     no_fielddescription  = 3
                     undefind_error       = 4
                     others               = 99.
    Hope this helps,
    Sajan Joseph.

  • How to use dropdown list in module pool

    Hi guys,
    I have provided  a dropdown list in my  screen in my module pool program.
    How should I insert values in the dropdown list.
    Regards
    Mac

    HI,
    Check this code.
    PROCESS AFTER INPUT
    PROCESS ON VALUE-REQUEST.
      FIELD ZDEPT-DEPTNO MODULE create_dropdown.
    *** DOUBLE CLICK ON CREATE_DROPDOWN
    MODULE create_dropdown INPUT.
      SELECT EMPNAME
                    DEPTNAME
                    FROM YDEPT
                    INTO CORRESPONDING FIELDS OF TABLE itab_details.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield        = 'DEPTNO'
                value_org       = 'S'
           TABLES
                value_tab       = itab_details
           EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
      IF sy-subrc  0.
      ENDIF.
    ENDMODULE.
    HERE IN PAI DOUBLE CLICK THE MODULE THEN WRITE THE ABOVE CODE IT SHOULD WORK.
    YDEPT IS THE TABLE I CREATED TO STORE DEPARTMENT NUMBERS.
    ZDEPT IS THE STRUCTURE OF THE TABLE.
    IF YOU ARE STILL UNCLEAR
    PLEASE CHECK
    'DEMO_DROPDOWN_LIST_BOX' PROGRAM IN SE51 AND SCREEN NUMBER IS 100
    Regards and Best wishes.

  • Mss reports - add module pool (dialog) to the list

    Hi experts,
    I need to add new reports to MSS reporting.
    Is it possible to add module pool (dialog) to the MSS reports list?
    I got an error when executing the program " no object stored within selected period".
    The portal seems like it cannot trigger the data from backend.
    Is it related to dialog program that we use?
    What is the best solution because we need the manager to choose from dropdown button through the MSS reports.
    Rgds,
    Nanie Arianie

    Solved
    Program error

  • Adding a screen element in Module pool

    Hi Experts,
             How to add a screen element in module pool programming?
    Thanks,
    Sudha...........

    Hi sudha ,
    To add screen elements in you module pool programming ,
    i > Go the layout of the screen for which you want to have elements .
    ii> Drag and drop the available elements from the left hand side .
    iii> Be sure to have a name a name of the data elements that you have inserted .
    iv>Check any dataelement is't showing red in color as red color signifies error .
    v> Make sure to save and activate the layout.
    Hope this would be clear .
    Thanks
    Lokesh

  • Module pool screen element not shown

    Hi,
    I have a module pool with table control.
    I have added a new field to the internal table and included it in layout-checked properties and it is active/shown in output and input enabled
    Also, when I checked in PBO debugging, loop at screen, when the screen element is this field, active/input/output = 1
    I have activated the program/generated it/logged off from system and logged in again (to take care of refreshing the screen)
    The internal table has values for this field.
    When I execute the screen directly instead of module pool program, field is shown in table control
    But when I execute the module pool program, this field and heading are not shown in table control but empty space allocated for this field is shown.
    May I know how can I resolve this.
    Thanks!

    Hi Vasu,
    Go through this [Sample|http://help.sap.com/saphelp_nw04/helpdata/EN/9f/dbac5e35c111d1829f0000e829fbfe/content.htm].
    Regards,
    Maruthi

  • Alv list in module pool programming

    hai abapers ,
    i developed an alv grid display in module pool programming,my prbm is when i click on list button in my prm its displaying list n coming back to main screen if again i click on list button list is diplaying twice like this so on,how many i click on list button its displaying each that many times
    thank u

    It seems you have coded to create the field catalog also at the click of list display.Field catalog should be created only once.When you click on list display, it should only call the REUSE... fm but not the creation of fieldcatalog also.This will result in creation of a new fieldcatalog in addition to the exixting one.

  • Display the list in module pool program

    Hi All,
    I want to display the list of material like report after some user command in module pool.
    How can I achive the same.
    Regards
    Sagar

    Hi,
       If you want to display in ALV, you can use REUSE_ALV_GRID_DISPLAY FM also, which will call standard program from module pool and will display the list.
      If you use module pool, it is not mandatory that you have to use only OO ALV.
      You can create list output also from module pool. For that in user command you can write like
      IF sy-ucomm = '.....'.
         leave to list processing and return.
         write :/ '..............'.
    Endif.
    Thanks and regards,
    Venkat

  • Drop down list in module pool program.

    Hi Experts,
                    Can any one tell me how to maintain values in dropdown list on screen of  module pool.
    I have ' z' module pool program in which i have screen for z tcode and i want to add new values in drop down list . please tell me where to do modification.
    Regards,
    Rahul S

    Hi,
    Check the below code.
    TYPE-POOLS: VRM.
    DATA:V_NUM TYPE I.
    DATA:NAME TYPE VRM_ID,
    LIST TYPE VRM_VALUES,
    VALUE LIKE LINE OF LIST.
    DATA:I_WORKPATTERN LIKE ZWORKPAT OCCURS 0 WITH HEADER LINE.
    DATA:ZPATTXT(60).
    MODULE WORKPATTERN_LISTBOX OUTPUT.
    NAME = 'P9434-ZWORKPATTERN'.  --> Screen Field
    IF V_NUM IS INITIAL.
    CLEAR I_WORKPATTERN.
    REFRESH I_WORKPATTERN.
    SELECT *
    FROM ZWORKPAT   --> List box contents from the z table
    INTO TABLE I_WORKPATTERN.
    IF NOT I_WORKPATTERN[] IS INITIAL.
    LOOP AT I_WORKPATTERN.
    VALUE-KEY = I_WORKPATTERN-ZWORKPATTERN.
    VALUE-TEXT = I_WORKPATTERN-ZWORKPATTERN.
    APPEND VALUE TO LIST.
    ENDLOOP.
    ENDIF.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
    ID = NAME
    VALUES = LIST
    EXCEPTIONS
    ID_ILLEGAL_NAME = 1
    OTHERS = 2.
    IF SY-SUBRC 0.
    CLEAR SY-SUBRC.
    ENDIF.
    V_NUM = V_NUM + 1.
    ENDIF.
    Regards,
    Kumar Bandanadham
    Edited by: Velangini Showry Maria Kumar Bandanadham on May 26, 2009 3:53 PM

  • Dropdown list in a module pool screen

    Hi,
    There are 2  radio buttons in module pool for 2 Plants.
    Now another plant has to be added in the screen. The radio button has to be replaced with a drop down list for these 3 plants.
    How can we acheive this?
    Thanks,
    Kumar.

    Hi, 
       If u want a dropdown for the third plant you enter on the screen, You can use the FM  'VRM_SET_VALUES' to get the dropdown.
    Just refer to this sample code to get a dropdown.
    TYPE-POOLS: vrm.
    PARAMETERS p_werks LIKE mseg-werks AS LISTBOX
    VISIBLE LENGTH 20 OBLIGATORY.
    DATA: t_werks TYPE vrm_values,
    w_line LIKE LINE OF t_werks.
    INITIALIZATION.
    SELECT werks  FROM mseg INTO table t_werks."(w_line-key, w_line-text).
    *APPEND w_line TO t_carrid.
    *ENDSELECT.
    AT SELECTION-SCREEN OUTPUT.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
    id = 'P_werks'
    values = t_werks.
    *END-OF-SELECTION.
    WRITE: / 'Selected Carrid value:', p_werks.
    Hope this is helpful.
    Edited by: Kalyan Chakravarthi on May 29, 2008 11:55 AM

Maybe you are looking for

  • How can i change the title and image of  published exe

    Hi , I have published a fla file in exe format . how can i change the title and image of this exe? do I ve to use some of the available softwares in the market? cant i do the customised setting in the flash player itself?

  • Error Importing a Transport in portal - Using custom role

    Hello Everyone, I have a custom role “XYZ” which has a few worksets copied (as delta links) from the standard System Administration Role. These worksets include Transport, Portal Display and Monitoring. Now, I have assigned a user “ABC” the following

  • Windows 7 ultimate 64-bit boot camp issues...

    Whats up guys? So here is my problem: I installed windows 7 ultimate 64-bit on my macbook. The install went great and everything works like a charm except my headphone jack is red, and i have no audio, and no wifi. I installed 3.0 drivers from my Mac

  • What role of sd functional consultant in  ale and idoc  scenarios

    Hi friends, I am sd consultant having worked for indian support projects and implementaiton project. i do not have idea of ALE and IDOC scenarios. Now i am on foreign offshore support project where they asked for ALE AND IDOC knowledge. please guide

  • Spatial conform and blend mode; what does it mean and wherefore?

    I can't find a explination in the help...: spatial conform and blend mode; what does it mean and when do you use it because there is e a big numbre of choises. Ican't find a explination in the help... Thanks!