SAP ARCHIV_CREATE_ASYNC_META_OLD Function Module for









ARCHIV_CREATE_ASYNC_META_OLD is a standard archiv create async meta old 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 archiv create async meta old FM, simply by entering the name ARCHIV_CREATE_ASYNC_META_OLD into the relevant SAP transaction such as SE37 or SE38.

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



Function ARCHIV_CREATE_ASYNC_META_OLD 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 'ARCHIV_CREATE_ASYNC_META_OLD'"
EXPORTING
AR_OBJECT = "
PATH = "
* RES = "
SAP_OBJECT = "
* NO_ARC_DELETE = "
* REQUEST_ID = ' ' "
* CREATE_FLAG = 2 "
* DELAY = "
* DELETE_FLAG = "
* DEL_DATE = "
* MANDANT = "
NAME_FUB = "
* NOTE = "
OBJECT_ID = "

IMPORTING
REQUEST_ID = "

EXCEPTIONS
ERROR_ARCHIV = 1 ERROR_COMMUNICATIONTABLE = 2 ERROR_CONNECTIONTABLE = 3 ERROR_KERNEL = 4 ERROR_PARAMETER = 5 ERROR_REQUEST = 6
.



IMPORTING Parameters details for ARCHIV_CREATE_ASYNC_META_OLD

AR_OBJECT -

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

PATH -

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

RES -

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

SAP_OBJECT -

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

NO_ARC_DELETE -

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

REQUEST_ID -

Data type: TOAR7-REQUEST_ID
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

CREATE_FLAG -

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

DELAY -

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

DELETE_FLAG -

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

DEL_DATE -

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

MANDANT -

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

NAME_FUB -

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

NOTE -

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

OBJECT_ID -

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

EXPORTING Parameters details for ARCHIV_CREATE_ASYNC_META_OLD

REQUEST_ID -

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

EXCEPTIONS details

ERROR_ARCHIV -

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

ERROR_COMMUNICATIONTABLE -

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

ERROR_CONNECTIONTABLE -

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

ERROR_KERNEL -

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

ERROR_PARAMETER -

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

ERROR_REQUEST -

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

Copy and paste ABAP code example for ARCHIV_CREATE_ASYNC_META_OLD 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_ar_object  TYPE TOAOM-AR_OBJECT, "   
lv_request_id  TYPE TOAR7-REQUEST_ID, "   
lv_error_archiv  TYPE TOAR7, "   
lv_path  TYPE SAPB-SAPPFAD, "   
lv_res  TYPE TOAV0-RESERVE, "   
lv_sap_object  TYPE TOAOM-SAP_OBJECT, "   
lv_no_arc_delete  TYPE TOAOM-AR_STATUS, "   
lv_request_id  TYPE TOAR7-REQUEST_ID, "   SPACE
lv_create_flag  TYPE TOAR7, "   2
lv_error_communicationtable  TYPE TOAR7, "   
lv_delay  TYPE TOAR7, "   
lv_error_connectiontable  TYPE TOAR7, "   
lv_delete_flag  TYPE TOAR7, "   
lv_error_kernel  TYPE TOAR7, "   
lv_del_date  TYPE TOAV0-DEL_DATE, "   
lv_error_parameter  TYPE TOAV0, "   
lv_mandant  TYPE TOAOM-MANDT, "   
lv_error_request  TYPE TOAOM, "   
lv_name_fub  TYPE RS38L-NAME, "   
lv_note  TYPE SAPB-SAPNOTIZ, "   
lv_object_id  TYPE SAPB-SAPOBJID. "   

  CALL FUNCTION 'ARCHIV_CREATE_ASYNC_META_OLD'  "
    EXPORTING
         AR_OBJECT = lv_ar_object
         PATH = lv_path
         RES = lv_res
         SAP_OBJECT = lv_sap_object
         NO_ARC_DELETE = lv_no_arc_delete
         REQUEST_ID = lv_request_id
         CREATE_FLAG = lv_create_flag
         DELAY = lv_delay
         DELETE_FLAG = lv_delete_flag
         DEL_DATE = lv_del_date
         MANDANT = lv_mandant
         NAME_FUB = lv_name_fub
         NOTE = lv_note
         OBJECT_ID = lv_object_id
    IMPORTING
         REQUEST_ID = lv_request_id
    EXCEPTIONS
        ERROR_ARCHIV = 1
        ERROR_COMMUNICATIONTABLE = 2
        ERROR_CONNECTIONTABLE = 3
        ERROR_KERNEL = 4
        ERROR_PARAMETER = 5
        ERROR_REQUEST = 6
. " ARCHIV_CREATE_ASYNC_META_OLD




ABAP code using 7.40 inline data declarations to call FM ARCHIV_CREATE_ASYNC_META_OLD

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 AR_OBJECT FROM TOAOM INTO @DATA(ld_ar_object).
 
"SELECT single REQUEST_ID FROM TOAR7 INTO @DATA(ld_request_id).
 
 
"SELECT single SAPPFAD FROM SAPB INTO @DATA(ld_path).
 
"SELECT single RESERVE FROM TOAV0 INTO @DATA(ld_res).
 
"SELECT single SAP_OBJECT FROM TOAOM INTO @DATA(ld_sap_object).
 
"SELECT single AR_STATUS FROM TOAOM INTO @DATA(ld_no_arc_delete).
 
"SELECT single REQUEST_ID FROM TOAR7 INTO @DATA(ld_request_id).
DATA(ld_request_id) = ' '.
 
DATA(ld_create_flag) = 2.
 
 
 
 
 
 
"SELECT single DEL_DATE FROM TOAV0 INTO @DATA(ld_del_date).
 
 
"SELECT single MANDT FROM TOAOM INTO @DATA(ld_mandant).
 
 
"SELECT single NAME FROM RS38L INTO @DATA(ld_name_fub).
 
"SELECT single SAPNOTIZ FROM SAPB INTO @DATA(ld_note).
 
"SELECT single SAPOBJID FROM SAPB INTO @DATA(ld_object_id).
 


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!