Fonction SAP BAPI_FP_GETDETAIL - Read Detail Data for Securities

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
SECURITYNUMBER BAPI1076-SECURITY_NUMBER C 13 X Security ID number

Paramètre Reférence Type Long. Description
ADDITIONALDATA BAPI1076_ADDITIONALDATA u 42 Additional Fields for the BAPI Interface
BOND BAPI1076_BOND u 226 Structure for bonds
BONDWARRANT BAPI1076_BONDWARRANT u 193 Structure for bond warrants
CONVERTIBLEBOND BAPI1076_CONVERTIBLEBOND u 256 Structure for convertible bonds
CURRENCYWARRANT BAPI1076_CURRENCYWARRANT u 193 Structure for currency warrants
EQUITYWARRANT BAPI1076_EQUITYWARRANT u 187 Structure for equity warrants
FUTURE BAPI1076_FUTURE u 323 Structure for listed futures
INDEXWARRANT BAPI1076_INDEXWARRANT u 188 Structure for index warrants
INVESTMENT BAPI1076_INVESTMENT u 175 Structure for investment certificates
OPTION BAPI1076_OPTION u 289 Structure for listed options
POOLDATA BAPI1076_POOLDATA u 62 BAPI Structure for Pool Data
PRODUCTCATEGORY BAPI1076-PRODUCT_CATEGORY N 3 Product Category
RETURN BAPIRET2 u 548 Result parameter
SHAREHOLDING BAPI1076_SHAREHOLDING u 158 Structure for shareholdings
STOCK BAPI1076_STOCK u 252 Structure for stocks
SUBSCRIPTIONRIGHT BAPI1076_SUBSCRIPTIONRIGHT u 293 Structure for subscription rights
WARRANTBOND BAPI1076_WARRANTBOND u 236 Structure for warrant bonds

Paramètre Reférence Long. Facultatif Description
CONDITIONS BAPI1076_CONDITION 161 X Table for conditions
FORMULARS BAPI1076_FORMULAR 42 X Table for formula
INDICES BAPI1076_INDEX 22 X Table for secondary indexes
LISTINGS BAPI1076_LISTING 22 X Table for exchanges
NOTICES BAPI1076_NOTICE 107 X Table for notice
PARTPAIDS BAPI1076_PARTPAID 34 X Partly paids for securities
POOLRATING BAPI1076_POOLRATING 28 X BAPI Structure for Pool Rating
POOLREMARK BAPI1076_POOLREMARK 201 X BAPI Structure for Asset Pool Comments
RATINGS BAPI1076_RATING 15 X Rating
REFERENCES BAPI1076_REFERENCE 63 X Table for references
SHARECAPITALS BAPI1076_SHARECAPITAL 56 X Stock capital and voting rights
SUBSCRIPTIONPERIODS BAPI1076_SUBSCRIPTPERIOD 164 X Table for subscription periods
SWAPS BAPI1076_SWAP 184 X Stock Swap

Functionality
The GetDetail method enables you to read the detailed data of asecurity. The data belonging to a securities ID number is returned viathe export parameter.
The data can be divided into two categories:
On the one hand, you have data that can be determined according toproduct category. This is why each product category has a specificparameter.
On the other hand, you have data that has the same structure regardlessof the product category. This includes secondary indexes, listing keysas well as references to other securities.
In addition, you have conditions for stocks, investment funds,shareholdings and bonds, which are also transferred in their ownstructures.

Notes
INCLUDE BAPI_RET

