SAP REXA_CALLBACK_EVENT_6505 Function Module for Sample: Check Entry of Request Items









REXA_CALLBACK_EVENT_6505 is a standard rexa callback event 6505 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Sample: Check Entry of Request Items 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 rexa callback event 6505 FM, simply by entering the name REXA_CALLBACK_EVENT_6505 into the relevant SAP transaction such as SE37 or SE38.

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



Function REXA_CALLBACK_EVENT_6505 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 'REXA_CALLBACK_EVENT_6505'"Sample: Check Entry of Request Items
EXPORTING
I_FKKORDER = "Requests: Header Data
I_FKKORDERPOS = "Requests: Items
* I_ACTVT = ' ' "Activity

IMPORTING
E_FIELD_NAME = "Incorrect Field
E_MSG = "Return Parameter(s)
.



IMPORTING Parameters details for REXA_CALLBACK_EVENT_6505

I_FKKORDER - Requests: Header Data

Data type: FKKORDER
Optional: No
Call by Reference: Yes

I_FKKORDERPOS - Requests: Items

Data type: FKKORDERPOS
Optional: No
Call by Reference: Yes

I_ACTVT - Activity

Data type: ACTIV_AUTH
Default: SPACE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for REXA_CALLBACK_EVENT_6505

E_FIELD_NAME - Incorrect Field

Data type: CHAR30
Optional: No
Call by Reference: Yes

E_MSG - Return Parameter(s)

Data type: BAPIRET2
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for REXA_CALLBACK_EVENT_6505 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_i_fkkorder  TYPE FKKORDER, "   
lv_e_field_name  TYPE CHAR30, "   
lv_e_msg  TYPE BAPIRET2, "   
lv_i_fkkorderpos  TYPE FKKORDERPOS, "   
lv_i_actvt  TYPE ACTIV_AUTH. "   SPACE

  CALL FUNCTION 'REXA_CALLBACK_EVENT_6505'  "Sample: Check Entry of Request Items
    EXPORTING
         I_FKKORDER = lv_i_fkkorder
         I_FKKORDERPOS = lv_i_fkkorderpos
         I_ACTVT = lv_i_actvt
    IMPORTING
         E_FIELD_NAME = lv_e_field_name
         E_MSG = lv_e_msg
. " REXA_CALLBACK_EVENT_6505




ABAP code using 7.40 inline data declarations to call FM REXA_CALLBACK_EVENT_6505

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.

 
 
 
 
DATA(ld_i_actvt) = ' '.
 


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!