SAP ARCHIV_PROCESS_FAXINPUT Function Module for









ARCHIV_PROCESS_FAXINPUT is a standard archiv process faxinput 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 process faxinput FM, simply by entering the name ARCHIV_PROCESS_FAXINPUT into the relevant SAP transaction such as SE37 or SE38.

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



Function ARCHIV_PROCESS_FAXINPUT 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_PROCESS_FAXINPUT'"
EXPORTING
* ARCHIV_ID = "
* NUMBER = "
* OBJECTTEXT = ' ' "
S_TWFDB = "
* TYPE = "
* YEAR = "
* FRONTENDPATH = "
* BASICFILENAME = "
* LENGHT = "
* PAGES = "
* ORGOBJECT = "
* ARC_DOC_ID = "
* ORGTYPE = ' ' "
* ORGID = ' ' "
* DOCUMENTCLASS = "
* FOLDERNUMBER = "
* FOLDERTYPE = "
* FOLDERYEAR = "
* FORWARDERNAME = "
* IMMEDIATELY = ' ' "
* LATE = ' ' "

IMPORTING
STATUS = "
WORKITEM_ID = "

TABLES
* IDOCS = "
* DOCUMENT_DATA = "Structure for data transfer of storage system

EXCEPTIONS
NO_WORKITEM_CREATED = 1
.



IMPORTING Parameters details for ARCHIV_PROCESS_FAXINPUT

ARCHIV_ID -

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

NUMBER -

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

OBJECTTEXT -

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

S_TWFDB -

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

TYPE -

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

YEAR -

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

FRONTENDPATH -

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

BASICFILENAME -

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

LENGHT -

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

PAGES -

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

ORGOBJECT -

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

ARC_DOC_ID -

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

ORGTYPE -

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

ORGID -

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

DOCUMENTCLASS -

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

FOLDERNUMBER -

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

FOLDERTYPE -

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

FOLDERYEAR -

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

FORWARDERNAME -

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

IMMEDIATELY -

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

LATE -

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

EXPORTING Parameters details for ARCHIV_PROCESS_FAXINPUT

STATUS -

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

WORKITEM_ID -

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

TABLES Parameters details for ARCHIV_PROCESS_FAXINPUT

IDOCS -

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

DOCUMENT_DATA - Structure for data transfer of storage system

Data type: OARFCDATA
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

NO_WORKITEM_CREATED -

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

