Symptom
- Some the Compliance Documents were uploaded accidentally or contained mistakes and needs to be removed for Data Protection.
- Request for the attached documents to be deleted under "Manage Documents"
Environment
SAP SuccessFactors Onboarding
Reproducing the Issue
- Login as the External User, Complete the PDC and CDC steps.
- External User has completed the Compliance Tasks and submitted it.
- This form contains an error and needs to be corrected.
Resolution
- Login to the API server
- GET operation https://qacand-api.lab-rot.ondemand.com/odata/v2/Attachment?$filter=userId eq '90001'
- Sample user id '90001' - Fetch all the documents for the given user '90001'
- With the help of the first query response, We can delete the entity using the request: DELETE operation https://qacand-api.lab-rot.ondemand.com/odata/v2/Attachment(916L)
- Here 916L is the attachment ID for one of the P45 docs uploaded by the user.
- We will have to repeat this for all the attachments.
Keywords
Compliance Form, Delete Documents, Manage Documents , KBA , LOD-SF-OBX-DM , Document Management , Problem
Product
SAP SuccessFactors Onboarding 2011