Fonction SAP BAPI_HCSRVCAT_GETLIST - IS-H BAPI HCSrvCat.GetList - Determine Existing Service Catalogs

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
INSTITUTION BAPI1300CATDAT-INSTITUTION C 4 Institution

Paramètre Reférence Type Long. Description
WORST_RETURNED_MSGTY BAPINALL-WORSTRETMSG C 1 Most Severe Message Type

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 Return Messages
SRVCAT_CATDATA BAPI1300CATDAT 68 Catalogs Determined
SRVCAT_INFDATA BAPI1300INFDAT 46 X Catalog Details Determined

Functionality
INCLUDE NBAPI_ISH
It creates a list of all service catalogs in the institution youspecified in the import parameter "institution".
All available catalogs of the institution specified in the importparameter "institution" are returned in the table structureSRVCAT_CATDATA.
In addition, the columns, their definition and texts, for all catalogsin the institution are returned in the structure SRVCAT_INFDATA-

Notes
INCLUDE BAPI_RET
INCLUDE NBAPI_WORST_RETURNED_MSGTY
INCLUDE NBAPI_INSTITUTION

Description
Errors that occur are returned in this table.

Value range
The following error messages can occur:

  • N2 661: No catalogs defined for institution &
  • Description
    The catalogs for an institution are returned in this table.

    Fields from TNK01 and SrvCat_CatData Compared:
    TNK01,,SrvCat_CatData,,Short Text
    MANDT,,CLIENT,,Client
    EINRI,,INSTITUTION,,Institution
    KATID,,SRVCATID,,ID of a svce catalog
    KATKB,,SRVCATSN,,Short text describing catalog
    KATTX,,SRVCATTEXT,,Catalog name
    KATYP,,SRVCATTYP,,Category of svce catalog
    WAERS,,CURRKEY,,Currency key

    Description
    Details (texts, column headers, etc.) on catalogs of an institution arereturned in this table.

    Fields from NTSI und SrvCat_InfData Compared:
    NTSI,,SrvCat_InfData,,Short Text
    MANDT,,CLIENT,,Client
    EINRI,,INSTITUTION,,Institution
    TARIF,,SRVCATID,,ID of svce catalog
    TASPA,,SRVCATCOL,,Column
    ENDDT,,ENDDATE,,Valid-to date of record
    BEGDT,,BEGDATE,,Valid-from date of record
    WAERKZ,,CURR_IND,,Currency field indicator
    SPTYP,,COL_TYPE,,Data type of column
    SPLEN,,COL_LEN,,Length of column value
    SPKOM,,COL_DEC,,Number of decimal places
    TASBZ (NTST),,COL_TXT,,Column header