Ansicht
Dokumentation

CM_IMPORT_CONSENT_VIA_SERVICE - Consent Administration: Import Consent via Service

CM_IMPORT_CONSENT_VIA_SERVICE - Consent Administration: Import Consent via Service

Vendor Master (General Section)   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

You can use this report to import consent records as copies from a web service, for example the Consent Repository Service on the SAP Cloud Platform. The import process is particularly important in order to make consent data available in your local system, so that a data subject’s consent can be proven if necessary.

Integration

Prerequisites

You need the general permission to import consents as well as the permission to import consent records, for example for certain data controllers and purposes.

You must define the sources from which to import consent records in Customizing for Cross-Application Componentsunder Data Protection> Consent Administration> Define Source Information.

Features

You use this report to import consent records as copies you collected using a web service. You now want to import these records into your local system.

Selection

In the Service Attributessection, use the Import Service Namefield to specify the service from which you want to import consent records. Use the value help (F4) to see which services are available. As soon as you have selected a service, the fields Description, Destination and Filter and Query Stringwill automatically be filled by the system.

In the Time Intervalsection, you can use one of the following options to specify a time period for which you want to import consent records:

  • External Log ID
This field is optional. You can specify your own log ID to make the application log easier to find in transaction Analyze Application Log (SLG1). This only applies to saved logs.
  • Specific Time Interval
Use the Date/Time fromfield and the Date/Time tofield to specify a time period. All consent records whose timestamp lies within the defined period - meaning a value equal to or greater than Date/ Time fromand lesser than Date/Time to - will be imported from the SCP.
  • Number of Days (until today)
Based on today's date, the system imports consent records for the amount of passed days you specified in the Daysinput field.

In the Control section, you have the following options:

  • Save Application Log
If you select this option, the application log will be saved. If not, the log of a particular file import and related log entries will only be temporarily available, i.e. directly after the import has been carried out. It is recommended to select this option, if you do not run the report in test mode and consent records are imported and stored in the consent administration system.
  • Application Log Detail Level
Position your cursor on the input field and choose the value help (F4) to specify the log level. The following levels are available:
  • Level 1: General info is logged, e.g. import file, date / time of import, number of successful imported consent records, number of erroneous consent records that could not be imported.

  • Level 2: In addition to level 1, log entries are created for each erroneous consent record.

  • Level 3: In addition to levels 1 and 2, log entries are created for each erroneous field of an erroneous consent record.

  • Level 4: In addition to levels 1, 2 and 3, also for successfully imported consent records log entries are created.

  • Other (not used)

  • Change Document With Insert
When importing and storing consent records in the consent administration system, change documents can be created. This is particularly important for consent records that are already stored in the consent administration system and that are updated by a more recent consent import, for example because they have been withdrawn.
If a consent record is imported for the first time, a change document is not created by default, because the newly imported consent record indicates the current status of the consent. If, however, you still want to create change documents, select the option Change Document with Insert.
  • Test Run
If you select this option, the import will be carried out in test mode. Consent records to be imported are analyzed / validated. Log entries are shown according to the specified log settings. No consent records will be stored in the consent administration system.
  • Skip Expired Consents
If you select this option, the import will skip expired consent records by sorting them out in the validation. Please note that the lifecycle status is recalculated when triggering the import, e.g. consent records that were in status Activebefore might be rejected for the import, because their lifecycle status changed during runtime.
Choose Execute to start the import process.

Standard Variants

Output

The system displays the log entries according to the specified log settings.

If the control option Save Application Logwas selected, consent import logs can be viewed later on using transaction Analyze Application Log (SLG1).

Activities

To access this report on the SAP Easy Access screen, choose Cross-Application Components-> Data Protection-> Consent Administration-> Import Consent Records via Service.

Further Information

If your consent data is stored in a JSON file that has a structure different from the default file structure required by Consent Administration, you can implement BAdI: Define Source Format for Import Processing. This BAdI enables you to map the attributes maintained in your JSON file to the default structure required for the import. For more information, go to Customizing for Cross-Application Components under Data Protection-> Consent Administration-> BAdI: Define Source Format for Import Process Mapping.






BAL Application Log Documentation   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 7729 Date: 20240601 Time: 011950     sap01-206 ( 133 ms )