SAP REMD_CHECK_ARCHIVE Function Module for









REMD_CHECK_ARCHIVE is a standard remd check archive SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 remd check archive FM, simply by entering the name REMD_CHECK_ARCHIVE into the relevant SAP transaction such as SE37 or SE38.

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



Function REMD_CHECK_ARCHIVE 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 'REMD_CHECK_ARCHIVE'"
EXPORTING
* I_MANDT = "Client
* I_SEMPSL = "Settlement Unit
* I_BUKRS = "Company Code
* I_SWENR = "Business Entity
* I_SGRNR = "Land
* I_SGENR = "Buildings
* I_SMENR = "Rental Unit
* I_SMIVE = "Lease-Out
* I_SVWNR = "Management Contract
* I_SNKSL = "Service Charge Key

EXCEPTIONS
OBJECT_ARCHIVED = 1 OBJECT_NOT_ARCHIVED = 2
.



IMPORTING Parameters details for REMD_CHECK_ARCHIVE

I_MANDT - Client

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

I_SEMPSL - Settlement Unit

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

I_BUKRS - Company Code

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

I_SWENR - Business Entity

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

I_SGRNR - Land

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

I_SGENR - Buildings

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

I_SMENR - Rental Unit

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

I_SMIVE - Lease-Out

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

I_SVWNR - Management Contract

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

I_SNKSL - Service Charge Key

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

EXCEPTIONS details

OBJECT_ARCHIVED - Object has been archived

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

OBJECT_NOT_ARCHIVED -

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

Copy and paste ABAP code example for REMD_CHECK_ARCHIVE 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_mandt  TYPE MANDT, "   
lv_object_archived  TYPE MANDT, "   
lv_i_sempsl  TYPE SEMPSL, "   
lv_i_bukrs  TYPE BUKRS, "   
lv_object_not_archived  TYPE BUKRS, "   
lv_i_swenr  TYPE SWENR, "   
lv_i_sgrnr  TYPE SGRNR, "   
lv_i_sgenr  TYPE SGENR, "   
lv_i_smenr  TYPE SMENR, "   
lv_i_smive  TYPE SMIVE, "   
lv_i_svwnr  TYPE VVSVWNR, "   
lv_i_snksl  TYPE SNKSL. "   

  CALL FUNCTION 'REMD_CHECK_ARCHIVE'  "
    EXPORTING
         I_MANDT = lv_i_mandt
         I_SEMPSL = lv_i_sempsl
         I_BUKRS = lv_i_bukrs
         I_SWENR = lv_i_swenr
         I_SGRNR = lv_i_sgrnr
         I_SGENR = lv_i_sgenr
         I_SMENR = lv_i_smenr
         I_SMIVE = lv_i_smive
         I_SVWNR = lv_i_svwnr
         I_SNKSL = lv_i_snksl
    EXCEPTIONS
        OBJECT_ARCHIVED = 1
        OBJECT_NOT_ARCHIVED = 2
. " REMD_CHECK_ARCHIVE




ABAP code using 7.40 inline data declarations to call FM REMD_CHECK_ARCHIVE

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.

 
 
 
 
 
 
 
 
 
 
 
 


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!