SAP SAMPLE_INTERFACE_00503308 Function Module for NOTRANSL: Event: Kontrolle Konditionspflege









SAMPLE_INTERFACE_00503308 is a standard sample interface 00503308 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: Event: Kontrolle Konditionspflege 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 00503308 FM, simply by entering the name SAMPLE_INTERFACE_00503308 into the relevant SAP transaction such as SE37 or SE38.

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



Function SAMPLE_INTERFACE_00503308 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_00503308'"NOTRANSL: Event: Kontrolle Konditionspflege
EXPORTING
IV_KSCHL = "Condition Type
IV_USAGE = "Usage of the Condition Table
IV_KAPPL = "Application
IV_KOTABNR = "Condition Table
IV_BK_ERROR = "
* IV_CALL_MOD = 'X' "

IMPORTING
EV_SUBRC = "Return Value, Return Value after ABAP Statements

CHANGING
* IV_OLD_KSCHL = "Condition Type
.



IMPORTING Parameters details for SAMPLE_INTERFACE_00503308

IV_KSCHL - Condition Type

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

IV_USAGE - Usage of the Condition Table

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

IV_KAPPL - Application

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

IV_KOTABNR - Condition Table

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

IV_BK_ERROR -

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

IV_CALL_MOD -

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

EXPORTING Parameters details for SAMPLE_INTERFACE_00503308

EV_SUBRC - Return Value, Return Value after ABAP Statements

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

CHANGING Parameters details for SAMPLE_INTERFACE_00503308

IV_OLD_KSCHL - Condition Type

Data type: RV13A-KSCHL
Optional: Yes
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for SAMPLE_INTERFACE_00503308 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_ev_subrc  TYPE SY-SUBRC, "   
lv_iv_kschl  TYPE RV13A-KSCHL, "   
lv_iv_old_kschl  TYPE RV13A-KSCHL, "   
lv_iv_usage  TYPE RV13A-KVEWE, "   
lv_iv_kappl  TYPE RV13A-KAPPL, "   
lv_iv_kotabnr  TYPE RV13A-KOTABNR, "   
lv_iv_bk_error  TYPE C, "   
lv_iv_call_mod  TYPE C. "   'X'

  CALL FUNCTION 'SAMPLE_INTERFACE_00503308'  "NOTRANSL: Event: Kontrolle Konditionspflege
    EXPORTING
         IV_KSCHL = lv_iv_kschl
         IV_USAGE = lv_iv_usage
         IV_KAPPL = lv_iv_kappl
         IV_KOTABNR = lv_iv_kotabnr
         IV_BK_ERROR = lv_iv_bk_error
         IV_CALL_MOD = lv_iv_call_mod
    IMPORTING
         EV_SUBRC = lv_ev_subrc
    CHANGING
         IV_OLD_KSCHL = lv_iv_old_kschl
. " SAMPLE_INTERFACE_00503308




ABAP code using 7.40 inline data declarations to call FM SAMPLE_INTERFACE_00503308

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 SUBRC FROM SY INTO @DATA(ld_ev_subrc).
 
"SELECT single KSCHL FROM RV13A INTO @DATA(ld_iv_kschl).
 
"SELECT single KSCHL FROM RV13A INTO @DATA(ld_iv_old_kschl).
 
"SELECT single KVEWE FROM RV13A INTO @DATA(ld_iv_usage).
 
"SELECT single KAPPL FROM RV13A INTO @DATA(ld_iv_kappl).
 
"SELECT single KOTABNR FROM RV13A INTO @DATA(ld_iv_kotabnr).
 
 
DATA(ld_iv_call_mod) = 'X'.
 


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!