You are on page 1of 5

Creating a new customer specific Index (Z or Y range) for table BSIS

1: Open the table BSIS in transaction SE11.


2: Click on the Indexes option.
3: Create a new Index with short text "Payment reference"
4: Give the field names as MANDT and KIDNO
5: Activate the newly created Index in customer specific package.

Creating new Function module for Interpretation Algorithm:


For bank reconciliation with respect to KIDNO we can use any ONE of the customer specific
Interpretation Algorithm from 901 to 909 which is provided from SAP, since in SAP there is no standard
Interpretation Algorithm which can support India UTR.
If the customer wants to use the UTR/KIDNO for reconciliation they can perform the below steps:
1: Go to transaction SE37 and enter the FM name (name should start with Z_FIEB_interpretation
algorithm number_ ALGORITHM). For e.g.: if you want to create FM for interpretation algorithm 901
the FM would look like Z_FIEB_901_ALGORITHM.
Save the function module in customer specific Function Group and you can give the Short Text as FM
for Interpretation Algo to get KIDNO.
2: Click on Create button
3: Give importing parameter as given below:
Parameter name
I_NOTE_TO_PAYEE
I_COUNTRY

Typing
TYPE
TYPE

Associated type
STRING
LAND1

4: In the tables tab give the below details


Parameter name
Typing
Associated type
T_AVIP_IN
LIKE
AVIP
T_AVIP_OUT
LIKE
AVIP
T_FILTER1
T_FILTER2

Optional
X
X

Optional
X

5: Save in the local customer specific package.


6: Copy the below mentioned source code and activate the same.
DATA: BEGIN OF kidno_tab OCCURS 10,
nummer LIKE febep-kidno,
END OF kidno_tab,
s_bsis TYPE STANDARD TABLE OF bsis,
h_bsis TYPE bsis.
LOOP AT t_avip_in WHERE sfeld = 'KIDNO'.
kidno_tab-nummer = t_avip_in-swert.
APPEND kidno_tab.

X
X

ENDLOOP.
REFRESH t_avip_out.
LOOP AT kidno_tab.
***Selecting the table based on KIDNO/UTR for India..
SELECT * FROM bsis INTO TABLE s_bsis WHERE kidno = kidno_tab-nummer
AND xopvw = 'X'.
IF sy-subrc = 0.
LOOP AT s_bsis INTO h_bsis.
t_avip_out-koart = 'S'.
t_avip_out-konto = h_bsis-hkont.
t_avip_out-sfeld = 'BELNR'.
t_avip_out-swert = h_bsis-belnr.
t_avip_out-swert+10(4) = h_bsis-gjahr.
APPEND t_avip_out.
ENDLOOP.
ENDIF.
ENDLOOP.

Assignment of the Interpretation Algorithm to SPRO:


A) For Manual Bank Statement:
Go to the below mentioned SPRO path:
Financial Accounting (New)-> Bank Accounting-> Business transaction-> Payment Transaction->
Manual Bank Statement-> Create and Assign Business Transactions.

Here you have to assign the interpretation algorithm as 901 for your Transaction Type and Posting rule .
Then the Z function Module (Z_FIEB_901_ALGORITHM) will get called automatically.

B) For Electronic Bank Statement:


Go to the below mentioned SPRO path:
Financial Accounting (New)-> Bank Accounting-> Business transaction-> Payment Transaction->
Electronic Bank Statement-> Make Global Setting for Electronic Bank Statement.

Here you have to assign the interpretation algorithm as 901 for your Chart of Account and Transaction
Type. Then the Z function Module (Z_FIEB_901_ALGORITHM) will get called automatically.

You might also like