Ansicht
Dokumentation

SIMG_LTRM_USEXIT014 - Modify Verification Profile Definition and Values

SIMG_LTRM_USEXIT014 - Modify Verification Profile Definition and Values

BAL Application Log Documentation   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

This Business Add-In (Add-In) is used in the Task and Resource Management (LE-TRM) component.

This Add-In enables you to modify verification profile checks that are executed for a specific execution step.

Before the physical screen is displayed, the verification profile for the corresponding logical step is determined according to your settings in IMG activity Define Control Screen Layout. A standard verification profile supports five verification fields with corresponding services.

This Add-In can be used to do the following:

  1. Add new verification fields in addition to the standard verification fields
  2. Change the verification procedure for the standard verification fields. For example, if you want to verify the material by EAN, but some materials are lacking EAN labels, you can define another value that will be used for verification in those cases, such as the value of the bin.

The Add-In refers to the following data:

  • Logical transaction name
  • Transaction step name
  • Display profile
  • Worklist (tasks with corresponding data from the host)

The Add-In returns the following:

  • In the case of errors when processing new verification fields, the corresponding application field name that can be used in the error message text
  • In the case of specific verification procedures, the new verification value compared to the user-entered value

If you want to verify an additional field, such as a batch, execute the following steps :

  1. Add a new verification field next to the application field to be verified
    (refer to Add-In LMBP_WKLS_POST_PROCS ).
  2. Add a verification value for this field in the Add-In.
  3. Compare the defined verification value with the user-entered value.

In the case of an error, the Add-In returns the application field name to be displayed in the error message.

If you want to use a user-defined verification procedure, a new verification value must be defined in the Add-In. The verification value is processed in the standard way.

After you have called the IMG activity, proceed as follows:

  1. In the following dialog box, enter in the field "Implementation" a name for the BAdI implementation and choose Copy.
If implementations have already been created for the BAdI, a dialog box with the existing implementations will be displayed. In this dialog box, choose Create.
  1. In the corresponding field, enter a short text for implementation .
  2. In the tab Propertiesenter filter properties - if this is a filter-dependent BAdI.
  3. Choose the tab Interface.
The name of the implementing class is generated by the system based on the name of your impmlementation. You can change the name.
If the BAdI is a menu exit, the tab FCodes also appears.Enter a function here and, if necessary, additional data.
  1. Save your entries and assign a package.
  2. Position the cursor on a method. Call up the Class Builder by double-clicking it.
  3. Between the statements method <Interface-Name>~<Name of Method>. and endmethod, enter the coding you request for the implementation.
  4. Save and activate your coding, and navigate back to the screen Change Implementation.
  5. Save on the screen Change Implementation.
Note: You can first create an implementation for the BAdI and then activate this later on. In this case, close the processing function at this time.
  1. Choose Activate.
When the application program is executed, the coding you have created will be run.






BAL Application Log Documentation   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 4757 Date: 20240523 Time: 193532     sap01-206 ( 60 ms )