SAP HR_MX_CREATE_TEMSE Function Module for









HR_MX_CREATE_TEMSE is a standard hr mx create temse 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 hr mx create temse FM, simply by entering the name HR_MX_CREATE_TEMSE into the relevant SAP transaction such as SE37 or SE38.

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



Function HR_MX_CREATE_TEMSE 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 'HR_MX_CREATE_TEMSE'"
EXPORTING
IM_TAB_TEMSE = "
* IM_APPL = "
* IM_MESSAGE = 'X' "
* IM_TEST = "
* IM_ACB2A = "
* IM_TXB2A = "
* IV_DOCTYPE = "
* IV_B2AID = "
* IM_FILTER = "

IMPORTING
EX_TEMSE = "
EX_RETURNCODE = "

CHANGING
* CH_PB2AMGR = "
* CH_TEMSE_ATR = "
* CH_TAB_ERROR = "
.



IMPORTING Parameters details for HR_MX_CREATE_TEMSE

IM_TAB_TEMSE -

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

IM_APPL -

Data type: T5F99F0-APPL
Optional: Yes
Call by Reference: Yes

IM_MESSAGE -

Data type: C
Default: 'X'
Optional: Yes
Call by Reference: Yes

IM_TEST -

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

IM_ACB2A -

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

IM_TXB2A -

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

IV_DOCTYPE -

Data type: V_PB2AMGR-DOCTY
Optional: Yes
Call by Reference: Yes

IV_B2AID -

Data type: V_PB2AMGR-B2AID
Optional: Yes
Call by Reference: Yes

IM_FILTER -

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

EXPORTING Parameters details for HR_MX_CREATE_TEMSE

EX_TEMSE -

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

EX_RETURNCODE -

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

CHANGING Parameters details for HR_MX_CREATE_TEMSE

CH_PB2AMGR -

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

CH_TEMSE_ATR -

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

CH_TAB_ERROR -

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

Copy and paste ABAP code example for HR_MX_CREATE_TEMSE 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_ex_temse  TYPE CL_HR99S00_TEMSE, "   
lv_ch_pb2amgr  TYPE HRB2A_S_V_PB2AMGR, "   
lv_im_tab_temse  TYPE TABLE, "   
lv_im_appl  TYPE T5F99F0-APPL, "   
lv_ch_temse_atr  TYPE PMXDQ_TEMSE_ATR, "   
lv_ex_returncode  TYPE SYSUBRC, "   
lv_im_message  TYPE C, "   'X'
lv_ch_tab_error  TYPE P99SF_TAB_ERROR, "   
lv_im_test  TYPE C, "   
lv_im_acb2a  TYPE PMX_ACB2A, "   
lv_im_txb2a  TYPE PMX_TXB2A, "   
lv_iv_doctype  TYPE V_PB2AMGR-DOCTY, "   
lv_iv_b2aid  TYPE V_PB2AMGR-B2AID, "   
lv_im_filter  TYPE PMXDQ_FILTER. "   

  CALL FUNCTION 'HR_MX_CREATE_TEMSE'  "
    EXPORTING
         IM_TAB_TEMSE = lv_im_tab_temse
         IM_APPL = lv_im_appl
         IM_MESSAGE = lv_im_message
         IM_TEST = lv_im_test
         IM_ACB2A = lv_im_acb2a
         IM_TXB2A = lv_im_txb2a
         IV_DOCTYPE = lv_iv_doctype
         IV_B2AID = lv_iv_b2aid
         IM_FILTER = lv_im_filter
    IMPORTING
         EX_TEMSE = lv_ex_temse
         EX_RETURNCODE = lv_ex_returncode
    CHANGING
         CH_PB2AMGR = lv_ch_pb2amgr
         CH_TEMSE_ATR = lv_ch_temse_atr
         CH_TAB_ERROR = lv_ch_tab_error
. " HR_MX_CREATE_TEMSE




ABAP code using 7.40 inline data declarations to call FM HR_MX_CREATE_TEMSE

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.

 
 
 
"SELECT single APPL FROM T5F99F0 INTO @DATA(ld_im_appl).
 
 
 
DATA(ld_im_message) = 'X'.
 
 
 
 
 
"SELECT single DOCTY FROM V_PB2AMGR INTO @DATA(ld_iv_doctype).
 
"SELECT single B2AID FROM V_PB2AMGR INTO @DATA(ld_iv_b2aid).
 
 


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!