Using the Completeness Check APIs in the Parent Data Object
Procedure
- Call CREATE_COMPLETENESS_CHK to create a check ID for each of the parent data object instances participating in the completeness check.
Parameter Type
Parameter Name
Data Type
Importing
IT_INSTANCES ->EXTRACTKEY
SMMW_GUID
Importing
IT_INSTANCES ->DOE_TIMESTAMP
TIMESTAMPL
Importing
IV_SKIP_EXISTENCE_CHECK
SMMW_FLAG
Importing
MARK_ROOT_COMPLETE
SMMW_FLAG
Exporting
EV_CHECK_ID
SMMW_GUID
Exporting
ET_ERRLIST
SMMW_ERRS_LIST_T
Exporting
ET_RETURN
BAPIRET2_T
- Call ATTACH_TO_COMPLETENESS_CHK to attach the instances of the child data objects that are participating in the completeness check.
Parameter Type
Parameter Name
Data Type
Importing
IT_INSTANCES ->EXTRACTKEY
SMMW_GUID
Importing
IT_INSTANCES ->DOE_TIMESTAMP
TIMESTAMPL
Importing
IT_INSTANCES ->CHECK_ID
SMMW_GUID
Importing
IV_SKIP_EXISTENCE_CHECK
SMMW_FLAG
Importing
IV_HIERARCHY
INT2
Exporting
ET_ERRLIST
SMMW_ERRS_LIST_T
Exporting
ET_RETURN
BAPIRET2_T