GET_WITH_FILES/URL/TABLE/AS_TABLE

Use

These methods are used to return documents. Four different methods are available:

  • GET_WITH_FILES

  • GET_WITH_TABLE

  • GET_WITH_AS_TABLE

  • GET_WITH_URL

The difference between these methods is the source from which the data is retrieved. The source can be either a file name, a table or a URL.

The application object (document set) is identified by the attributes described in the section Parameters.

The method GET_WITH_FILES is identified by the following additional parameters:

  • FILES

    The target directory is transferred in the table FILES.

  • SIGNATURE

    During a call, this table is used to limit the number of hits. After the call, it is used for information.

The method GET_WITH_TABLE is identified by the following additional parameters:

The method GET_WITH_AS_TABLE is identified by the following additional parameters:

The method GET_WITH_URL is identified by the following additional parameters:

  • SIGNATURE

  • COMPONENTS

    This table makes the entire content available.

  • URIS

    This specifies only the URL that points to the document.

  • URL_LIFETIME

    Time period for validity, lifetime. This parameter can have two different meanings:

    1. This parameter concerns only URIs in the SAP System. It specifies the lifespan for both the URL and the URL to which that URL points. If the document content is in the database, URL_LIFETIME controls the lifetime of the table on the client.

      For more information, see the documentation on the function module DP_CREATE_URL, in particular the documentation on the parameter LIFETIME.

    2. If GET_WITH_URL returns a general URL on a content server, the lifetime can be calculated from the validity of the URL (two hours maximum). A digital signature must be used.