SAP ALV_DBIMPORT_RFCDATA Function Module for









ALV_DBIMPORT_RFCDATA is a standard alv dbimport rfcdata 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 alv dbimport rfcdata FM, simply by entering the name ALV_DBIMPORT_RFCDATA into the relevant SAP transaction such as SE37 or SE38.

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



Function ALV_DBIMPORT_RFCDATA 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 'ALV_DBIMPORT_RFCDATA'"
EXPORTING
REPID = "ABAP Program: Current Main Program
DISVARIANT = "Layout
HASH = "Hash

IMPORTING
I_REQUEST = "
I_RETURN_MIMETYPE = "
I_TEMPLATE_FILESIZE = "
I_EXPIRES_TIME = "
I_EXPIRES_DATE = "
I_OBJECTID = "
I_KEEP_OUTPUT = "

TABLES
IT_SELECTION_TABLE = "ABAP: General Structure for PARAMETERS and SELECT-OPTIONS
IT_TEXTPOOL = "ALV Control: Text Pool
IT_ENVIRON = "ALV Control: Text Pool
ET_TEXT = "Text tabelle ( ALV batch)
ET_BINARY = "
IT_MIME_MAPPING = "MIME type mapping
ET_OUTPUT_FILES = "Output files
IT_AQSELFIELDS = "SAP Query (L): Parameter / Select-Option name
IT_AQFAFIELDLIST = "SAP Query (L): Functional area field list
IT_AQRQFIELDLIST = "SAP Query (L): Field list of a query (technical)
IT_LISTDESC = "SAP Query (L): Field Description for Lists
IT_FPAIRS = "SAP Query (L): Amount/Unit Pairs
IT_TEMPLATE = "
IT_LDATA = "
IT_CONVEXITS = "Subset of DFIES (Conversion Exits)

EXCEPTIONS
TEMPLATE_NOT_FOUND = 1 OBJECTID_INVALID = 10 TEMPLATE_INVALID = 2 REQUEST_INVALID = 3 TYPE_INVALID = 4 PARAMETERS_INVALID = 5 DATA_INVALID = 6 DATA_UNAVAILABLE = 7 SYSTEM_UNAVAILABLE = 8 ERROR = 9
.



IMPORTING Parameters details for ALV_DBIMPORT_RFCDATA

REPID - ABAP Program: Current Main Program

Data type: SYREPID
Optional: No
Call by Reference: Yes

DISVARIANT - Layout

Data type: SLIS_VARI
Optional: No
Call by Reference: Yes

HASH - Hash

Data type: LVC_HASH
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for ALV_DBIMPORT_RFCDATA

I_REQUEST -

Data type: CHAR128
Optional: No
Call by Reference: Yes

I_RETURN_MIMETYPE -

Data type: W3CONTTYPE
Optional: No
Call by Reference: Yes

I_TEMPLATE_FILESIZE -

Data type: W3CONTLEN
Optional: No
Call by Reference: Yes

I_EXPIRES_TIME -

Data type: TIMS
Optional: No
Call by Reference: Yes

I_EXPIRES_DATE -

Data type: DATS
Optional: No
Call by Reference: Yes

I_OBJECTID -

Data type: CHAR255
Optional: No
Call by Reference: Yes

I_KEEP_OUTPUT -

Data type: FLAG
Optional: No
Call by Reference: Yes

TABLES Parameters details for ALV_DBIMPORT_RFCDATA

IT_SELECTION_TABLE - ABAP: General Structure for PARAMETERS and SELECT-OPTIONS

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

IT_TEXTPOOL - ALV Control: Text Pool

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

IT_ENVIRON - ALV Control: Text Pool

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

ET_TEXT - Text tabelle ( ALV batch)

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

ET_BINARY -

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

IT_MIME_MAPPING - MIME type mapping

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

ET_OUTPUT_FILES - Output files

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

IT_AQSELFIELDS - SAP Query (L): Parameter / Select-Option name

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

IT_AQFAFIELDLIST - SAP Query (L): Functional area field list

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

IT_AQRQFIELDLIST - SAP Query (L): Field list of a query (technical)

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

IT_LISTDESC - SAP Query (L): Field Description for Lists

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

IT_FPAIRS - SAP Query (L): Amount/Unit Pairs

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

IT_TEMPLATE -

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

IT_LDATA -

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

IT_CONVEXITS - Subset of DFIES (Conversion Exits)

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

EXCEPTIONS details

TEMPLATE_NOT_FOUND -

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

OBJECTID_INVALID -

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

TEMPLATE_INVALID -

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

REQUEST_INVALID - Request contains errors

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

TYPE_INVALID -

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

PARAMETERS_INVALID -

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

DATA_INVALID - Data Invalid

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

DATA_UNAVAILABLE -

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

SYSTEM_UNAVAILABLE -

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

