SAP IWB_INFO_OBJECT_TRANSFORM Function Module for Creating transformations in XML areas
IWB_INFO_OBJECT_TRANSFORM is a standard iwb info object transform SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Creating transformations in XML areas 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 iwb info object transform FM, simply by entering the name IWB_INFO_OBJECT_TRANSFORM into the relevant SAP transaction such as SE37 or SE38.
Function Group: IWB_XSLT
Program Name: SAPLIWB_XSLT
Main Program: SAPLIWB_XSLT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function IWB_INFO_OBJECT_TRANSFORM 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 'IWB_INFO_OBJECT_TRANSFORM'"Creating transformations in XML areas.
EXPORTING
INFO_OBJECT = "SDOK: BOR key for information object
XSLT_OBJECT = "SDOK: BOR key for information object
* SUPPRESS_AUTHORITY_CHECK = 'X' "Single-character flag
* TRANSFORM_BINARY_DATA = 'X' "Convert binary data into dest format if not yet done
* STOWAWAY = "beliebiges Anwendungs-Objekt zum Durchreichen an die EXITs
IMPORTING
FILE_SIZE = "
ERR_MSG = "IWB: Message passing structure
TABLES
CONTEXT = "SDOK: Object attribute, name and feature
MIME_OBJECTS = "SDOK: Object attribute, name and feature
FILE_CONTENT_BINARY = "SDOK: Line of binary document content for WWW server
* LINKS = "SDOK: BOR key for information object
IMPORTING Parameters details for IWB_INFO_OBJECT_TRANSFORM
INFO_OBJECT - SDOK: BOR key for information object
Data type: SDOKOBJECTOptional: No
Call by Reference: No ( called with pass by value option)
XSLT_OBJECT - SDOK: BOR key for information object
Data type: SDOKOBJECTOptional: No
Call by Reference: No ( called with pass by value option)
SUPPRESS_AUTHORITY_CHECK - Single-character flag
Data type: IWPARAMS-FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
TRANSFORM_BINARY_DATA - Convert binary data into dest format if not yet done
Data type: IWPARAMS-FLAGDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
STOWAWAY - beliebiges Anwendungs-Objekt zum Durchreichen an die EXITs
Data type: OBJECTOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for IWB_INFO_OBJECT_TRANSFORM
FILE_SIZE -
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
ERR_MSG - IWB: Message passing structure
Data type: IWERRORMSGOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for IWB_INFO_OBJECT_TRANSFORM
CONTEXT - SDOK: Object attribute, name and feature
Data type: SDOKPROPTYOptional: No
Call by Reference: No ( called with pass by value option)
MIME_OBJECTS - SDOK: Object attribute, name and feature
Data type: IWBMIMEPHCNTBINOptional: No
Call by Reference: Yes
FILE_CONTENT_BINARY - SDOK: Line of binary document content for WWW server
Data type: SDOKCNTBINOptional: No
Call by Reference: Yes
LINKS - SDOK: BOR key for information object
Data type: SDOKOBJECTOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for IWB_INFO_OBJECT_TRANSFORM 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: | ||||
| lt_context | TYPE STANDARD TABLE OF SDOKPROPTY, " | |||
| lv_file_size | TYPE I, " | |||
| lv_info_object | TYPE SDOKOBJECT, " | |||
| lv_err_msg | TYPE IWERRORMSG, " | |||
| lv_xslt_object | TYPE SDOKOBJECT, " | |||
| lt_mime_objects | TYPE STANDARD TABLE OF IWBMIMEPHCNTBIN, " | |||
| lt_file_content_binary | TYPE STANDARD TABLE OF SDOKCNTBIN, " | |||
| lv_suppress_authority_check | TYPE IWPARAMS-FLAG, " 'X' | |||
| lt_links | TYPE STANDARD TABLE OF SDOKOBJECT, " | |||
| lv_transform_binary_data | TYPE IWPARAMS-FLAG, " 'X' | |||
| lv_stowaway | TYPE OBJECT. " |
|   CALL FUNCTION 'IWB_INFO_OBJECT_TRANSFORM' "Creating transformations in XML areas |
| EXPORTING | ||
| INFO_OBJECT | = lv_info_object | |
| XSLT_OBJECT | = lv_xslt_object | |
| SUPPRESS_AUTHORITY_CHECK | = lv_suppress_authority_check | |
| TRANSFORM_BINARY_DATA | = lv_transform_binary_data | |
| STOWAWAY | = lv_stowaway | |
| IMPORTING | ||
| FILE_SIZE | = lv_file_size | |
| ERR_MSG | = lv_err_msg | |
| TABLES | ||
| CONTEXT | = lt_context | |
| MIME_OBJECTS | = lt_mime_objects | |
| FILE_CONTENT_BINARY | = lt_file_content_binary | |
| LINKS | = lt_links | |
| . " IWB_INFO_OBJECT_TRANSFORM | ||
ABAP code using 7.40 inline data declarations to call FM IWB_INFO_OBJECT_TRANSFORM
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.| "SELECT single FLAG FROM IWPARAMS INTO @DATA(ld_suppress_authority_check). | ||||
| DATA(ld_suppress_authority_check) | = 'X'. | |||
| "SELECT single FLAG FROM IWPARAMS INTO @DATA(ld_transform_binary_data). | ||||
| DATA(ld_transform_binary_data) | = 'X'. | |||
Search for further information about these or an SAP related objects