BAPI_INFORECORD_GETLIST is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name BAPI_INFORECORD_GETLIST into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
MEWI
Released Date:
17.09.1997
Processing type: Remote-Enabled
CALL FUNCTION 'BAPI_INFORECORD_GETLIST' "Display Purchasing Info Records
* EXPORTING
* vendor = " bapieina-vendor Vendor
* material = " bapieina-material Material
* mat_grp = " bapieina-mat_grp Material Group
* vend_mat = " bapieina-vend_mat Vendor's Material Number
* vend_part = " bapieina-vend_part Vendor Subrange
* vend_matg = " bapieina-vend_matg Vendor's Material Group
* purch_org = " bapieine-purch_org Purchasing Organization
* info_type = " bapieine-info_type Info Category
* plant = " bapieine-plant Plant
* pur_group = " bapieine-pur_group Purchasing Group
* purchasinginforec = " bapieine-info_rec Info Record Number
* deleted_inforecords = SPACE " bapimmpara-selection Including Purchasing Info Records Flagged for Deletion
* purchorg_data = 'X' " bapimmpara-selection Purchasing Organization Data on Info Record
* general_data = 'X' " bapimmpara-selection General Data on Info Record
* material_evg = " bapimgvmatnr
* purchorg_vend = SPACE " bapimmpara-selection Link Vendor Number to PURCHORG
* TABLES
* inforecord_general = " bapieina Info Records: General Data
* inforecord_purchorg = " bapieine Info Records: Purchasing Organization Data
* return = " bapireturn Return Messages
. " BAPI_INFORECORD_GETLIST
The ABAP code below is a full code listing to execute function module BAPI_INFORECORD_GETLIST including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| it_inforecord_general | TYPE STANDARD TABLE OF BAPIEINA,"TABLES PARAM |
| wa_inforecord_general | LIKE LINE OF it_inforecord_general , |
| it_inforecord_purchorg | TYPE STANDARD TABLE OF BAPIEINE,"TABLES PARAM |
| wa_inforecord_purchorg | LIKE LINE OF it_inforecord_purchorg , |
| it_return | TYPE STANDARD TABLE OF BAPIRETURN,"TABLES PARAM |
| wa_return | LIKE LINE OF it_return . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_vendor | TYPE BAPIEINA-VENDOR , |
| it_inforecord_general | TYPE STANDARD TABLE OF BAPIEINA , |
| wa_inforecord_general | LIKE LINE OF it_inforecord_general, |
| ld_material | TYPE BAPIEINA-MATERIAL , |
| it_inforecord_purchorg | TYPE STANDARD TABLE OF BAPIEINE , |
| wa_inforecord_purchorg | LIKE LINE OF it_inforecord_purchorg, |
| ld_mat_grp | TYPE BAPIEINA-MAT_GRP , |
| it_return | TYPE STANDARD TABLE OF BAPIRETURN , |
| wa_return | LIKE LINE OF it_return, |
| ld_vend_mat | TYPE BAPIEINA-VEND_MAT , |
| ld_vend_part | TYPE BAPIEINA-VEND_PART , |
| ld_vend_matg | TYPE BAPIEINA-VEND_MATG , |
| ld_purch_org | TYPE BAPIEINE-PURCH_ORG , |
| ld_info_type | TYPE BAPIEINE-INFO_TYPE , |
| ld_plant | TYPE BAPIEINE-PLANT , |
| ld_pur_group | TYPE BAPIEINE-PUR_GROUP , |
| ld_purchasinginforec | TYPE BAPIEINE-INFO_REC , |
| ld_deleted_inforecords | TYPE BAPIMMPARA-SELECTION , |
| ld_purchorg_data | TYPE BAPIMMPARA-SELECTION , |
| ld_general_data | TYPE BAPIMMPARA-SELECTION , |
| ld_material_evg | TYPE BAPIMGVMATNR , |
| ld_purchorg_vend | TYPE BAPIMMPARA-SELECTION . |
This method enables you to list purchasing info records. You pass on
the desired selection criteria (e.g. vendor, material, plant) in the
...See here for full SAP fm documentation
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name BAPI_INFORECORD_GETLIST or its description.
BAPI_INFORECORD_GETLIST - Display Purchasing Info Records BAPI_INFOCUBE_READ_REMOTE_DATA - BAPI for Reading Data from a Remote InfoCube BAPI_INDUSTRYSECTOR_REMOVE - SAP BP, BAPI: Delete Industry Data BAPI_INDUSTRYSECTOR_GET_DETAIL - SAP BP, BAPI: Read Industry Data BAPI_INDUSTRYSECTOR_CHANGE - SAP BP, BAPI: Change Industries BAPI_INDUSTRYSECTOR_ADD - SAP BP, BAPI: Add Industries