SAP EXTRACT_DATA_IPC Function Module for Data Extraction for IPC (deprecated. don't use)









EXTRACT_DATA_IPC is a standard extract data ipc SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Data Extraction for IPC (deprecated. don't use) 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 extract data ipc FM, simply by entering the name EXTRACT_DATA_IPC into the relevant SAP transaction such as SE37 or SE38.

Function Group: IPC_READ
Program Name: SAPLIPC_READ
Main Program: SAPLIPC_READ
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function EXTRACT_DATA_IPC 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 'EXTRACT_DATA_IPC'"Data Extraction for IPC (deprecated. don't use)
EXPORTING
TABNAME = "Table Name
* WHERE = ' ' "selection criteria
* ONLY_ONE_ROW = ' ' "Flag (X or Blank)
* BYPASSINGBUFFER = ' ' "Flag (X or Blank)
* PROJECTION = "tablefields
* ORDERBY = "tablefields
* REMOVE_CLIENT_FROM_WHERE = 'X' "Client in WHERE is not considered for selection

IMPORTING
RESULT = "result for table access (XML Format)

EXCEPTIONS
TABLE_NOT_FOUND = 1 COLUMN_NOT_FOUND = 2 INTERNAL_ERROR = 3 NO_AUTHORITY = 4
.



IMPORTING Parameters details for EXTRACT_DATA_IPC

TABNAME - Table Name

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

WHERE - selection criteria

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

ONLY_ONE_ROW - Flag (X or Blank)

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

BYPASSINGBUFFER - Flag (X or Blank)

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

PROJECTION - tablefields

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

ORDERBY - tablefields

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

REMOVE_CLIENT_FROM_WHERE - Client in WHERE is not considered for selection

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

EXPORTING Parameters details for EXTRACT_DATA_IPC

RESULT - result for table access (XML Format)

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

EXCEPTIONS details

TABLE_NOT_FOUND - table does not exist

Data type:
Optional: No
Call by Reference: Yes

COLUMN_NOT_FOUND - column does not exist

Data type:
Optional: No
Call by Reference: Yes

INTERNAL_ERROR - internal error

Data type:
Optional: No
Call by Reference: Yes

NO_AUTHORITY - no authority

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for EXTRACT_DATA_IPC 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_result  TYPE XSTRING, "   
lv_tabname  TYPE TABNAME, "   
lv_table_not_found  TYPE TABNAME, "   
lv_where  TYPE STRING, "   SPACE
lv_column_not_found  TYPE STRING, "   
lv_only_one_row  TYPE AS4FLAG, "   SPACE
lv_internal_error  TYPE AS4FLAG, "   
lv_no_authority  TYPE AS4FLAG, "   
lv_bypassingbuffer  TYPE AS4FLAG, "   SPACE
lv_projection  TYPE TABLEFIELDS, "   
lv_orderby  TYPE TABLEFIELDS, "   
lv_remove_client_from_where  TYPE XFELD. "   'X'

  CALL FUNCTION 'EXTRACT_DATA_IPC'  "Data Extraction for IPC (deprecated. don't use)
    EXPORTING
         TABNAME = lv_tabname
         WHERE = lv_where
         ONLY_ONE_ROW = lv_only_one_row
         BYPASSINGBUFFER = lv_bypassingbuffer
         PROJECTION = lv_projection
         ORDERBY = lv_orderby
         REMOVE_CLIENT_FROM_WHERE = lv_remove_client_from_where
    IMPORTING
         RESULT = lv_result
    EXCEPTIONS
        TABLE_NOT_FOUND = 1
        COLUMN_NOT_FOUND = 2
        INTERNAL_ERROR = 3
        NO_AUTHORITY = 4
. " EXTRACT_DATA_IPC




ABAP code using 7.40 inline data declarations to call FM EXTRACT_DATA_IPC

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.

 
 
 
DATA(ld_where) = ' '.
 
 
DATA(ld_only_one_row) = ' '.
 
 
 
DATA(ld_bypassingbuffer) = ' '.
 
 
 
DATA(ld_remove_client_from_where) = 'X'.
 


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!