BON_ENH_SETTLE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program is used to settle
If you would like to execute this report or see the full code listing simply enter BON_ENH_SETTLE into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
RBT_ENH_VB7 - Settlement Extended Rebate Agreement
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
Selected Rebate Agreements
Selection Text: VTWEG = Distribution Channel
Selection Text: VKORG = Sales organization
Selection Text: SPART = Division
Selection Text: SETTLE = Carry Out Final Settlement
Selection Text: PADAT = Settlement date
Selection Text: KNUMA = Rebate Agreement
Selection Text: IDENT3 = Settlement period
Selection Text: BUDAT = D .
Selection Text: BOPRINT = Output Proof
Selection Text: BONEM = Rebate recipient
Selection Text: ABRDATE = Validity end date before
Title: Settlement of Extended Rebate Agreements
Text Symbol: H01 = Name, loc
Text Symbol: H02 = Condition key
Text Symbol: S01 = Reb. agreements
Text Symbol: S02 = Organizat. Data
Text Symbol: S03 = Rebate Settlement Status
Text Symbol: S04 = Actions
Text Symbol: S05 = Periodic partial settlemnt
Text Symbol: V01 = per ;;
Text Symbol: V03 = Payment;;
Text Symbol: V04 = Accruals ;;
Text Symbol: V05 = Scale Basis ;;
Text Symbol: V06 = Amount;;
Text Symbol: V07 = Reb. basis;;
Text Symbol: V10 = Valid from;;
Text Symbol: V11 = Valid to ;;
Text Symbol: V12 = Deletion Flag
Text Symbol: B13 = Cancel Final Settlement
Text Symbol: 001 = Rebate Agreements with Validity End to &1 (Created on &2)
Text Symbol: 003 = Condition Type ;;
Text Symbol: 006 = Rebate Recipient ;;
Text Symbol: 007 = Rebate agreement ;;
Text Symbol: 008 = Validity ;;
Text Symbol: 009 = To ;;
Text Symbol: 010 = Status
Text Symbol: 011 = New Validity ;;
INCLUDE BON_ENH_SETT03.
INCLUDE BON_ENH_SETT01.
INCLUDE BON_ENH_SETT02.
No SAP DATABASE tables are accessed within this REPORT code!
DATE_CONVERT_TO_FACTORYDATE CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE' EXPORTING CORRECT_OPTION = '-' DATE = SY-DATLO FACTORY_CALENDAR_ID = 'AM' IMPORTING DATE = PADAT EXCEPTIONS OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.