SAP PSDD_PSOB_EVENT_ARCH5 Function Module for Event ARCH5: Check Before Reloading
PSDD_PSOB_EVENT_ARCH5 is a standard psdd psob 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 Event ARCH5: 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 psdd psob event arch5 FM, simply by entering the name PSDD_PSOB_EVENT_ARCH5 into the relevant SAP transaction such as SE37 or SE38.
Function Group: FMCA_PSDD_PSOB0_ARCH
Program Name: SAPLFMCA_PSDD_PSOB0_ARCH
Main Program: SAPLFMCA_PSDD_PSOB0_ARCH
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function PSDD_PSOB_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 'PSDD_PSOB_EVENT_ARCH5'"Event ARCH5: Check Before Reloading.
EXPORTING
E_RECORD = "Unstructured Record Loaded from Archive
E_STRUCTURE = "Table Name
IMPORTING
I_PROCESSED = "Structure Recognized?
I_STORED = "Reloaded?
I_OBJECT_ID = "Object ID
I_TEXT = "Commentary If Not Been Reloaded
TABLES
* ET_VAL = "Selection Variant of the Object
* ET_DIF_VAL = "Limitations Concerning the Differentiation Type of the Selection Variant
IMPORTING Parameters details for PSDD_PSOB_EVENT_ARCH5
E_RECORD - Unstructured Record Loaded from Archive
Data type: BUSSARCYES-RECORDOptional: No
Call by Reference: No ( called with pass by value option)
E_STRUCTURE - Table Name
Data type: BUSSARCYES-TABNAMEOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for PSDD_PSOB_EVENT_ARCH5
I_PROCESSED - Structure Recognized?
Data type: BOOLE-BOOLEOptional: No
Call by Reference: No ( called with pass by value option)
I_STORED - Reloaded?
Data type: BOOLE-BOOLEOptional: No
Call by Reference: No ( called with pass by value option)
I_OBJECT_ID - Object ID
Data type: BUSSDELYES-VALUEOptional: No
Call by Reference: Yes
I_TEXT - Commentary If Not Been Reloaded
Data type: BUSSDELNO-TEXTOptional: No
Call by Reference: Yes
TABLES Parameters details for PSDD_PSOB_EVENT_ARCH5
ET_VAL - Selection Variant of the Object
Data type: BUS0RANGEOptional: Yes
Call by Reference: Yes
ET_DIF_VAL - Limitations Concerning the Differentiation Type of the Selection Variant
Data type: BUS0RANGEDOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for PSDD_PSOB_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 'PSDD_PSOB_EVENT_ARCH5' "Event ARCH5: 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 | |
| . " PSDD_PSOB_EVENT_ARCH5 | ||
ABAP code using 7.40 inline data declarations to call FM PSDD_PSOB_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