Ansicht
Dokumentation

/SAPSLL/ITRLM_GET_ATTACHMENTS - Get Attachments during Data Collection

/SAPSLL/ITRLM_GET_ATTACHMENTS - Get Attachments during Data Collection

General Data in Customer Master   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module can be used as part of the data collection process performed by the IRF. By implementing this function module, you can determine that the system downloads GOS attachments that contain personal data of the data subject specified in your search. In transaction DTINF_PROC_COLL, the attachment's metadata is listed in the search results. When downloading the results as a zip.file, the relevant attachments are also automatically downloaded.

In general, the function module fetches metadata of GOS attachments (e.g. file name, file description) and updates their BOR keys. It fetches the source fields maintained in ILM Customizing for the source table passed with importing parameter I_TABand determines the BOR keys for the ILM Object. These BOR keys are then stored in the IRF Database. When the results of the data collection process are downloaded, the corresponding attachments will be downloaded using the BOR keys found by this function module.

The detailed steps are as follows:

1. Get ILM object from importing parameter I_PURPOSE.

2. Get source fields based on I_TABparameter and the corresponding ILM object.

3. Use changing parameter IT_OR_SELTAB and determine BOR keys using ILM API CL_LRM_API(GET_OBJECTS_FOR_ATTCH).

4. Call IRF method UPDATE_ATTACHMENT_METADATAof class CL_DTINF_ATTACHMENTSfor updating BOR keys. These BOR keys will be used during download of attachments.

5. Collect attachment metadata (file name, file description and creation date) in exporting parameter E_DATA.

Parameters

Import

I_TAB: Name of source table

I_ADD_TAB: Name of target table which in this case is a dummy table (DTINF_ATTCH_LINK)

I_PURPOSE: Purpose for which the data collection is started

I_FATHER_ID: ID of the source table

Changing

IT_OR_SELTAB: Structure that contains the selection criteria determined by the standard program

Export

E_DATA: Attachment metadata that is displayed in the search results list

E_ROWS: Number of rows in E_DATA

E_DONE: Should be set to 'D' to indicate that the function module was successfully executed

Further information

To maintain the source table/ field for an ILM object in Customizing, call transaction IRM_CUST_BSand select an ILM object from the list. Then choose Determination of Object Instance Keys.





Parameters

ET_TABLES_EXIT
E_ACTION
E_DATA
E_DONE
E_ROWS
IT_OR_SELTAB
I_ADD_TAB
I_EVENT
I_FATHER_ID
I_PURPOSE
I_TAB

Exceptions

Function Group

SLL/SAPLDTINF

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

Length: 3144 Date: 20240425 Time: 134152     sap01-206 ( 66 ms )