cancel
Showing results for 
Search instead for 
Did you mean: 

RAW image from Mobile device to be printed on Adobe form

PrakharAlok
Explorer

Service reports often have signature of Engineer or Customer when a confirmation is performed. I have a scenario where the Customer has an iPad and while confirming the service, is putting his signature on the iPad.

The confirmation data along with Signature data is transferred to SAP via RFC. Signature is coming in a field or type RAW 2000. We need to print this RAW data as an image on the Adobe form.

We have tried two ways:

1. Convert RAW 2000 into XSTRING and bind this to an Image field on Adobe form. Result - Doesn't work. Maybe because the conversion is incorrect or probably the source data is itself incorrect.

2. Directly bind the RAW 2000 data into Image field of Adobe form. Result - Doesn't work. Maybe because we need to convert it in some way.

Point to note is that, it is assumed that the source signature data is in RAW format. The signature is put on iPad similar to when we put signature for receiving any delivery via courier.

Please throw some light if you have worked on similar scenario.

View Entire Topic
roberto_forti
Contributor

Hi,

Maybe this method can help you resolving this issue.

CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
...
PrakharAlok
Explorer

This is the correct method but my issue was resolved by converting image in iPad itself before ending it to SAP. So SAP receives image data in XSTRING format itself which is directly displayed on the Adobe form without any conversion.

Thank you for the help.

Closing thread.