SAP ISJP_FIND_DOCUMENT_BY_VIRTACCT Function Module for Payment: Find FI-documents by virtual account number
ISJP_FIND_DOCUMENT_BY_VIRTACCT is a standard isjp find document by virtacct SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Payment: Find FI-documents by virtual account number 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 isjp find document by virtacct FM, simply by entering the name ISJP_FIND_DOCUMENT_BY_VIRTACCT into the relevant SAP transaction such as SE37 or SE38.
Function Group: ISJP_VIRTACCT
Program Name: SAPLISJP_VIRTACCT
Main Program: SAPLISJP_VIRTACCT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISJP_FIND_DOCUMENT_BY_VIRTACCT 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 'ISJP_FIND_DOCUMENT_BY_VIRTACCT'"Payment: Find FI-documents by virtual account number.
EXPORTING
V_BANKS = "Bank country key
V_BANKL = "Bank Keys
V_VIRTACCTNR = "Virtual accounts
V_BUKRS = "Company Code
IMPORTING
V_INVSUMPAYER = "Invoice Summary Payer
T_INVSUMIT = "Table type for invoice summary items
V_OPENAMOUNT = "Amount in document currency
IMPORTING Parameters details for ISJP_FIND_DOCUMENT_BY_VIRTACCT
V_BANKS - Bank country key
Data type: BANKSOptional: No
Call by Reference: Yes
V_BANKL - Bank Keys
Data type: BANKKOptional: No
Call by Reference: Yes
V_VIRTACCTNR - Virtual accounts
Data type: ISJPVIRTACCTNROptional: No
Call by Reference: Yes
V_BUKRS - Company Code
Data type: BUKRSOptional: No
Call by Reference: Yes
EXPORTING Parameters details for ISJP_FIND_DOCUMENT_BY_VIRTACCT
V_INVSUMPAYER - Invoice Summary Payer
Data type: ISJPINVSUMPAYEROptional: No
Call by Reference: Yes
T_INVSUMIT - Table type for invoice summary items
Data type: ISJP_T_INVSUMITOptional: No
Call by Reference: Yes
V_OPENAMOUNT - Amount in document currency
Data type: WRBTROptional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISJP_FIND_DOCUMENT_BY_VIRTACCT 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_v_banks | TYPE BANKS, " | |||
| lv_v_invsumpayer | TYPE ISJPINVSUMPAYER, " | |||
| lv_v_bankl | TYPE BANKK, " | |||
| lv_t_invsumit | TYPE ISJP_T_INVSUMIT, " | |||
| lv_v_openamount | TYPE WRBTR, " | |||
| lv_v_virtacctnr | TYPE ISJPVIRTACCTNR, " | |||
| lv_v_bukrs | TYPE BUKRS. " |
|   CALL FUNCTION 'ISJP_FIND_DOCUMENT_BY_VIRTACCT' "Payment: Find FI-documents by virtual account number |
| EXPORTING | ||
| V_BANKS | = lv_v_banks | |
| V_BANKL | = lv_v_bankl | |
| V_VIRTACCTNR | = lv_v_virtacctnr | |
| V_BUKRS | = lv_v_bukrs | |
| IMPORTING | ||
| V_INVSUMPAYER | = lv_v_invsumpayer | |
| T_INVSUMIT | = lv_t_invsumit | |
| V_OPENAMOUNT | = lv_v_openamount | |
| . " ISJP_FIND_DOCUMENT_BY_VIRTACCT | ||
ABAP code using 7.40 inline data declarations to call FM ISJP_FIND_DOCUMENT_BY_VIRTACCT
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