2012 Nov 08 1:25 PM
Hi,
SAP Gurus,
My requirement is follows,
I need to upload an image in SAP to print in Smartforms using a program.
This is because I am downloading the image from other pc to my desktop
using a program and in the same program I am print the image on the smartform.
so, I need to Upload the image before calling the smartform.
I have tried using recording for SE78, but not working
Please suggest
Thanks and regards,
Pavan.
2012 Nov 08 1:47 PM
Check this program RSTXLDMC
Also check the Subroutine in the program SAPLSTXBITMAPS and Include LSTXBITMAPSF05
Just copy the same code in your custom program where u want to upload the Image..
perform graphic_import_bds using rlgrap-filename
stxbitmaps-tdname
stxbitmaps-tdobject
stxbitmaps-tdid
stxbitmaps-tdbtype
bds_description
stxbitmaps-resident
stxbitmaps-autoheight
stxbitmaps-bmcomp
changing stxbitmaps-resolution.
This will use to upload images into SAP System..
Hope this helps...
Check this program RSTXLDMC
Also check the Subroutine in the program SAPLSTXBITMAPS and Include LSTXBITMAPSF05
Just copy the same code in your custom program where u want to upload the Image..
perform graphic_import_bds using rlgrap-filename
stxbitmaps-tdname
stxbitmaps-tdobject
stxbitmaps-tdid
stxbitmaps-tdbtype
bds_description
stxbitmaps-resident
stxbitmaps-autoheight
stxbitmaps-bmcomp
changing stxbitmaps-resolution.
This will use to upload images into SAP System..
Hope this helps...
2012 Nov 08 1:47 PM
Check this program RSTXLDMC
Also check the Subroutine in the program SAPLSTXBITMAPS and Include LSTXBITMAPSF05
Just copy the same code in your custom program where u want to upload the Image..
perform graphic_import_bds using rlgrap-filename
stxbitmaps-tdname
stxbitmaps-tdobject
stxbitmaps-tdid
stxbitmaps-tdbtype
bds_description
stxbitmaps-resident
stxbitmaps-autoheight
stxbitmaps-bmcomp
changing stxbitmaps-resolution.
This will use to upload images into SAP System..
Hope this helps...
2012 Nov 08 1:49 PM
2012 Nov 08 3:07 PM
2013 Jun 05 5:36 PM
Hi Pavan,
Can you let me know how did you resolve...
I have the requirement that i will receive the image in byte format from the Third-party system..
I need to convert that byte to image & store it in SAP...
Kindly help on this please....
Thanks & Regards,
A.K.Shyam Sundar
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |