Entering content frameSyntax documentation add_binary_item Locate the document in its SAP Library structure

You use this method to add an binary object (graphic, document,...) to the link server. You must determine the URL address of the object in advance.

CALL METHOD link_server->add_binary_item
     EXPORTING item_name    = item_name
               item_title   = item_title
               data_type    = data_type
               data_subtype = data_subtype
               user_info    = user_info
               table_url    = table_url
               no_flush     = no_flush
     IMPORTING error        = error
               retcode      = retcode.

Description of parameters

Parameter

Optional

Description

item_name

 

The name of the object

item_title

X

Describes the object

table_url

 

The URL address of the object

data_type

X

Type of data as a MIME type (for example, application)

data_subtype

X

Subtype of data as a MIME type (for example, x-rtf)

user_info

X

Logon and proxy data for accessing an HTTP or FTP server.

Note

The possible data types are contained in the type group SOI.

 

Leaving content frame