SAP SAMPLE_INTERFACE_00503201 Function Module for NOTRANSL: Userexit: Bonus: Gutschriftsanforderungen









SAMPLE_INTERFACE_00503201 is a standard sample interface 00503201 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: Userexit: Bonus: Gutschriftsanforderungen 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 sample interface 00503201 FM, simply by entering the name SAMPLE_INTERFACE_00503201 into the relevant SAP transaction such as SE37 or SE38.

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



Function SAMPLE_INTERFACE_00503201 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 'SAMPLE_INTERFACE_00503201'"NOTRANSL: Userexit: Bonus: Gutschriftsanforderungen
EXPORTING
REBATE_AGREEMENT = "Rebate Agreement
REBATE_AGREEMENT_TYPE = "Rebate agreement type
CREDIT_NOTE_TYPE = "

CHANGING
SALES_HEADER = "

TABLES
CONDITION = "
CONDITION_SCALE = "
CREDIT_NOTE_POSITIONS = "
PARTNERS = "
.



IMPORTING Parameters details for SAMPLE_INTERFACE_00503201

REBATE_AGREEMENT - Rebate Agreement

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

REBATE_AGREEMENT_TYPE - Rebate agreement type

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

CREDIT_NOTE_TYPE -

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

CHANGING Parameters details for SAMPLE_INTERFACE_00503201

SALES_HEADER -

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

TABLES Parameters details for SAMPLE_INTERFACE_00503201

CONDITION -

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

CONDITION_SCALE -

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

CREDIT_NOTE_POSITIONS -

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

PARTNERS -

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

Copy and paste ABAP code example for SAMPLE_INTERFACE_00503201 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:
lt_condition  TYPE STANDARD TABLE OF KONP, "   
lv_sales_header  TYPE VBAKKOM, "   
lv_rebate_agreement  TYPE KONA, "   
lt_condition_scale  TYPE STANDARD TABLE OF CONDSCALE, "   
lv_rebate_agreement_type  TYPE T6B1, "   
lv_credit_note_type  TYPE T6B1, "   
lt_credit_note_positions  TYPE STANDARD TABLE OF BONUSKOM, "   
lt_partners  TYPE STANDARD TABLE OF VBPAKOM. "   

  CALL FUNCTION 'SAMPLE_INTERFACE_00503201'  "NOTRANSL: Userexit: Bonus: Gutschriftsanforderungen
    EXPORTING
         REBATE_AGREEMENT = lv_rebate_agreement
         REBATE_AGREEMENT_TYPE = lv_rebate_agreement_type
         CREDIT_NOTE_TYPE = lv_credit_note_type
    CHANGING
         SALES_HEADER = lv_sales_header
    TABLES
         CONDITION = lt_condition
         CONDITION_SCALE = lt_condition_scale
         CREDIT_NOTE_POSITIONS = lt_credit_note_positions
         PARTNERS = lt_partners
. " SAMPLE_INTERFACE_00503201




ABAP code using 7.40 inline data declarations to call FM SAMPLE_INTERFACE_00503201

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.

 
 
 
 
 
 
 
 


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!