cancel
Showing results for 
Search instead for 
Did you mean: 

Looking for a BAPI to get the URL of a document in SOLMAN

Former Member
0 Kudos

Hi Everybody,

i need a BAPI which can give me the URL of a stored document in Solution Manager. My purpose is to call documents which was stored in the Solution Manager from the SAP Portal, therefor i need the URL for each document.

regards,

Seed

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Seed,

Try this Remote Function module "SOLAR_BIZC_GET_DOCUMENT_URL", it gets the data from the SAP standard table for document storage.

hope this helps.

Thanks,

Kalyan.

krzysztof_murkowski2
Participant
0 Kudos

you can use the method cl_sa_doc_factory=>get_read_url


DATA:
  lt_context TYPE sdokproptys,
  ls_context TYPE LINE OF sdokproptys,
  lv_url     TYPE saeuri.

* this minimal context is obligatory
ls_context-name = 'LANGUAGE'.
ls_context-value = 'DE'.
APPEND ls_context TO lt_context.

CALL METHOD cl_sa_doc_factory=>get_read_url
  EXPORTING
    i_class     = 'SOLARGEN'
    i_objid     = '48D2645169CA1A13E10000000A1A04B7' " Logical Document Id
    it_context  = lt_context
  IMPORTING
    logical_url = lv_url.

regards,

Krzysztof