Skip to Content
0

Uploading bulk picture files into sap / SE78

Jan 17 at 02:42 PM

62

avatar image
Former Member

Hello, I need to upload many bitmap files into sap at once. There are about 30000 pictures that need to be uploaded.

So instead of uploading one by one through SE78. Is there any other way to upload all my pictures at once?

Thank you :)

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Raymond Giuseppi
Jan 17 at 03:06 PM
2

Try to build a small report :

  • Analyze file directory with cl_gui_frontend_services=>directory_list_files
  • Loop at file list
    • Upload each file with cl_gui_frontend_services=>gui_upload
    • Convert file data with FM sapscript_convert_bitmap_bds
    • Store data with cl_bds_document_set->create_with_table
  • Use a tool like FM sapgui_progress_indicator to prevent time out
Show 1 Share
10 |10000 characters needed characters left characters exceeded

and search the web for code samples

1
avatar image
Former Member Jan 17 at 03:10 PM
1

Function 'SAPSCRIPT_CONVERT_BITMAP_BDS' should help you

Share
10 |10000 characters needed characters left characters exceeded