on 10-14-2008 6:05 PM
Hi all,
How can i get an image stored on a content server (archivelink) into a smartform?
I'm using tcode OAAD to upload employee photos (to be available in PA20).
Now i need to create a smartform displaying the employee's photo.
Thanks,
Luis Cruz
Hi,
I'm using the Function ARCHIVOBJECT_GET_TABLE to retrieve PDF from the content server. It returns the data in Binary format. May be you can try this and once you have the binary data, transfer it to a file on the app server with a jpg, gif, jpeg extension and then retrieve that file from the app server and see if you are able to use it in your smartform.
The function accepts :
Exporting
archiv_id = toaom-archiv_id
document_type = toaom-doc_type
archiv_doc_id = toa01-arc_doc_id
TABLES
archivobject = it_arcobj
binarchivobject = it_binarcobj
" Data definition for tables parameters is as follows
DATA : it_arcobj TYPE TABLE OF docs,
w_arcobj LIKE LINE OF it_arcobj.
DATA : it_binarcobj TYPE TABLE OF tbl1024,
w_binarcobj LIKE LINE OF it_binarcobj.
Hope this helps.
regards,
Advait
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In My knowledeg smartform only access graphics or photos from only two ways
1) from standard programe RSTXLDMC
2)SE78 Tcode
Regards
Jana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
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.