Ansicht
Dokumentation

IDREPFW_EVENT_SAMPLE_2020_EMPT - Sample Event: Cross-Reference Checks + Allow Empty Lines

IDREPFW_EVENT_SAMPLE_2020_EMPT - Sample Event: Cross-Reference Checks + Allow Empty Lines

Addresses (Business Address Services)   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This sample function module is defined for event 2020 (Cross-Reference Checks), and is used to compare value pairs during the cross-checking process to ensure data consistency.

This function module is called together with event 0090. The two events together collect the status of the cross-checking process, which runs when the report output is generated. You can display the statuses using the Protocolpushbutton. The traffic lights have the following meaning:

  • The red traffic light indicates that an error occurred while checking data consistency and the process is terminated.
  • The green traffic light indicates that no error was found while checking data consistency and the process completed successfully.

Example

Notes

For the value cross-check, you need to define cross check rules for data comparison using the Define Cross-Check Rules Customizing activity.

In event 2021 (Cross-Ref. Checks: Report Comparison) the function module enables the system to display a dialog box where you can enter the stored report run ID whose data you want to compare with the cross-check rule to the right side of the comparison.

Further information





Parameters

CT_RETURN
IS_REP_KEY_L
IS_REP_KEY_R
IT_CRC_REPCOMP
IT_RUN_SECT_L
IT_RUN_SECT_R

Exceptions

Function Group

IDREPFW_EVENT_SAMPLE

PERFORM Short Reference   General Material Data  
This documentation is copyright by SAP AG.

Length: 1765 Date: 20240523 Time: 054350     sap01-206 ( 37 ms )