Ansicht
Dokumentation
SAMPLE_INTERFACE_00011215 - Account: Date Selection for Turnover Display
General Material Data RFUMSV00 - Advance Return for Tax on Sales/PurchasesThis documentation is copyright by SAP AG.
Functionality
You can use this function module as template for individually desinging a customer-specific function module for Business Transaction Event SAMPLE_INTERFACE_00011215, the posting date from, when displaying turnovers on the account.
Copy this module into a customer-specific function module (such as ZBKK_INTERFACE_00011215 ) and maintain the source code in it.
To activate the BTE you must store an appropriate entry in the Customizing settings:
In the IMG in activity:
SAP Banking/Current Accounts/Basic Settings/Business Transaction Events / Event Control/ Function Modules (P/S) Activate SAP Application
Maintain entry:
Event 00011215
Country
Application BKK
Function module ZBKK_INTERFACE_00011215
The parameters of the function module are as follows:
IMPORT:
I_VON_DATE (posting date from)
I_BIS_DATE (posting date to)
EXPORT:
I_VON_DATE (posting date from)
Example
Coding example for setting the posting date from to the last day of the last but one month:
MOVE i_bis_date TO i_von_date. "zum Buchungsdatum den 1.des Monats
i_von_date+6(2) = 01. " in Von-Date
IF i_von_date+4(2) = '01'.
i_von_date+4(2) = '12'.
i_von_date(4) = i_von_date(4) - 1.
ELSE.
i_von_date+4(2) = i_von_date+4(2) - 1."letzter Monat
ENDIF.
e_von_date = i_von_date - 1. "letzter Tag des vorletzten Monats
Notes
Further information
Parameters
E_VON_DATEI_BIS_DATE
I_VON_DATE
Exceptions
Function Group
FB01PERFORM Short Reference rdisp/max_wprun_time - Maximum work process run time
This documentation is copyright by SAP AG.
Length: 1953 Date: 20240523 Time: 063838 sap01-206 ( 38 ms )