Fonction SAP BAPI_FP_GETLIST - Read security list

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Result Parameter

Paramètre Reférence Long. Facultatif Description
PRODUCTCATEGORIES BAPI1076_PC_RANGE 9 X Range for Product Category
PRODUCTTYPES BAPI1076_PT_RANGE 9 X Range for Product Type
SECURITIES BAPI1076_SECURITY_LIST 96 X List of Securities Selected
SECURITYNUMBERS BAPI1076_SN_RANGE 29 X Range for ID Number

Functionality
The class method GetList delivers a list of the securitiescurrently available in the system. The following data is delivered foreach security:

  • Product category

  • Product type

  • ID number

  • Status

  • Short and long text

  • The status field can have one of the following values:
    • 01 Active

    • 02 Obsolete

    • You can enter ranges to restrict the number of hits for the productcategory, product type and ID number when you call up the method.

      Notes
      INCLUDE BAPI_RET
      Use the GetDetail method to call up detaileddata for a selected ID number.

      Further information
      You can find more information in the SAP Library underTreasury-->Treasury Management-->Securities-->Master data-->Class.

      Description
      INCLUDE BAPI_TABLE
      ID,,No.,,Message
      65,,057,,No authorization for product type &
      64,,811,,No ID number found for selection criteria

      Description
      Table
      Import parameter for selection according to Productcategory.

      Value range
      Product category,,Name
      010,,Stock
      020,,Investment certificate
      030,,Subscription right
      040,,Bond
      060,,Warrant bond
      070,,Convertible bond
      111,,Index warrant
      112,,Equity warrant
      113,,Currency warrant
      114,,Bond warrant
      160,,Shareholding
      700,,Futures
      750,,Listed options

      Description
      Table
      Import parameter for selection according to Producttype.

      Description
      Table (Export)
      The list of the selected securities contains the following fields:

      • PRODUCT_CATEGORY

      • PRODUCT_TYPE

      • SECURITY_NUMBER (ID number)

      • STATUS (status of the data record)

      • SHORT_TEXT

      • LONG_TEXT
      • Description
        Table
        Import parameter for selection according to IDnumber.