SAP TMS_UNI_PUT_DATA Function Module for









TMS_UNI_PUT_DATA is a standard tms uni put data SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 tms uni put data FM, simply by entering the name TMS_UNI_PUT_DATA into the relevant SAP transaction such as SE37 or SE38.

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



Function TMS_UNI_PUT_DATA 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 'TMS_UNI_PUT_DATA'"
EXPORTING
* PARAM0 = "
* PARAM9 = "
* I_PTYP0 = "
* I_PTYP1 = "
* I_PTYP2 = "
* I_PTYP3 = "
* I_PTYP4 = "
* I_PTYP5 = "
* I_PTYP6 = "
* I_PTYP7 = "
* I_PTYP8 = "
* PARAM1 = "
* I_PTYP9 = "
* I_TTYP0 = "
* I_TTYP1 = "
* I_TTYP2 = "
* I_TTYP3 = "
* I_TTYP4 = "
* I_TTYP5 = "
* I_TTYP6 = "
* I_TTYP7 = "
* I_TTYP8 = "
* PARAM2 = "
* I_TTYP9 = "
* I_TTYPA = "
* I_TTYPB = "
* I_TTYPC = "
* I_TTYPD = "
* I_TTYPE = "
* I_TTYPF = "
* IV_INITIALIZE = 'X' "
* PARAM3 = "
* PARAM4 = "
* PARAM5 = "
* PARAM6 = "
* PARAM7 = "
* PARAM8 = "

IMPORTING
ES_EXCEPTION = "

TABLES
* TABLE0 = "
* TABLE9 = "
* TABLEA = "
* TABLEB = "
* TABLEC = "
* TABLED = "
* TABLEE = "
* TABLEF = "
* TABLE1 = "Table 1
* TABLE2 = "Table 2
* TABLE3 = "Table 4
* TABLE4 = "
* TABLE5 = "
* TABLE6 = "
* TABLE7 = "
* TABLE8 = "

EXCEPTIONS
ALERT = 1
.



IMPORTING Parameters details for TMS_UNI_PUT_DATA

PARAM0 -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

PARAM9 -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PTYP0 -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PTYP1 -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PTYP2 -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PTYP3 -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PTYP4 -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PTYP5 -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PTYP6 -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PTYP7 -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PTYP8 -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

PARAM1 -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_PTYP9 -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TTYP0 -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TTYP1 -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TTYP2 -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TTYP3 -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TTYP4 -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TTYP5 -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TTYP6 -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TTYP7 -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TTYP8 -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

PARAM2 -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TTYP9 -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TTYPA -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TTYPB -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TTYPC -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TTYPD -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TTYPE -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_TTYPF -

Data type: C
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_INITIALIZE -

Data type: FLAG
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

PARAM3 -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

PARAM4 -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

PARAM5 -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

PARAM6 -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

PARAM7 -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

PARAM8 -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for TMS_UNI_PUT_DATA

ES_EXCEPTION -

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

TABLES Parameters details for TMS_UNI_PUT_DATA

TABLE0 -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLE9 -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLEA -

Data type:
Optional: Yes
Call by Reference: Yes

TABLEB -

Data type:
Optional: Yes
Call by Reference: Yes

TABLEC -

Data type:
Optional: Yes
Call by Reference: Yes

TABLED -

Data type:
Optional: Yes
Call by Reference: Yes

TABLEE -

Data type:
Optional: Yes
Call by Reference: Yes

TABLEF -

Data type:
Optional: Yes
Call by Reference: Yes

TABLE1 - Table 1

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLE2 - Table 2

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLE3 - Table 4

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLE4 -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLE5 -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLE6 -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLE7 -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

TABLE8 -

Data type:
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

