Ansicht
Dokumentation
EXIT_SAPSFMMD_002 - User exit for creating/changing a commitment item in FM area/fiscal year
ABAP Short Reference Fill RESBD Structure from EBP Component StructureThis documentation is copyright by SAP AG.
Functionality
This function module lets you check the commitment item name entered in the FM area and fiscal year
when creating or changing a commitment item in the FM area and fiscal year. You can also, for instance, set values for use in the collective expenditure and set screen fields of the detail screen to display only.
To activate the User-exits the following activities must be executed:
Adjustment of the function module EXIT_SAPSFMMD_002 to the specific requirements
Activation of a customer project with the SAP standard enhancement FMMD0002 (function Project Management of SAP enhancements transaction: CMOD)
The function module EXIT_SAPSFMMD_002 provides the following parameters:
I_IFMPGDY - contains all fields of the structure IFMPGDY
I_ACTION - edit mode: 'I' = Create
'U' = Change
and expects the following return value:
E_F_FMXPP_STD - contains all fields of structure FMXPP_STD
It contains standard fields of the commitment item in
the FM area
E_F_FMXPP_CUS - contains all fields of structure FMXPP_CUS
It contains customer fields of the commitment item in
the chart of commitment items
T_FIELDNAME - can be filled with screen field names, which are only to be displayed on the detail screen.
The exception ERROR_OCCURED is designed for a termination of processing.
The Include ZXFMPU02 must be created and provided with the customer- specific coding for adjusting the function module.
Example
SAP supplies an example program with Include LXFMPF02. This can, if so desired, be copied and adjusted.
Note that the Include ZXFMPTOP must also be created with the item: INCLUDE IHHPLDYH.
Notes
Further information
Parameters
E_F_FMXPG_CUSE_F_FMXPG_STD
I_ACTION
I_IFMPGDY
T_FIELDNAME
Exceptions
ERROR_OCCUREDFunction Group
XFMPBAL_S_LOG - Application Log: Log header data ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 2323 Date: 20240523 Time: 075648 sap01-206 ( 35 ms )