Ansicht
Dokumentation

/SPE/RET_CHECK_ERROR_IDOCS - FM to check if Idoc has Error status

/SPE/RET_CHECK_ERROR_IDOCS - FM to check if Idoc has Error status

ABAP Short Reference   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module checks if the IDoc for delivery entered has errors. This function module performs the following checks :

  • Select all the outbound IDocs with message type RETINS and status as ERROR.
  • Search for the particular data record with the specified delivery number (VBELN), for all the IDocs selected from above.
  • Set the EV_FOUND indicator as X (for further processing of delivery and sending it to SAP ICH), if the entry is found.

Example

Notes

Further information





Parameters

EV_FOUND
IV_DIRECT
IV_MESTYP
IV_SEGMENT
IV_VBELN_FIELD
IV_VBELN_VALUE

Exceptions

NO_DATA_FOUND

Function Group

/SAPLRET_ERROR_CORR

Fill RESBD Structure from EBP Component Structure   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 1002 Date: 20240419 Time: 002823     sap01-206 ( 33 ms )