Further information
The individual parameters are described in more detail in the relevantdocumentation.
Import Parameter
Additional fields for the BAPI interface
INCLUDE BAPI_DATAELEMENT

  • PRICE_INDEX Name of price index

  • SET_NAME Redemption schedule set

  • SMOVERW Possible custody type

  • SDEPOSTAT Securities account statistics key

  • SSTBE Indicator for tax treatment

  • SWPHGMPF Indicator for reporting obligations under the
  • Securities Trading Law
    • ELIGIBLE Indicator: Eligible as trustee stock

    • ELIGIBLE_AS_COLL Indicator: Eligible as collateral

    • ELIGIBLE_TO_SERVE Eligible for premium reserve fund

    • FUNDED Indicator: Funded

    • STATUS Status of security
    • Description
      Export parameter
      The structure contains all the detailed entries for a class belongingto product category 040 (bond).
      INCLUDE BAPI_DATAELEMENT

      Description
      Export parameter
      The structure contains all the detailed entries for a class belongingto product category 114 (bond warrant).
      INCLUDE BAPI_DATAELEMENT

      Description
      Export parameter
      The structure contains all the detailed entries for a class belongingto product category 070 (convertible bond).
      INCLUDE BAPI_DATAELEMENT

      Description
      Export parameter
      The structure contains all the detailed entries for a class belongingto product category 113 (currency warrant).
      INCLUDE BAPI_DATAELEMENT

      Description
      Export parameter
      The structure contains all the detailed entries for a class belongingto product category 112 (equity warrant).
      INCLUDE BAPI_DATAELEMENT

      Description
      Export parameter
      The structure contains all the detailed entries for a class belongingto product category 700 (futures).
      INCLUDE BAPI_DATAELEMENT

      Description
      Export parameter
      The structure contains all the detailed entries for a class belongingto product category 111 (index warrant).
      INCLUDE BAPI_DATAELEMENT

      Description
      Export parameter
      The structure contains all the detailed entries for a class belongingto product category 020 (investment certificate).
      INCLUDE BAPI_DATAELEMENT

      Description
      Export parameter
      The structure contains all the detailed entries for a class belongingto product category 750 (listed options).
      INCLUDE BAPI_DATAELEMENT

      Description
      Documentation in preparation.

      Description
      Export parameter
      For information on the product category, see the data elementdocumentation: Product category
      .

      Value range
      The following product categories are predefined in the system:

      • 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
        INCLUDE BAPI_TABLE
        ID,,No.,,Message
        65,,057,,No authorization for product type &
        64,,811,,No ID number found for the selection criteria

        Description
        Export parameter
        The structure contains all the detailed entries for a class belongingto product category 160 (shareholding).
        INCLUDE BAPI_DATAELEMENT

        Description
        Export parameter
        The structure contains all the detailed entries you have to make whenyou create a class belonging to product category 010 (stock).
        INCLUDE BAPI_DATAELEMENT

        Description
        Export parameter
        The structure contains all the detailed entries for a class belongingto product category 030 (subscription right).
        INCLUDE BAPI_DATAELEMENT

        Description
        Export parameter
        The structure contains all the detailed entries of a class belonging toproduct category 060 (warrant bond).
        INCLUDE BAPI_DATAELEMENT

        Description
        Import parameter
        INCLUDE BAPI_KEYFIELD

        Description
        Table
        Stocks, shareholdings, investment certificates, bonds, convertiblebonds and warrant bonds all have conditions.
        In addition to defining a fixed-interest rate for condition type'interest', you can also define a form with a variable-interest rate.
        Forms
        Subscription rights, listed options and futures as well as all types ofwarrants have no conditions.
        INCLUDE BAPI_DATAELEMENT

        Description
        Table
        Instead of defining fixed-interest rates for condition type 'interest',you can also define a form with reference interest rates such as LIBORand FIBOR. You can choose from three different formulas:

        • V1 * V2 + V3 (0001)

        • V1 * V2 - V3 * V4 (0002)

        • V1 + V3 (0003)

        • You enter variables V1 to V4 as lines of this parameter. You canuniquely identify the condition item the formula belongs to using theCONDITION_TYPE and VALID_FROM fields. The VARIABLE_NAME field mustcontain the variable names (such as V1). If the variable has a fixedvalue, enter this in field VARIABLE_VALUE and enter a referenceinterest rate in field REF_INTEREST_RATE.
          In the FORMULAR_REFERENCE field of the
          CONDITIONSparameter, you transfer the correct number (0001, 0002 or 0003) to therequired formula in the line for the interest conditions.
          INCLUDE BAPI_DATAELEMENT

          Description
          Table
          You can define alternative search strings for an ID number viasecondary indexes.

          Description
          Table
          If you want to be able to maintain security prices, you have to assignat least one exchange to the security.
          You can fill the following fields:

          • STOCK_EXCHANGE Required entry

          • CURRENCY (currency key) Required entry

          • CURRENCY_ISO (ISO currency code)

          • FLAT_PRICE (yes/no)

          • HOME_EXCHANGE

          • LISTING_KEY

          • Table for Notice
            INCLUDE BAPI_DATAELEMENT
            • RIGHTTYPE Rights category of an executable right

            • STARTDATE Term from

            • ENDDATE Term to

            • RANLUNDERLYING ID number of the underlying for an executable
            • right
              • PRICE Clearing amount for swap

              • CURRENCY1 Currency of exercise price

              • CURRENCY1_ISO ISO code currency

              • BASICRATE Base rate

              • RATIONUMERATOR Option ratio numerator

              • RATIODENOMINATOR Option ratio denominator

              • SHORTTEXT Short text/name of object

              • Table
                Partly Paid Stock
                INCLUDE BAPI_DATAELEMENT
                • CONDITION_VALID_FROM Date condition valid from

                • INPAYMENT_RATE Pay-in rate

                • PAYMENT_AMOUNT Pay-in amount

                • BALANCE_DATE Date for payment of the balance
                • Description
                  Documentation in preparation.

                  Description
                  Documentation in preparation.
                  Table
                  Rating
                  INCLUDE BAPI_DATAELEMENT

                  • VALID_FROM Date valid from

                  • INSTITUTE Institute providing credit standing information

                  • RATING Rating
                  • Description
                    Table
                    References represent relationships between securities.

                    Range
                    You can represent the following 5 relationship categories in thesystem:
                    Relationship category,,Name of relationship
                    010,,Warrant bond cum for warrant bond ex
                    ,,Warrant bond ex for warrant bond cum
                    002,,Warrant bond for warrant
                    ,,Warrant for warrant bond
                    003,,Warrant for underlying
                    ,,Underlying for warrant
                    004,,Security to be received for sub.right
                    ,,Sub.right for security to be received
                    005,,Security to be received for convert.bond
                    ,,Convert.bond for security to be received
                    Table
                    Stock Capital & Voting Rights
                    INCLUDE BAPI_DATAELEMENT

                    • VALID_FROM Date valid from

                    • NUMBER_OF_SHARES Number of issued stocks

                    • CAPITAL_PR_SHARE Nominal value per stock, independent of
                    • currency
                      • VOTES_PER_SHARE Voting rights per stock

                      • EXTRA_CAPITAL Additional stock capital

                      • AGGREGATION_KEY Aggregation key
                      • Description
                        Since all subscription rights relating to one security are managedunder the same ID number, one subscription right can have severalsubscription periods. This leads to a subscription period history,which is read in this table parameter.
                        This parameter is only useful for subscription rights (product category030) for GetDetail, in other words, in display mode.
                        Table
                        Stock swap

                        • RANL ID number of reference securities for an
                        • executable right
                          • STARTDATE Term from

                          • ENDDATE Term to

                          • RANLNEW ID number of the new security after the
                          • swap
                            • SETTLEMENTPAYMENT Clearing amount for swap

                            • SETTLEMENTPAYMENT_CURRENCY Currency of the additional payment for
                            • a stock swap
                              • SETTLEMENTPAYMENT_CUR_ISO ISO currency code

                              • RATIONUMERATOR Swap ratio numerator

                              • RATIODENOMINATOR Swap ratio denominator

                              • SHORTTEXT Short text/name of object

                              • RERF Created by

                              • DERF Date first created

                              • TERF Time first created

                              • REHER Origin of first creation

                              • RBEAR Employee ID

                              • DBEAR Date last processed

                              • TBEAR Time last processed

                              • RBHER Origin of last processing

                              • INCLUDE BAPI_DATAELEMENT