Quantcast
Channel: SCN : Document List - ABAP Development
Viewing all articles
Browse latest Browse all 935

How to store a binary file as function module

$
0
0

Hello community,

many information is stored in different files with different formats. This information is often important for the customer and there is the question, how to transport this to a customer.

 

BinFile2ABAP is a program which offers this possibility. With BinFile2ABAP you can store each file in an ABAP function module.

It converts the file to an ABAP source code as a function module. With the call of this function module the file is saved on the presentation server and executed.

 

With this kind of information you can extend your possibilities. You can integrate each type of file you want in your ABAP program, e.g. Adobe Flash and Portable Document Format (PDF), Compiled HTML Help (CHM), all image, sound and video formats etc.

 

BinFile2ABAP.jpg

 

BinFile2ABAP is free and you can download it from http://com.stschnell.de from the path Electrifying Light> Binary File to ABAP. It is available as Windows 32-bit and 64-bit application.

 

The process to generate a function module is very easy. Choose the binary file you want, press the button Create ABAP Function Module and save the file to disc. Transfer the FM in your ABAP editor via clipboard or upload - that's all.

 

You can choose the line width, 16, 32, 64 or 125 bytes, this means, 32, 64, 128 or 250 characters in a line. It is dependence from the file size, because the ABAP interpreter allows max. 65535 lines to concatenate. With 125 bytes and 65535 lines you get a file size limit from 8'191'875 bytes. It is possible to create an ABAP source with more lines, but you can not compile it.

 

2014/01/15: Update is available

  • Optimization of the GUI.
  • Add the possibility to use SAP MIME-Repository.
  • Add the possibility to create forms.
  • Minor bug fixing.


Enjoy it.

 

Cheers

Stefan


Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>