ERROR - Unspecified error

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

Copy and paste ABAP code example for ALV_DBIMPORT_RFCDATA 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_repid  TYPE SYREPID, "   
lv_i_request  TYPE CHAR128, "   
lt_it_selection_table  TYPE STANDARD TABLE OF RSPARAMS, "   
lv_template_not_found  TYPE RSPARAMS, "   
lt_it_textpool  TYPE STANDARD TABLE OF LVC_S_TXTP, "   
lv_objectid_invalid  TYPE LVC_S_TXTP, "   
lt_it_environ  TYPE STANDARD TABLE OF LVC_S_TXTP, "   
lt_et_text  TYPE STANDARD TABLE OF W3HTML, "   
lt_et_binary  TYPE STANDARD TABLE OF W3MIME, "   
lt_it_mime_mapping  TYPE STANDARD TABLE OF LVC_S_MIMA, "   
lt_et_output_files  TYPE STANDARD TABLE OF LVC_S_FILS, "   
lv_disvariant  TYPE SLIS_VARI, "   
lt_it_aqselfields  TYPE STANDARD TABLE OF RSAQSPNAME, "   
lv_template_invalid  TYPE RSAQSPNAME, "   
lv_i_return_mimetype  TYPE W3CONTTYPE, "   
lv_hash  TYPE LVC_HASH, "   
lv_request_invalid  TYPE LVC_HASH, "   
lt_it_aqfafieldlist  TYPE STANDARD TABLE OF RSAQRFLIST, "   
lv_i_template_filesize  TYPE W3CONTLEN, "   
lv_type_invalid  TYPE W3CONTLEN, "   
lv_i_expires_time  TYPE TIMS, "   
lt_it_aqrqfieldlist  TYPE STANDARD TABLE OF RSAQRQLIST, "   
lt_it_listdesc  TYPE STANDARD TABLE OF RSAQLDESC, "   
lv_i_expires_date  TYPE DATS, "   
lv_parameters_invalid  TYPE DATS, "   
lt_it_fpairs  TYPE STANDARD TABLE OF RSAQFPAIRS, "   
lv_i_objectid  TYPE CHAR255, "   
lv_data_invalid  TYPE CHAR255, "   
lt_it_template  TYPE STANDARD TABLE OF BAPICONTEN, "   
lv_i_keep_output  TYPE FLAG, "   
lv_data_unavailable  TYPE FLAG, "   
lt_it_ldata  TYPE STANDARD TABLE OF RSAQLDATA, "   
lv_system_unavailable  TYPE RSAQLDATA, "   
lv_error  TYPE RSAQLDATA, "   
lt_it_convexits  TYPE STANDARD TABLE OF LVCDINCL. "   

  CALL FUNCTION 'ALV_DBIMPORT_RFCDATA'  "
    EXPORTING
         REPID = lv_repid
         DISVARIANT = lv_disvariant
         HASH = lv_hash
    IMPORTING
         I_REQUEST = lv_i_request
         I_RETURN_MIMETYPE = lv_i_return_mimetype
         I_TEMPLATE_FILESIZE = lv_i_template_filesize
         I_EXPIRES_TIME = lv_i_expires_time
         I_EXPIRES_DATE = lv_i_expires_date
         I_OBJECTID = lv_i_objectid
         I_KEEP_OUTPUT = lv_i_keep_output
    TABLES
         IT_SELECTION_TABLE = lt_it_selection_table
         IT_TEXTPOOL = lt_it_textpool
         IT_ENVIRON = lt_it_environ
         ET_TEXT = lt_et_text
         ET_BINARY = lt_et_binary
         IT_MIME_MAPPING = lt_it_mime_mapping
         ET_OUTPUT_FILES = lt_et_output_files
         IT_AQSELFIELDS = lt_it_aqselfields
         IT_AQFAFIELDLIST = lt_it_aqfafieldlist
         IT_AQRQFIELDLIST = lt_it_aqrqfieldlist
         IT_LISTDESC = lt_it_listdesc
         IT_FPAIRS = lt_it_fpairs
         IT_TEMPLATE = lt_it_template
         IT_LDATA = lt_it_ldata
         IT_CONVEXITS = lt_it_convexits
    EXCEPTIONS
        TEMPLATE_NOT_FOUND = 1
        OBJECTID_INVALID = 10
        TEMPLATE_INVALID = 2
        REQUEST_INVALID = 3
        TYPE_INVALID = 4
        PARAMETERS_INVALID = 5
        DATA_INVALID = 6
        DATA_UNAVAILABLE = 7
        SYSTEM_UNAVAILABLE = 8
        ERROR = 9
. " ALV_DBIMPORT_RFCDATA




ABAP code using 7.40 inline data declarations to call FM ALV_DBIMPORT_RFCDATA

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!