Ansicht
Dokumentation
EXIT_SAPLIHCL_001 - IHCL Customer Include: Default Values for Classes and Characteristics
CPI1466 during Backup TXBHW - Original Tax Base Amount in Local CurrencyThis documentation is copyright by SAP AG.
Functionality
The system calls up this function module when you create a piece of equipment using a material as a template, provided that the material classification data should also be copied over. Assignment to classes and valuation of the characteristics can be influenced.
Process:
- All assignments to classes as well as valuation of the characteristics will be read in the function module PM_CL_COPY_CLASSIFICATION_1.
- Both will be transferred to the function module EXIT_SAPLIHCL_001. The number of the new piece of equipment as well as the material will also be transferred. The following changes should be performed here:
- Removal of classes and characteristics that are not required
- Replacement of the class type of the material classes by the class type for the equipment classes (field KLART). In the standard SAP system, the class type therefore changes from 001 to 002.
- Replacement of the number of classes for the material by the number for the corresponding equipment class (field CLINT). You can find these numbers by using transaction SE16 for table KLAH, for example.
- If differing characteristics are used in the classification of material and equipment, the characteristic numbers (field ATINN) must also be exchanged.
- Setting of the export parameter E_IND_CL_COPY_ACTIVE to 'X' if the adjusted data should also be copied.
- The tables will be evaluated during processing of the classification module CLFM_OBJECT_CLASSIFICATION.
Example
Sample coding
data:
l_kssk_rec like kssk,
l_ausp_rec like ausp.
* Change of class type in the assignments
move: '002' to l_kssk_rec-klart.
modify allocations from l_kssk_rec
transporting klart where klart <> '002'.
* Change of class number
move: '0000060414' to l_kssk_rec-clint.
modify allocations from l_kssk_rec
transporting clint where clint <> '0000060414'.
* Change of class number during characteristic evaluation
move: '002' to l_ausp_rec-klart.
modify values from l_ausp_rec
transporting klart where klart <> '002'.
* Activate the evaluation
move 'X' to e_ind_cl_copy_active.
Notes
Restrictions and comments:
- Classes and characteristics for class types 022 and 023 as well as class types for the variant configuration will not be transferred to the customer exit. Special processing of these class types is not allowed in function modules for copying.
- Only the date can be used to restrict the validity. For this reason, the general validity statement cannot be used.
- Only classes and valuations for a class type can be reset.
- The transfer structures contain the complete record structure of AUSP and KSSK. In this function module, only fields KLART and CLINT may be modified in the assignment structure. In characteristic evaluations, changes can be made to fields ATINN, KLART and the internal valuation.
- The system first evaluates and checks the tables during processing in the function module CLFM_OBJECT_CLASSIFICATION.
Further information
Parameters
ALLOCATIONSE_IND_CL_COPY_ACTIVE
I_DATE_OF_CHANGE
I_SOURCE_OBKEY
I_SOURCE_OBTAB
I_TARGET_OBKEY
I_TARGET_OBTAB
VALUES
Exceptions
Function Group
XIHCLBAL_S_LOG - Application Log: Log header data General Data in Customer Master
This documentation is copyright by SAP AG.
Length: 4194 Date: 20240604 Time: 001732 sap01-206 ( 64 ms )