SAP Function SAMPLE_INTERFACE_00011060 - Correspondence on Changing Account Master Data

Parameter Reference Type Length Default Optional Text
IT_BCA_US_HOLD TTYPE_BCA_US_HOLD h 235 X Table type for holds
IT_BCA_US_HOLD_OLD TTYPE_BCA_US_HOLD h 235 X Table type for holds
IT_BKK43 BKK_TAB_BKK43 h 687 X Table Type for BKK43
IT_BKK43_OLD BKK_TAB_BKK43 h 687 X Table Type for BKK43
IT_BKK44 BKK_TAB_BKK44 h 21 X Table Type for BKK44
IT_BKK44_OLD BKK_TAB_BKK44 h 21 X Table Type for BKK44
IT_BKK45 BKK_TAB_BKK45 h 52 X Table Type of BKK45
IT_BKK45_CORR BKK_TAB_BKK45_CORR h 46 X Correspondence Table Type for BKK45_CORR table
IT_BKK45_CORR_OLD BKK_TAB_BKK45_CORR h 46 X Correspondence Table Type for BKK45_CORR table
IT_BKK45_OLD BKK_TAB_BKK45 h 52 X Table Type of BKK45
IT_BKK47 BKK_TAB_BKK47 h 78 X Table Type of BKK47
IT_BKK47_OLD BKK_TAB_BKK47 h 78 X Table Type of BKK47
IT_BKK48 BKK_TAB_BKK48 h 28 X Table: Control Indicators for Account Settlement
IT_BKK48_OLD BKK_TAB_BKK48 h 28 X Table: Control Indicators for Account Settlement
IT_BKK56 BKK_TAB_BKK56 h 28 X Table: Account Resubmission
IT_BKK56_OLD BKK_TAB_BKK56 h 28 X Table: Account Resubmission
IT_BKK84 BKK_TAB_BKK84 h 213 X Table Type of BKK84
IT_BKK84_OLD BKK_TAB_BKK84 h 213 X Table Type of BKK84
IT_BKK85 BKK_TAB_BKK85 h 259 X Table Type of BKK85
IT_BKK85_OLD BKK_TAB_BKK85 h 259 X Table Type of BKK85
IT_BKKA4 BKK_TAB_BKKA4 h 23 X Table Type of BKKA4
IT_BKKA4_OLD BKK_TAB_BKKA4 h 23 X Table Type of BKKA4
IT_BKKE1 BKK_TAB_BKKE1 h 66 X Table Type for BKKE1
IT_BKKE1_OLD BKK_TAB_BKKE1 h 66 X Table Type for BKKE1
IT_BKKM2 BKK_TAB_BKKM2 h 51 X Table Type of BKKM2
IT_BKKM2_OLD BKK_TAB_BKKM2 h 51 X Table Type of BKKM2
IT_BKKNTC BKK_TAB_BKKNTC h 164 X Table: Notices (Partial and Full Amounts)
IT_BKKNTC_OLD BKK_TAB_BKKNTC h 164 X Table: Notices (Partial and Full Amounts)
IT_BKKTERM BKK10_TAB_BKKTERM h 134 X Table Type
IT_BKKTERM_OLD BKK10_TAB_BKKTERM h 134 X Table Type
I_BKK40 BKK40 u 150 X Current Account Master Data: General
I_BKK40_OLD BKK40 u 150 X Current Account Master Data: General
I_BKK42 BKK42 u 276 X Current Account Master Data: Operative Data
I_BKK42_CC BKK42_CC u 112 X BCA Account Master Data: Currency Changeover
I_BKK42_CC_OLD BKK42_CC u 112 X BCA Account Master Data: Currency Changeover
I_BKK42_NTC BKK42_NTC u 103 X Master Data for Notice and Allowances
I_BKK42_NTC_OLD BKK42_NTC u 103 X Master Data for Notice and Allowances
I_BKK42_OLD BKK42 u 276 X Current Account Master Data: Operative Data
I_BKK46 BKK46 u 17 X Current Account Master Data: Customer Appends
I_BKK46_OLD BKK46 u 17 X Current Account Master Data: Customer Appends
I_BKK58 BKK58 u 116 X Master Data Savings Prod: Fxd-Term Deposit, Installmnt Savgs
I_BKK58_OLD BKK58 u 116 X Master Data Savings Prod: Fxd-Term Deposit, Installmnt Savgs

Parameter Reference Type Length Text
E_RETURN SYST-SUBRC I 4 Return Code: 0 = OK, 1 = Error

Parameter Reference Length Optional Text
T_MESG IBKKMESG 224 X Structure for Transfer of Error Messages

Functionality
This function modules provides the opportunity to send correspondence tocustomers when data in their account has been changed. This BTE iscalled when an account is saved if the flag Print Change Correspondenceis set. Extensive data is gathered and passed to the BTE. The tablescontain both old and current data.
This function module is delivered empty. You must implement printingand receiver administration yourself.

Notes
If you wish to communicate the old values and the new values to yourcustomer, you must compare the OLD table with the current table todetermine exactly what fields have changed. Multiple changes arepossible concurrently, so that one correspondence form can containnotice for many changes.
You must set E_RETURN to 1 if you encounter a problem or error duringprinting of the correspondence. In addition, an entry should be addedto table T_MESG so that the problem can be identified and displayed as amessage.
Changes to Standing Orders will not be reflected in this BTE.
Failure of this BTE fails does not prevent the account data from beingsaved.

Further information
All tables designated as OLD will contain the original data just priorto saving the new data. The remaining tables contain the new modifieddata. Tables that are empty did not have any changes.
E_RETURN must be set (> 0) by the BTE only when processing has failedfor a particular recipient.
T_MESG has type IBKKMESG and must be filled by the BTE with any error orinformational messages that you wish to display.