SAP ABAP IMG Activity OMT3C (Create Program for Customized Subscreens)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-MD-MM (Application Component) Material Master
     MGAC (Package) Customizing R/3 material master from 3.0
IMG Activity
ID OMT3C Create Program for Customized Subscreens  
Transaction Code S_ALR_87099903   (empty) 
Created on 19990326    
Customizing Attributes OMT3C   Create Program for Customized Subscreens 
Customizing Activity OMT3C   Create Program for Customized Subscreens 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SIMG_CFMENUOLMSOMT3C    

In this IMG activity, you can create a function group of your own by copying function group MGD1 (for industry) or function group MGD2 (for retail). The subscreens are not copied, except for two subscreens which are copied for technical reasons. You can use this copy to create subscreens of your own which you can assign to a data screen in the activity Define Structure of Data Screens for Each Screen Sequence.

Requirements

Be sure to read the program documentation first.

Activities

  1. Create a function group of your own by choosing Execute.
  2. Enter a name containing up to 25 characters, beginning with the letter Y or Z, and choose Save.
  3. Access the Object Navigator.

    You do this from the SAP standard menu by choosing Tools -> ABAP Workbench, and then Object Navigator.

  4. Display either program SAPLMGD1 (industry) or SAPLMGD2 (retail) as required.
  5. Copy the subscreens as required, ensuring that they already contain as many as possible of the field names you want to use in your function group. You do this as follows:
    1. Choose Screens, position the cursor on the corresponding subscreen, and choose Copy in the context menu.
    2. Enter the program to which you want to copy the subscreen, prefixing it with SAPL, and enter a screen number. Use the screen number of the original subscreen where possible. If the F1 help is specific to a particular subscreen, this ensures that this context-specific help continues to be displayed.
    3. Example
      You have called your function group YENTERPRISE, to which you want to copy subscreen SAPLMGD1 2301. Enter SAPLYENTERPRISE as the program to which the subscreen is to be copied, and enter (preferably) 2301 as the screen number.
  6. Return to the initial screen of the Object Navigator and display your program. In the example above, you would enter SAPLYENTERPRISE.
  7. Choose Update object list.
  8. Select the subscreen you have copied and activate it by choosing Activate in the context menu.

    Using the Screen Painter, you can remove fields you do not require on the subscreen or include additional fields from other subscreens (see the ABAP Dictionary). For information on the Screen Painter, see the SAP library documentation BC ABAP Workbench Tools.

    Points to consider when removing or adding fields

    • Make sure that a field statement exists for each field on the subscreen since data may not otherwise be transported correctly. You can use subscreen SAPLMGD1 2002 as an example.
    • For the fields you have added, include any check modules and modules for self-programmed F4 help that are called up for these fields on the original subscreen. You can do this by displaying the flow logic for the original subscreen and searching for such modules. They normally have the same names as the fields themselves. When you find a module, copy the corresponding module call to your subscreen.
    • If you change the order in which fields are transported that are checked together in the flow logic (such as the safety stock and minimum safety stock), you must deactivate the check module for the first field and activate it for the second. The system would otherwise transport the first field, and carry out the check before the second field is transported.
    • Any error messages that fields are unknown when activating the subscreen are due to the fields still being included in checks, even though you have removed the fields from the subscreen. Search for the fields in the source code and make the lines in which they appear comment lines. Then reactivate the screen.
  9. Assign the subscreen to a data screen as required.

Note on transport

Use the Workbench Organizer to transport the copy you have created.
Proceed

Business Attributes
ASAP Roadmap ID 203   Establish Master Data 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
IMGDUMMY D - Dummy object OMT3C  
History
Last changed by/on SAP  20011102 
SAP Release Created in