SAP OIUH_TRLT140 Function Module for Business Logic for OIUH_TR01
OIUH_TRLT140 is a standard oiuh trlt140 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Business Logic for OIUH_TR01 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 oiuh trlt140 FM, simply by entering the name OIUH_TRLT140 into the relevant SAP transaction such as SE37 or SE38.
Function Group: OIUH_TRLT140
Program Name: SAPLOIUH_TRLT140
Main Program: SAPLOIUH_TRLT140
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function OIUH_TRLT140 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 'OIUH_TRLT140'"Business Logic for OIUH_TR01.
EXPORTING
P_HEADER_ACTION_IND = "
P_NAME = "
P_TITLE = "
P_PHONE = "
P_THDR_VER_NO = "
P_USER_ID = "
P_RESP_CD = "
P_BAN = "
P_DLN_DT_PREP = "
P_DLN_RPT = "
P_REV_ACCT_NO = "
P_WARNING_INDICATOR = "
P_FEI = "
* P_SRT = "
P_ST_CD = "
P_CO_NO = "
P_RPT_NO = "
P_CO_RPT_NO = "
P_THDR_EFF_FROM_DT = "
P_THDR_EFF_TO_DT_IN = "
P_THDR_EFF_TO_DT_CD = "
IMPORTING
P_THDR_EFF_TO_DT_OUT = "
TABLES
DETAIL_ACTION_IND = "
OWN_NO = "
OWN_SEQ_NO = "
P_TRP_EFF_FROM_DT = "
P_TRP_EFF_TO_DT = "
P_TRP_EFF_TO_DT_CD = "
P_TRP_VER_NO = "
EXCEPTIONS
GOBACK = 1 WARNING = 2 FAILED = 3
IMPORTING Parameters details for OIUH_TRLT140
P_HEADER_ACTION_IND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
P_NAME -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
P_TITLE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
P_PHONE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
P_THDR_VER_NO -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
P_USER_ID -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
P_RESP_CD -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
P_BAN -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
P_DLN_DT_PREP -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
P_DLN_RPT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
P_REV_ACCT_NO -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
P_WARNING_INDICATOR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
P_FEI -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
P_SRT -
Data type:Optional: Yes
Call by Reference: No ( called with pass by value option)
P_ST_CD -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
P_CO_NO -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
P_RPT_NO -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
P_CO_RPT_NO -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
P_THDR_EFF_FROM_DT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
P_THDR_EFF_TO_DT_IN -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
P_THDR_EFF_TO_DT_CD -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for OIUH_TRLT140
P_THDR_EFF_TO_DT_OUT -
Data type:Optional: No
Call by Reference: Yes
TABLES Parameters details for OIUH_TRLT140
DETAIL_ACTION_IND -
Data type:Optional: No
Call by Reference: Yes
OWN_NO -
Data type:Optional: No
Call by Reference: Yes
OWN_SEQ_NO -
Data type:Optional: No
Call by Reference: Yes
P_TRP_EFF_FROM_DT -
Data type:Optional: No
Call by Reference: Yes
P_TRP_EFF_TO_DT -
Data type:Optional: No
Call by Reference: Yes
P_TRP_EFF_TO_DT_CD -
Data type:Optional: No
Call by Reference: Yes
P_TRP_VER_NO -
Data type:Optional: No
Call by Reference: Yes
EXCEPTIONS details
GOBACK -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
WARNING -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
FAILED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for OIUH_TRLT140 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_goback | TYPE STRING, " | |||
| lt_detail_action_ind | TYPE STANDARD TABLE OF STRING, " | |||
| lv_p_header_action_ind | TYPE STRING, " | |||
| lv_p_thdr_eff_to_dt_out | TYPE STRING, " | |||
| lv_p_name | TYPE STRING, " | |||
| lv_p_title | TYPE STRING, " | |||
| lv_p_phone | TYPE STRING, " | |||
| lv_p_thdr_ver_no | TYPE STRING, " | |||
| lv_p_user_id | TYPE STRING, " | |||
| lv_p_resp_cd | TYPE STRING, " | |||
| lv_p_ban | TYPE STRING, " | |||
| lv_p_dln_dt_prep | TYPE STRING, " | |||
| lv_p_dln_rpt | TYPE STRING, " | |||
| lv_p_rev_acct_no | TYPE STRING, " | |||
| lt_own_no | TYPE STANDARD TABLE OF STRING, " | |||
| lv_warning | TYPE STRING, " | |||
| lv_p_warning_indicator | TYPE STRING, " | |||
| lv_p_fei | TYPE STRING, " | |||
| lv_p_srt | TYPE STRING, " | |||
| lv_failed | TYPE STRING, " | |||
| lv_p_st_cd | TYPE STRING, " | |||
| lt_own_seq_no | TYPE STANDARD TABLE OF STRING, " | |||
| lv_p_co_no | TYPE STRING, " | |||
| lt_p_trp_eff_from_dt | TYPE STANDARD TABLE OF STRING, " | |||
| lv_p_rpt_no | TYPE STRING, " | |||
| lt_p_trp_eff_to_dt | TYPE STANDARD TABLE OF STRING, " | |||
| lv_p_co_rpt_no | TYPE STRING, " | |||
| lt_p_trp_eff_to_dt_cd | TYPE STANDARD TABLE OF STRING, " | |||
| lt_p_trp_ver_no | TYPE STANDARD TABLE OF STRING, " | |||
| lv_p_thdr_eff_from_dt | TYPE STRING, " | |||
| lv_p_thdr_eff_to_dt_in | TYPE STRING, " | |||
| lv_p_thdr_eff_to_dt_cd | TYPE STRING. " |
|   CALL FUNCTION 'OIUH_TRLT140' "Business Logic for OIUH_TR01 |
| EXPORTING | ||
| P_HEADER_ACTION_IND | = lv_p_header_action_ind | |
| P_NAME | = lv_p_name | |
| P_TITLE | = lv_p_title | |
| P_PHONE | = lv_p_phone | |
| P_THDR_VER_NO | = lv_p_thdr_ver_no | |
| P_USER_ID | = lv_p_user_id | |
| P_RESP_CD | = lv_p_resp_cd | |
| P_BAN | = lv_p_ban | |
| P_DLN_DT_PREP | = lv_p_dln_dt_prep | |
| P_DLN_RPT | = lv_p_dln_rpt | |
| P_REV_ACCT_NO | = lv_p_rev_acct_no | |
| P_WARNING_INDICATOR | = lv_p_warning_indicator | |
| P_FEI | = lv_p_fei | |
| P_SRT | = lv_p_srt | |
| P_ST_CD | = lv_p_st_cd | |
| P_CO_NO | = lv_p_co_no | |
| P_RPT_NO | = lv_p_rpt_no | |
| P_CO_RPT_NO | = lv_p_co_rpt_no | |
| P_THDR_EFF_FROM_DT | = lv_p_thdr_eff_from_dt | |
| P_THDR_EFF_TO_DT_IN | = lv_p_thdr_eff_to_dt_in | |
| P_THDR_EFF_TO_DT_CD | = lv_p_thdr_eff_to_dt_cd | |
| IMPORTING | ||
| P_THDR_EFF_TO_DT_OUT | = lv_p_thdr_eff_to_dt_out | |
| TABLES | ||
| DETAIL_ACTION_IND | = lt_detail_action_ind | |
| OWN_NO | = lt_own_no | |
| OWN_SEQ_NO | = lt_own_seq_no | |
| P_TRP_EFF_FROM_DT | = lt_p_trp_eff_from_dt | |
| P_TRP_EFF_TO_DT | = lt_p_trp_eff_to_dt | |
| P_TRP_EFF_TO_DT_CD | = lt_p_trp_eff_to_dt_cd | |
| P_TRP_VER_NO | = lt_p_trp_ver_no | |
| EXCEPTIONS | ||
| GOBACK = 1 | ||
| WARNING = 2 | ||
| FAILED = 3 | ||
| . " OIUH_TRLT140 | ||
ABAP code using 7.40 inline data declarations to call FM OIUH_TRLT140
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