SAP ABAP IMG Activity SIMG_OLPF_SMOD_CREAT (Enhancement when Creating an Order)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   PP-SFC-PLN (Application Component) Order Planning
     CO0C (Package) Application Development ERP Customizing Orders
IMG Activity
ID SIMG_OLPF_SMOD_CREAT Enhancement when Creating an Order  
Transaction Code S_ALR_87004249   IMG Activity: SIMG_OLPF_SMOD_CREAT 
Created on 19981222    
Customizing Attributes SIMG_OLPF_SMOD_CREAT   Enhancement when creating an order 
Customizing Activity SIMG_OLPF_SMOD_CREAT   Enhancement when creating an order 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SIMG_OLPF_SMOD_CREAT    

To predefine fields in the order header when creating production orders there is the following SAP enhancement available:

  • PPCO0006 Enhancement to predefine fields in order header

With this enhancement you can take fields from the order header in your own programm and process them or define values for them and transfer the changed data again to the standard system. The transfer to the system takes place before you reach the order header screen. All processed or predefined fields can still be changed on the header screen.

The enhancement PPCO0006 contains the following enhancement components:

Function exits:

EXIT_SAPLCOZF_003 Exit for predefining fields in order header

The fields in the order header (structure CAUFVD) are placed in the function exit. All the fields that you can define or change are defined in the structure HEADER_CUST. The contents of HEADER_CUST is transferred back to CAUFVD on leaving the function exit.

Activities

  1. Create the enhancement.
    Either create a new project or use an existing project.
  2. Process the enhancement component:

    Extend the program coding for the function exit EXIT_SAPLCOZF_003. It copies data from the SAP standard program to the individual part of your program and later copies you data back to the SAP standard program. If certain fields in the structure are already filled during the import in the enhancement carefully check the effect of changing a field (if in doubt leave the contents defined by SAP unchanged).

    Call up the function module and double-click on the include line. Create the include module. If you define internal work structures you should always do this using ABAP language elements LIKE so that later structure enhancements from SAP do not lead to changes in your coding.

  3. Activate the project.
    The enhancement does not take effect until you activate the project.

Further notes

As opposed to modifications, enhancements are can always be released, as they are made in a name range that is reserved for customers, rather than in the SAP original.

You can find the general procedure for creating enhancements in the enhancement transaction in the menu Tools -> Online manual.

Every enhancement has its own documentation. You can find this documentation using the print key Create SAP docu in the enhancement transaction.

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG SIMG_OLPF_SMOD_CREAT 0 HLA0009525 Production Orders 
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
CMOD L - Logical transport object CMOD OLPF_006 Customer enhancement projects 
History
Last changed by/on SAP  19981222 
SAP Release Created in