Start of Content Area

Procedure documentation Mass Processing: Customer Exits Locate the document in its SAP Library structure

Use

You can specify your own customer class in the mass processing job in order to support customer exits.

Prerequisites

·        Your class must implement the interface IF_EX_WTY_MASS_PROCESSING

·        This class must already exist when you create the mass processing job

Procedure

       1.      Create the global class that implements interface IF_EX_WTY_MASS_PROCESSING.

       2.      Optional: define data elements for the parameters of the mass processing job

       3.      Optional: create a DDIC structure that contains fields of the type defined in step 2, or use data elements that already exist.

       4.      Define a mass processing job.

                            a.      In the Global Job Parameters screen of the Job Wizard, enter the name of the class in the field Customer-Spec. Class.

                            b.      In the Job Parameters screen of the Job Wizard, define your own parameters.

                            c.      Define a selection screen and at least one standard operation.

                            d.      Optional: add at least one other operation (call customer exit).

       5.      Add an instance variable of the type defined in step 3 to your class.

       6.      Implement the method INITIALIZATION. Enter coding that adds the parameter IS_PARAMETERS to the instance variable from step 5. Optional: add coding that modifies the parameter CT_RANGES.

       7.      Implement other methods of the interface. Add logic that conditionally returns SKIP, SKIP_OPERATION or ABORT. Use the method CLAIM_READ_BUFFER to get claim data.

       8.      In the implemented methods, write coding that adds messages to the execution log.

       9.      Implement VALIDATE_FIELD_VALUE and VALIDATE_CONDITION_VALUE with checks on field values and condition values. If the checks fail, use the command MESSAGE ... RAISING VALIDATION_FAILED.

   10.      Implement your own logic in the method CUSTOMER_EXIT_OPERATION.

   11.      Optional: set breakpoints in the implemented methods.

   12.      Execute the mass processing job.

 

Note

Interface IF_EX_WTY_MASS_PROCESSING is documented in the system.

 

 

 

 

End of Content Area