ALERT -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for TMS_UNI_PUT_DATA 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_alert  TYPE STRING, "   
lv_param0  TYPE STRING, "   
lt_table0  TYPE STANDARD TABLE OF STRING, "   
lv_es_exception  TYPE STMSCALERT, "   
lv_param9  TYPE STMSCALERT, "   
lt_table9  TYPE STANDARD TABLE OF STMSCALERT, "   
lt_tablea  TYPE STANDARD TABLE OF STMSCALERT, "   
lv_i_ptyp0  TYPE C, "   
lt_tableb  TYPE STANDARD TABLE OF C, "   
lv_i_ptyp1  TYPE C, "   
lt_tablec  TYPE STANDARD TABLE OF C, "   
lv_i_ptyp2  TYPE C, "   
lt_tabled  TYPE STANDARD TABLE OF C, "   
lv_i_ptyp3  TYPE C, "   
lt_tablee  TYPE STANDARD TABLE OF C, "   
lv_i_ptyp4  TYPE C, "   
lt_tablef  TYPE STANDARD TABLE OF C, "   
lv_i_ptyp5  TYPE C, "   
lv_i_ptyp6  TYPE C, "   
lv_i_ptyp7  TYPE C, "   
lv_i_ptyp8  TYPE C, "   
lv_param1  TYPE C, "   
lt_table1  TYPE STANDARD TABLE OF C, "   
lv_i_ptyp9  TYPE C, "   
lv_i_ttyp0  TYPE C, "   
lv_i_ttyp1  TYPE C, "   
lv_i_ttyp2  TYPE C, "   
lv_i_ttyp3  TYPE C, "   
lv_i_ttyp4  TYPE C, "   
lv_i_ttyp5  TYPE C, "   
lv_i_ttyp6  TYPE C, "   
lv_i_ttyp7  TYPE C, "   
lv_i_ttyp8  TYPE C, "   
lv_param2  TYPE C, "   
lt_table2  TYPE STANDARD TABLE OF C, "   
lv_i_ttyp9  TYPE C, "   
lv_i_ttypa  TYPE C, "   
lv_i_ttypb  TYPE C, "   
lv_i_ttypc  TYPE C, "   
lv_i_ttypd  TYPE C, "   
lv_i_ttype  TYPE C, "   
lv_i_ttypf  TYPE C, "   
lv_iv_initialize  TYPE FLAG, "   'X'
lv_param3  TYPE FLAG, "   
lt_table3  TYPE STANDARD TABLE OF FLAG, "   
lv_param4  TYPE FLAG, "   
lt_table4  TYPE STANDARD TABLE OF FLAG, "   
lv_param5  TYPE FLAG, "   
lt_table5  TYPE STANDARD TABLE OF FLAG, "   
lv_param6  TYPE FLAG, "   
lt_table6  TYPE STANDARD TABLE OF FLAG, "   
lv_param7  TYPE FLAG, "   
lt_table7  TYPE STANDARD TABLE OF FLAG, "   
lv_param8  TYPE FLAG, "   
lt_table8  TYPE STANDARD TABLE OF FLAG. "   

  CALL FUNCTION 'TMS_UNI_PUT_DATA'  "
    EXPORTING
         PARAM0 = lv_param0
         PARAM9 = lv_param9
         I_PTYP0 = lv_i_ptyp0
         I_PTYP1 = lv_i_ptyp1
         I_PTYP2 = lv_i_ptyp2
         I_PTYP3 = lv_i_ptyp3
         I_PTYP4 = lv_i_ptyp4
         I_PTYP5 = lv_i_ptyp5
         I_PTYP6 = lv_i_ptyp6
         I_PTYP7 = lv_i_ptyp7
         I_PTYP8 = lv_i_ptyp8
         PARAM1 = lv_param1
         I_PTYP9 = lv_i_ptyp9
         I_TTYP0 = lv_i_ttyp0
         I_TTYP1 = lv_i_ttyp1
         I_TTYP2 = lv_i_ttyp2
         I_TTYP3 = lv_i_ttyp3
         I_TTYP4 = lv_i_ttyp4
         I_TTYP5 = lv_i_ttyp5
         I_TTYP6 = lv_i_ttyp6
         I_TTYP7 = lv_i_ttyp7
         I_TTYP8 = lv_i_ttyp8
         PARAM2 = lv_param2
         I_TTYP9 = lv_i_ttyp9
         I_TTYPA = lv_i_ttypa
         I_TTYPB = lv_i_ttypb
         I_TTYPC = lv_i_ttypc
         I_TTYPD = lv_i_ttypd
         I_TTYPE = lv_i_ttype
         I_TTYPF = lv_i_ttypf
         IV_INITIALIZE = lv_iv_initialize
         PARAM3 = lv_param3
         PARAM4 = lv_param4
         PARAM5 = lv_param5
         PARAM6 = lv_param6
         PARAM7 = lv_param7
         PARAM8 = lv_param8
    IMPORTING
         ES_EXCEPTION = lv_es_exception
    TABLES
         TABLE0 = lt_table0
         TABLE9 = lt_table9
         TABLEA = lt_tablea
         TABLEB = lt_tableb
         TABLEC = lt_tablec
         TABLED = lt_tabled
         TABLEE = lt_tablee
         TABLEF = lt_tablef
         TABLE1 = lt_table1
         TABLE2 = lt_table2
         TABLE3 = lt_table3
         TABLE4 = lt_table4
         TABLE5 = lt_table5
         TABLE6 = lt_table6
         TABLE7 = lt_table7
         TABLE8 = lt_table8
    EXCEPTIONS
        ALERT = 1
. " TMS_UNI_PUT_DATA




ABAP code using 7.40 inline data declarations to call FM TMS_UNI_PUT_DATA

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_iv_initialize) = 'X'.
 
 
 
 
 
 
 
 
 
 
 
 
 


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!