cancel
Showing results for 
Search instead for 
Did you mean: 

Attaching Image to Delivery Order

former_member192971
Participant
0 Kudos

Hello Experts ,

 

      We have a scenario like Capturing the Person's signature using the Mobile Device and by the Front-end Application we will convert that into Binary or XString formats as per the requirement and that Binary format , we will get stored into SAP Table . Now using any existing Function Modules we need to Convert that Binary Format into Image again for the functionality to attach the Image to a Particular Delivery Order. Can you please let us know more information on how it can be converted back to an image in SAP.

SAP will recieve the data in binary format from the front-end Application . Is there a way in SAP by which we can convert binary data to signature i.e. a kind of decryption of binary data to image format ? The converted image will have to be used in the delivery forms generated in SAP.

Please give detailed information on the usage of function modules, if any.

   Appreciate your help.

Thanks,

Uday.

Accepted Solutions (0)

Answers (2)

Answers (2)

david_brandow
Contributor
0 Kudos

Are you trying to build a native app or a hybrid app?  If the former, which platform(s)?  If the latter, are you using the Designer, or are you building it yourself?

If its a hybrid app built with the Designer, it comes supplied with a custom signature control that uses a binary storage format. However, that storage format is not an image, so you would need to supply your own routine to convert it to/from the image format of your choosing.

0 Kudos

Hi Uday,

I give solution in java aspects. You stored the images in Binary format in SAP table as Blob data type or some. Then , retrieve the data in same binary format from SAP Table and write the Binary format in a file such as img.jpg. Then you easily attach the file with anything.

click this link for samples

http://www.java-tips.org/other-api-tips/jdbc/how-to-store-retrieve-image-to-from-sqlserver-2.html