Regarding standard menu in module pool... have ur point.s

Hi all,
I wanna copy stanadard status to my module pool program. Could u pleas help me for that...
<b>have ur points..</b>
Regards,
[email protected]

Hi Pradeep,
Goto SE41--> give the prog name SAPLKKBL and select the Status Radio button and give STANDARD
now press Ctrl+F6 which prompts you a new dialog to enter your desired prog name and status name. give in teh program name and enter a status name, which copies the standarad status to your program.
now in your program set the status using the statement
set pf-status 'NEW_STANDARD'.
Regards
Gopi

Similar Messages

  • Standard menu in module pool.....take ur points.

    Hi all,
    I want to use standard menu in my Module pool program. Pleas tell me the way for that?
    I tried in SE41 by copying status from SAPLKKBL, menu is should but <b>buttons are not working</b>.
    Pleas help me.
    <b>Have ur points.</b>
    Regards,

    I assume u have copied the PF STATUS and used SET PF-STATUS in the PBO of the screen.
    Now in the menu painter - u can view the Function Codes attached to each and every ICON/Button. In the PAI of the screen - u can handle the User commands.
    data : fcode TYPE SY-UCOMM.
    CASE FCODE.
      WHEN 'BACK'.
      WHEN 'CANC'.
    ENDCASE.
    In the Screen painter attach this variable FCODE to the OK code ( Go to Element list tab).
    This will solve ur problem.

  • Reg. POV in module pool---have ur points...

    Hi all,
    I m trying to use POV event in module pool, I wrote
    PROCESS ON VALUE-REQUEST.
    FIELD ZPHOGAT-ROLLNO MODULE ABC.
    Here in module ABC is wrote 'break-point'. when i click on F4 help of that field i my break-point is not getting executed.
    Pleas help me out...
    Have ur point.s
    regards,

    First make sure everything is compiled, then try an extended check on the main program to make sure you have your variable names, module pool name etc etc synchonised (in case you have a typo in the module or variable name)... then try changing your break-point for "message s398(00) with 'This is my POV' space space space." or something similar.

  • How To Create Context Menu In Module Pool

    Moderator message: do not offer points
    hello guru's
    Please help me regarding creation of context menu in MODULE POOL Programming.
    pleaase send me link or procedure to create it.
    <<text removed>>
    waiting for reply
    Edited by: Matt on Feb 20, 2009 3:13 PM

    Do a search first:
    [link1|context menus;
    [link2|http://help.sap.com/saphelp_nw04/helpdata/en/e2/5d3bb2e06411d295a900a0c94260a5/frameset.htm]
    etc. etc.

  • Regarding F4 help in Module pool Programming

    Hi folks,
          I have created a Screen in Module pool. I have to attach a F4 help for a field. I did that using the Function Module 'F4IF_INT_TABLE_VALUE_REQUEST'. Its working fine, but the when i click the value in the window, correct field value is not coming to the screen field. I have to get the value of first field in that window, but the value of the last field is coming to the screen. I have cheked the return table in debugging. It getting the value of last field, but not the first field. I have given the correct field value in the retfield parameter. Can any body suggest me why its not coming..
                                  Thanks and Regards,
                                  Shyam.

    Hi Ramachander,
               I have already passed 'S' to value_org.
    Please find my source code below.
    MODULE set_hodf4 INPUT.
      MOVE 'IT_HODF4-DEPTID' TO iretfield.
      REFRESH it_hodf4.
      SELECT DISTINCT deptid
                      bukrs
                      werks FROM zmm_ktph_hodmail INTO TABLE it_hodf4.
      DESCRIBE TABLE it_hodf4 LINES my-tfill.
      CASE my-tfill.
        WHEN '0'.
    * No & entries found.
          MESSAGE i005.
        WHEN OTHERS. "Get F4 help
          CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
            EXPORTING
    *    DDIC_STRUCTURE              = ' '
              retfield               = iretfield
    *   DYNPPROG               = ' '
    *   DYNPNR                 = ' '
    *   DYNPROFIELD            = ' '
             window_title           = c_hod
             value_org              = 'S'
             display                = 'F'
    * IMPORTING
    *   USER_RESET             =
            TABLES
             value_tab              = it_hodf4
             return_tab             = f4_hod
           EXCEPTIONS
             parameter_error        = 1
             no_values_found        = 2
             OTHERS                 = 3
          IF NOT f4_hod[] IS INITIAL.
            MOVE f4_hod-fieldval TO zmm_ktph_hodmail-deptid.
          ENDIF.
      ENDCASE.
    ENDMODULE.                 " set_HODf4  INPUT
    Thanks,
    Shyam.
    Code Formatted by: Alvaro Tejada Galindo on Dec 26, 2008 10:33 AM

  • Regarding exit from the module pool screen

    h experts,
    i have developed a module pool report in which in the selection screen i have four fields which are mandatory ,when i execute the program without entering in the selection screen it do not allow to come out of the module pool screen ...what i want that without entering any input in the selection screen if i press exit button push button it will allow to come out of the screen for this what sud i do plz help me....

    Hi
    keep a button called <b>EXIT</b> on the screen
    Make the function type of that field as <b>E</b>
    in Flow logic write
    PROCESS AFTER INPUT.
    Forced Exit from the transaction from screen
      MODULE exit AT EXIT-COMMAND.
    double click on exit module and
    then in PAI write
    *&      Module  exit  INPUT
    Exit from the Transaction
    MODULE exit INPUT.
      CASE okcode.
        WHEN 'EXIT' OR 'CANCEL'.
          CLEAR okcode.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.                 " exit  INPUT
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Reusing Standard Classes for Module pool Programming using Abap Objects

    Hi.,
        I debugged the ME21n transaction and found a number of classes such as
             CL_BASIC_MODEL_VIEW_MM
             CL_GENERIC_MODEL_VIEW_MM
             CL_GENERIC_VALUE_MODEL_MM
             CL_MODEL_CONTAINER_MM
             CL_MODEL_CONTROL_VIEW_MM
             CL_MODEL_VIEW_MM
             CL_TABLE_MODEL_MM
             CL_TABLE_MODEL_TREE_VIEW_MM
             CL_VALUE_MODEL_MM
             CL_VALUE_MODEL_VIEW_MM
             CL_BASIC_MODEL_VIEW_MM
            CL_COMPOSITE_SCREEN_VIEW_M
            CL_CUSTOM_CONTROL_VIEW_MM
            CL_EXPAND_BUTTON_VIEW_MM
            CL_EXPAND_VIEW_MM
            CL_FOREIGN_APPLICATION_VIE
            CL_GENERIC_MODEL_VIEW_MM
            CL_GRID_VIEW_MM
            CL_MODEL_CONTROL_VIEW_MM
           CL_MODEL_VIEW_MM
           CL_SCREEN_VIEW_MM
          CL_SETUPVIEW_BUILDER_MM
            CL_SIMPLE_TREE_VIEW_MM
             CL_TABLE_MODEL_TREE_VIEW_M
             CL_TABLE_VIEW_CONTAINER_MM
             CL_TABLE_VIEW_MM
             CL_TABSTRIP_VIEW_MM
             CL_TC_BUTTON_VIEW_MM
             CL_TC_ITEM_VIEW_MM
             CL_TOGGLE_VIEW_MM
             CL_VALUE_MODEL_VIEW_MM
             CL_DEFAULT_CONTROLLER_MM
             CL_CONTROLLER_MM
             CL_ATP_CONTROLLER_MM
             CL_DRAG_DROP_CONTROLLER_MM  ..
                   How we can reuse these classes to build a custom module pool program which supports MVC architecture as used in enjoy SAP transactions .I am very much confused from where to start .
    Guide me on this.I want to create a simple module pool program with Subscreens, Table Controls and Tabstrips ..
    Regards.,
    S.Sivakumar

    Have you got any solution on this.
    because i want to use CL_GRID_VIEW_MM->handle_on_data_changed for one of my development related to ME51N.

  • Regarding screen flow in MODULE POOL

    Hi everyone,
                          my requirement is to cretae a module pool program. In between a program is submitted VIA  a selection screen. That selection screen contains PUSH BUTTONS. If any push button is clicked one of the dialog screens of the module pool program should be called. Can any one tell me how can this be done.
    Thanks in advance.
    Regards,
    Y.Gautham

    write a Module in PAI of ur screen and call which ever screen u want to call or leave.
    for e.g -
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.
    module USER_COMMAND_0100 input.
    case ok_code.
    when 'ENTER'.
    clear ok_code.
    leave to screen 200.
    endcase.
    endmodule. " USER_COMMAND_0100 INPUT

  • Regarding selection-screen in module pool

    hi
    experts,
    i am having doubt in module pool programing...
      i want create selection screen(pop screen with field)  in modulepool., before the display screeen deatils
    ex :   if i want display the   record   details  for  that particular
    record number.......
    while  i am click on display..
      pop-up-selection screen will come  with record number field..
    i f enter the record no, display s the  details...
    Ananand

    Please see Rich's answer here:
    [Dialog programming - How to place a select-option field in a dialog screen;
    Rob

  • How can i embed Area menu in module pool screen

    Hi All,
    I developed a module screen 100 now i have to call area menu in a container can you please help me in this issue or if i am wrong in this way can you please suggest which approach will full fill this requriement.
    Manohar

    dfgdfg

  • Regarding TABLE CONTROL IN MODULE POOL

    Hi all,
         I have implemented a table control in a custom transaction . In the PBO of the code I have moved the internal table data to the  screen fields similarly in the PAI of the screen I have moved the screen data to the interanal table and iam modifying the internal table every thing is working fine till here but when I press the down arrow of the vertical scroll bar of the table control then the line item which the user has changed recently on the screen is overwriting the remaining records of the internal table and as a result the tablecontrol lines on the screen are also being overwritten by that record please help me in resolving this issue.....is there any solution to handle the scroll bar and as well the cursor position .

    Hi,
    For the vertical scrool bar F.code is space..
    so In pai of ur screen..
    If sy-ucomm = ' '  or sy-ucomm = 'ENTER'.
      modify it_data index tc-current_line.( so what evr u enter in the Table        control ,correponding changes will be captured to ur internal table)
    endif.
    I hope this works for ur situation..

  • What is module pool programming?how we can change the standard screen?

    Hi EXPERTS
    what is module pool programming?how we can change the standard screen using module pool programming ?
    please explain with example.

    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
    http://www.geocities.com/ZSAPcHAT
    http://www.allsaplinks.com/files/using_table_in_screen.pdf
    http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/content.htm
    http://www.sapdevelopment.co.uk/dialog/dialoghome.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
    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
    http://www.geocities.com/ZSAPcHAT
    http://www.allsaplinks.com/files/using_table_in_screen.pdf
    regards,
    venkat.

  • 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

  • Module Pool SAPZPS01

    Hi Experts,
        I've a module pool program 'SAPZPS01' in SAP 4.7. It's naming convention seems to be different from the common naming convention used.
      I want to create this program in ECC 6.0 but it's asking for Object access key...
    Any help is appreciated...
    Thanks and Regards,
    Rudresh

    Hi,
    naming convention  for module pool is as follows:
    SAP R/3 Requirements:
    Module Pool Screen names must begin with ‘SAPMY’ or ‘SAPMZ’ and can be a maximum of 8 characters long.
    Standard Format:
    Screen module pool names should begin with SAPMZ followed by a 1 character functional descriptor.  The last 3 digits of the name should be a unique alphanumeric identifier.
    Regards ,
    Sooness

  • Reg. module pool....have ur points..

    Hi all,
    In module pool programming, we see "MODULE CANCEL AT EXIT-COMMAND" in PAI. Pleas let me know the meaning of this in simple language.....
    <b>n Have ur points.</b>

    Hi,
    AT EXIT-COMMAND, only checks for the function code which is marked as 'E' in PF-STATUS, and the module below that is executed whenever you press that key associated with the function code.
    AT USER-COMMAND, works for all keys with function-code.
    So if you press F3, which is BACK and is usually associated with 'E' , and if you have both AT EXIT-COMMAND and AT USER-COMMAND, module below AT EXIT-COMMAND will be executed.
    MODULE
    Syntax
    MODULE mod [ AT {EXIT-COMMAND|CURSOR-SELECTION} ]
    [ ON {CHAIN-INPUT|CHAIN-REQUEST} ].
    ... AT EXIT-COMMAND
    Effect
    Addition AT EXIT-COMMAND at the event PAI causes module mod to be called exactly if:
    The function used to trigger event PAI has function type "E"
    Into the input field of the standard toolbar, the user entered a character string starting with "E" and confirmed it using ENTER.
    The dialog module is called before the automatic input checks defined in the system or in the ABAP Dictionary and independent of its position in the event block. The only screen field transported to the ABAP program is the OK field. If the function that triggered the PAI event does not fulfill any of the above prerequisites, the MODULE statement is not executed.
    If several MODULE statements have the AT EXIT COMMAND addition, only the first one is executed. If no MODULE statement has the addition AT EXIT COMMAND, a normal PAI processing is executed: The predefined input checks are executed and then the PAI event block is processed sequentially. Provided the screen processing is not terminated in the dialog module mod, after the return from the dialog module, the complete PAI processing is executed. You must not use the addition AT EXIT COMMAND in connection with the statement FIELD.
    Note
    The function type of a function is determined in the Screen Painter or Menu Painter. Usually those functions of the user interface are defined with function type "E" that are assigned to the icons Back, Exit and Cancel in the standard toolbar of the GUI status. Therefore, the called dialog module should terminate the screen processing and allow security checks, if required.
    reward if it helps..
    Regards,
    Omkar.

Maybe you are looking for

  • How to program for sync mode batch and immediate

    Hello, I have a program that should run in both sync modes (immediate and batch). The first one works well but when switching to batch I've got a lot of exceptions. So my first question is if it is possible to write a program that runs in both modes.

  • Ipod just stopped working

    I have an older Ipod nano. I unplugged it from the charger and the screen was black. I have tried charging it more than once since then. Will not charge in the wall or conncted to my computer. Also tried to connect it to the itunes on my computer but

  • How to avoid seriously bad behaviour in 11g ODBC reading TIMESTAMP fields?

    Hi everyone. I thought that we'd got past all the TIMESTAMP related problems in the ODBC driver, but here is another one! I have a problem which I'd like to share, hoping that someone has an idea why this happens... I have an expensive workaround, bu

  • After portal copy "connection refused" for SAP transactions

    Hi. We made a system copy of Portal and executed all follow up tasks. We already changed systems alias properties and tested connections. All is working except SAP transactions functionality. When we try to use, we always get message: patner '10.0.0.

  • Blackberry Calendar Syncing Problems

    Hello All, I have a BB Curve 8900 with Desktop Manager 4.7 installed, and I'm trying to sync the BB calendar (a bunch of stuff in it) to an Outlook 2003 calendar (Empty).  When I try to sync it only syncs new items that I created for testing but it w