SAP RSO_EXPORT_OBJECT_DOCU Function Module for Export Documents for a BW Meta Object as Complex Type
RSO_EXPORT_OBJECT_DOCU is a standard rso export object docu SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Export Documents for a BW Meta Object as Complex Type processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for rso export object docu FM, simply by entering the name RSO_EXPORT_OBJECT_DOCU into the relevant SAP transaction such as SE37 or SE38.
Function Group: RSO_XML_DOC_API
Program Name: SAPLRSO_XML_DOC_API
Main Program: SAPLRSO_XML_DOC_API
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function RSO_EXPORT_OBJECT_DOCU pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'RSO_EXPORT_OBJECT_DOCU'"Export Documents for a BW Meta Object as Complex Type.
EXPORTING
I_TLOGO = "BW: Object Type (TLOGO)
I_OBJNM = "Object Name in Object Directory
* I_OBJVERS = RS_C_OBJVERS-DELIVERY "Object Version
* I_LANGU = SY-LANGU "Language Key
IMPORTING
E_SX_TLOGO_OBJECT_DOCU = "Documentation Info for a BW Meta Object
EXCEPTIONS
OBJECT_NOT_FOUND = 1
IMPORTING Parameters details for RSO_EXPORT_OBJECT_DOCU
I_TLOGO - BW: Object Type (TLOGO)
Data type: RSTLOGOOptional: No
Call by Reference: No ( called with pass by value option)
I_OBJNM - Object Name in Object Directory
Data type: SOBJ_NAMEOptional: No
Call by Reference: No ( called with pass by value option)
I_OBJVERS - Object Version
Data type: RSOBJVERSDefault: RS_C_OBJVERS-DELIVERY
Optional: No
Call by Reference: No ( called with pass by value option)
I_LANGU - Language Key
Data type: LANGUDefault: SY-LANGU
Optional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RSO_EXPORT_OBJECT_DOCU
E_SX_TLOGO_OBJECT_DOCU - Documentation Info for a BW Meta Object
Data type: RSO_SX_TLOGO_OBJECT_DOCUOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
OBJECT_NOT_FOUND - Object Not Found
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RSO_EXPORT_OBJECT_DOCU Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_i_tlogo | TYPE RSTLOGO, " | |||
| lv_object_not_found | TYPE RSTLOGO, " | |||
| lv_e_sx_tlogo_object_docu | TYPE RSO_SX_TLOGO_OBJECT_DOCU, " | |||
| lv_i_objnm | TYPE SOBJ_NAME, " | |||
| lv_i_objvers | TYPE RSOBJVERS, " RS_C_OBJVERS-DELIVERY | |||
| lv_i_langu | TYPE LANGU. " SY-LANGU |
|   CALL FUNCTION 'RSO_EXPORT_OBJECT_DOCU' "Export Documents for a BW Meta Object as Complex Type |
| EXPORTING | ||
| I_TLOGO | = lv_i_tlogo | |
| I_OBJNM | = lv_i_objnm | |
| I_OBJVERS | = lv_i_objvers | |
| I_LANGU | = lv_i_langu | |
| IMPORTING | ||
| E_SX_TLOGO_OBJECT_DOCU | = lv_e_sx_tlogo_object_docu | |
| EXCEPTIONS | ||
| OBJECT_NOT_FOUND = 1 | ||
| . " RSO_EXPORT_OBJECT_DOCU | ||
ABAP code using 7.40 inline data declarations to call FM RSO_EXPORT_OBJECT_DOCU
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| DATA(ld_i_objvers) | = RS_C_OBJVERS-DELIVERY. | |||
| DATA(ld_i_langu) | = SY-LANGU. | |||
Search for further information about these or an SAP related objects