SAP FKK_RLS_AR_GET Function Module for
FKK_RLS_AR_GET is a standard fkk rls ar get 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 fkk rls ar get FM, simply by entering the name FKK_RLS_AR_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: FKR2AR
Program Name: SAPLFKR2AR
Main Program: SAPLFKR2AR
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FKK_RLS_AR_GET 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 'FKK_RLS_AR_GET'".
EXPORTING
I_KEYR1 = "Returns Lot
IMPORTING
E_DFKKRK = "Returns Lot: Header Data
TABLES
* T_DFKKRP = "Returns Lot: Data for Payment
* T_DFKKRP3 = "Returns: Manual Posting Specifications
* T_DFKKRF = "Returns Lot: Reconciliation Key
* T_DFKKRPE = "
EXCEPTIONS
LOT_NOT_FOUND = 1 AS_ERROR = 2 NO_SELECTION_CRITERIA = 3
IMPORTING Parameters details for FKK_RLS_AR_GET
I_KEYR1 - Returns Lot
Data type: KEYR1_KKOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FKK_RLS_AR_GET
E_DFKKRK - Returns Lot: Header Data
Data type: DFKKRKOptional: No
Call by Reference: Yes
TABLES Parameters details for FKK_RLS_AR_GET
T_DFKKRP - Returns Lot: Data for Payment
Data type: DFKKRPOptional: Yes
Call by Reference: Yes
T_DFKKRP3 - Returns: Manual Posting Specifications
Data type: DFKKRP3Optional: Yes
Call by Reference: Yes
T_DFKKRF - Returns Lot: Reconciliation Key
Data type: DFKKRFOptional: Yes
Call by Reference: Yes
T_DFKKRPE -
Data type: DFKKRPEOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
LOT_NOT_FOUND -
Data type:Optional: No
Call by Reference: Yes
AS_ERROR -
Data type:Optional: No
Call by Reference: Yes
NO_SELECTION_CRITERIA -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for FKK_RLS_AR_GET 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_i_keyr1 | TYPE KEYR1_KK, " | |||
| lv_e_dfkkrk | TYPE DFKKRK, " | |||
| lt_t_dfkkrp | TYPE STANDARD TABLE OF DFKKRP, " | |||
| lv_lot_not_found | TYPE DFKKRP, " | |||
| lv_as_error | TYPE DFKKRP, " | |||
| lt_t_dfkkrp3 | TYPE STANDARD TABLE OF DFKKRP3, " | |||
| lt_t_dfkkrf | TYPE STANDARD TABLE OF DFKKRF, " | |||
| lv_no_selection_criteria | TYPE DFKKRF, " | |||
| lt_t_dfkkrpe | TYPE STANDARD TABLE OF DFKKRPE. " |
|   CALL FUNCTION 'FKK_RLS_AR_GET' " |
| EXPORTING | ||
| I_KEYR1 | = lv_i_keyr1 | |
| IMPORTING | ||
| E_DFKKRK | = lv_e_dfkkrk | |
| TABLES | ||
| T_DFKKRP | = lt_t_dfkkrp | |
| T_DFKKRP3 | = lt_t_dfkkrp3 | |
| T_DFKKRF | = lt_t_dfkkrf | |
| T_DFKKRPE | = lt_t_dfkkrpe | |
| EXCEPTIONS | ||
| LOT_NOT_FOUND = 1 | ||
| AS_ERROR = 2 | ||
| NO_SELECTION_CRITERIA = 3 | ||
| . " FKK_RLS_AR_GET | ||
ABAP code using 7.40 inline data declarations to call FM FKK_RLS_AR_GET
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