SAP FSBPR_BUPR_EVENT_ARCH5 Function Module for ARCH5 Event: Check Before Reloading









FSBPR_BUPR_EVENT_ARCH5 is a standard fsbpr bupr event arch5 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for ARCH5 Event: Check Before Reloading 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 fsbpr bupr event arch5 FM, simply by entering the name FSBPR_BUPR_EVENT_ARCH5 into the relevant SAP transaction such as SE37 or SE38.

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



Function FSBPR_BUPR_EVENT_ARCH5 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 'FSBPR_BUPR_EVENT_ARCH5'"ARCH5 Event: Check Before Reloading
EXPORTING
E_RECORD = "BDT Archiving: Unstructured Record Loaded from Archive
E_STRUCTURE = "Table Name

IMPORTING
I_PROCESSED = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
I_STORED = "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
I_OBJECT_ID = "Comment
I_TEXT = "Description

TABLES
ET_VAL = "CBP: Value Range for Value Transfer of Change Doc. Objects
ET_DIF_VAL = "CBP: Value Range for Value Transfer of Diff. Category Values (Chg.Doc)
.



IMPORTING Parameters details for FSBPR_BUPR_EVENT_ARCH5

E_RECORD - BDT Archiving: Unstructured Record Loaded from Archive

Data type: BUSSARCYES-RECORD
Optional: No
Call by Reference: Yes

E_STRUCTURE - Table Name

Data type: BUSSARCYES-TABNAME
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for FSBPR_BUPR_EVENT_ARCH5

I_PROCESSED - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')

Data type: BOOLE-BOOLE
Optional: No
Call by Reference: Yes

I_STORED - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')

Data type: BOOLE-BOOLE
Optional: No
Call by Reference: Yes

I_OBJECT_ID - Comment

Data type: BUSSDELYES-VALUE
Optional: No
Call by Reference: Yes

I_TEXT - Description

Data type: BUSSDELNO-TEXT
Optional: No
Call by Reference: Yes

TABLES Parameters details for FSBPR_BUPR_EVENT_ARCH5

ET_VAL - CBP: Value Range for Value Transfer of Change Doc. Objects

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

ET_DIF_VAL - CBP: Value Range for Value Transfer of Diff. Category Values (Chg.Doc)

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

Copy and paste ABAP code example for FSBPR_BUPR_EVENT_ARCH5 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_et_val  TYPE STANDARD TABLE OF BUS0RANGE, "   
lv_e_record  TYPE BUSSARCYES-RECORD, "   
lv_i_processed  TYPE BOOLE-BOOLE, "   
lv_i_stored  TYPE BOOLE-BOOLE, "   
lt_et_dif_val  TYPE STANDARD TABLE OF BUS0RANGED, "   
lv_e_structure  TYPE BUSSARCYES-TABNAME, "   
lv_i_object_id  TYPE BUSSDELYES-VALUE, "   
lv_i_text  TYPE BUSSDELNO-TEXT. "   

  CALL FUNCTION 'FSBPR_BUPR_EVENT_ARCH5'  "ARCH5 Event: Check Before Reloading
    EXPORTING
         E_RECORD = lv_e_record
         E_STRUCTURE = lv_e_structure
    IMPORTING
         I_PROCESSED = lv_i_processed
         I_STORED = lv_i_stored
         I_OBJECT_ID = lv_i_object_id
         I_TEXT = lv_i_text
    TABLES
         ET_VAL = lt_et_val
         ET_DIF_VAL = lt_et_dif_val
. " FSBPR_BUPR_EVENT_ARCH5




ABAP code using 7.40 inline data declarations to call FM FSBPR_BUPR_EVENT_ARCH5

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 RECORD FROM BUSSARCYES INTO @DATA(ld_e_record).
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_processed).
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_stored).
 
 
"SELECT single TABNAME FROM BUSSARCYES INTO @DATA(ld_e_structure).
 
"SELECT single VALUE FROM BUSSDELYES INTO @DATA(ld_i_object_id).
 
"SELECT single TEXT FROM BUSSDELNO INTO @DATA(ld_i_text).
 


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!