SAP CONVT_READ_DOCUMENT_STRUCTURE Function Module for NOTRANSL: Dokumentstruktur mehrstufig auflösen









CONVT_READ_DOCUMENT_STRUCTURE is a standard convt read document structure SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Dokumentstruktur mehrstufig auflösen 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 convt read document structure FM, simply by entering the name CONVT_READ_DOCUMENT_STRUCTURE into the relevant SAP transaction such as SE37 or SE38.

Function Group: CONVT
Program Name: SAPLCONVT
Main Program: SAPLCONVT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CONVT_READ_DOCUMENT_STRUCTURE 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 'CONVT_READ_DOCUMENT_STRUCTURE'"NOTRANSL: Dokumentstruktur mehrstufig auflösen
EXPORTING
DOCUMENT_KEY = "Key Fields for a Document
WA_CONVERT_SPEC = "Detailed Information About Special Conversions
WA_CONV_REQUESTED = "Information About the Conversion to Be Carried Out
DATE_VALID = "Valid-From Date
* HEAD_GUID = "Guid external display (char32)
* HEAD_GUID_X = "GUID(22) + CONV_GUID_EXT = cpdmu_ext_guid_type

TABLES
TA_CONV_REQ_DATA = "Documents and IDs of the Transformation Matrices
T_CONV_STRUCT_FILENAME = "Structure for transfer to converter
.



IMPORTING Parameters details for CONVT_READ_DOCUMENT_STRUCTURE

DOCUMENT_KEY - Key Fields for a Document

Data type: CONV_S_DOCUMENT_KEY
Optional: No
Call by Reference: Yes

WA_CONVERT_SPEC - Detailed Information About Special Conversions

Data type: CONVERT_SPEC
Optional: No
Call by Reference: Yes

WA_CONV_REQUESTED - Information About the Conversion to Be Carried Out

Data type: CONV_S_REQUESTED
Optional: No
Call by Reference: Yes

DATE_VALID - Valid-From Date

Data type: CC_CCDAT
Optional: No
Call by Reference: Yes

HEAD_GUID - Guid external display (char32)

Data type: CS_GUIDC
Optional: Yes
Call by Reference: Yes

HEAD_GUID_X - GUID(22) + CONV_GUID_EXT = cpdmu_ext_guid_type

Data type: CONV_GUID_EXT
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for CONVT_READ_DOCUMENT_STRUCTURE

TA_CONV_REQ_DATA - Documents and IDs of the Transformation Matrices

Data type: CONV_S_REQ_DATA
Optional: No
Call by Reference: Yes

T_CONV_STRUCT_FILENAME - Structure for transfer to converter

Data type: CONV_STRUCT_FILENAME
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CONVT_READ_DOCUMENT_STRUCTURE 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_document_key  TYPE CONV_S_DOCUMENT_KEY, "   
lt_ta_conv_req_data  TYPE STANDARD TABLE OF CONV_S_REQ_DATA, "   
lv_wa_convert_spec  TYPE CONVERT_SPEC, "   
lt_t_conv_struct_filename  TYPE STANDARD TABLE OF CONV_STRUCT_FILENAME, "   
lv_wa_conv_requested  TYPE CONV_S_REQUESTED, "   
lv_date_valid  TYPE CC_CCDAT, "   
lv_head_guid  TYPE CS_GUIDC, "   
lv_head_guid_x  TYPE CONV_GUID_EXT. "   

  CALL FUNCTION 'CONVT_READ_DOCUMENT_STRUCTURE'  "NOTRANSL: Dokumentstruktur mehrstufig auflösen
    EXPORTING
         DOCUMENT_KEY = lv_document_key
         WA_CONVERT_SPEC = lv_wa_convert_spec
         WA_CONV_REQUESTED = lv_wa_conv_requested
         DATE_VALID = lv_date_valid
         HEAD_GUID = lv_head_guid
         HEAD_GUID_X = lv_head_guid_x
    TABLES
         TA_CONV_REQ_DATA = lt_ta_conv_req_data
         T_CONV_STRUCT_FILENAME = lt_t_conv_struct_filename
. " CONVT_READ_DOCUMENT_STRUCTURE




ABAP code using 7.40 inline data declarations to call FM CONVT_READ_DOCUMENT_STRUCTURE

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.

 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!