cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Build process Automation - Document Extraction Service: Missing Rights?

Julian1
Product and Topic Expert
Product and Topic Expert
0 Kudos
736

Hi there,

I am currently trying to Automate a process using the Build Process Automation Service. I was planning to use the Document Information Extraction Service in this Automation, but for some reason it doesn't show up if I am looking for it. 

Normally I should be able to select "Document Template" but if I use the Build Process Automation Service, its just not there.

Julian1_0-1712906904376.png

 

Same thing here: I should be able to use an "Extract Data" Activity, but it's not there: 

Julian1_1-1712907055960.png

I assume its because of missing rights, but I don't know which rights could be missing. I am able to use the Document Extraction Service in the BTP, but not inside SAP Build

 

Does anyone know what might be the reason for all of this? Thank you!

Julian

Edit: If I try to run an imported project with an "Extract data"-Action I get this Error:

 
Julian1_1-1712928731966.png

 

 
{
    "uid": "XXXX",
    "name": "Extract Invoice Data",
    "type": "automation",
    "instanceUid": "XXXX",
    "packageUid": "XXXX",
    "packageVersionUid": "XXXX",
    "attended": true,
    "duration": 1,
    "status": "Failed",
    "code": "KO",
    "label": "[requestDoxToken] Error on content received: {\"name\":\"requestDoxToken\",\"tid\":86,\"code\":\"InvalidCommand\",\"label\":\"No bean named 'requestDoxToken' available\"}",
    "exception": "irpa_core.error.Error",
    "stack": "Error: [requestDoxToken] Error on content received: {\"name\":\"requestDoxToken\",\"tid\":86,\"code\":\"InvalidCommand\",\"label\":\"No bean named 'requestDoxToken' available\"}\n    at C:\\Users\\I7XXXX   at o.receiveMessage (C:\\Users\\I7XXXX    at c (C:\\Users\\I7XXXX    at u (C:\\Users\\IXXX    at l (C:\\Users\\I7XXXX    at C:\\Users\\I74XXXX    at o.p [as onEvent] (C:\\Users\\I7XXXX    at process.<anonymous> (C:\\Users\\I7XXXX    at process.emit (node:events:513:28)\n    at emit (node:internal/child_process:937:14)"
}
 
XXXX means real content substituted with "XXXX"
View Entire Topic
koushik1
Explorer

Hi Julian,

The issue you're facing is likely due to the region selected during the creation of your sub-account. The Document Information Extraction Service is only available in specific regions: Australia (Sydney), Europe (Frankfurt), Europe (Frankfurt) EU Access, Japan (Tokyo), and US East (VA).

If your sub-account was created in a region outside of these supported regions, the service won’t appear when you're trying to use it within the SAP Build Process Automation Service. This is why the "Document Template" and "Extract Data" activities aren't available in your workflow.

To resolve this issue, you may want to check the region where your sub-account is hosted. If it's in an unsupported region, you could create a new sub-account in one of the supported regions and try using the Document Information Extraction Service there.

I hope this helps!

Best regards,
Koushik

Julian1
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Koushik,

thank you very much for your answer and the explanation. You are completely right! That's why it doesn't work. I created a new subaccount on an AWS server and now everything runs smoothly.

 

Thank you so much!!!

Best, Julian