Num ranges in module pool prog

Hi all,
i want to maintain a  number range for my custom screen.
whenever i enter data in to the custom screen and press SAVE,it should create a automatic number and tht should b saved in the concern ZTABLE.
this screen belongs to Production Planning.
am maintaining this generated number as primary key in the ZTABLE.
any help will b rewarded with maximum points...
thanQ

Hello,
(a) We need to create number ranges in transaction SNRO
(b) Enter the number range object name and press CREATE.
(c) Enter the description, Long text and Number Length domain andWarning %(when you are about to expire the number range a warning must be given eg:if the range is 1 to 100 and 90 is created we need to be notified that 90 is over and only 10 are remaining ..accordingly we should reset the number range or do other necessary actions..eg:10% => when it reaches 90 in number range of 1 to 100 message is displayed)
enter Number length domain..which is the length of the range eg:if we put "NUM10" as the domain(check in se11->domain->num10) we can declare an interval with 1 to maximum of 9999999999 or less than that according to our requirement
(d) Press SAVE
(e)Now click on u201CNumber Rangesu201D button on the application toolbar
(f) Click on u201CChange Intervalsu201D.
(g)  Click on u201CInsert Intervalu201D.
(h) enter the range which needs to be created eg:1 to 100
Click u201CInsertu201D and then SAVE. The number range object is generated
in the program we can use the function module, NUMBER_GET_NEXT, to get the next number of any number range object. 
Also keep in mind that number range NUMBER_GET_NEXT be called on the click of that 'SAVE' button just before updating the Ztable .incase we have any errors in the module pool we need not worry about accidently creating numbers... if the code is wriiten in 'SAVE' action after complete requirement checks the issue will no occur
Regards
Byju

