Ansicht
Dokumentation
EXIT_SAPSFMMD_018 - User exit for copying commitment items
rdisp/max_wprun_time - Maximum work process run time General Data in Customer MasterThis documentation is copyright by SAP AG.
Functionality
This function module enables you to change values in the data records of commitment items to be exported or to add new data records.
You have to execute the following activities to activate the enhancement:
- Adapt the function module EXIT_SAPSFMMD_018 to the specific requirements
- Activate a customer project with the SAP standard enhancment FMMD0018 (Function Projekt Management of SAP Enhancments Transaction: CMOD)
The function module EXIT_SAPSFMMD_018 provides the following parameters:
- T_FILE_ENTRIES - Table with the data records to be exported
- The exception ERROR_OCCURED is planned for cancelling processing.
To adapt the function module, you have to create the Include ZXFMCIU05 and provide it with customer-specific coding.
Example
*---------------------------------------------------------------------*
* INCLUDE ZXFMCIU05 *
*---------------------------------------------------------------------*
*-----structure of commt item
DATA: L_F_FMCI_BI_A LIKE FMCI_BI_A,
*-----structure of long text
L_F_FMCI_BI_B LIKE FMCI_BI_B,
*-----structure of net voting assignments (only local auth.)
L_F_FMCI_BI_D LIKE FMCI_BI_D.
LOOP AT T_FILE_ENTRIES.
CASE T_FILE_ENTRIES(1).
*----------master data and text (name, description..)
WHEN 'A'.
MOVE: T_FILE_ENTRIES TO L_F_FMCI_BI_A
...
MODIFY T_FILE_ENTRIES FROM L_F_FMCI_BI_A.
*----------long text
WHEN 'B'.
MOVE: T_FILE_ENTRIES TO L_F_FMCI_BI_B.
...
MODIFY T_FILE_ENTRIES FROM L_F_FMCI_BI_B.
*----------net voting assignments (only local auth.)
WHEN 'D'.
MOVE: T_FILE_ENTRIES TO L_F_FMCI_BI_D.
...
MODIFY T_FILE_ENTRIES FROM L_F_FMCI_BI_D.
*----------wrong record type
WHEN OTHERS.
RAISE ERROR_OCCURED.
ENDCASE.
ENDLOOP.
Notes
Further information
Parameters
T_FILE_ENTRIESExceptions
ERROR_OCCUREDFunction Group
XFMCIGeneral Material Data TXBHW - Original Tax Base Amount in Local Currency
This documentation is copyright by SAP AG.
Length: 2783 Date: 20240523 Time: 053919 sap01-206 ( 30 ms )