cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with data types of DOX Payment Advice Data Type in SAP Build Process Automation

TillHeinen
Participant
0 Kudos

Hi,

I am trying to process a payment advice automatically by using SAP BPA and Document Information Extraction with the Extract Data (Pre-trained Model) for Payment Advices.

I always get an error log mentioning a discrepancy in data types. From what I understand, DOX's is giving the item 'netAmount' as a number as output but the netAmount.value in DOX SDK is actually formatted as a string.

Attached some screenshot for better understanding.

TillHeinen_0-1710860713564.png

TillHeinen_2-1710860852358.png

Output of automation job:

TillHeinen_3-1710861042987.png

Error Log:

TillHeinen_4-1710861099696.png

 

I think the discrepancy is already coming from the data types before.

TillHeinen_1-1710860729340.png

Best wishes and kind regards

Till

Accepted Solutions (0)

Answers (1)

Answers (1)

TillHeinen
Participant
0 Kudos
eshita_mahajan
Employee
Employee
0 Kudos

Hi @TillHeinen

How did you see get to Document information extraction screen? Where are you performing the annotations?

Also, if you are annotating in SBPA template editor then, while annotating netAmount, is it fetching the correct value in the template editor?

Kind Regards,

Eshita

TillHeinen
Participant
0 Kudos

Hi @eshita_mahajan 

How did you see get to Document information extraction screen?

--> From our own Dox I was checking the predelivered schemas for payment advices.

Where are you performing the annotations?

--> I am not sure what you mean with annotations. I am just using the predelivered DOX schema and the data type given in DOX SDK for SPBA.

Also, if you are annotating in SBPA template editor then, while annotating netAmount, is it fetching the correct value in the template editor?

--> I am not using a template, I am using the DOX SDK activity: Extract Data (Pre-trained Model)

In the automation I am matching my own data type Payment advice(items), as shown in the last screenshot of the previous post.

TillHeinen_0-1711006655361.png

Thanks for your quick reply.

Regards 

Till