BKK_ARCH_READ_OBJECT is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name BKK_ARCH_READ_OBJECT into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FB0ARCH
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'BKK_ARCH_READ_OBJECT' "Read Object from Archive
EXPORTING
i_archobject = " bkk_arch_object
i_handle = " sy-tabix
i_s_param = "
* i_xtest = 'X' " boole-boole
* i_archactv = " i
IMPORTING
e_xvalid = " boole-boole
e_objectid = " bkk_arch_objectid
e_archrun = " bkk_archive_run
e_arkey = " bkk_archive_name
e_archobjgrpid = " bkk_archobjgrpid
e_archdate = " sy-datum
e_aobjgrpidpat = " bkk_archobjgrpid Group of Archived Data Objects
EXCEPTIONS
END_OF_FILE = 1 "
FILE_ERROR = 2 "
. " BKK_ARCH_READ_OBJECT
The ABAP code below is a full code listing to execute function module BKK_ARCH_READ_OBJECT including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_e_xvalid | TYPE BOOLE-BOOLE , |
| ld_e_objectid | TYPE BKK_ARCH_OBJECTID , |
| ld_e_archrun | TYPE BKK_ARCHIVE_RUN , |
| ld_e_arkey | TYPE BKK_ARCHIVE_NAME , |
| ld_e_archobjgrpid | TYPE BKK_ARCHOBJGRPID , |
| ld_e_archdate | TYPE SY-DATUM , |
| ld_e_aobjgrpidpat | TYPE BKK_ARCHOBJGRPID . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_e_xvalid | TYPE BOOLE-BOOLE , |
| ld_i_archobject | TYPE BKK_ARCH_OBJECT , |
| ld_e_objectid | TYPE BKK_ARCH_OBJECTID , |
| ld_i_handle | TYPE SY-TABIX , |
| ld_e_archrun | TYPE BKK_ARCHIVE_RUN , |
| ld_i_s_param | TYPE STRING , |
| ld_e_arkey | TYPE BKK_ARCHIVE_NAME , |
| ld_i_xtest | TYPE BOOLE-BOOLE , |
| ld_e_archobjgrpid | TYPE BKK_ARCHOBJGRPID , |
| ld_i_archactv | TYPE I , |
| ld_e_archdate | TYPE SY-DATUM , |
| ld_e_aobjgrpidpat | TYPE BKK_ARCHOBJGRPID . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BKK_ARCH_READ_OBJECT or its description.
BKK_ARCH_READ_OBJECT - Read Object from Archive BKK_ARCH_READ_ARCH_DATE - Export of Archiving Key Date BKK_ARCH_READ - Read Archived Data BKK_ARCH_GET_PERIOD_DB - Read Customizing Settings for Archiving BKK_ARCH_GET_CUTOFF_DATE - Find Limit Date for Archiving Period BKK_ARCH_FIBA_TOTAL_SET_ID - Generate Object Key