SAP SD_BONUS_REPORT_NO_READ Function Module for NOTRANSL: Bonus: Report fuer Einzelnachweis









SD_BONUS_REPORT_NO_READ is a standard sd bonus report no read SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Bonus: Report fuer Einzelnachweis processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for sd bonus report no read FM, simply by entering the name SD_BONUS_REPORT_NO_READ into the relevant SAP transaction such as SE37 or SE38.

Function Group: V15B
Program Name: SAPLV15B
Main Program: SAPLV15B
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function SD_BONUS_REPORT_NO_READ pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'SD_BONUS_REPORT_NO_READ'"NOTRANSL: Bonus: Report fuer Einzelnachweis
EXPORTING
RR_ABSPZ = "Summarization Level
* RR_CREDIT_MEMO = 'X' "Show credit memos
* RR_CREDIT_MEMO_REQUEST = 'X' "Show credit memo requests
RR_KONA = "Agreement header
RR_KURGV = "Rebate recipient (payer)
* RR_LEAVE_TO_LIST_PROCESSING = 'X' "Should the program run as an independent list
* RR_DATAB = '00000000' "
* RR_DATBI = '99991231' "
* RR_LIST = ' ' "

IMPORTING
NO_ENTRIES = "

TABLES
ZKONP_TAB = "Conditions
ZVAKE_TAB = "Variable keys
.



IMPORTING Parameters details for SD_BONUS_REPORT_NO_READ

RR_ABSPZ - Summarization Level

Data type: KONA-ABSPZ
Optional: No
Call by Reference: No ( called with pass by value option)

RR_CREDIT_MEMO - Show credit memos

Data type:
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

RR_CREDIT_MEMO_REQUEST - Show credit memo requests

Data type:
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

RR_KONA - Agreement header

Data type: KONA
Optional: No
Call by Reference: No ( called with pass by value option)

RR_KURGV - Rebate recipient (payer)

Data type: KURGV
Optional: No
Call by Reference: No ( called with pass by value option)

RR_LEAVE_TO_LIST_PROCESSING - Should the program run as an independent list

Data type:
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

RR_DATAB -

Data type: KONA-DATAB
Default: '00000000'
Optional: Yes
Call by Reference: No ( called with pass by value option)

RR_DATBI -

Data type: KONA-DATBI
Default: '99991231'
Optional: Yes
Call by Reference: No ( called with pass by value option)

RR_LIST -

Data type:
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for SD_BONUS_REPORT_NO_READ

NO_ENTRIES -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for SD_BONUS_REPORT_NO_READ

ZKONP_TAB - Conditions

Data type: KONP
Optional: No
Call by Reference: No ( called with pass by value option)

ZVAKE_TAB - Variable keys

Data type: VAKE
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for SD_BONUS_REPORT_NO_READ Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_rr_abspz  TYPE KONA-ABSPZ, "   
lt_zkonp_tab  TYPE STANDARD TABLE OF KONP, "   
lv_no_entries  TYPE KONP, "   
lt_zvake_tab  TYPE STANDARD TABLE OF VAKE, "   
lv_rr_credit_memo  TYPE VAKE, "   'X'
lv_rr_credit_memo_request  TYPE VAKE, "   'X'
lv_rr_kona  TYPE KONA, "   
lv_rr_kurgv  TYPE KURGV, "   
lv_rr_leave_to_list_processing  TYPE KURGV, "   'X'
lv_rr_datab  TYPE KONA-DATAB, "   '00000000'
lv_rr_datbi  TYPE KONA-DATBI, "   '99991231'
lv_rr_list  TYPE KONA. "   ' '

  CALL FUNCTION 'SD_BONUS_REPORT_NO_READ'  "NOTRANSL: Bonus: Report fuer Einzelnachweis
    EXPORTING
         RR_ABSPZ = lv_rr_abspz
         RR_CREDIT_MEMO = lv_rr_credit_memo
         RR_CREDIT_MEMO_REQUEST = lv_rr_credit_memo_request
         RR_KONA = lv_rr_kona
         RR_KURGV = lv_rr_kurgv
         RR_LEAVE_TO_LIST_PROCESSING = lv_rr_leave_to_list_processing
         RR_DATAB = lv_rr_datab
         RR_DATBI = lv_rr_datbi
         RR_LIST = lv_rr_list
    IMPORTING
         NO_ENTRIES = lv_no_entries
    TABLES
         ZKONP_TAB = lt_zkonp_tab
         ZVAKE_TAB = lt_zvake_tab
. " SD_BONUS_REPORT_NO_READ




ABAP code using 7.40 inline data declarations to call FM SD_BONUS_REPORT_NO_READ

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single ABSPZ FROM KONA INTO @DATA(ld_rr_abspz).
 
 
 
 
DATA(ld_rr_credit_memo) = 'X'.
 
DATA(ld_rr_credit_memo_request) = 'X'.
 
 
 
DATA(ld_rr_leave_to_list_processing) = 'X'.
 
"SELECT single DATAB FROM KONA INTO @DATA(ld_rr_datab).
DATA(ld_rr_datab) = '00000000'.
 
"SELECT single DATBI FROM KONA INTO @DATA(ld_rr_datbi).
DATA(ld_rr_datbi) = '99991231'.
 
DATA(ld_rr_list) = ' '.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!