SAP FI_PAYMENT_INSTRUCTION_F4 Function Module for









FI_PAYMENT_INSTRUCTION_F4 is a standard fi payment instruction f4 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 f4 FM, simply by entering the name FI_PAYMENT_INSTRUCTION_F4 into the relevant SAP transaction such as SE37 or SE38.

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



Function FI_PAYMENT_INSTRUCTION_F4 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_F4'"
EXPORTING
* I_COUNTRY = "
* I_COMPANY = "
* I_BANKID = "
I_INSTRUCTION_NUMBER = "
* I_DISPLAY = ' ' "

IMPORTING
E_INSTRUCTION = "

EXCEPTIONS
NOTHING_FOUND = 1 NOTHING_SELECTED = 2
.



IMPORTING Parameters details for FI_PAYMENT_INSTRUCTION_F4

I_COUNTRY -

Data type: T005-LAND1
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_COMPANY -

Data type: T012-BUKRS
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_BANKID -

Data type: T012-HBKID
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_INSTRUCTION_NUMBER -

Data type: T015W1-DTWSF
Optional: No
Call by Reference: No ( called with pass by value option)

I_DISPLAY -

Data type: BOOLE-BOOLE
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for FI_PAYMENT_INSTRUCTION_F4

E_INSTRUCTION -

Data type: T015W1-DTWSX
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

NOTHING_FOUND -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

NOTHING_SELECTED -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for FI_PAYMENT_INSTRUCTION_F4 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_country  TYPE T005-LAND1, "   
lv_e_instruction  TYPE T015W1-DTWSX, "   
lv_nothing_found  TYPE T015W1, "   
lv_i_company  TYPE T012-BUKRS, "   
lv_nothing_selected  TYPE T012, "   
lv_i_bankid  TYPE T012-HBKID, "   
lv_i_instruction_number  TYPE T015W1-DTWSF, "   
lv_i_display  TYPE BOOLE-BOOLE. "   SPACE

  CALL FUNCTION 'FI_PAYMENT_INSTRUCTION_F4'  "
    EXPORTING
         I_COUNTRY = lv_i_country
         I_COMPANY = lv_i_company
         I_BANKID = lv_i_bankid
         I_INSTRUCTION_NUMBER = lv_i_instruction_number
         I_DISPLAY = lv_i_display
    IMPORTING
         E_INSTRUCTION = lv_e_instruction
    EXCEPTIONS
        NOTHING_FOUND = 1
        NOTHING_SELECTED = 2
. " FI_PAYMENT_INSTRUCTION_F4




ABAP code using 7.40 inline data declarations to call FM FI_PAYMENT_INSTRUCTION_F4

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 LAND1 FROM T005 INTO @DATA(ld_i_country).
 
"SELECT single DTWSX FROM T015W1 INTO @DATA(ld_e_instruction).
 
 
"SELECT single BUKRS FROM T012 INTO @DATA(ld_i_company).
 
 
"SELECT single HBKID FROM T012 INTO @DATA(ld_i_bankid).
 
"SELECT single DTWSF FROM T015W1 INTO @DATA(ld_i_instruction_number).
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_display).
DATA(ld_i_display) = ' '.
 


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!