Similar Messages

  • Regarding select option in a module pool prog .

    hello .. i need some help regarding select options in a module pool program .. i hav tried putting a select options in a module pool prog but i am not able 2 ... can any one tel me why select options r not aloowed in a module pool prog ?? and i read that we hav 2 use ranges 2 fulfil the needs of the select options . is there any way i cal get all the functionality of select options ( eg including , excludig , equal to , not equal to , .... .) using a range ??

    Hi
    Select-options won't work if you declare the program as Module POOL.
    if you wants to use select-options like utility in module pool programming
    use ranges
    declare and develop ranges and use that in select statement where condition.
    ranges: r_vbeln for vbak-vbeln.
    r_vbeln-low = '0018900678'.
    r_vbeln-sign = 'I'.
    r_vbeln-option = 'EQ'.
    append r_vbeln.
    r_vbeln-low = '0018900456'.
    r_vbeln-sign = 'I'.
    r_vbeln-option = 'EQ'.
    append r_vbeln.
    reward if useful
    regards
    Anji

  • How to define RADIO BUTTONS in MODULE POOL PROG.?

    Hi Experts,
    I need to keep the RADIO BUTTONS in 1000_screen of my_module_pool prog., like,
    I hv 2 fields in this screen, as expected, the first shuld hv DEFAULT selection.
    So, I just simply, dragged & dropped 2 radio buttons from left menu of the screen builder & given them the  names as
    R_SUMMARY
    R_DETAIL
    Then i executed the transaction, but, these above 2 fields are getting selected, as default??
    I know that, if its a REPORT prog. we can define as w/ a GROUP, then the 1st one is hv the default selection.
    so,
    1  - How to define RADIO BUTTONS in this screen of a module pool prog.
    2 - How to use these names in the prog.(PAI - i guess)?
    thanq
    Edited by: Srinivas on Jul 12, 2008 11:59 PM

    Hi Srinivas,
    Please check this link
    Re: urgent:Regd radio buttons in module pool
    http://saplab.blogspot.com/2007/10/sample-abap-program-for-module-pool_18.html
    http://****************/Tutorials/ABAP/Checkbox/page1.htm
    http://****************/Tutorials/ABAP/Checkbox/page2.htm
    Best regards,
    raam

  • How to copy module pool prog one server to another server

    hi Experts,
    hi how to copy  the module pool prog(mpp)  one server to another server , like download and upload , in this i have 10 screen pbo , pai, includes , , in  this mpp
    will have other tcodes also ..
    is this possible ,  if yes how give me step by step process
    pls do help me in this requirment .
    thanks in advance ,
    m venu

    Do you have the ability to import a transport into your second server?  The easiest way to accomplish this is to create a Transport Request in your originating system, release the transport, and have you basis admins import it into the second server.
    Regards,
    Chris H.

  • Define Ranges in Module Pool

    Hi,
    i have defined an range in the Module Pool as shown ibelow.
    data :  ar_vbeln TYPE RANGE OF vbak-vbeln,
               ars_vbeln LIKE LINE OF ga_vbeln.
    but how to show this range in the Layout of the Module Pool , i mean the input & Output in the Moduel Pool,
    Can anybody please help me.
    rgds
    Ranjith singh

    hi,
    search it first in SCN... too many posts on this.
    this wiki will help.
    [select option in module pool|http://wiki.sdn.sap.com/wiki/display/ABAP/SELECT-OPTIONSonDialogprogrammingscreen]
    main idea is: create a sub screen in your program and assign it to a sub screen area of your module pool screen in PBO.
    hope this helps

  • Doc plz on abap object and Module pool prog

    Hi all,
    Please any send the details and use full documents on ABAP objects and Module Programming.
    Its very orgent for me
    THanks and Regards
    vamsin
    [email protected]

    Hi ALL,
    Thank you for your replies, I guess I dint convey my question properly,
    I have called a Selection-Screen in Module Pool .
    These were the steps which i followed to archive this.
    1. Created a subscreen area in your screen layout (Main Screen- Module Pool).
    2.  In the Top Include of  Module pool program declared a Selection-Screen as a subscreen.
         TOP-INCLUDE.
    SELECTION-SCREEN BEGIN OF SCREEN 400 AS SUBSCREEN.
        SELECTION-SCREEN BEGIN OF BLOCK d3 WITH FRAME TITLE text-003.
          PARAMETERS : grdate RADIOBUTTON GROUP r2  DEFAULT 'X' USER-COMMAND FR1.  " GRN date
          PARAMETERS : crdate RADIOBUTTON GROUP r2 .       " Current Date
        SELECTION-SCREEN END OF BLOCK d3.
       SELECTION-SCREEN END OF SCREEN 400.
    3.  In the PBO and PAI of the Main Screen called Subscreen.
          PBO
    CALL SUBSCREEN SUB_SCREEN_STAPLES INCLUDING 'zprogram' '0400'.
         PAI
    CALL SUBSCREEN SUB_SCREEN_STAPLES..
    I have to do certain operations when the user selects the radio button on subscreen (which is actually a Selection-Screen).
    I have tried to assign the function code  to radio button and as this screen is a Selection-Screen I cannot use PAI and PBO.
    Used the below code in TOP-INCLUDE.
    TOP-Include
    AT SELECTION-SCREEN ON RADIOBUTTON GROUP r2.
      CASE ok_rb.
        WHEN 'FR1' .
          IF crdate = 'X'.
            pdate = sy-datum.
          ELSE.
            pdate = sy-datum + 1.
          ENDIF.
      ENDCASE.
    But after executing this logic the flow is going to PAI which is validating the mandatory fields of Module-Pool Screen (which is not part of sub screen), hence not solving my purpose.
    Is there any way by which I can Only trigger the AT-Selection screen for the selection screen.
    or Any other approach which will solve my purpose.
    Thanks a lot for Suggestions and Inputs.

  • Module pool prog

    hi,
    can anybody tell me how to go about doing module pool programming ....... to start with ....... how to add 2 nos. using screen with 2 i\o fields for user to input 2 nos. and a output field for result.........
    can u tell the coding and the wat plz ..

    hi,
    MODULE POOL PROGRAMMING:
    These are type M programs in SAP.
    Screen painter is a tool used to create GUI in ABAP.
    MPP provides screen painter to create a screen for the program.
    These programs cannot be executed directly.
    Customer-specified Transaction code (starting with Z or Y) should be created for each MPP program to execute.
    We can create any number of screens for a program and we can call these screens very easily.
    MPP programs should start with the naming convention SAPMZ or SAPMY.
    SE80 is the Tcode to create MPP programs.
    JUST TRY OUT THIS SAMPLE PROGRAM,
    MODULE POOL PROGRAMMING:
    This is also called as DIALOG PROGRAMMING.
    User can make use of multiple screens in this type of programming.
    These are type 'M' programs in SAP.
    EVENTS IN DIALOG PROGRAMMING:
    1. PROCESS BEFORE OUTPUT (PBO)
    2. PROCESS AFTER INPUT (PAI)
    3. PROCESS ON VALUE REQUEST (POVR)
    4. PROCESS ON HELP REQUEST (POHR)
    Navigations to create a simple MPP program:
    SE80 -> Select Program from drop-down list -> Specify program name starting with SAPMZ or SAPMY -> Press Enter -> Click on Yes to create object -> Create Top Include File by clicking on Continue icon in pop-up screens -> Save under a package -> Assign a request number -> MPP program with specified name is created with Top include File.
    To create screen, Right click on program name -> Select Create -> Screen -> Opens Screen Description page -> Enter short description for screen -> Select screen type as NORMAL -> Click on LAYOUT pushbutton from application toolbar -> Opens Screen Painter -> Drag and drop two input fields from toolbar -> Likewise, create two pushbuttons -> Double click on each component -> Opens Attributes box -> Specify attributes for each screen component -> For pushbutton, specify FCT code -> Save the screen -> Click on Flowlogic pushbutton from application toolbar -> Opens Flow logic editor to create event functionalities for screen components -> Decomment PAI module -> Double click on PAI module name -> Click on Yes to create PAI module object -> Opens PAI module -> Specify the following code within module-endmodule statements:
    CASE SY-UCOMM.
    WHEN 'DISPLAY'.
    LEAVE TO LIST-PROCESSING.
    WRITE :/ IO1, IO2.
    WHEN 'EXIT'.
    LEAVE PROGRAM.
    ENDCASE.
    -> Save.
    Now double click on 'Includes' Folder (TOP INCLUDE FILE) -> Declare variables for input fields as follows:
    DATA : IO1(10), IO2(10).
    Save -> Activate.
    Now To create Transaction Code, right click on Main Program Name -> Create -> Transaction -> Opens an interface -> Enter Tcode name starting with Z or Y -> Enter short description -> Continue -> Opens interface -> Enter Main program name and Screen number to be called first -> Save under a package -> Assign a request number.
    Activate all the objects of MPP program by right clicking on Main program Name -> Click on Activate -> Raises 'Objects Activated' message.
    To execute the MPP program, specify Tcode name in the Command Prompt area -> Press Enter.
    Regards,
    Arunsri

  • Module Pool+TOP+report prog,, Shuld I move to TEST individually?

    Hi Experts,
    I enhanced one Module Pool Prog., which contains 3 parts i.e.
    1 - Main Module Prog.
    2- Top include
    3- One error report prog. i.e. executable prog.
    So,
    Now, I need to move this main Module prog. to TEST box,
    So,
    1) I guess I need to move to TEST box, all 3 individually, in the order of TOP , ERROR report prog., Main Module pool prog.
    2) Or if I move the Main Module pool to TEST, automatically, SAP picks the rest 2 items, even though I did not moved manually?
    thanq.

    This is depends on ur transport request ,did you save all programs in one request,if so it will go automatically.
    if you create transport request indiviudlly ,then need to transport one by one.
    anyhow check in se10 ->main request - sub request -> check ur objects.

  • Search help for date in module pool

    Hi experts
                      i am developing a module pool prog, in the second screen 6 fields are displayed and one of them is date field. I wanna search help for that date field. Plz note the date field is populated from Work area of iternal table.
    Plz help me out in solving the issue.
    Thanks and Regards,
    Alson

    Hi
    We have a lot of Example programs in SAP, have a look at the demo program
    <b>DEMO_DYNPRO_F4_HELP_MODULE</b>..
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaac935c111d1829f0000e829fbfe/content.htm
    Regards
    Sudheer

  • Module pool using ABAP Objects

    Hi All ,
         I have a requirement for creating a transaction/module pool prog using OO ABAP  .
        Can you please send some sample documents to guide completely about the creation and execution of the transaction .
    Rewards are assured !!
    Regards,
    Ranjita

    Hi
    see this code for ALV report in which we used the Modules which is similar to Module pool
    OOPs ABAP uses Classes and Interfaces which uses Methods and events.
    If you have Java skills it is advantage for you.
    There are Local classes as well as Global Classes.
    Local classes we can work in SE38 straight away.
    But mostly it is better to use the Global classes.
    Global Classes or Interfaces are to be created in SE24.
    SAP already given some predefined classes and Interfaces.
    This OOPS concepts very useful for writing BADI's also.
    So first create a class in SE 24.
    Define attributes, Methods for that class.
    Define parameters for that Method.
    You can define event handlers also to handle the messages.
    After creation in each method write the code.
    Methods are similar to ABAP PERFORM -FORM statements.
    After the creation of CLass and methods come to SE38 and create the program.
    In the program create a object type ref to that class and with the help of that Object call the methods of that Class and display the data.
    Example:
    REPORT sapmz_hf_alv_grid .
    Type pool for icons - used in the toolbar
    TYPE-POOLS: icon.
    TABLES: zsflight.
    To allow the declaration of o_event_receiver before the
    lcl_event_receiver class is defined, decale it as deferred in the
    start of the program
    CLASS lcl_event_receiver DEFINITION DEFERRED.
    G L O B A L I N T E R N A L T A B L E S
    *DATA: gi_sflight TYPE STANDARD TABLE OF sflight.
    To include a traffic light and/or color a line the structure of the
    table must include fields for the traffic light and/or the color
    TYPES: BEGIN OF st_sflight.
    INCLUDE STRUCTURE zsflight.
    Field for traffic light
    TYPES: traffic_light TYPE c.
    Field for line color
    types: line_color(4) type c.
    TYPES: END OF st_sflight.
    TYPES: tt_sflight TYPE STANDARD TABLE OF st_sflight.
    DATA: gi_sflight TYPE tt_sflight.
    G L O B A L D A T A
    DATA: ok_code LIKE sy-ucomm,
    Work area for internal table
    g_wa_sflight TYPE st_sflight,
    ALV control: Layout structure
    gs_layout TYPE lvc_s_layo.
    Declare reference variables to the ALV grid and the container
    DATA:
    go_grid TYPE REF TO cl_gui_alv_grid,
    go_custom_container TYPE REF TO cl_gui_custom_container,
    o_event_receiver TYPE REF TO lcl_event_receiver.
    DATA:
    Work area for screen 200
    g_screen200 LIKE zsflight.
    Data for storing information about selected rows in the grid
    DATA:
    Internal table
    gi_index_rows TYPE lvc_t_row,
    Information about 1 row
    g_selected_row LIKE lvc_s_row.
    C L A S S E S
    CLASS lcl_event_receiver DEFINITION.
    PUBLIC SECTION.
    METHODS:
    handle_toolbar FOR EVENT toolbar OF cl_gui_alv_grid
    IMPORTING
    e_object e_interactive,
    handle_user_command FOR EVENT user_command OF cl_gui_alv_grid
    IMPORTING e_ucomm.
    ENDCLASS.
    CLASS lcl_event_receiver IMPLEMENTATION
    CLASS lcl_event_receiver IMPLEMENTATION.
    METHOD handle_toolbar.
    Event handler method for event toolbar.
    CONSTANTS:
    Constants for button type
    c_button_normal TYPE i VALUE 0,
    c_menu_and_default_button TYPE i VALUE 1,
    c_menu TYPE i VALUE 2,
    c_separator TYPE i VALUE 3,
    c_radio_button TYPE i VALUE 4,
    c_checkbox TYPE i VALUE 5,
    c_menu_entry TYPE i VALUE 6.
    DATA:
    ls_toolbar TYPE stb_button.
    Append seperator to the normal toolbar
    CLEAR ls_toolbar.
    MOVE c_separator TO ls_toolbar-butn_type..
    APPEND ls_toolbar TO e_object->mt_toolbar.
    Append a new button that to the toolbar. Use E_OBJECT of
    event toolbar. E_OBJECT is of type CL_ALV_EVENT_TOOLBAR_SET.
    This class has one attribute MT_TOOLBAR which is of table type
    TTB_BUTTON. The structure is STB_BUTTON
    CLEAR ls_toolbar.
    MOVE 'CHANGE' TO ls_toolbar-function.
    MOVE icon_change TO ls_toolbar-icon.
    MOVE 'Change flight' TO ls_toolbar-quickinfo.
    MOVE 'Change' TO ls_toolbar-text.
    MOVE ' ' TO ls_toolbar-disabled.
    APPEND ls_toolbar TO e_object->mt_toolbar.
    ENDMETHOD.
    METHOD handle_user_command.
    Handle own functions defined in the toolbar
    CASE e_ucomm.
    WHEN 'CHANGE'.
    PERFORM change_flight.
    LEAVE TO SCREEN 0.
    ENDCASE.
    ENDMETHOD.
    ENDCLASS.
    S T A R T - O F - S E L E C T I O N.
    START-OF-SELECTION.
    SET SCREEN '100'.
    *& Module USER_COMMAND_0100 INPUT
    MODULE user_command_0100 INPUT.
    CASE ok_code.
    WHEN 'EXIT'.
    LEAVE TO SCREEN 0.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_0100 INPUT
    *& Module STATUS_0100 OUTPUT
    MODULE status_0100 OUTPUT.
    DATA:
    For parameter IS_VARIANT that is sued to set up options for storing
    the grid layout as a variant in method set_table_for_first_display
    l_layout TYPE disvariant,
    Utillity field
    l_lines TYPE i.
    After returning from screen 200 the line that was selected before
    going to screen 200, should be selected again. The table gi_index_rows
    was the output table from the GET_SELECTED_ROWS method in form
    CHANGE_FLIGHT
    DESCRIBE TABLE gi_index_rows LINES l_lines.
    IF l_lines > 0.
    CALL METHOD go_grid->set_selected_rows
    EXPORTING
    it_index_rows = gi_index_rows.
    CALL METHOD cl_gui_cfw=>flush.
    REFRESH gi_index_rows.
    ENDIF.
    Read data and create objects
    IF go_custom_container IS INITIAL.
    Read data from datbase table
    PERFORM get_data.
    Create objects for container and ALV grid
    CREATE OBJECT go_custom_container
    EXPORTING container_name = 'ALV_CONTAINER'.
    CREATE OBJECT go_grid
    EXPORTING
    i_parent = go_custom_container.
    Create object for event_receiver class
    and set handlers
    CREATE OBJECT o_event_receiver.
    SET HANDLER o_event_receiver->handle_user_command FOR go_grid.
    SET HANDLER o_event_receiver->handle_toolbar FOR go_grid.
    Layout (Variant) for ALV grid
    l_layout-report = sy-repid. "Layout fo report
    Setup the grid layout using a variable of structure lvc_s_layo
    Set grid title
    gs_layout-grid_title = 'Flights'.
    Selection mode - Single row without buttons
    (This is the default mode
    gs_layout-sel_mode = 'B'.
    Name of the exception field (Traffic light field) and the color
    field + set the exception and color field of the table
    gs_layout-excp_fname = 'TRAFFIC_LIGHT'.
    gs_layout-info_fname = 'LINE_COLOR'.
    LOOP AT gi_sflight INTO g_wa_sflight.
    IF g_wa_sflight-paymentsum < 100000.
    Value of traffic light field
    g_wa_sflight-traffic_light = '1'.
    Value of color field:
    C = Color, 6=Color 1=Intesified on, 0: Inverse display off
    g_wa_sflight-line_color = 'C610'.
    ELSEIF g_wa_sflight-paymentsum => 100000 AND
    g_wa_sflight-paymentsum < 1000000.
    g_wa_sflight-traffic_light = '2'.
    ELSE.
    g_wa_sflight-traffic_light = '3'.
    ENDIF.
    MODIFY gi_sflight FROM g_wa_sflight.
    ENDLOOP.
    Grid setup for first display
    CALL METHOD go_grid->set_table_for_first_display
    EXPORTING i_structure_name = 'SFLIGHT'
    is_variant = l_layout
    i_save = 'A'
    is_layout = gs_layout
    CHANGING it_outtab = gi_sflight.
    *-- End of grid setup -
    Raise event toolbar to show the modified toolbar
    CALL METHOD go_grid->set_toolbar_interactive.
    Set focus to the grid. This is not necessary in this
    example as there is only one control on the screen
    CALL METHOD cl_gui_control=>set_focus EXPORTING control = go_grid.
    ENDIF.
    ENDMODULE. " STATUS_0100 OUTPUT
    *& Module USER_COMMAND_0200 INPUT
    MODULE user_command_0200 INPUT.
    CASE ok_code.
    WHEN 'EXIT200'.
    LEAVE TO SCREEN 100.
    WHEN'SAVE'.
    PERFORM save_changes.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_0200 INPUT
    *& Form get_data
    FORM get_data.
    Read data from table SFLIGHT
    SELECT *
    FROM zsflight
    INTO TABLE gi_sflight.
    ENDFORM. " load_data_into_grid
    *& Form change_flight
    Reads the contents of the selected row in the grid, ans transfers
    the data to screen 200, where it can be changed and saved.
    FORM change_flight.
    DATA:l_lines TYPE i.
    REFRESH gi_index_rows.
    CLEAR g_selected_row.
    Read index of selected rows
    CALL METHOD go_grid->get_selected_rows
    IMPORTING
    et_index_rows = gi_index_rows.
    Check if any row are selected at all. If not
    table gi_index_rows will be empty
    DESCRIBE TABLE gi_index_rows LINES l_lines.
    IF l_lines = 0.
    CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
    EXPORTING
    textline1 = 'You must choose a line'.
    EXIT.
    ENDIF.
    Read indexes of selected rows. In this example only one
    row can be selected as we are using gs_layout-sel_mode = 'B',
    so it is only ncessary to read the first entry in
    table gi_index_rows
    LOOP AT gi_index_rows INTO g_selected_row.
    IF sy-tabix = 1.
    READ TABLE gi_sflight INDEX g_selected_row-index INTO g_wa_sflight.
    ENDIF.
    ENDLOOP.
    Transfer data from the selected row to screenm 200 and show
    screen 200
    CLEAR g_screen200.
    MOVE-CORRESPONDING g_wa_sflight TO g_screen200.
    LEAVE TO SCREEN '200'.
    ENDFORM. " change_flight
    *& Form save_changes
    Changes made in screen 200 are written to the datbase table
    zsflight, and to the grid table gi_sflight, and the grid is
    updated with method refresh_table_display to display the changes
    FORM save_changes.
    DATA: l_traffic_light TYPE c.
    Update traffic light field
    Update database table
    MODIFY zsflight FROM g_screen200.
    Update grid table , traffic light field and color field.
    Note that it is necessary to use structure g_wa_sflight
    for the update, as the screen structure does not have a
    traffic light field
    MOVE-CORRESPONDING g_screen200 TO g_wa_sflight.
    IF g_wa_sflight-paymentsum < 100000.
    g_wa_sflight-traffic_light = '1'.
    C = Color, 6=Color 1=Intesified on, 0: Inverse display off
    g_wa_sflight-line_color = 'C610'.
    ELSEIF g_wa_sflight-paymentsum => 100000 AND
    g_wa_sflight-paymentsum < 1000000.
    g_wa_sflight-traffic_light = '2'.
    clear g_wa_sflight-line_color.
    ELSE.
    g_wa_sflight-traffic_light = '3'.
    clear g_wa_sflight-line_color.
    ENDIF.
    MODIFY gi_sflight INDEX g_selected_row-index FROM g_wa_sflight.
    Refresh grid
    CALL METHOD go_grid->refresh_table_display.
    CALL METHOD cl_gui_cfw=>flush.
    LEAVE TO SCREEN '100'.
    ENDFORM. " save_changes
    chk this blog
    /people/vijaybabu.dudla/blog/2006/07/21/topofpage-in-alv-using-clguialvgrid
    Reward points if useful
    Regards
    Anji

  • Issue Related to Module pool

    Hi,
    I have issue related to module pool Prog.
    Actually i have one screen[Dialog] in that i am having one field <b>License No</b> as input enabled.
    In that <b>License No</b> field when i press <b>F4</b>
    i am using one Function module called <b>REUSE_ALV_POPUP_TO_SELECT</b> to populate some fields in it.
    In <b>SE51</b> i called that code as below.
    <b>PROCESS ON VALUE-REQUEST.
      FIELD v_zzexgen MODULE f4_help_for_zzexgen.</b>
    Now when i select one row/record from all the populated records it is filling only value into <b>License No[v_zzexgen]</b> , There in the same screen i am not able  to get the values for other fields like <b>v_modco,v_gennr</b> etc..
    Though they are in populated screen.
    Actually after calling <b>POPUP</b> F.M i had written follow code:
        READ TABLE i_pdata INDEX k_selfield-tabindex.
    <b>    IF sy-subrc EQ 0.
    Then move all the fields of selected record into 9002 screen
          v_zzexgen  = i_pdata-zzexgen.
          v_zzgeart  = i_pdata-zzgeart.
          v_modco    = i_data-modco.
          v_zzgmaxw  = i_pdata-orgamt.
          v_zzgaufw  = i_pdata-conamt.
        ENDIF.</b>
    Can anybody tell me what is the issue out here for not filling other fields.
    What is the reason for populating only one field when i am getting other field values also to be populated!
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    call function <b>'DYNP_GET_STEPL'</b>
                importing
                  povstepl        = step_line
                exceptions
                  stepl_not_found = 1
                  others          = 2.
              clear: ltab_fields.
              refresh : ltab_fields.
              ltab_fields-fieldname  = 'ZMM_TABLE-TABNAME'.
              ltab_fields-fieldvalue = t_f4_table-tabname.
              ltab_fields-stepl = step_line.
              append ltab_fields.
              ltab_fields-fieldname  = 'ZMM_TABLE-FLDNAME'.
              ltab_fields-fieldvalue = t_f4_table-fieldname.
             <b> ltab_fields-stepl = step_line.</b>   
              append ltab_fields.
              ltab_fields-fieldname  = 'ZMM_TABLE-VALUE'.
              ltab_fields-fieldvalue = t_f4_table-fieldtext.
              ltab_fields-stepl = step_line.
              append ltab_fields.
              call function <b>'DYNP_VALUES_UPDATE'</b>
                exporting
                  dyname     = lc_dyname
                  dynumb     = lc_dynumb
                tables
                  dynpfields = ltab_fields
                exceptions
                  others     = 8.
              commit work and wait.
    OR u have to use<b> SET PARAMETERS ID</b>
    IN <b>PAI</b>
    regards
    vinod

  • 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

  • New to module pool program

    hi all,
    i am new to module pool program .
    so if anyone of u have any documents regarding it then plz share with me.i will be grateful to u for ur efforts.
    if any one has created a module pool prog then he/she can send me tha source coding with screen shots which will be very useful for me .
    i am looking for ur help.
    i will reward ur efforts.

    Hi,
    Check the below link:
    http://wiki.ittoolbox.com/index.php/FAQ:What_is_module_pool_program_in_abap%3F
    http://help.sap.com/saphelp_46c/helpdata/en/35/26b1aaafab52b9e10000009b38f974/content.htm
    http://sap.mis.cmich.edu/sap-abap/abap09/sld011.htm
    http://sap.mis.cmich.edu/sap-abap/abap09/index.htm
    You can also check the transaction ABAPDOCU which gives you lot of sample programs.
    Also you can see the below examples...
    Go to se38 and give demodynpro and press F4.
    YOu will get a list of demo module pool programs.
    One more T-Code is ABAPDOCU.
    YOu can find more examples there.
    See the prgrams:
    DEMO_DYNPRO_TABLE_CONTROL_1 Table Control with LOOP Statement
    DEMO_DYNPRO_TABLE_CONTROL_2 Table Control with LOOP AT ITAB
    Regards,
    Ram
    Message was edited by: Ram Mohan Naidu Thammineni

  • Module pool / Screen Prog is there any standard SAP functionality ?

    Hi I am creating a Module pool / Screen Prog. On this screen I have nearly 100 fileds , now I want to take print out of all the information shown on the screen for the same is there any standard SAP functionality ?
    Does SAP provides any standarar ready made functionality for the same. ?

    No, there is no standard functionality for this.  dynpros are not designed to "print out".  This is what list displays are for.  That said, you will need to write your logic to kick off  a list display with all of your field values there,  then the user can print.
    Regards,
    Rich Heilman

  • MODULE POOL / MODULE PROGRAMMING / DIALOGUE PROG.

    Hello to the Experts!!
    I need to know what's the diffrences among
    1.) Module Pool
    2.) Module Programming
    3.) Dialogue Prog.
    If they are different from each other, I want to learn each of them.
    Kindly provide me all the materials to master them.
    Looking forward to your huge responses.
    Thanks!!

    Hi,
    <i><b>I need to know what's the diffrences among
    1.) Module Pool
    2.) Module Programming
    3.) Dialogue Prog.</b></i>
    All the 3 are the same.
    For the docs.
    Refer
    new to module pool program
    http://wiki.ittoolbox.com/index.php/FAQ:What_is_module_pool_program_in_abap%3F
    http://www.thespot4sap.com/Articles/SAP_Design_Dynpro.asp
    check this link:
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCDWBTUT/BCDWBTUT.pdf
    http://help.sap.com/saphelp_40b/helpdata/en/d3/2e974d35c511d1829f0000e829fbfe/applet.htm
    Have a look at these good links-
    http://www.allsaplinks.com/dialog_programming.html
    http://sap.mis.cmich.edu/sap-abap/abap09/
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
    http://sap.mis.cmich.edu/abap-00/
    http://www.allsaplinks.com/files/using_table_in_screen.pdf
    http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
    http://www.sapgenie.com/links/abap.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
    http://help.sap.com
    http://www.sapgenie.com/abap/example_code.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/52/670ba2439b11d1896f0000e8322d00/frameset.htm
    http://www.allsaplinks.com/dialog_programming.html
    http://www.sapbrain.com/TUTORIALS/default.html
    http://www.sappoint.com/abap/spmp.pdf
    http://sappoint.com/abap.html
    http://www.sap-img.com/abap.htm
    http://sap.ittoolbox.com/code/archives.asp?i=10&t=450&a=t
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    http://www.sap-img.com/abap/
    http://www.sap-img.com/
    http://www.sappoint.com/faq/faqdiapr.pdf
    http://www.allsaplinks.com/dialog_programming.html
    http://www.sapgenie.com/abap/example_code.htm
    http://www.sap-img.com/
    http://help.sap.com/saphelp_46c/helpdata/en/08/bef2dadb5311d1ad10080009b0fb56/content.htm
    http://www.sapgenie.com/links/abap.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c9/5472fc787f11d194c90000e8353423/frameset.htm
    http://www.sapdevelopment.co.uk/dialog/dialoghome.htm
    Regards,
    Deepu.K

Maybe you are looking for

  • ACS20001: An error occurred while processing a WS-Federation sign-in response.

    Hey guys, can anyone help with this? I'm trying to access Visual Studio from home, however when trying to log in, i get this error. An error occurred while processing your request. HTTP Error Code: 400 Message: ACS20001: An error occurred while proce

  • Control key no longer works after update.

    After updating Lion the control key no longer works. It beeps when pressing control and then a number key but nothing happens. This is left control key though. Right still works?

  • HT1338 want to upgrade OS X 10.5.8 dont have disk

    I have OS X 10.5.8 and I need to upgrade OS X but dont have my cd Install Waht can I do?

  • Which Audio Interface Please?

    Hi, Looking to buy a audio interface real soon but confused as to which one to purchase from the following list: a) Edirol FA-66 b) Presonus Firebox c) Focusrite Saffire LE Would really appreciate people's opinions on the above - pros/cons, ease of u

  • Collective Display of Material excluded form MRP

    Experts, I am looking for a T-code or report which displays the demands for materials which are set to a specific Sloc & excluded from MRP. I can see the demands for a single material in MD04 but I am looking for a way for a collective display e.g. g