Ansicht
Dokumentation

EXIT_SAPLFMDT_001 - FMDERIVE Customer User Exits

EXIT_SAPLFMDT_001 - FMDERIVE Customer User Exits

BAL Application Log Documentation   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module is a component of the SAP enhancement SAPLFMDT, a User Exit for the step-rule type Enhancement specifically designed for the FM Derivation Tool. The EXIT_SAPLFMDT_001 provides the following parameters:

  • IMPORTING PARAMETERS:

I_ENVIRONMENT Contains the value 'SAP'.

I_DERIVATION_DATE Contains the Derivation Date (e.g. posting date).

I_STEP_ID Contains the user-defined step ID. The USER-EXIT is

used by all step rules and the step ID number should

be used to correctly link to the USER-EXIT.

I_FMDERIVE_SOURCE Structure FMDERIVE that contains values that are used

as source fields following the step-rule.

  • EXPORTING PARAMETERS:

E_FMDERIVE_TARGET Structure FMDERIVE that should return the values

that are used as target fields following the

step-rule.

E_EXIT_IS_ACTIVE Flag to indicate when the USER EXIT is active ("X")

E_FAILED Flag to indicate whether the USER-EXIT failed to

derive the values.

  • EXCEPTIONS:

DERIVED_FAILED: Indicates whether the derivation failed.

Example

You have to create the Include ZXFMDTU01 and maintain your user-defined coding.

*--- each step-rule has specific processing.

case I_step_id.

WHEN '001'.

E_EXIT_IS_ACTIVE = 'X'.

WHEN '2'.

E_EXIT_IS_ACTIVE = 'X'.

WHEN OTHERS.

E_EXIT_IS_ACTIVE = SPACE.

ENDCASE.

Notes

If you have more than one step-rule type enhancement (transaction FMDERIVE), you should consider maintaining a different value for the step ID number. That is the only way you can have different processing for each step rule. In addition, you should not forget to set the value of the export parameter E_EXIT_IS_ACTIVE = 'X'.

Further information

Enhancement documentation for SAPLFMDT

Function module documentation EXIT_SAPLFMDT_002





Parameters

E_EXIT_IS_ACTIVE
E_FAILED
E_FMDERIVE_TARGET
I_DERIVATION_DATE
I_ENVIRONMENT
I_FMDERIVE_SOURCE
I_STEP_ID

Exceptions

DERIVATION_FAILED

Function Group

XFMDT

Fill RESBD Structure from EBP Component Structure   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 2717 Date: 20240523 Time: 063934     sap01-206 ( 38 ms )