BDS_BUSINESSDOCUMENT_CRE_O_URL is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name BDS_BUSINESSDOCUMENT_CRE_O_URL into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
BDS_BAPI
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'BDS_BUSINESSDOCUMENT_CRE_O_URL' "
EXPORTING
* logical_system = " bapibds01-log_system
classname = " bapibds01-classname
classtype = " bapibds01-classtype
* client = SY-MANDT " bapibds01-client
* object_key = " bapibds01-objkey
url = " bapibds01-uri
* binary_flag = 'X' " bapibds01-x BDS: Flag
mimetype = " bapibds01-mimetype Business Document Service: MIME type
IMPORTING
doc_id = " bapibds01-doc_id Business Document Service: Document ID
doc_ver_no = " bapibds01-doc_ver_no Business Document Service: Document version number
doc_var_id = " bapibds01-doc_var_id Business Document Service: Document variant ID
* TABLES
* properties = " bapiproper BDS: Structure for Properties
EXCEPTIONS
NOTHING_FOUND = 1 "
PARAMETER_ERROR = 2 "
NOT_ALLOWED = 3 "
ERROR_KPRO = 4 "
INTERNAL_ERROR = 5 "
NOT_AUTHORIZED = 6 "
ERROR_DP = 7 "
. " BDS_BUSINESSDOCUMENT_CRE_O_URL
The ABAP code below is a full code listing to execute function module BDS_BUSINESSDOCUMENT_CRE_O_URL including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_doc_id | TYPE BAPIBDS01-DOC_ID , |
| ld_doc_ver_no | TYPE BAPIBDS01-DOC_VER_NO , |
| ld_doc_var_id | TYPE BAPIBDS01-DOC_VAR_ID , |
| it_properties | TYPE STANDARD TABLE OF BAPIPROPER,"TABLES PARAM |
| wa_properties | LIKE LINE OF it_properties . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_doc_id | TYPE BAPIBDS01-DOC_ID , |
| ld_logical_system | TYPE BAPIBDS01-LOG_SYSTEM , |
| it_properties | TYPE STANDARD TABLE OF BAPIPROPER , |
| wa_properties | LIKE LINE OF it_properties, |
| ld_doc_ver_no | TYPE BAPIBDS01-DOC_VER_NO , |
| ld_classname | TYPE BAPIBDS01-CLASSNAME , |
| ld_doc_var_id | TYPE BAPIBDS01-DOC_VAR_ID , |
| ld_classtype | TYPE BAPIBDS01-CLASSTYPE , |
| ld_client | TYPE BAPIBDS01-CLIENT , |
| ld_object_key | TYPE BAPIBDS01-OBJKEY , |
| ld_url | TYPE BAPIBDS01-URI , |
| ld_binary_flag | TYPE BAPIBDS01-X , |
| ld_mimetype | TYPE BAPIBDS01-MIMETYPE . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BDS_BUSINESSDOCUMENT_CRE_O_URL or its description.