<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic BDS EXAMPLE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bds-example/m-p/2904575#M683180</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to find an example of how to use BDS Programmatically using the class cl_bds_document_set, is there  a good tutorial with this that anyone knows about?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Oct 2007 14:57:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-22T14:57:31Z</dc:date>
    <item>
      <title>BDS EXAMPLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bds-example/m-p/2904575#M683180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am trying to find an example of how to use BDS Programmatically using the class cl_bds_document_set, is there  a good tutorial with this that anyone knows about?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 14:57:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bds-example/m-p/2904575#M683180</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-22T14:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: BDS EXAMPLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bds-example/m-p/2904576#M683181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;see the doc of the class&lt;/P&gt;&lt;P&gt;CL CL_BDS_DOCUMENT_SET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BusinessDocumentSet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Business Document Service (BDS) provides general and easily integratable document management functions for SAP applications. The central component of these functions is the Business Document Navigator (BDN) navigation interface. This user interface enables users to interactively perform document management functions (displaying, creating and deleting, for example).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BDS is strongly linked with the business processes in an enterprise, expressed in particular in general object relationships. Together with SAP Desktop Office Integration, the BDS represents a software solution package for the integration of general desktop office applications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BDS has the following features:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simple handling of desktop office products&lt;/P&gt;&lt;P&gt;Support of scenarios for&lt;/P&gt;&lt;P&gt;Authoring&lt;/P&gt;&lt;P&gt;Publishing&lt;/P&gt;&lt;P&gt;Retrieval&lt;/P&gt;&lt;P&gt;Storing private and shared documents&lt;/P&gt;&lt;P&gt;User interface for&lt;/P&gt;&lt;P&gt;Attribute assignment&lt;/P&gt;&lt;P&gt;Classification&lt;/P&gt;&lt;P&gt;Detailed information and document information&lt;/P&gt;&lt;P&gt;Displaying&lt;/P&gt;&lt;P&gt;Changing&lt;/P&gt;&lt;P&gt;Navigation&lt;/P&gt;&lt;P&gt;Connection to the Change &amp;amp; Transport System&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Class CL_BDS_DOCUMENT_SET is a central component of the BDS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The BDS provides an interface that typically works on the basis of identifying a business document set and context information. For identification, the application needs to know only its own logical system, its class name, possibly its client and its object key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The CL_BDS_DOCUMENT_SET functions can be divided into two groups: general functions, which relate to the Business Document Set and specific functions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;General functions&lt;/P&gt;&lt;P&gt;DELETE&lt;/P&gt;&lt;P&gt;GET_INFO&lt;/P&gt;&lt;P&gt;GET_INFO_NEWEST_ONLY&lt;/P&gt;&lt;P&gt;CALL_NAVIGATOR&lt;/P&gt;&lt;P&gt;CONFIRM_CREATE/_UPDATE&lt;/P&gt;&lt;P&gt;CREATE_WITH_FILES/_URL/_TABLE/AS_TABLE&lt;/P&gt;&lt;P&gt;UPDATE_WITH_FILES/_URL/_TABLE/AS_TABLE&lt;/P&gt;&lt;P&gt;GET_WITH_FILES/_URL/_TABLE/AS_TABLE&lt;/P&gt;&lt;P&gt;DELETE_PROPERTIES&lt;/P&gt;&lt;P&gt;CHANGE_PROPERTIES&lt;/P&gt;&lt;P&gt;Specific functions&lt;/P&gt;&lt;P&gt;Functions for versions and variants&lt;/P&gt;&lt;P&gt;- CREATE_VERSION_WITH_FILES/_URL/_TABLE/AS_TABLE&lt;/P&gt;&lt;P&gt;- CREATE_VARIANT_WITH_FILES/_URL/_TABLE/AS_TABLE&lt;/P&gt;&lt;P&gt;Functions for relations&lt;/P&gt;&lt;P&gt;- GET_RELATIONS&lt;/P&gt;&lt;P&gt;- CREATE_RELATION&lt;/P&gt;&lt;P&gt;- DELETE_RELATIONS&lt;/P&gt;&lt;P&gt;- QUERY_RELATIONS&lt;/P&gt;&lt;P&gt;Functions for transport&lt;/P&gt;&lt;P&gt;- GET_TRANSPORT_INFOS&lt;/P&gt;&lt;P&gt;Parameters&lt;/P&gt;&lt;P&gt;Application objects are identified by the following parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOGICAL_SYSTEM&lt;/P&gt;&lt;P&gt;Logical system, ID of SAP System instance&lt;/P&gt;&lt;P&gt;CLASSNAME&lt;/P&gt;&lt;P&gt;Class name, name of application class&lt;/P&gt;&lt;P&gt;CLASSTYPE&lt;/P&gt;&lt;P&gt;Class type, type of application class&lt;/P&gt;&lt;P&gt;OBJKEY&lt;/P&gt;&lt;P&gt;Object key&lt;/P&gt;&lt;P&gt;CLIENT&lt;/P&gt;&lt;P&gt;Client&lt;/P&gt;&lt;P&gt;This parameter is  optional other than for client-dependent documents, where it must be used.&lt;/P&gt;&lt;P&gt;The application object is identified and the relevant Document Set determined by a query of all documents that are assigned to this application object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Individual documents are specified by the following parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DOC_ID&lt;/P&gt;&lt;P&gt;Document identification&lt;/P&gt;&lt;P&gt;DOC_VER_NO&lt;/P&gt;&lt;P&gt;Document version number&lt;/P&gt;&lt;P&gt;DOC_VAR_ID&lt;/P&gt;&lt;P&gt;Document variant identification&lt;/P&gt;&lt;P&gt;Tables&lt;/P&gt;&lt;P&gt;Signature table&lt;/P&gt;&lt;P&gt;Documents are identified by the parameter SIGNATURE using the signature table. This table is used to perform both the query and the reply: If you specify what you know about the document or documents concerned, you are given the number of documents that correpsond to the criteria. The attributes of one or more documents can be transferred in the signature table. The signature table has the following fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DOC_COUNT&lt;/P&gt;&lt;P&gt;Document counter&lt;/P&gt;&lt;P&gt;This field counts indivdual document variants. There can be several entries per variant, but the individual entries differ only in attribute name and attribute value.&lt;/P&gt;&lt;P&gt;DOC_ID&lt;/P&gt;&lt;P&gt;Document identification&lt;/P&gt;&lt;P&gt;DOC_VER_NO&lt;/P&gt;&lt;P&gt;Document version number&lt;/P&gt;&lt;P&gt;DOC_VAR_ID&lt;/P&gt;&lt;P&gt;Document variant identification&lt;/P&gt;&lt;P&gt;DOC_VAR_TG&lt;/P&gt;&lt;P&gt;Document variant tag&lt;/P&gt;&lt;P&gt;The type of variant is specified A variant can have three forms:&lt;/P&gt;&lt;P&gt;Original&lt;/P&gt;&lt;P&gt;Language variant&lt;/P&gt;&lt;P&gt;Format variant&lt;/P&gt;&lt;P&gt;COMP_COUNT&lt;/P&gt;&lt;P&gt;Component counter&lt;/P&gt;&lt;P&gt;PROP_NAME&lt;/P&gt;&lt;P&gt;Attribute name&lt;/P&gt;&lt;P&gt;PROP_VALUE&lt;/P&gt;&lt;P&gt;Attribut value&lt;/P&gt;&lt;P&gt;The more fields you specify, the fewer hits will be found. This means that you can restrict the search to a single variant, for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Component table&lt;/P&gt;&lt;P&gt;The table COMPONENTS concerns components of a document set. Components for a number of documents can be transferred:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DOC_COUNT&lt;/P&gt;&lt;P&gt;Document counter&lt;/P&gt;&lt;P&gt;This field counts the individual document variants. There can be several entries per variant. If this is the case, the individual entries differ only in attribute name and attribute value.&lt;/P&gt;&lt;P&gt;COMP_COUNT&lt;/P&gt;&lt;P&gt;Component counter for a document&lt;/P&gt;&lt;P&gt;COMP_ID&lt;/P&gt;&lt;P&gt;Component identification&lt;/P&gt;&lt;P&gt;MIMETYPE&lt;/P&gt;&lt;P&gt;MIME type of component&lt;/P&gt;&lt;P&gt;COMP_SIZE&lt;/P&gt;&lt;P&gt;Size of component&lt;/P&gt;&lt;P&gt;File table&lt;/P&gt;&lt;P&gt;The table FILES is used for handling document content using local files. It contains the following fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DOC_COUNT&lt;/P&gt;&lt;P&gt;Document counter&lt;/P&gt;&lt;P&gt;This field counts individual document variants. There can be several entries per variant. If this is the case, the individual entries differ only in attribute name and attribute value.&lt;/P&gt;&lt;P&gt;COMP_COUNT&lt;/P&gt;&lt;P&gt;Component counter&lt;/P&gt;&lt;P&gt;This counts the components of a document.&lt;/P&gt;&lt;P&gt;DIRECTORY&lt;/P&gt;&lt;P&gt;Name of source directory&lt;/P&gt;&lt;P&gt;FILENAME&lt;/P&gt;&lt;P&gt;File name&lt;/P&gt;&lt;P&gt;MIMETYPE&lt;/P&gt;&lt;P&gt;MIME type of component&lt;/P&gt;&lt;P&gt;URL table&lt;/P&gt;&lt;P&gt;The content is transferred via URLs in the URL table, that is, complete URLs are transferred. This specifies where the documents can be stored. The URL table has the following fields:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DOC_COUNT&lt;/P&gt;&lt;P&gt;Document counter&lt;/P&gt;&lt;P&gt;This field counts individual document variants. There can be several entries per variant. If this is the case, the individual entries differ only in attribute name and attribute value.&lt;/P&gt;&lt;P&gt;COMP_COUNT&lt;/P&gt;&lt;P&gt;Component counter&lt;/P&gt;&lt;P&gt;This counts the components of a document.&lt;/P&gt;&lt;P&gt;URI_COUNT&lt;/P&gt;&lt;P&gt;URL counter&lt;/P&gt;&lt;P&gt;In thid field, depending on URI, the number of field is entered. The individual URI parts are numbered.&lt;/P&gt;&lt;P&gt;URI&lt;/P&gt;&lt;P&gt;URL&lt;/P&gt;&lt;P&gt;The length of this field is limited (4096 characters). If the URL does not fit into this field, the URL is divided and put into two fields. The counter URI_COUNT is increased by one.&lt;/P&gt;&lt;P&gt;Content table&lt;/P&gt;&lt;P&gt;In the table CONTENT, contents are directly transferred. Transfer is via an internal table. The relevant field is called LINE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data element: SDOK_SDATX&lt;/P&gt;&lt;P&gt;Data type: RAW&lt;/P&gt;&lt;P&gt;Length: 1022&lt;/P&gt;&lt;P&gt;Description: Line for binary document content, length for upload&lt;/P&gt;&lt;P&gt;Several components of various documents can be transferred in one content table: A new line is started for each component and the size of the individual components (table COMPONENTS) gives the start and end (line x) in the content table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table ASCII_CONTENT contents are directly transferred. The transfer occurs via an internal table. The corresponding field is called LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data element: SDOK_SDAT&lt;/P&gt;&lt;P&gt;Data type: CHAR&lt;/P&gt;&lt;P&gt;Length: 1022&lt;/P&gt;&lt;P&gt;Description: Line for text document content, length for upload&lt;/P&gt;&lt;P&gt;Several components of various documents can be transferred in one content table: A new line is started for each component and the size of the individual components (table COMPONENTS) gives the start and end (line x) in the content table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Relations table&lt;/P&gt;&lt;P&gt;In the table RELATIONS relationships between documents are specified. The following attributes are provided for this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DOC_COUNT&lt;/P&gt;&lt;P&gt;Document counter&lt;/P&gt;&lt;P&gt;This field counts individual document variants. There can be several entries per variant. If this is the case, the individual entries differ only in attribute name and attribute value.&lt;/P&gt;&lt;P&gt;RELA_ID&lt;/P&gt;&lt;P&gt;Relations identification&lt;/P&gt;&lt;P&gt;Properties table&lt;/P&gt;&lt;P&gt;In the table PROPERTIES, the following two attributes are transferred:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PROP_NAME&lt;/P&gt;&lt;P&gt;Attribute name&lt;/P&gt;&lt;P&gt;PROP_VALUE&lt;/P&gt;&lt;P&gt;Attribute value&lt;/P&gt;&lt;P&gt;This table is used for methods that address only one document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;General functions&lt;/P&gt;&lt;P&gt;ASSIGN&lt;/P&gt;&lt;P&gt;This method allows the assignment of a document to another application object. The identification of the application object and the Document-ID of the document concerned are transferred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL_NAVIGATOR&lt;/P&gt;&lt;P&gt;Identification of the application object (document set) is by the attributes described in the section 'Parameters'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Documents are identified by the signature table (see section 'Tables').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table EXCLUDING you can specify which functions are not to be available. The following values are defined for EXCLUDING:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'NO_MODIFY'&lt;/P&gt;&lt;P&gt;No editing&lt;/P&gt;&lt;P&gt;'NO_DELETE'&lt;/P&gt;&lt;P&gt;No deleting&lt;/P&gt;&lt;P&gt;'NO_TRANSPORT'&lt;/P&gt;&lt;P&gt;No transporting&lt;/P&gt;&lt;P&gt;'NO_CREATE'&lt;/P&gt;&lt;P&gt;No creating&lt;/P&gt;&lt;P&gt;'NO_STANDARD_DOCS'&lt;/P&gt;&lt;P&gt;No standard document types&lt;/P&gt;&lt;P&gt;'NO_MODIFY_ATTRIS'&lt;/P&gt;&lt;P&gt;No changing of attributes/keywords&lt;/P&gt;&lt;P&gt;'NO_COPY'&lt;/P&gt;&lt;P&gt;No copying&lt;/P&gt;&lt;P&gt;'NO_USER_OPTIONS'&lt;/P&gt;&lt;P&gt;No user-specific settings&lt;/P&gt;&lt;P&gt;'NO_KEYWORDS'&lt;/P&gt;&lt;P&gt;No keywords&lt;/P&gt;&lt;P&gt;'NO_DOCINFO'&lt;/P&gt;&lt;P&gt;No document information&lt;/P&gt;&lt;P&gt;'NO_DISPLAY'&lt;/P&gt;&lt;P&gt;No displaying of documents&lt;/P&gt;&lt;P&gt;For example, it may be that you want it to be possible only to display documents in the BDN, meaning that you must explicitly exclude the functions for editing and deleting, in the table EXCLUDING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CHANGE_PROPERTIES&lt;/P&gt;&lt;P&gt;This method is used to change or reset document attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application object (document set) is identified by the attributes described in the section 'Parameters'. Individual documents are specified by attributes that are also described in the section 'Parameters'. Attributes are changed in table PROPERTIES, which is described in the section 'Tables'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE&lt;/P&gt;&lt;P&gt;This method is used to delete documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application object (document set) is identified by the attributes described in the section 'Parameters'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the signature table (see section 'Tables') you specify which documents are to be deleted. Since the object key is optional, everything can be deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET_FAST_INFO&lt;/P&gt;&lt;P&gt;This method does not return documents, but rather information about existing documents. This information is stored in the signature table (see section 'Tables'). General information and attributes are stored in the signature table. Technical information about the individual components from which the documents originate is stored in the component table. The application object (document set) is identified by the attributes described in the section 'parameters'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In contrast to the method GET_INFO, the method GET_FAST_INFO does not deliver information about the components of the document or any detailed information about individual documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on the value of the parameter GET_PROPERTIES, some (GET_PROPERTIES = 'X') or no document attributes are delivered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET_INFO&lt;/P&gt;&lt;P&gt;This method does not return a document, but instead information about existing documents. This information is stored in the signature and component table (see section 'Tables'). General information and attributes are stored in the signature table. Technical information on the individual components is stored in the component table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application object (document set) is identified by the attributes described in the section 'Parameters'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET_INFO_NEWEST_ONLY&lt;/P&gt;&lt;P&gt;This method returns information on the most recent version of a document. Otherwise, it corresponds to the method GET_INFO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QUERY_DOCUMENT&lt;/P&gt;&lt;P&gt;This method allows a flexible query about the attributes of a document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The selection criteria are specified in the table 'QUERY'. Each entry imposes restrictions on an attribute similar to the structure of a 'Ranges' table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COPY&lt;/P&gt;&lt;P&gt;This method is used to copy a document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application object (document set) is identified by the attributes described in the section 'Parameters'. The content version is identified by the attributes also described in the section 'Parameters'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A document is copied and the link is also copied. The following attributes are used as transfer parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEW_CLASSNAME&lt;/P&gt;&lt;P&gt;Class name, name of application class&lt;/P&gt;&lt;P&gt;NEW_CLASSTYPE&lt;/P&gt;&lt;P&gt;Class type, type of application class&lt;/P&gt;&lt;P&gt;NEW_OBJKEY&lt;/P&gt;&lt;P&gt;Object key&lt;/P&gt;&lt;P&gt;NEW_CLIENT&lt;/P&gt;&lt;P&gt;Client&lt;/P&gt;&lt;P&gt;This parameter is optional, except for client-dependent documents, where it is mandatory.&lt;/P&gt;&lt;P&gt;In the table PROPERTIES, the attribute name and attribute value are transferred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The new document is attached either to the outgoing business object or a new document. The new variant is specified by the following attributes, analogously to the identification of the content version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEW_DOC_ID,&lt;/P&gt;&lt;P&gt;Document identification&lt;/P&gt;&lt;P&gt;NEW_DOC_VER_NO&lt;/P&gt;&lt;P&gt;Document version number&lt;/P&gt;&lt;P&gt;NEW_DOC_VAR_ID&lt;/P&gt;&lt;P&gt;Document variant identification&lt;/P&gt;&lt;P&gt;This means that this method can be used for both copying and reassigning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE_WITH_FILES/_URL/_TABLES/AS_TABLE&lt;/P&gt;&lt;P&gt;The following four methods are available for creating documents:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE_WITH_FILES&lt;/P&gt;&lt;P&gt;CREATE_WITH_TABLE&lt;/P&gt;&lt;P&gt;CREATE_WITH_AS_TABLE&lt;/P&gt;&lt;P&gt;CREATE_WITH_URL&lt;/P&gt;&lt;P&gt;The difference between these methods is the source from which the data is retrieved. The source can be a file name, a table or a URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application object (document set) is identified by the attributes described in the section 'Parameters'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The method CREATE_WITH_FILES is identified by the following additional parameters (see section 'Tables'):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FILES&lt;/P&gt;&lt;P&gt;SIGNATURE&lt;/P&gt;&lt;P&gt;The method CREATE_WITH_TABLE is identified by the following additional parameters (see section 'Tables'):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMPONENTS&lt;/P&gt;&lt;P&gt;CONTENT&lt;/P&gt;&lt;P&gt;SIGNATURE&lt;/P&gt;&lt;P&gt;The method CREATE_WITH_AS_TABLE is identified by the following additional parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMPONENTS&lt;/P&gt;&lt;P&gt;ASCII_CONTENT&lt;/P&gt;&lt;P&gt;SIGNATURE&lt;/P&gt;&lt;P&gt;The method CREATE_WITH_URL is identified by the following additional parameters (see section 'Tables'):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMPONENTS&lt;/P&gt;&lt;P&gt;URIS&lt;/P&gt;&lt;P&gt;SIGNATURE&lt;/P&gt;&lt;P&gt;note&lt;/P&gt;&lt;P&gt;CREATE_WITH_URL must always be called in conjunction with CONFIRM_CREATE so that a document can be identified as stored succcessfully.&lt;/P&gt;&lt;P&gt;For this method, only a target URL is transferred. CONFIRM_CREATE passes on the information that the document was stored successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE_WITH_OWN_URL&lt;/P&gt;&lt;P&gt;This method is a slight variation of the method CREATE_WITH_URL. The source URL is not simultaneously generated in this case, but instead can be externally specified. This obviously pre-supposes that the contents of the document can be reached via this URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The source URL is transferred via the Parameter URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the parameter MIMETYPE, the MIMETYPE of the document must be transferred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parameter BINARY_FLAG specifies whether the content of the Document is binary (BINARY_FLAG = 'X').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case it is not necessary to subsequently call the method CONFIRM_CREATE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE_WITH_FILES/_URL/_TABLES&lt;/P&gt;&lt;P&gt;The following four methods are available for changing documents:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE_WITH_FILES&lt;/P&gt;&lt;P&gt;UPDATE_WITH_TABLE&lt;/P&gt;&lt;P&gt;UPDATE_WITH_AS_TABLE&lt;/P&gt;&lt;P&gt;UPDATE_WITH_URL&lt;/P&gt;&lt;P&gt;The difference between these four methods is the source from which the data is retrieved. The source can be a file name, a table or a URL. The table can be either an ASCII or a binary table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application object (document set) and the document are identified by the attributes described in the section 'Parameters'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The method UPDATE_WITH_FILES is identified by the following additional parameters (see section 'Tables'):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FILES&lt;/P&gt;&lt;P&gt;SIGNATURE&lt;/P&gt;&lt;P&gt;The method UPDATE_WITH_TABLE is identified by the following additional parameters (see the section 'Tables'):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMPONENTS&lt;/P&gt;&lt;P&gt;CONTENT&lt;/P&gt;&lt;P&gt;SIGNATURE&lt;/P&gt;&lt;P&gt;The method UPDATE_AS_WITH_TABLE is identified by the following additional parameters (see the section 'Tables'):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMPONENTS&lt;/P&gt;&lt;P&gt;ASCII_CONTENT&lt;/P&gt;&lt;P&gt;SIGNATURE&lt;/P&gt;&lt;P&gt;The method UPDATE_WITH_URL is identified by the following additional parameters (see section 'Tables'):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMPONENTS&lt;/P&gt;&lt;P&gt;URIS&lt;/P&gt;&lt;P&gt;SIGNATURE&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;UPDATE_WITH_URL must always be called in conjunction with CONFIRM_UPDATE so that a document can be identified as successfully stored.&lt;/P&gt;&lt;P&gt;For this method, only a target URL is transferred. CONFIRM_UPDATE passes in the information that the document was changed successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET_WITH_FILES/_URL/_TABLE/AS_TABLE&lt;/P&gt;&lt;P&gt;These methods are used to return documents. Four different methods are available:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET_WITH_FILES&lt;/P&gt;&lt;P&gt;GET_WITH_TABLE&lt;/P&gt;&lt;P&gt;GET_WITH_AS_TABLE&lt;/P&gt;&lt;P&gt;GET_WITH_URL&lt;/P&gt;&lt;P&gt;The difference between these four methods is the source from which the data is retrieved. The source can be either a file name, a table or a URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application object (document set) is identified by attributes described in the section 'Parameters'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The method GET_WITH_FILES is identified by the following additional parameters (see section 'Tables'):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FILES&lt;/P&gt;&lt;P&gt;The target directory is transferred in the table FILES.&lt;/P&gt;&lt;P&gt;SIGNATURE&lt;/P&gt;&lt;P&gt;During a call, this table is used to limit the number of hits. After the call, it is used for information.&lt;/P&gt;&lt;P&gt;The method GET_WITH_TABLE is identified by the following additional parameters (see section 'Tables'):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMPONENTS&lt;/P&gt;&lt;P&gt;CONTENT&lt;/P&gt;&lt;P&gt;SIGNATURE&lt;/P&gt;&lt;P&gt;The method GET_WITH_AS_TABLE is identified by the following additional parameters (see section 'Tables'):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMPONENTS&lt;/P&gt;&lt;P&gt;ASCII_CONTENT&lt;/P&gt;&lt;P&gt;SIGNATURE&lt;/P&gt;&lt;P&gt;The method GET_WITH_URL is identified by the following additional parameters (see section 'Tables'):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SIGNATURE&lt;/P&gt;&lt;P&gt;COMPONENTS&lt;/P&gt;&lt;P&gt;This table makes the entire content available.&lt;/P&gt;&lt;P&gt;URIS&lt;/P&gt;&lt;P&gt;This specifies only the URL that points to the document.&lt;/P&gt;&lt;P&gt;URL_LIFETIME&lt;/P&gt;&lt;P&gt;Time period for the validity of a URL, lifespan. This parameter can have two different meanings:&lt;/P&gt;&lt;P&gt;a) 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.&lt;/P&gt;&lt;P&gt;If the document content is in the R/3 database, URL_LIFETIME controls the lifetime of the table on the client.&lt;/P&gt;&lt;P&gt;For more information, see the documentation on the function module DP_CREATE_URL, in particular the documentation on the parameter LIFETIME.&lt;/P&gt;&lt;P&gt;b) 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.&lt;/P&gt;&lt;P&gt;CONFIRM_CREATE&lt;/P&gt;&lt;P&gt;This method is always called in conjunction with CREATE_WITH_URL, CREATE_VARIANT_WITH_URL and CREATE_VERSION_WITH_URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It must always be called when storing via the URL was successful. If it was not successful, the administration data should be deleted using DELETE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application object (document set) is identified by the attributes described in the section 'Parameters'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, this method is specified by the following parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMPONENTS&lt;/P&gt;&lt;P&gt;URIS&lt;/P&gt;&lt;P&gt;SIGNATURE&lt;/P&gt;&lt;P&gt;CONFIRM_UPDATE&lt;/P&gt;&lt;P&gt;This method is called in conjunction with UPDATE_WITH_URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It must always be called if storing via the URL was successful. If it was not successful, the administration data should be deleted using DELETE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application object is identified (document set) by the attributes described in the section 'Parameters'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, this method is specified by the following parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMPONENTS&lt;/P&gt;&lt;P&gt;URIS&lt;/P&gt;&lt;P&gt;SIGNATURE&lt;/P&gt;&lt;P&gt;So this method is like method CONFIRM_CREATE, except that it concerns updating and not creating documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Special functions&lt;/P&gt;&lt;P&gt;Functions for relations&lt;/P&gt;&lt;P&gt;CREATE_RELATION&lt;/P&gt;&lt;P&gt;This method is used to create relationships for an application object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The outgoing document is represented by the attributes described in the section 'Parameter'. The relationships specified in the table SIGNATURE are generated for this document and confirmed via the table RELATION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET_RELATIONS&lt;/P&gt;&lt;P&gt;This method is used to make the relationships existing for a document with the relevant partners, available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The outgoing document is represented by the attributes described in the section 'Parameters'. Table RELATION contains the relationships existing for the document. The partner documents are specified in the table SIGNATURE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE_RELATIONS&lt;/P&gt;&lt;P&gt;This method is used to delete the existing relationships for a document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application object (document set) is identified by the attributes described in the section 'Parameters'. The existing relationships for this document, specified in the table RELATION, are deleted explicitly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QUERY_RELATIONS&lt;/P&gt;&lt;P&gt;This method allows the attributes of a relationship, or the attributes of the documents to which the relationship is to exist, to be queried. Apart from the identification of the application object and the document from which the relationships originate, the method has two additional transfer parameters, for the attributes of the required documents (Parameter SIGNATURE) and for the transfer of the search range of the required relationship attributes (Parameter QUERY).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The selection criteria are specified in the table 'QUERY'. Each entry imposes restrictions on the attribute analogous to the structure of a Ranges table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functions for versions and variants&lt;/P&gt;&lt;P&gt;CREATE_VARIANT_WITH_FILES/_TABLE/_AS_TABLE/_URL&lt;/P&gt;&lt;P&gt;There are four methods available for creating language and format variants:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE_VARIANT_WITH_FILES&lt;/P&gt;&lt;P&gt;CREATE_VARIANT_WITH_TABLE&lt;/P&gt;&lt;P&gt;CREATE_VARIANT_WITH_AS_TABLE&lt;/P&gt;&lt;P&gt;CREATE_VARIANT_WITH_URL&lt;/P&gt;&lt;P&gt;The difference between the four methods - as with CREATE_WITH_FILES, CREATE_WITH_TABLE, CREATE_WITH_AS_TABLE and  CREATE_WITH_URL - is the source from which the data is retrieved. The source can be a file name, a table or a URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application object (document set) is identified by the attributes described in the section 'Parameters'. The variant is also identified by attributes described in the section 'Parameters'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The new variant is identified by the following parameters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEW_DOC_VAR_ID&lt;/P&gt;&lt;P&gt;New variant ID&lt;/P&gt;&lt;P&gt;NEW_DOC_VAR_TG&lt;/P&gt;&lt;P&gt;New variant tag&lt;/P&gt;&lt;P&gt;The variant tag can take the following forms:&lt;/P&gt;&lt;P&gt;Original&lt;/P&gt;&lt;P&gt;Language variant&lt;/P&gt;&lt;P&gt;Format variant&lt;/P&gt;&lt;P&gt;One of these forms must be transferred when the method is called. The new variant ID is returned.&lt;/P&gt;&lt;P&gt;The parameter PROPERTIES is used in place of the parameter SIGNATURE (see section 'Tables').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The method CREATE_VARIANT_WITH_FILES is identified by the additional parameter FILES (see section 'Tables').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The method CREATE_VARIANT_WITH_TABLE is identified by the following additional parameters (see section 'Tables'):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMPONENTS&lt;/P&gt;&lt;P&gt;CONTENT&lt;/P&gt;&lt;P&gt;The method CREATE_VARIANT_WITH_TABLE is identified by the following additional parameters (see section 'Tables'):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMPONENTS&lt;/P&gt;&lt;P&gt;ASCII_CONTENT&lt;/P&gt;&lt;P&gt;The method CREATE_VARIANT_WITH_URL is identified by the following additional parameters (see section 'Tables'):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMPONENTS&lt;/P&gt;&lt;P&gt;URIS&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE_VARIANT_WITH_URL must always be called in conjunction with CONFIRM_CREATE so that a document can be identified as successfully stored.&lt;/P&gt;&lt;P&gt;For this method only one target URL is transferred. CONFIRM_CREATE passes on the information that the document was created successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE_VERSION_WITH_FILES/TABLE/URL&lt;/P&gt;&lt;P&gt;The following four methods are available for creating content versions:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE_VERSION_WITH_FILES&lt;/P&gt;&lt;P&gt;CREATE_VERSION_WITH_TABLE&lt;/P&gt;&lt;P&gt;CREATE_VERSION_WITH_AS_TABLE&lt;/P&gt;&lt;P&gt;CREATE_VERSION_WITH_URL&lt;/P&gt;&lt;P&gt;The difference between the four methods - as with CREATE_WITH_FILES, CREATE_WITH_TABLE, CREATE_WITH_AS_TABLE and CREATE_WITH_URL - is the source from which the data is retrieved. The source can be either file name, a table or a URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application object (document set) is identified by the attributes described in the section 'Parameters'. The version is also identified by attributes described in the section 'Parameters'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The new variant is identified by the parameter NEW_DOC_VER_NO, that is, by the new version number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parameter PROPERTIES is used in place of the parameter SIGNATURE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The method CREATE_VERSION_WITH_FILES is identified by the additional parameter FILES (see section 'Tables').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The method CREATE_VARIANT_WITH_TABLE is identified by the following additional parameters (see section 'Tables'):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMPONENTS&lt;/P&gt;&lt;P&gt;CONTENT&lt;/P&gt;&lt;P&gt;The method CREATE_VARIANT_WITH_AS_TABLE is identified by the following additional parameters (see section 'Tables'):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMPONENTS&lt;/P&gt;&lt;P&gt;ASCII_CONTENT&lt;/P&gt;&lt;P&gt;The method CREATE_VERSION_WITH_URL is identified by the following additional parameters (see section 'Tables'):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMPONENTS&lt;/P&gt;&lt;P&gt;URIS&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE_VERSION_WITH_URL must always be called in conjunction with CONFIRM_CREATE, so that a document can be identified as succesfully stored.&lt;/P&gt;&lt;P&gt;For this method only one target URL is transferred. CONFIRM_CREATE passes on the information that the document was stored succesfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Functions for the transport&lt;/P&gt;&lt;P&gt;GET_TRANSPORT_INFOS&lt;/P&gt;&lt;P&gt;This method is used to return the entries necessary for the transport.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The application object (document set) is identified by the attributes described in the section 'Parameters'. The document(s) is/are identified by the signature table, that is, by the parameter SIGNATURE (see section 'Tables').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parameter COMMFILE_ENTRIES retrieves the necessary information for the transport, that is, the individual object entries for requests and tasks in the Workbench Organizer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DOCUMENT_ENQUEUE&lt;/P&gt;&lt;P&gt;This method prevents other users from accessing a document. You can only implement one logical lock. The lock is only effective on a logical level. Use of the remaining methods is possible as before. The method DOCUMENT_ENQUEUE should always be implemented when it is possible that several people have access to modify a document at the same time. If there is an error in calling this method, perhaps because the document is already locked by another user, you should avoid executing modifying methods because otherwise data consistency cannot be guaranteed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After finishing the modifications you should call the method DOCUMENT_DEQUEUE, which will unlock the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DOCUMENT_DEQUEUE&lt;/P&gt;&lt;P&gt;This method unlocks a document which has previously been locked by the method DOCUMENT_ENQUEUE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Integration of the class CL_BDS_DOCUMENT_SET.&lt;/P&gt;&lt;P&gt;The integration of BDS in SAP applications can be divided into three phases:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Analysis&lt;/P&gt;&lt;P&gt;2. Discussion and decision-making&lt;/P&gt;&lt;P&gt;3. Implementation&lt;/P&gt;&lt;P&gt;The individual phases are explained in more detail below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Analysis&lt;/P&gt;&lt;P&gt;In the analysis phase general questions and the scope of the intended BDS integration into the relevant SAP application are specified:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the business background concerned?&lt;/P&gt;&lt;P&gt;For which release is the BDS to be integrated?&lt;/P&gt;&lt;P&gt;What types of document are to be stored?&lt;/P&gt;&lt;P&gt;Example: Bitmaps, Office documents&lt;/P&gt;&lt;P&gt;How many documents are there likely to be?&lt;/P&gt;&lt;P&gt;Does the SAP application need its own administration tables?&lt;/P&gt;&lt;P&gt;Which delivery class should the administration tables have?&lt;/P&gt;&lt;P&gt;What is the ID of the application class?&lt;/P&gt;&lt;P&gt;What type of application class is concerned?&lt;/P&gt;&lt;P&gt;Business Object Repository&lt;/P&gt;&lt;P&gt;R/3 Class Library&lt;/P&gt;&lt;P&gt;Others&lt;/P&gt;&lt;P&gt;Is a transport connection required?&lt;/P&gt;&lt;P&gt;Is the application context client-specific?&lt;/P&gt;&lt;P&gt;Which BDS methods is it intended to use?&lt;/P&gt;&lt;P&gt;Example: CALL_NAVIGATOR (calling the BDN) or CREATE_VARIANT_WITH_FILES (creating a variant and also transferring the file name).&lt;/P&gt;&lt;P&gt;Are special attributes required? If so, what?&lt;/P&gt;&lt;P&gt;2. Discussion and decision-making&lt;/P&gt;&lt;P&gt;In this phase you make contact with the BDS integration group. You discuss, together with the development group, how your requirements can best be met. You decide which data model to use and which methods to use for your application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Implementation&lt;/P&gt;&lt;P&gt;You integrate the methods required for your application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Application examples&lt;/P&gt;&lt;P&gt;The BDS can be integrated into all SAP applications that work with documents and that have no special requirements for document management.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An example application is Office -&amp;gt; Business Documents -&amp;gt; Documents -&amp;gt; Find.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glossary&lt;/P&gt;&lt;P&gt;Business Document Navigator&lt;/P&gt;&lt;P&gt;BDN.&lt;/P&gt;&lt;P&gt;User interface of the Business Document Service.&lt;/P&gt;&lt;P&gt;Business Document Set&lt;/P&gt;&lt;P&gt;All documents for a given application object.&lt;/P&gt;&lt;P&gt;DOI&lt;/P&gt;&lt;P&gt;Desktop Office Integration&lt;/P&gt;&lt;P&gt;Document&lt;/P&gt;&lt;P&gt;The word document usually means an offical piece of writing. It is derived from the Latin word documentum = instruction/enlightenment on something, helpful, proof. This interpretation of document is based on the conception of tangible, present written information usually on paper, parchment, micro film or another tangible medium.&lt;/P&gt;&lt;P&gt;Due to the digitalization of information, a document can also be any form of digitalized information, for example: visible or audible recordings of information.&lt;/P&gt;&lt;P&gt;In the context of a document management system, a document can be regarded in the context of its entire life history, that is, as a sequence of differing content, language and format versions. In addition, context information and links for other objects and are considered.&lt;/P&gt;&lt;P&gt;MIME type&lt;/P&gt;&lt;P&gt;The MIME type specifies the format of a document. The MIME type is specified by the content-type and subtype.&lt;/P&gt;&lt;P&gt;MIME types are registered by the IANA (Internet Assigned Number Authority), frim which a list of "official" MIME types can be obtained. As well as the registered MIME Types, some unregistered ones are also used. These are distinguished from the registered MIME types by the syntax type/x-subtype (by the insertion x-).&lt;/P&gt;&lt;P&gt;Class&lt;/P&gt;&lt;P&gt;Definition of attributes, operations and semantics for a quantity of objects.&lt;/P&gt;&lt;P&gt;Class name&lt;/P&gt;&lt;P&gt;Unique name for class.&lt;/P&gt;&lt;P&gt;Class type&lt;/P&gt;&lt;P&gt;Name of type of class. The following types are currently defined:&lt;/P&gt;&lt;P&gt;BO&lt;/P&gt;&lt;P&gt;Business Object Repository&lt;/P&gt;&lt;P&gt;CL&lt;/P&gt;&lt;P&gt;Class Library&lt;/P&gt;&lt;P&gt;OT&lt;/P&gt;&lt;P&gt;Other&lt;/P&gt;&lt;P&gt;Logical system&lt;/P&gt;&lt;P&gt;Instance of an SAP System&lt;/P&gt;&lt;P&gt;Object&lt;/P&gt;&lt;P&gt;An active unit, concretely existing in the current system. Each object is an example for a class.&lt;/P&gt;&lt;P&gt;Object key&lt;/P&gt;&lt;P&gt;Unique identification of an object.&lt;/P&gt;&lt;P&gt;Unique identification of an instance within the logical system and the class. The SAP application can specify the object key. Alternatively, the BDS can generate the object type in the form of a GUID (only for the CREATE method).&lt;/P&gt;&lt;P&gt;Variant&lt;/P&gt;&lt;P&gt;Variants that are semantically equal to the content version, but present the same content in a different language or in a different technical format, can be derived from all content versions.&lt;/P&gt;&lt;P&gt;Version&lt;/P&gt;&lt;P&gt;Documents can have different statuses throughout their life cycle. The status of a document can be changes by content versioning. Content version is used here as a synonym of version. New versions require editing options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;Example: CREATE_WITH_FILES&lt;/P&gt;&lt;P&gt;data: o_document_set type ref to cl_bds_document_set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create object o_document_set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move: '1'                     to wa_signature-doc_count,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        '1'                     to wa_files-doc_count,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      'C:\SAPPCADM'           to wa_files-directory,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      'BDSPresentation.PPT'   to wa_files-filename.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append wa_signature to i_signature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append wa_files to i_files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method o_document_set-&amp;gt;create_with_files&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          exporting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;               classname   = &amp;#145;MyApplication'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;               classtype   = &amp;#145;OT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          changing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;               object_key  = i_object_key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;               files       = i_files&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;               signature   = i_signature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example: GET_WITH_FILES&lt;/P&gt;&lt;P&gt;data: o_document_set type ref to cl_bds_document_set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create object o_document_set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move: '1'                     to wa_signature-doc_count,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &amp;#145;BDS_LOC1  B18EBB28E773D21197E70060B0672A3C'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                               to wa_signature-doc_id,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        '1'                     to wa_signature-doc_ver_no,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        '1'                     to wa_signature-doc_var_id,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        '1'                     to wa_files-doc_count,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      'C:\SAPPCADM'           to wa_files-directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append wa_signature to i_signature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append wa_files to i_files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method o_document_set-&amp;gt;get_with_files&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          exporting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;               classname      = &amp;#145;MyApplication'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;               classtype      = &amp;#145;OT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;              object_key     = &amp;#145;0815'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          changing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;               files          = i_files&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;               signature      = i_signature.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes&lt;/P&gt;&lt;P&gt;The BDS will be available for R/3 Release 4.6A, for pilot projects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Further information&lt;/P&gt;&lt;P&gt;For more information about the Business Document Service (BDS), see the SAP Library unter Basis - Basis Services - Business Document Service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 15:03:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bds-example/m-p/2904576#M683181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-22T15:03:40Z</dc:date>
    </item>
  </channel>
</rss>

