Application Development and Automation 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: 
Read only

Images

Former Member
0 Likes
803

Hi all,

Is there any function module to upload images from my pc to a table created by me

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
771

Simin,

I checked it and your previous question also. and Found one replacement for OAER.

Call the FM <b>BDS_BUSINESSDOCUMENT_CREATEF</b> to upload the images from System.

LOGICAL_SYSTEM                              
CLASSNAME                       PICTURES    
CLASSTYPE                       OT          
CLIENT                               321         
OBJECT_KEY                     ZIMAGE   

and the table parameter Files pass

 DOC_COUNT                       00000001         
 COMP_COUNT                     00000001         
 COMP_ID                                         
 DIRECTORY                          C:          
 FILENAME                           WINTER.JPG   
 MIMETYPE                                                                                

now check it.

here you can upload multiple images inside a loop call the FM.

i tried and worked fine for me,

Regards

Vijay

Hi all,

Is there any function module to upload images from my pc to a table created by me

5 REPLIES 5
Read only

Former Member
0 Likes
771

there is no FM...Also, u want to upload images to database tables which is not feasible in SAP...U can upload images to SAP for some other purposes,

Read only

Former Member
0 Likes
771

UPloading image can be done using se78 transaction, or using rstxldmc program.

Regards,

Ravi

Read only

Former Member
0 Likes
771

HI,

Refer thsi link, this may help you

http://www.sap-basis-abap.com/saphr003.htm

Regards

Sudheer

Read only

Former Member
0 Likes
772

Simin,

I checked it and your previous question also. and Found one replacement for OAER.

Call the FM <b>BDS_BUSINESSDOCUMENT_CREATEF</b> to upload the images from System.

LOGICAL_SYSTEM                              
CLASSNAME                       PICTURES    
CLASSTYPE                       OT          
CLIENT                               321         
OBJECT_KEY                     ZIMAGE   

and the table parameter Files pass

 DOC_COUNT                       00000001         
 COMP_COUNT                     00000001         
 COMP_ID                                         
 DIRECTORY                          C:          
 FILENAME                           WINTER.JPG   
 MIMETYPE                                                                                

now check it.

here you can upload multiple images inside a loop call the FM.

i tried and worked fine for me,

Regards

Vijay

Read only

0 Likes
771

hi,

please help me how to upload jpg fiels into my own backend ztables,

plz tell me what r all the fields i need to create in that backend table , and field types.

how to upload jpg fiels into that table,

please send the code in a very datailed manner,

i am confusing with how to call the FM 'BDS_BUSINESSDOCUMENT_CREATEF',

please forward that code very clearly..

Thanks & Regards

prasad