SAP J_8A3_C_FILEIMPORT_SCENARIO Function Module for Fileimport scenario









J_8A3_C_FILEIMPORT_SCENARIO is a standard j 8a3 c fileimport scenario SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Fileimport scenario 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 j 8a3 c fileimport scenario FM, simply by entering the name J_8A3_C_FILEIMPORT_SCENARIO into the relevant SAP transaction such as SE37 or SE38.

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



Function J_8A3_C_FILEIMPORT_SCENARIO 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 'J_8A3_C_FILEIMPORT_SCENARIO'"Fileimport scenario
EXPORTING
* PI_OBJECTTYPE = "
* PI_OBJECTID = "

TABLES
PT_PARAMETER_IX = "
* PT_OBJECT = "

EXCEPTIONS
NO_AUTHORITY = 1 LARS_VERSION_NOT_MAINTAINED = 10 LARS_CUSTOMIZING_MISSING = 11 LARS_RENDITION_ERROR = 12 LARS_SYSTEM_FAILURE = 13 LARS_COMMUNICATION_ERROR = 14 LARS_ERROR = 15 NOT_FOUND = 2 USER_CANCEL = 3 ERROR_OLE_CONNECTION = 4 DOCUMENT_LOCKED = 5 INTERNAL_ERROR = 6 LARS_HOSTNAME = 7 LARS_MISSING_PORT = 8 LARS_MISSING_SERVICE = 9
.



IMPORTING Parameters details for J_8A3_C_FILEIMPORT_SCENARIO

PI_OBJECTTYPE -

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

PI_OBJECTID -

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

TABLES Parameters details for J_8A3_C_FILEIMPORT_SCENARIO

PT_PARAMETER_IX -

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

PT_OBJECT -

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

EXCEPTIONS details

NO_AUTHORITY -

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

LARS_VERSION_NOT_MAINTAINED - Lars version is missing

Data type:
Optional: No
Call by Reference: Yes

LARS_CUSTOMIZING_MISSING - Lars is not customized

Data type:
Optional: No
Call by Reference: Yes

LARS_RENDITION_ERROR - Error during rendition

Data type:
Optional: No
Call by Reference: Yes

LARS_SYSTEM_FAILURE - Lars system failure

Data type:
Optional: No
Call by Reference: Yes

LARS_COMMUNICATION_ERROR - HTTP comunication error

Data type:
Optional: No
Call by Reference: Yes

LARS_ERROR - undefined error of LARS

Data type:
Optional: No
Call by Reference: Yes

NOT_FOUND -

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

USER_CANCEL -

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

ERROR_OLE_CONNECTION -

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

DOCUMENT_LOCKED -

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

INTERNAL_ERROR -

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

LARS_HOSTNAME - Hostname of Lars is missing

Data type:
Optional: No
Call by Reference: Yes

LARS_MISSING_PORT - Lars port is not customized

Data type:
Optional: No
Call by Reference: Yes

LARS_MISSING_SERVICE - LARS Service is not maintained

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for J_8A3_C_FILEIMPORT_SCENARIO 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_no_authority  TYPE STRING, "   
lv_pi_objecttype  TYPE SWOTOBJID-OBJTYPE, "   
lt_pt_parameter_ix  TYPE STANDARD TABLE OF J_8A3S0005, "   
lv_lars_version_not_maintained  TYPE J_8A3S0005, "   
lv_lars_customizing_missing  TYPE J_8A3S0005, "   
lv_lars_rendition_error  TYPE J_8A3S0005, "   
lv_lars_system_failure  TYPE J_8A3S0005, "   
lv_lars_communication_error  TYPE J_8A3S0005, "   
lv_lars_error  TYPE J_8A3S0005, "   
lv_not_found  TYPE J_8A3S0005, "   
lt_pt_object  TYPE STANDARD TABLE OF OBJECTCONN, "   
lv_pi_objectid  TYPE SWOTOBJID-OBJKEY, "   
lv_user_cancel  TYPE SWOTOBJID, "   
lv_error_ole_connection  TYPE SWOTOBJID, "   
lv_document_locked  TYPE SWOTOBJID, "   
lv_internal_error  TYPE SWOTOBJID, "   
lv_lars_hostname  TYPE SWOTOBJID, "   
lv_lars_missing_port  TYPE SWOTOBJID, "   
lv_lars_missing_service  TYPE SWOTOBJID. "   

  CALL FUNCTION 'J_8A3_C_FILEIMPORT_SCENARIO'  "Fileimport scenario
    EXPORTING
         PI_OBJECTTYPE = lv_pi_objecttype
         PI_OBJECTID = lv_pi_objectid
    TABLES
         PT_PARAMETER_IX = lt_pt_parameter_ix
         PT_OBJECT = lt_pt_object
    EXCEPTIONS
        NO_AUTHORITY = 1
        LARS_VERSION_NOT_MAINTAINED = 10
        LARS_CUSTOMIZING_MISSING = 11
        LARS_RENDITION_ERROR = 12
        LARS_SYSTEM_FAILURE = 13
        LARS_COMMUNICATION_ERROR = 14
        LARS_ERROR = 15
        NOT_FOUND = 2
        USER_CANCEL = 3
        ERROR_OLE_CONNECTION = 4
        DOCUMENT_LOCKED = 5
        INTERNAL_ERROR = 6
        LARS_HOSTNAME = 7
        LARS_MISSING_PORT = 8
        LARS_MISSING_SERVICE = 9
. " J_8A3_C_FILEIMPORT_SCENARIO




ABAP code using 7.40 inline data declarations to call FM J_8A3_C_FILEIMPORT_SCENARIO

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 OBJTYPE FROM SWOTOBJID INTO @DATA(ld_pi_objecttype).
 
 
 
 
 
 
 
 
 
 
"SELECT single OBJKEY FROM SWOTOBJID INTO @DATA(ld_pi_objectid).
 
 
 
 
 
 
 
 


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!