SAP FI_PAYMENT_INSTRUCTION_DETAIL Function Module for
FI_PAYMENT_INSTRUCTION_DETAIL is a standard fi payment instruction detail 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 fi payment instruction detail FM, simply by entering the name FI_PAYMENT_INSTRUCTION_DETAIL into the relevant SAP transaction such as SE37 or SE38.
Function Group: FK40CORE
Program Name: SAPLFK40CORE
Main Program:
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function FI_PAYMENT_INSTRUCTION_DETAIL 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 'FI_PAYMENT_INSTRUCTION_DETAIL'".
EXPORTING
I_INSTRUCTION_USER = "
I_INSTRUCTION_NUMBER = "
I_INSTRUCTION = "
* I_INSTRUCTION_LANGUAGE = SY-LANGU "
IMPORTING
E_CODE = "
E_ALGORITHM = "
E_TEXT = "
EXCEPTIONS
NOT_FOUND = 1
IMPORTING Parameters details for FI_PAYMENT_INSTRUCTION_DETAIL
I_INSTRUCTION_USER -
Data type: T015W1-DTWSCOptional: No
Call by Reference: No ( called with pass by value option)
I_INSTRUCTION_NUMBER -
Data type: T015W1-DTWSFOptional: No
Call by Reference: No ( called with pass by value option)
I_INSTRUCTION -
Data type: T015W1-DTWSXOptional: No
Call by Reference: No ( called with pass by value option)
I_INSTRUCTION_LANGUAGE -
Data type: T015W1T-SPRASDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for FI_PAYMENT_INSTRUCTION_DETAIL
E_CODE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
E_ALGORITHM -
Data type: T015W1-DTWSIOptional: No
Call by Reference: No ( called with pass by value option)
E_TEXT -
Data type: T015W1T-TEXTOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for FI_PAYMENT_INSTRUCTION_DETAIL 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_e_code | TYPE STRING, " | |||
| lv_not_found | TYPE STRING, " | |||
| lv_i_instruction_user | TYPE T015W1-DTWSC, " | |||
| lv_e_algorithm | TYPE T015W1-DTWSI, " | |||
| lv_i_instruction_number | TYPE T015W1-DTWSF, " | |||
| lv_e_text | TYPE T015W1T-TEXT, " | |||
| lv_i_instruction | TYPE T015W1-DTWSX, " | |||
| lv_i_instruction_language | TYPE T015W1T-SPRAS. " SY-LANGU |
|   CALL FUNCTION 'FI_PAYMENT_INSTRUCTION_DETAIL' " |
| EXPORTING | ||
| I_INSTRUCTION_USER | = lv_i_instruction_user | |
| I_INSTRUCTION_NUMBER | = lv_i_instruction_number | |
| I_INSTRUCTION | = lv_i_instruction | |
| I_INSTRUCTION_LANGUAGE | = lv_i_instruction_language | |
| IMPORTING | ||
| E_CODE | = lv_e_code | |
| E_ALGORITHM | = lv_e_algorithm | |
| E_TEXT | = lv_e_text | |
| EXCEPTIONS | ||
| NOT_FOUND = 1 | ||
| . " FI_PAYMENT_INSTRUCTION_DETAIL | ||
ABAP code using 7.40 inline data declarations to call FM FI_PAYMENT_INSTRUCTION_DETAIL
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 DTWSC FROM T015W1 INTO @DATA(ld_i_instruction_user). | ||||
| "SELECT single DTWSI FROM T015W1 INTO @DATA(ld_e_algorithm). | ||||
| "SELECT single DTWSF FROM T015W1 INTO @DATA(ld_i_instruction_number). | ||||
| "SELECT single TEXT FROM T015W1T INTO @DATA(ld_e_text). | ||||
| "SELECT single DTWSX FROM T015W1 INTO @DATA(ld_i_instruction). | ||||
| "SELECT single SPRAS FROM T015W1T INTO @DATA(ld_i_instruction_language). | ||||
| DATA(ld_i_instruction_language) | = SY-LANGU. | |||
Search for further information about these or an SAP related objects