Symptom
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
While downloading the generated report from Run Compliance Reports app below error appears.
"An error occurred while retrieving tokens and URL"
Environment
- SAP S/4HANA
- SAP Fiori
Reproducing the Issue
- Open Run compliance reports app.
- Generate the report.
- Select the file and click on download button.
Cause
1.Missing configurations
2.Program error
Resolution
Verify if the below mentioned configurations are maintained correctly.
Step 1:
Follow the resolution step mentioned in KBA : 3077766
Step 2:
Follow the instructions mentioned in KBA: 2827260, 685521 to activate the service CONTENTSERVER.
Step 3:
1. Open transaction code OAC0 --> Select repository DMS_C1
2. Enter %https in the command field box. Refer KBA : 2996974
3. You will see extra options HTTPS on frontend and HTTPs on backend. Set both options to "HTTPS required".
4. Save
Step 4:
Complete the configurations as per the admin guide under section 5.4.2 Define and associate Document Type with Object type.
Refer KBA 2584083 and download the admin guide for your system version - Valid up to S/4HANA 2020 system version.
Refer the help documentation (Configuring Attachment Service Section) to configure this step - S/4HANA 2021 system version
https://help.sap.com/viewer/3cc1da1e1e364fadb9b1af653a9597d2/2021.001/en-US/1d241179d9ef49b18aa0a2a29fc8eaa4.html
Step 5:
Complete the configurations from KBA 2557617.
Step 6:
Implement the Note 3079317 if it is applicable for your version.
See Also
Keywords
Run compliance reports, download, retrieving tokens, FI-LOC-SRF-RUN, Fiori, error , KBA , FI-LOC-SRF-RUN , Run Time , CA-DMS , Document management , Problem