Fonction SAP BKK_COND_CLOSE_GET_CURRPERIOD - Determines Current Period

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_ACNUM_EXT IBKK_ITEM-ACNUM_EXT C 35 External Account Number
I_ACNUM_INT BKKM2-ACNUM_INT C 10 Internal Account Number
I_BKKRS BKKM2-BKKRS C 4 Bank Area
I_CLOS_TYP BKKM2-CLOS_TYP C 4 Balancing Type
I_DATE_POST_ACT BKKM2-NEXT_DATE D 8 Current Posting Date
I_MESSAGE BOOLE-BOOLE C 1 'X' X Output Message Y/N, Default Y

Paramètre Reférence Type Long. Description
E_CURR_NR BKKM2-CURR_NR N 3 Number of Current Period
E_CURR_YEAR BKKM2-CURR_YEAR N 4 Year of Current Period
E_NEXT_DATE BKKM2-NEXT_DATE D 8 Next Balancing Date
E_RC SYST-SUBRC I 4 See Documentation

Functionality
The current period is exported from the time periods table (e_rc = 0).
If the posting date specified is before the date of the next balancing,then the year and the number of the next period are calculated and boththe old and the new values are transferred to the interface.

  • (e_rc = 1).

  • If an error occurs: (e_rc = 2).