Fonction SAP BAPI_CLEAR_CASE_GET_DETAIL - Data Cleansing Tool: Read Details of a Data Cleansing Case

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CLEARINGCASEGUID BAPIBUS2132_CLEAR_CASE_KEY-CASE_GUID C 32 X Data Cleansing Case: Globally Unique Identifier
CLEARINGCASENUMBER BAPIBUS2132_CLEAR_CASE_KEY-CASE_NUMBER C 10 Data Cleansing Case: Case Number

Paramètre Reférence Type Long. Description
CLEARINGCASEDATA BAPIBUS2132_CLEAR_CASE_DATA u 90 Cleansing: Data of a Cleansing Case

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 Return parameter table
TARGETLIST BAPIBUS2132_TARG_DATA 126 X Data Cleansing: Data of Target Object List (for Initial Creation)

Functionality
BAPI method for reading the data for a data cleansing case.
The method returns the general data for a certain case, as well as itstarget object list.
Parameter:
ClearingCaseNumber (entry parameter)
Key (number) of the data cleansing case
ClearingCaseData (return parameter)
General data for a particular data cleansing case.
Alongside the key, this is:
CASE_TYPE - case type, see fixed value
APPLICATION - application, according to value table TBZ5B
SOURCE - Source of the data cleansing case. Here, for example, the nameor a data provider or of a search program that was used can be found.
ADMINISTRATOR - Responsible processor
NOTE - Note/Comment
[BUFFERED_DATA - Indcator for the relevant application, that the targetobjects are not to be found in the orginal tables, but rather in shadowtables. At present the field is not being used actively by anyapplication.
PRIORITY - Priority (of the processing)
STATUS - Status of the processing
TargetList (return parameter)
List of the target objects
Return (return parameter)
List of error messages
data: lv_clearing_case_number
type BAPIBUS2132_CLEAR_CASE_KEY-CASE_NUMBER,
lt_target_list type table of BAPIBUS2132_TARG_DATA,
ls_clearing_case_data type BAPIBUS2132_CLEAR_CASE_DATA,
lt_results type table of bapiret2.
lv_clearing_case_number = 1.
CALL FUNCTION 'BAPI_CLEAR_CASE_GET_DETAIL'
EXPORTING
CLEARINGCASENUMBER = lv_clearing_case_number
IMPORTING
CLEARINGCASEDATA = ls_clearing_case_data
TABLES
TARGETLIST = lt_target_list
RETURN = lt_results.
if not lt_results is initial.
* insert error handling here
else.
* do something with ls_clearing_case_data/lt_target_list
endif.

Description
Central, administrative data of the data cleansing cases that are to becreated.
Table with one entry per case.

Description
Globally Unique Identifier (GUID) of a data cleansing case.
The GUID can be used as an alternative to the local case number foridentification.

Description
Case number
Number of the data cleansing case in the local system.
Alternatively, the parameter ClearCaseGuid can also be used foridentification.

Description
Results table (for error messages)

Default
Empty

Description
Target Object List
A complete list with subsets per clearing case. Whether or not thetarget objects belong to a particular clearing case (ClearingCaseData)is determined using the ClearingCaseNumber.