Copy and paste ABAP code example for ARCHIV_PROCESS_FAXINPUT 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_idocs  TYPE STANDARD TABLE OF DOCS, "   
lv_status  TYPE P, "   
lv_archiv_id  TYPE TOAV0-ARCHIV_ID, "   
lv_no_workitem_created  TYPE TOAV0, "   
lv_number  TYPE SOFM-DOCNO, "   
lv_objecttext  TYPE TOASP-OBJECTTEXT, "   SPACE
lv_s_twfdb  TYPE TWFDB, "   
lv_type  TYPE SOFM-DOCTP, "   
lv_year  TYPE SOFM-DOCYR, "   
lv_frontendpath  TYPE SAPB-SAPPFAD, "   
lv_basicfilename  TYPE SAPB-SAPPFAD, "   
lv_lenght  TYPE SAPB-LENGTH, "   
lv_pages  TYPE SOFX-PAGES, "   
lv_orgobject  TYPE SWHACTOR, "   
lv_arc_doc_id  TYPE TOAV0-ARC_DOC_ID, "   
lv_workitem_id  TYPE SWWWIHEAD-WI_ID, "   
lt_document_data  TYPE STANDARD TABLE OF OARFCDATA, "   
lv_orgtype  TYPE PPHDR-OTYPE, "   SPACE
lv_orgid  TYPE PM0D1-SEARK, "   SPACE
lv_documentclass  TYPE TOADD-DOC_TYPE, "   
lv_foldernumber  TYPE SOFM-FOLNO, "   
lv_foldertype  TYPE SOFM-FOLTP, "   
lv_folderyear  TYPE SOFM-FOLYR, "   
lv_forwardername  TYPE SOUB-USRNAM, "   
lv_immediately  TYPE TOAOM-AR_STATUS, "   SPACE
lv_late  TYPE SY-INPUT. "   SPACE

  CALL FUNCTION 'ARCHIV_PROCESS_FAXINPUT'  "
    EXPORTING
         ARCHIV_ID = lv_archiv_id
         NUMBER = lv_number
         OBJECTTEXT = lv_objecttext
         S_TWFDB = lv_s_twfdb
         TYPE = lv_type
         YEAR = lv_year
         FRONTENDPATH = lv_frontendpath
         BASICFILENAME = lv_basicfilename
         LENGHT = lv_lenght
         PAGES = lv_pages
         ORGOBJECT = lv_orgobject
         ARC_DOC_ID = lv_arc_doc_id
         ORGTYPE = lv_orgtype
         ORGID = lv_orgid
         DOCUMENTCLASS = lv_documentclass
         FOLDERNUMBER = lv_foldernumber
         FOLDERTYPE = lv_foldertype
         FOLDERYEAR = lv_folderyear
         FORWARDERNAME = lv_forwardername
         IMMEDIATELY = lv_immediately
         LATE = lv_late
    IMPORTING
         STATUS = lv_status
         WORKITEM_ID = lv_workitem_id
    TABLES
         IDOCS = lt_idocs
         DOCUMENT_DATA = lt_document_data
    EXCEPTIONS
        NO_WORKITEM_CREATED = 1
. " ARCHIV_PROCESS_FAXINPUT




ABAP code using 7.40 inline data declarations to call FM ARCHIV_PROCESS_FAXINPUT

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 ARCHIV_ID FROM TOAV0 INTO @DATA(ld_archiv_id).
 
 
"SELECT single DOCNO FROM SOFM INTO @DATA(ld_number).
 
"SELECT single OBJECTTEXT FROM TOASP INTO @DATA(ld_objecttext).
DATA(ld_objecttext) = ' '.
 
 
"SELECT single DOCTP FROM SOFM INTO @DATA(ld_type).
 
"SELECT single DOCYR FROM SOFM INTO @DATA(ld_year).
 
"SELECT single SAPPFAD FROM SAPB INTO @DATA(ld_frontendpath).
 
"SELECT single SAPPFAD FROM SAPB INTO @DATA(ld_basicfilename).
 
"SELECT single LENGTH FROM SAPB INTO @DATA(ld_lenght).
 
"SELECT single PAGES FROM SOFX INTO @DATA(ld_pages).
 
 
"SELECT single ARC_DOC_ID FROM TOAV0 INTO @DATA(ld_arc_doc_id).
 
"SELECT single WI_ID FROM SWWWIHEAD INTO @DATA(ld_workitem_id).
 
 
"SELECT single OTYPE FROM PPHDR INTO @DATA(ld_orgtype).
DATA(ld_orgtype) = ' '.
 
"SELECT single SEARK FROM PM0D1 INTO @DATA(ld_orgid).
DATA(ld_orgid) = ' '.
 
"SELECT single DOC_TYPE FROM TOADD INTO @DATA(ld_documentclass).
 
"SELECT single FOLNO FROM SOFM INTO @DATA(ld_foldernumber).
 
"SELECT single FOLTP FROM SOFM INTO @DATA(ld_foldertype).
 
"SELECT single FOLYR FROM SOFM INTO @DATA(ld_folderyear).
 
"SELECT single USRNAM FROM SOUB INTO @DATA(ld_forwardername).
 
"SELECT single AR_STATUS FROM TOAOM INTO @DATA(ld_immediately).
DATA(ld_immediately) = ' '.
 
"SELECT single INPUT FROM SY INTO @DATA(ld_late).
DATA(ld_late) = ' '.
 


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!