SAP RS_DME_DTG_GET_PMML Function Module for Function module to retrieve the PMML









RS_DME_DTG_GET_PMML is a standard rs dme dtg get pmml SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Function module to retrieve the PMML 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 rs dme dtg get pmml FM, simply by entering the name RS_DME_DTG_GET_PMML into the relevant SAP transaction such as SE37 or SE38.

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



Function RS_DME_DTG_GET_PMML 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 'RS_DME_DTG_GET_PMML'"Function module to retrieve the PMML
EXPORTING
I_MODEL = "Analytical Model
* I_WITH_GUID = "With Guids Flag

IMPORTING
E_PMML_STRING = "PMML string
E_SIZE = "PMML file size
E_STORAGE_LOC = "Storage location
E_FILENAME = "PMML file name
E_TEXTS_STRING = "Texts XML

TABLES
* E_T_PMML_XML = "PMML file in HTML format
* E_T_GUID_XML = "Texts file in HTML format
* E_T_RETURN = "Return Parameter
.



IMPORTING Parameters details for RS_DME_DTG_GET_PMML

I_MODEL - Analytical Model

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

I_WITH_GUID - With Guids Flag

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

EXPORTING Parameters details for RS_DME_DTG_GET_PMML

E_PMML_STRING - PMML string

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

E_SIZE - PMML file size

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

E_STORAGE_LOC - Storage location

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

E_FILENAME - PMML file name

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

E_TEXTS_STRING - Texts XML

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

TABLES Parameters details for RS_DME_DTG_GET_PMML

E_T_PMML_XML - PMML file in HTML format

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

E_T_GUID_XML - Texts file in HTML format

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

E_T_RETURN - Return Parameter

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

Copy and paste ABAP code example for RS_DME_DTG_GET_PMML 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_model  TYPE RSDMEM_MODEL, "   
lt_e_t_pmml_xml  TYPE STANDARD TABLE OF W3HTML, "   
lv_e_pmml_string  TYPE STRING, "   
lv_e_size  TYPE I, "   
lv_i_with_guid  TYPE RSDMEM_BOOL_CH, "   
lt_e_t_guid_xml  TYPE STANDARD TABLE OF W3HTML, "   
lt_e_t_return  TYPE STANDARD TABLE OF BAPIRET2, "   
lv_e_storage_loc  TYPE STRING, "   
lv_e_filename  TYPE STRING, "   
lv_e_texts_string  TYPE STRING. "   

  CALL FUNCTION 'RS_DME_DTG_GET_PMML'  "Function module to retrieve the PMML
    EXPORTING
         I_MODEL = lv_i_model
         I_WITH_GUID = lv_i_with_guid
    IMPORTING
         E_PMML_STRING = lv_e_pmml_string
         E_SIZE = lv_e_size
         E_STORAGE_LOC = lv_e_storage_loc
         E_FILENAME = lv_e_filename
         E_TEXTS_STRING = lv_e_texts_string
    TABLES
         E_T_PMML_XML = lt_e_t_pmml_xml
         E_T_GUID_XML = lt_e_t_guid_xml
         E_T_RETURN = lt_e_t_return
. " RS_DME_DTG_GET_PMML




ABAP code using 7.40 inline data declarations to call FM RS_DME_DTG_GET_PMML

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!