SAP Function Modules

SMPP_CALL_JAVA_RUNTIME3 SAP Function module







SMPP_CALL_JAVA_RUNTIME3 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 SMPP_CALL_JAVA_RUNTIME3 into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: SMPP
Released Date: Not Released
Processing type: Remote-Enabled
remote enabled module settings


Pattern for FM SMPP_CALL_JAVA_RUNTIME3 - SMPP CALL JAVA RUNTIME3





CALL FUNCTION 'SMPP_CALL_JAVA_RUNTIME3' "
  EXPORTING
    source =                    " xstring       XML Document
    steps =                     " mp3_mappingstep_tab  Table of Mapping Steps
    params =                    " mpp_param_tab  Table of Mapping Parameters
*   loglevel =                  " mp3_loglevel  Log Level
*   control =                   " mp3_control   Control Indicator
*   parametrization =           " mp3_parametrization
*   dynamic =                   " mp3_dynamic_tab
*   attachments_available =     " sxi_boolean
*   attachments =               " mp3_attachment_tab
  IMPORTING
    result =                    " xstring       XML Document
    logs =                      " mp3_logs      Table of Log Entries
    mapping_return =            " mp3_msg
    docs =                      " mp3_docs
    return_params =             " mpp_param_tab
    return_parametrization =    " mp3_parametrization
    return_dynamic =            " mp3_dynamic_tab
    return_attachments =        " mp3_attachment_tab
    .  "  SMPP_CALL_JAVA_RUNTIME3

ABAP code example for Function Module SMPP_CALL_JAVA_RUNTIME3





The ABAP code below is a full code listing to execute function module SMPP_CALL_JAVA_RUNTIME3 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).

DATA:
ld_result  TYPE XSTRING ,
ld_logs  TYPE MP3_LOGS ,
ld_mapping_return  TYPE MP3_MSG ,
ld_docs  TYPE MP3_DOCS ,
ld_return_params  TYPE MPP_PARAM_TAB ,
ld_return_parametrization  TYPE MP3_PARAMETRIZATION ,
ld_return_dynamic  TYPE MP3_DYNAMIC_TAB ,
ld_return_attachments  TYPE MP3_ATTACHMENT_TAB .

DATA(ld_source) = 'Check type of data required'.
DATA(ld_steps) = 'Check type of data required'.
DATA(ld_params) = 'Check type of data required'.
DATA(ld_loglevel) = 'Check type of data required'.
DATA(ld_control) = 'Check type of data required'.
DATA(ld_parametrization) = 'Check type of data required'.
DATA(ld_dynamic) = 'Check type of data required'.
DATA(ld_attachments_available) = 'Check type of data required'.
DATA(ld_attachments) = 'Check type of data required'. . CALL FUNCTION 'SMPP_CALL_JAVA_RUNTIME3' EXPORTING source = ld_source steps = ld_steps params = ld_params * loglevel = ld_loglevel * control = ld_control * parametrization = ld_parametrization * dynamic = ld_dynamic * attachments_available = ld_attachments_available * attachments = ld_attachments IMPORTING result = ld_result logs = ld_logs mapping_return = ld_mapping_return docs = ld_docs return_params = ld_return_params return_parametrization = ld_return_parametrization return_dynamic = ld_return_dynamic return_attachments = ld_return_attachments . " SMPP_CALL_JAVA_RUNTIME3
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_result  TYPE XSTRING ,
ld_source  TYPE XSTRING ,
ld_logs  TYPE MP3_LOGS ,
ld_steps  TYPE MP3_MAPPINGSTEP_TAB ,
ld_mapping_return  TYPE MP3_MSG ,
ld_params  TYPE MPP_PARAM_TAB ,
ld_docs  TYPE MP3_DOCS ,
ld_loglevel  TYPE MP3_LOGLEVEL ,
ld_return_params  TYPE MPP_PARAM_TAB ,
ld_control  TYPE MP3_CONTROL ,
ld_return_parametrization  TYPE MP3_PARAMETRIZATION ,
ld_parametrization  TYPE MP3_PARAMETRIZATION ,
ld_return_dynamic  TYPE MP3_DYNAMIC_TAB ,
ld_dynamic  TYPE MP3_DYNAMIC_TAB ,
ld_return_attachments  TYPE MP3_ATTACHMENT_TAB ,
ld_attachments_available  TYPE SXI_BOOLEAN ,
ld_attachments  TYPE MP3_ATTACHMENT_TAB .

ld_source = 'Check type of data required'.
ld_steps = 'Check type of data required'.
ld_params = 'Check type of data required'.
ld_loglevel = 'Check type of data required'.
ld_control = 'Check type of data required'.
ld_parametrization = 'Check type of data required'.
ld_dynamic = 'Check type of data required'.
ld_attachments_available = 'Check type of data required'.
ld_attachments = 'Check type of data required'.

Contribute (Add Comments)

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 SMPP_CALL_JAVA_RUNTIME3 or its description.