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: 

Mass upload of photo in Archive link

Former Member
0 Kudos

Hi.

We have to do a mass-upload of photos in the Archivelink (OAAD).

Any standard program to do this, or any other clues anyone please?

Thanks in adv.

2 REPLIES 2

Former Member
0 Kudos

any clues anybody please?

Former Member
0 Kudos

Hi,

just write a report and combine the function modules:

SCMS_UPLOAD for uploading from a shared backend path

SCMS_DOC_CREATE for storage of a binary table in a content repository (the ID of the content repository must be ArchiveLink compliant meaning a two letters ID).

ARCHIV_CONNECTION_INSERT to write the connection in the ArchiveLink table. Here, you must know your relevant business object (SAP_OBJECT) your doctype (AR_OBJECT) and your OBJECT_ID.

I assume that you need this for HR so here your SAP_OBJECT is PREL and your AR_OBJECT should be HRICOLFOTO

Now, you report must loop over the files and execute the upper function modules.

I hope that helps a bit

Best regards

Torsten