Application Development 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: 

Upload Multiple Images at once Using SE78

spartans007
Participant
0 Kudos
1,037

Hello,

I have a requiremet to upload Multiple User signatures in SE78.

I have to mantain the signature for each SAP user.

Is there any program to do it. Can someone please help me out with a program hich will help to upload multiple user signatures. Also it should have the abilty to remove or add signure when a user leaves or joins.

Thank You.

13 REPLIES 13

Sandra_Rossi
Active Contributor
0 Kudos
883

"user signature" is not very clear, you mean images (whatever they contain).

There are a few answers already.

spartans007
Participant
0 Kudos
883

Hey sandra.rossi

"User Signatures" are images

I'd try to google but did not find any thing relavant. My requirement is to upload multiple images at a time.

It can be 1000 images too. Currently i am able to uploade one image at a time.

Can you please share me a program if you have any? which will help me solve my issue to upload multiple images at a time?

Sandra_Rossi
Active Contributor
0 Kudos
883

Let me search that for you.

That's the problem of searching "user signature", or search or say "QR code", instead of just searching or saying "image" or "picture", it makes it difficult to search and find.

How to create a QR code and show it in a Smartform | SAP Blogs

spartans007
Participant
0 Kudos
883

How do i upload 1000 images in single go using SE78?

spartans007
Participant
0 Kudos
883

xiaosanyu Can you please help for the above Question?

Sandra_Rossi
Active Contributor
0 Kudos
883

So, you don't want a program, you just want to do it via robot. Just create batch input. SHDB.

Sandra_Rossi
Active Contributor
0 Kudos
883

Anything you want to automate, not specific to SE78, use Batch Input, or SAP GUI Scripting, etc.

spartans007
Participant
0 Kudos
883

Ok let me elaborate my question

  • I have to assign a signature (image) to each SAP USER using se78 transation.
  • Each Signature will be unique image. Attaching a image example below.
  • Just assuming i have 100 SAP Users and 100 Signature images for each user.
  • The Problem in uploading these images is we can only upload single image at a time. This is time conuming and will require lot of time and effors to maintain signature imgaes for each user.
  • Is there any way with which i can upload all the 100 images at once with a single go in SE78
  • Also i have to maintain a table which will store the SAP USER Name and the Information regarding the Signature image too.

Sandra_Rossi
Active Contributor
0 Kudos
883

Use Batch Input. It takes 1 minute to do it (unless it's the first time you use it).

spartans007
Participant
0 Kudos
883

Yes it is my first time

Sandra_Rossi
Active Contributor
0 Kudos
883

Too bad, unfortunately SAP has implemented Control Framework in SE78 which prevents it to be simulated via Batch Input. Either do it via SAP GUI Scripting, tweak it, or do it as I explained first (link to blog post with code).

Another solution of ABAP code (which in fact is same solution as in blog post, with a few less lines) is this, which you can then operate via Batch Input:

REPORT.
FIELD-SYMBOLS <g_stxbitmaps> TYPE stxbitmaps.
PERFORM dummy_dummy_dummy IN PROGRAM sapmssch IF FOUND.
ASSIGN ('(SAPMSSCH)G_STXBITMAPS') TO <g_stxbitmaps>.
<g_stxbitmaps>-tdobject = 'GRAPHICS'.
<g_stxbitmaps>-tdid     = 'BMAP'.
<g_stxbitmaps>-tdbtype  = 'BCOL'.
PERFORM graphic_import_bds IN PROGRAM sapmssch.

EDIT Aug 2nd, 2023: the code was buggy, I replaced 'BITMAP' with 'GRAPHICS'. Tested successfully.

spartans007
Participant
0 Kudos
883

If i create a BDC, for this upload images. How do i maintain the Transport Request for each images?

Sandra_Rossi
Active Contributor
0 Kudos
883

I don't get the point. Transport request is an input field and you can initialize it with Batch Input.

PS: BDC is the obsolete name of Batch Input.