Ansicht
Dokumentation

DTL_MT_DBSIZE_CALC - API to check the DB size of the Receiver system

DTL_MT_DBSIZE_CALC - API to check the DB size of the Receiver system

Addresses (Business Address Services)   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This is a DTL function which is used in CMIS context.

,,This API schedules a batch job for the report DMC_MT_DBSIZE_CALC, which gives information about how ,,much space is needed in the receiver system for a data transfer, assuming that all data of the sender system of ,,the specified client (rfc destination) should be transferred.

It can be called in 3 different modes (input parameter IM_MODE):

,,E ,,Start DB Size calculation (asynchronous processing)

,,S ,,Return state

,,,,When the report is called from the API, it does not produce a list output, but writes the results into a ,,,,database table. Then, when the API is called in "get status" mode, if the status is "successfully ,,,,,,,,finished", the API reads these data and passes them to the caller as exporting table parameter.

,,L ,,Return list of application log numbers

Input parameters:

I_MODE

,,,,Controls if the DB Size calculation should be executed, or if status or log information is requested. ,,,,,,Required.

I_SESSID

,,,,PCL session ID. Required.

I_MT_ID

,,,,mass transfer ID. Required in execution mode. Required.

I_SND_RFC

,,,,Logical Destination for sender (Specified in Function Call). Required.

I_RCV_RFC

,,,,Logical Destination for receiver (Specified in Function Call). Required.

I_DISP_DET

,,,,Display the output in detail. Optional.

,,,,When the API invokes the report, the "detail display" parameter should be passed as inactive. So only ,,,,the data that are currently shown in the aggregated output list which presents the results per tablespace ,,,,are stored in the database table DMC_TABSPACE_SIZ.

Return parameters:

E_LOGNUMBER

,,,,Log number of the schedule log if API is called in execution mode.

ET_LOGNUMBERS

,,,,Table of logs for the session ID if called in "get log" mode, together with the batch job name and batch ,,,,job count.

ET_STATUS

,,,,Filled if API is called in "get status" mode: Tables containing status information both for the scheduling ,,,,and for each of the scheduled batch jobs. This information includes a status (running, finished with ,,,,,,errors / warnings; success), time stamps for start and end, batch job number, server etc.

ET_TABLESPACE_SIZE

,,,,When the API is called in "get status" mode, if the status is "successfully finished", the API reads these ,,,,data and passes them to the caller as exporting table parameter.

Example

Notes

Further information





Parameters

ET_LOGNUMBERS
ET_STATUS
ET_TABLESPACE_SIZE
E_LOGNUMBER
I_DISP_DET
I_MODE
I_MT_ID
I_RCV_RFC
I_SESSID
I_SND_RFC

Exceptions

Function Group

DMC_DEACTIVATED

General Data in Customer Master   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 3286 Date: 20240523 Time: 115526     sap01-206 ( 61 ms )