cancel
Showing results for 
Search instead for 
Did you mean: 

Upload documents from ESS Web Dynpro through Archivelink

Former Member
0 Kudos

Hi Guys

I am aware that ESS Whos Who has a functionality where the user can upload his own Photo and this makes use of the SAP Archivelink Architecture.

We wish to make an iView that enables users to upload documents (other than photos) using Archivelink. This should be possible since it can be done for photos anyway.

Does anyone know how to go about it? What are the configuration steps / coding required. Any help will be appreciated.

Thanks and Regards

Joy Kaushish

Accepted Solutions (0)

Answers (1)

Answers (1)

Peter_Lintner
Participant
0 Kudos

Hi Joy!

I haven't implemented from java, but from ABAP.

You have to call the FM "ARCHIV_CREATE_TABLE".

e.g.


  constants: c_sap_object like toaom-sap_object value 'PREL'.
  data: l_ar_object like toaom-ar_object.
  data: object_id like toa_dara-object_id.
  data: flength like sapb-length.

call function 'ARCHIV_CREATE_TABLE'
      exporting
        ar_object                = l_ar_object
        object_id                = object_id
        sap_object               = c_sap_object
        flength                  = flength
      tables
        binarchivobject          = curr_dat
      exceptions
        error_archiv             = 1
        error_communicationtable = 2
        error_connectiontable    = 3
        error_kernel             = 4
        error_parameter          = 5
        others                   = 6.

I hope, this hint helps!

Thanks in advance for rewarding points!

Peter