on 07-04-2013 10:41 AM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.