SAP OIB_QCI_MOVE_DBTABLE_TO_STRUC Function Module for Move parameter from QCI-itab to structure









OIB_QCI_MOVE_DBTABLE_TO_STRUC is a standard oib qci move dbtable to struc SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Move parameter from QCI-itab to structure 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 oib qci move dbtable to struc FM, simply by entering the name OIB_QCI_MOVE_DBTABLE_TO_STRUC into the relevant SAP transaction such as SE37 or SE38.

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



Function OIB_QCI_MOVE_DBTABLE_TO_STRUC 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 'OIB_QCI_MOVE_DBTABLE_TO_STRUC'"Move parameter from QCI-itab to structure
EXPORTING
I_DDIC_REFERENCE = "
I_GUID = "

IMPORTING
E_STRUCTURE = "

TABLES
T_OIB_PARAM = "

EXCEPTIONS
STRUCTURE_NOT_EXISTS = 1 FIELD_TYPE_NOT_VALID = 2 PARAMETER_NAME_NOT_VALID = 3 UNIT_MISSING = 4 INCONSISTENT_CUSTOMIZING = 5
.



IMPORTING Parameters details for OIB_QCI_MOVE_DBTABLE_TO_STRUC

I_DDIC_REFERENCE -

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

I_GUID -

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

EXPORTING Parameters details for OIB_QCI_MOVE_DBTABLE_TO_STRUC

E_STRUCTURE -

Data type:
Optional: No
Call by Reference: Yes

TABLES Parameters details for OIB_QCI_MOVE_DBTABLE_TO_STRUC

T_OIB_PARAM -

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

EXCEPTIONS details

STRUCTURE_NOT_EXISTS -

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

FIELD_TYPE_NOT_VALID -

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

PARAMETER_NAME_NOT_VALID -

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

UNIT_MISSING -

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

INCONSISTENT_CUSTOMIZING -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for OIB_QCI_MOVE_DBTABLE_TO_STRUC 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_e_structure  TYPE STRING, "   
lt_t_oib_param  TYPE STANDARD TABLE OF OIB_DEFAULTS, "   
lv_i_ddic_reference  TYPE X031L-TABNAME, "   
lv_structure_not_exists  TYPE X031L, "   
lv_i_guid  TYPE OIB_DEFAULTS-DEFAULT_GUID, "   
lv_field_type_not_valid  TYPE OIB_DEFAULTS, "   
lv_parameter_name_not_valid  TYPE OIB_DEFAULTS, "   
lv_unit_missing  TYPE OIB_DEFAULTS, "   
lv_inconsistent_customizing  TYPE OIB_DEFAULTS. "   

  CALL FUNCTION 'OIB_QCI_MOVE_DBTABLE_TO_STRUC'  "Move parameter from QCI-itab to structure
    EXPORTING
         I_DDIC_REFERENCE = lv_i_ddic_reference
         I_GUID = lv_i_guid
    IMPORTING
         E_STRUCTURE = lv_e_structure
    TABLES
         T_OIB_PARAM = lt_t_oib_param
    EXCEPTIONS
        STRUCTURE_NOT_EXISTS = 1
        FIELD_TYPE_NOT_VALID = 2
        PARAMETER_NAME_NOT_VALID = 3
        UNIT_MISSING = 4
        INCONSISTENT_CUSTOMIZING = 5
. " OIB_QCI_MOVE_DBTABLE_TO_STRUC




ABAP code using 7.40 inline data declarations to call FM OIB_QCI_MOVE_DBTABLE_TO_STRUC

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 TABNAME FROM X031L INTO @DATA(ld_i_ddic_reference).
 
 
"SELECT single DEFAULT_GUID FROM OIB_DEFAULTS INTO @DATA(ld_i_guid).
 
 
 
 
 


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!