BAPI_HCSRVCAT_GETITEMLIST 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_HCSRVCAT_GETITEMLIST into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
1300
Released Date:
12.05.1999
Processing type: Remote-Enabled
CALL FUNCTION 'BAPI_HCSRVCAT_GETITEMLIST' "IS-H BAPI HCSrvCat.GetItemList - Determine Services for Selection
EXPORTING
institution = " bapi1300srvdat-institution Institution
srvcatid = " bapi1300srvdat-srvcatid Catalog
* maxcnt = 10000 " bapinall-maxcnt Maximum Number of Services Read From the Database
IMPORTING
worst_returned_msgty = " bapinall-worstretmsg Most Severe Message Type
* TABLES
* srvcat_srvdata = " bapi1300srvdat Catalog Services Determined
* srvcat_txtdata = " bapi1300txtdat Texts Determined for Services
* srvcat_posdata = " bapi1300posdat Assignments to Services Determined
* return = " bapiret2 Return Messages
* filter_serviceid = " bapi1300rngserviceid Filter for Service
* filter_standardtxt = " bapi1300rngstandardtxt Short Text for Service
* filter_extdservice = " bapinrngxind Indicator: Extended Service
* filter_charge_type = " bapi1300rngcharge_type Charge Type
* filter_immservice = " bapinrngxind Indicator: Immediate Service
* filter_srv_categ = " bapi1300rngsrv_categ Service Category
* filter_object_type = " bapinrngxind Object Type
* filter_begdate = " bapinrngdate Validity Start
* filter_enddate = " bapinrngdate Valid-To Date
* filter_assign_type = " bapi1300rngassign_type Assignment Type
* filter_optable = " bapi1300rngoptable Table of Operation (Singapore)
* filter_ext_chrgtype = " bapi1300rngchrgtype External Charge Type (Singapore)
* filter_deletion_ind = " bapinrngxind Deletion Flag
* filter_srv_grp_ind = " bapinrngxind Indicator Whether Service Group
. " BAPI_HCSRVCAT_GETITEMLIST
The ABAP code below is a full code listing to execute function module BAPI_HCSRVCAT_GETITEMLIST 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).
| ld_worst_returned_msgty | TYPE BAPINALL-WORSTRETMSG , |
| it_srvcat_srvdata | TYPE STANDARD TABLE OF BAPI1300SRVDAT,"TABLES PARAM |
| wa_srvcat_srvdata | LIKE LINE OF it_srvcat_srvdata , |
| it_srvcat_txtdata | TYPE STANDARD TABLE OF BAPI1300TXTDAT,"TABLES PARAM |
| wa_srvcat_txtdata | LIKE LINE OF it_srvcat_txtdata , |
| it_srvcat_posdata | TYPE STANDARD TABLE OF BAPI1300POSDAT,"TABLES PARAM |
| wa_srvcat_posdata | LIKE LINE OF it_srvcat_posdata , |
| it_return | TYPE STANDARD TABLE OF BAPIRET2,"TABLES PARAM |
| wa_return | LIKE LINE OF it_return , |
| it_filter_serviceid | TYPE STANDARD TABLE OF BAPI1300RNGSERVICEID,"TABLES PARAM |
| wa_filter_serviceid | LIKE LINE OF it_filter_serviceid , |
| it_filter_standardtxt | TYPE STANDARD TABLE OF BAPI1300RNGSTANDARDTXT,"TABLES PARAM |
| wa_filter_standardtxt | LIKE LINE OF it_filter_standardtxt , |
| it_filter_extdservice | TYPE STANDARD TABLE OF BAPINRNGXIND,"TABLES PARAM |
| wa_filter_extdservice | LIKE LINE OF it_filter_extdservice , |
| it_filter_charge_type | TYPE STANDARD TABLE OF BAPI1300RNGCHARGE_TYPE,"TABLES PARAM |
| wa_filter_charge_type | LIKE LINE OF it_filter_charge_type , |
| it_filter_immservice | TYPE STANDARD TABLE OF BAPINRNGXIND,"TABLES PARAM |
| wa_filter_immservice | LIKE LINE OF it_filter_immservice , |
| it_filter_srv_categ | TYPE STANDARD TABLE OF BAPI1300RNGSRV_CATEG,"TABLES PARAM |
| wa_filter_srv_categ | LIKE LINE OF it_filter_srv_categ , |
| it_filter_object_type | TYPE STANDARD TABLE OF BAPINRNGXIND,"TABLES PARAM |
| wa_filter_object_type | LIKE LINE OF it_filter_object_type , |
| it_filter_begdate | TYPE STANDARD TABLE OF BAPINRNGDATE,"TABLES PARAM |
| wa_filter_begdate | LIKE LINE OF it_filter_begdate , |
| it_filter_enddate | TYPE STANDARD TABLE OF BAPINRNGDATE,"TABLES PARAM |
| wa_filter_enddate | LIKE LINE OF it_filter_enddate , |
| it_filter_assign_type | TYPE STANDARD TABLE OF BAPI1300RNGASSIGN_TYPE,"TABLES PARAM |
| wa_filter_assign_type | LIKE LINE OF it_filter_assign_type , |
| it_filter_optable | TYPE STANDARD TABLE OF BAPI1300RNGOPTABLE,"TABLES PARAM |
| wa_filter_optable | LIKE LINE OF it_filter_optable , |
| it_filter_ext_chrgtype | TYPE STANDARD TABLE OF BAPI1300RNGCHRGTYPE,"TABLES PARAM |
| wa_filter_ext_chrgtype | LIKE LINE OF it_filter_ext_chrgtype , |
| it_filter_deletion_ind | TYPE STANDARD TABLE OF BAPINRNGXIND,"TABLES PARAM |
| wa_filter_deletion_ind | LIKE LINE OF it_filter_deletion_ind , |
| it_filter_srv_grp_ind | TYPE STANDARD TABLE OF BAPINRNGXIND,"TABLES PARAM |
| wa_filter_srv_grp_ind | LIKE LINE OF it_filter_srv_grp_ind . |
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_worst_returned_msgty | TYPE BAPINALL-WORSTRETMSG , |
| ld_institution | TYPE BAPI1300SRVDAT-INSTITUTION , |
| it_srvcat_srvdata | TYPE STANDARD TABLE OF BAPI1300SRVDAT , |
| wa_srvcat_srvdata | LIKE LINE OF it_srvcat_srvdata, |
| ld_srvcatid | TYPE BAPI1300SRVDAT-SRVCATID , |
| it_srvcat_txtdata | TYPE STANDARD TABLE OF BAPI1300TXTDAT , |
| wa_srvcat_txtdata | LIKE LINE OF it_srvcat_txtdata, |
| ld_maxcnt | TYPE BAPINALL-MAXCNT , |
| it_srvcat_posdata | TYPE STANDARD TABLE OF BAPI1300POSDAT , |
| wa_srvcat_posdata | LIKE LINE OF it_srvcat_posdata, |
| it_return | TYPE STANDARD TABLE OF BAPIRET2 , |
| wa_return | LIKE LINE OF it_return, |
| it_filter_serviceid | TYPE STANDARD TABLE OF BAPI1300RNGSERVICEID , |
| wa_filter_serviceid | LIKE LINE OF it_filter_serviceid, |
| it_filter_standardtxt | TYPE STANDARD TABLE OF BAPI1300RNGSTANDARDTXT , |
| wa_filter_standardtxt | LIKE LINE OF it_filter_standardtxt, |
| it_filter_extdservice | TYPE STANDARD TABLE OF BAPINRNGXIND , |
| wa_filter_extdservice | LIKE LINE OF it_filter_extdservice, |
| it_filter_charge_type | TYPE STANDARD TABLE OF BAPI1300RNGCHARGE_TYPE , |
| wa_filter_charge_type | LIKE LINE OF it_filter_charge_type, |
| it_filter_immservice | TYPE STANDARD TABLE OF BAPINRNGXIND , |
| wa_filter_immservice | LIKE LINE OF it_filter_immservice, |
| it_filter_srv_categ | TYPE STANDARD TABLE OF BAPI1300RNGSRV_CATEG , |
| wa_filter_srv_categ | LIKE LINE OF it_filter_srv_categ, |
| it_filter_object_type | TYPE STANDARD TABLE OF BAPINRNGXIND , |
| wa_filter_object_type | LIKE LINE OF it_filter_object_type, |
| it_filter_begdate | TYPE STANDARD TABLE OF BAPINRNGDATE , |
| wa_filter_begdate | LIKE LINE OF it_filter_begdate, |
| it_filter_enddate | TYPE STANDARD TABLE OF BAPINRNGDATE , |
| wa_filter_enddate | LIKE LINE OF it_filter_enddate, |
| it_filter_assign_type | TYPE STANDARD TABLE OF BAPI1300RNGASSIGN_TYPE , |
| wa_filter_assign_type | LIKE LINE OF it_filter_assign_type, |
| it_filter_optable | TYPE STANDARD TABLE OF BAPI1300RNGOPTABLE , |
| wa_filter_optable | LIKE LINE OF it_filter_optable, |
| it_filter_ext_chrgtype | TYPE STANDARD TABLE OF BAPI1300RNGCHRGTYPE , |
| wa_filter_ext_chrgtype | LIKE LINE OF it_filter_ext_chrgtype, |
| it_filter_deletion_ind | TYPE STANDARD TABLE OF BAPINRNGXIND , |
| wa_filter_deletion_ind | LIKE LINE OF it_filter_deletion_ind, |
| it_filter_srv_grp_ind | TYPE STANDARD TABLE OF BAPINRNGXIND , |
| wa_filter_srv_grp_ind | LIKE LINE OF it_filter_srv_grp_ind. |
It returns the service master data that matches the specified selection
conditions.
...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_HCSRVCAT_GETITEMLIST or its description.
BAPI_HCSRVCAT_GETITEMLIST - IS-H BAPI HCSrvCat.GetItemList - Determine Services for Selection BAPI_HCSRVCAT_GETITEMDETAIL - IS-H BAPI HCSrvCat.GetItemDetail - Determine Details on Service BAPI_HCSRVCAT_CHANGEITEM - IS-H BAPI HCSrvCat.ChangeItem - Change Service Master Data BAPI_HCSRVCAT_ADDITEM - IS-H BAPI HCSrvCat.AddItem - Create Service Master Data BAPI_GRIRDOC_CREATEMULTIPLE - Clear GR/IR Clearing Account Directly BAPI_GRIRDOC_CANCEL - GR/IR Clearing Account: Reverse Account Maintenance Document