on 12-08-2009 6:21 PM
Hi @ll,
I`ve the requirement to attach an uploaded image to a smartform. (the image data is store in a z-table as xsting) The smartform should be generated and the corresponding images should be printed or shown in the preview.
Any ideas?
Best regards,
Flo
<MOVED BY MODERATOR TO THE CORRECT FORUM>
Edited by: Alvaro Tejada Galindo on Dec 15, 2009 9:25 AM
Yes, it can be done though it's a strange requirement. Why not use the embedded graphics storage capabilities of SAP instead of storing the binary data in a Z-table?
You would build the graphic name with a variable in your smartform and call it dynamically.
You can format bitmap data at runtime with SAPSCRIPT_CONVERT_BITMAP_BDS and then create or update the data in STXBITMAPS using the methods of object CL_BDS_DOCUMENT_SET. If, for some reason, you don't desire to keep the graphic loaded, you can also destroy it with a method from the class as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.