HRXSS_IN_LOANS_TRANS_DATA 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 HRXSS_IN_LOANS_TRANS_DATA into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
HRPBSINLOANS_ESS
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'HRXSS_IN_LOANS_TRANS_DATA' "RFC to fetch Loans ESS transaction data
* EXPORTING
* loan_type = " subty Subtype
* mode = " char1 Single-Character Indicator
* approver = " persno User Name
* workitem_id = " sww_wiid Work item ID
IMPORTING
error_tab = " bapiret2_tab Return Parameter
* CHANGING
* loan_requests_emp = " hrpbsin_loan_req_emp Loan request data for ESS
* repayment_requests_emp = " hrpbsin_rpmt_req_emp Repayment Request data for ESS
* valid_loan_types_emp = " hrpbsin_valid_ln_tab Valid Loan type for ESS
* approver_comments = " hrpbsin_appr_comment Approver's Comment per request
* pernr = " persno
* emp_name = " emnam Formatted Name of Employee or Applicant
* begin_date = " begda Start Date
* end_date = " endda End Date
* ctry_grp = " molga Country Grouping
. " HRXSS_IN_LOANS_TRANS_DATA
The ABAP code below is a full code listing to execute function module HRXSS_IN_LOANS_TRANS_DATA 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_error_tab | TYPE BAPIRET2_TAB . |
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_loan_requests_emp | TYPE HRPBSIN_LOAN_REQ_EMP , |
| ld_error_tab | TYPE BAPIRET2_TAB , |
| ld_loan_type | TYPE SUBTY , |
| ld_repayment_requests_emp | TYPE HRPBSIN_RPMT_REQ_EMP , |
| ld_mode | TYPE CHAR1 , |
| ld_valid_loan_types_emp | TYPE HRPBSIN_VALID_LN_TAB , |
| ld_approver | TYPE PERSNO , |
| ld_approver_comments | TYPE HRPBSIN_APPR_COMMENT , |
| ld_workitem_id | TYPE SWW_WIID , |
| ld_pernr | TYPE PERSNO , |
| ld_emp_name | TYPE EMNAM , |
| ld_begin_date | TYPE BEGDA , |
| ld_end_date | TYPE ENDDA , |
| ld_ctry_grp | TYPE MOLGA . |
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 HRXSS_IN_LOANS_TRANS_DATA or its description.
HRXSS_IN_LOANS_TRANS_DATA - RFC to fetch Loans ESS transaction data HRXSS_IN_LOANS_GET_CUSTOMIZING - Get Customizing Data for Loans ESS HRXSS_IN_LOANS_GET_APPR_CUST - Customizing Data for Approver in Loans ESS HRXSS_IN_LOANS_DISBURSEMENT - Loan Disbursement Schedule HRXSS_IN_LE_GETCUSTOMIZING - IPS Leave Encashment: Customizing data for ESS HRXSS_IN_LEAVE_ENCASH_EMP - IPS-Leave Encashment: Fn to get and save request for Employee