Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Decryption of binary data in SAP

Former Member
0 Kudos

We have a scenario where the vb.net API application in the windows 7 mobile will covert a person's signature into binary format. SAP will recieve the data in binary format from the sybase system.

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.

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

Thanks and regards,

Romil.

4 REPLIES 4

Former Member
0 Kudos

Hi Romil,

We have a scenario where the vb.net API application in the windows 7 mobile will covert a person's signature into binary format. SAP will recieve the data in binary format from the sybase system.

With reference to the statement below (kind of decryption of binary data to image format.), am i correct if i presume that the .NET API will convert the the signature into an Image first, and then will send the binary of this image to SAP?

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.

Provided the binary that is sent from .NET API is already binary of an image(JPG/TIFF/BMP), yes this should be possible.

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

Depends on what is that you exactly wish to do with this binary data - store it somewhere in SAP App server/DB or a file server or end users desktop machine etc.

Regards,

Chen

0 Kudos

Hi Chen,

Yes, the signature will be an image before it is converted into binary format.

Can you please let us know more information on how it can be converted back to an image in SAP.

The converted image will have to be used in the delivery forms generated in SAP.

Thanks and regards

Karthik

0 Kudos

Hi Karthik,

The converted image will have to be used in the delivery forms generated in SAP.

You mean print delivery forms using a SMARTFORM/ADOBEFORM, if so then you can save the image file in MIME repository and the SMARTFORM/ADOBEFORM used for printing the delivery forms can use this image from the repository

Can you please let us know more information on how it can be converted back to an image in SAP.

Depending on which format the image is JPG/BMP/TIFF, the binary stream that you will send to SAP can be saved be directly into the MIME repository.

Below is a very good link which explains loading a file(converting it to a binary stream) and then uploading it to the MIME repository go through the link for details on which APIs to use.

Note: Is the scenario like Mobile Device -> Image sent to SAP -> Delivery form Printed with the image, if it is so, have you thought of how will the delivery form layout know which signature image(is it unique to a given Delivery note or common for all the DNs) to print??? Are you doing this using a Z table or something?

Regards,

Chen

0 Kudos

Hi,

The information we have is that the signature's XY coordinates are