TMS_TP_SHOW_BUFFER 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 TMS_TP_SHOW_BUFFER into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
TMST
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'TMS_TP_SHOW_BUFFER' "
EXPORTING
iv_system_name = " stpa-sysname
* iv_count_only = " stpa-flag
* iv_maxrc_only = " stpa-flag
* iv_read_locks = " stpa-flag
* iv_clear_locks = " stpa-flag
* iv_prid_text = " stpa-message
* iv_prid_min = 0 " i
* iv_prid_max = 100 " i
IMPORTING
ev_tp_cmd_strg = " stpa-cmdstring
ev_tp_ret_code = " stpa-retcode
ev_tp_message = " stpa-message
ev_tp_version = " stpa-version
ev_tp_alog = " stpa-file
ev_tp_slog = " stpa-file
ev_tp_pid = " stpa-pid
ev_counter = " stpa-counter
ev_tot_count = " stpa-counter
ev_stopmark = " stpa-flag
ev_ctc_active = " stpa-flag
ev_some_active = " stpa-flag
ev_proj_active = " stpa-flag
es_tpstat = " tpstat
et_lock_req = " tmstlockrs
et_lock_pro = " tmstlockps
* TABLES
* tt_stdout = " tpstdout
* tt_buffer = " tpbuffer
* tt_bufcnt = " tpbufcnt
* tt_client = " t000
EXCEPTIONS
PERMISSION_DENIED = 1 "
TP_CALL_FAILED = 2 "
TP_INTERFACE_ERROR = 3 "
TP_REPORTED_ERROR = 4 "
. " TMS_TP_SHOW_BUFFER
The ABAP code below is a full code listing to execute function module TMS_TP_SHOW_BUFFER 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).
| ld_ev_tp_cmd_strg | TYPE STPA-CMDSTRING , |
| ld_ev_tp_ret_code | TYPE STPA-RETCODE , |
| ld_ev_tp_message | TYPE STPA-MESSAGE , |
| ld_ev_tp_version | TYPE STPA-VERSION , |
| ld_ev_tp_alog | TYPE STPA-FILE , |
| ld_ev_tp_slog | TYPE STPA-FILE , |
| ld_ev_tp_pid | TYPE STPA-PID , |
| ld_ev_counter | TYPE STPA-COUNTER , |
| ld_ev_tot_count | TYPE STPA-COUNTER , |
| ld_ev_stopmark | TYPE STPA-FLAG , |
| ld_ev_ctc_active | TYPE STPA-FLAG , |
| ld_ev_some_active | TYPE STPA-FLAG , |
| ld_ev_proj_active | TYPE STPA-FLAG , |
| ld_es_tpstat | TYPE TPSTAT , |
| ld_et_lock_req | TYPE TMSTLOCKRS , |
| ld_et_lock_pro | TYPE TMSTLOCKPS , |
| it_tt_stdout | TYPE STANDARD TABLE OF TPSTDOUT,"TABLES PARAM |
| wa_tt_stdout | LIKE LINE OF it_tt_stdout , |
| it_tt_buffer | TYPE STANDARD TABLE OF TPBUFFER,"TABLES PARAM |
| wa_tt_buffer | LIKE LINE OF it_tt_buffer , |
| it_tt_bufcnt | TYPE STANDARD TABLE OF TPBUFCNT,"TABLES PARAM |
| wa_tt_bufcnt | LIKE LINE OF it_tt_bufcnt , |
| it_tt_client | TYPE STANDARD TABLE OF T000,"TABLES PARAM |
| wa_tt_client | LIKE LINE OF it_tt_client . |
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_ev_tp_cmd_strg | TYPE STPA-CMDSTRING , |
| it_tt_stdout | TYPE STANDARD TABLE OF TPSTDOUT , |
| wa_tt_stdout | LIKE LINE OF it_tt_stdout, |
| ld_iv_system_name | TYPE STPA-SYSNAME , |
| ld_ev_tp_ret_code | TYPE STPA-RETCODE , |
| it_tt_buffer | TYPE STANDARD TABLE OF TPBUFFER , |
| wa_tt_buffer | LIKE LINE OF it_tt_buffer, |
| ld_iv_count_only | TYPE STPA-FLAG , |
| ld_ev_tp_message | TYPE STPA-MESSAGE , |
| it_tt_bufcnt | TYPE STANDARD TABLE OF TPBUFCNT , |
| wa_tt_bufcnt | LIKE LINE OF it_tt_bufcnt, |
| ld_iv_maxrc_only | TYPE STPA-FLAG , |
| it_tt_client | TYPE STANDARD TABLE OF T000 , |
| wa_tt_client | LIKE LINE OF it_tt_client, |
| ld_iv_read_locks | TYPE STPA-FLAG , |
| ld_ev_tp_version | TYPE STPA-VERSION , |
| ld_iv_clear_locks | TYPE STPA-FLAG , |
| ld_ev_tp_alog | TYPE STPA-FILE , |
| ld_iv_prid_text | TYPE STPA-MESSAGE , |
| ld_ev_tp_slog | TYPE STPA-FILE , |
| ld_iv_prid_min | TYPE I , |
| ld_ev_tp_pid | TYPE STPA-PID , |
| ld_iv_prid_max | TYPE I , |
| ld_ev_counter | TYPE STPA-COUNTER , |
| ld_ev_tot_count | TYPE STPA-COUNTER , |
| ld_ev_stopmark | TYPE STPA-FLAG , |
| ld_ev_ctc_active | TYPE STPA-FLAG , |
| ld_ev_some_active | TYPE STPA-FLAG , |
| ld_ev_proj_active | TYPE STPA-FLAG , |
| ld_es_tpstat | TYPE TPSTAT , |
| ld_et_lock_req | TYPE TMSTLOCKRS , |
| ld_et_lock_pro | TYPE TMSTLOCKPS . |
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 TMS_TP_SHOW_BUFFER or its description.