Fonction SAP BAPI_CMS_SEC_GETDETAIL_MULTI - OMS : Securities Account - Get details

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DATA_REQUESTED BAPICMS_STR_SEC_REQD_DATA u 6 X Securities required data
PROCESSEXTENSION BAPI_CMS_STR_CENTRAL-PROCESSEXTENSION C 1 X Flag: Execute Customer Extensions (BAdIs) in BAPI

Paramètre Reférence Long. Facultatif Description
ACCOUNTS_DATA BAPICMS_STR_SEC_ACC_GET 481 X BAPI : Securities account details
BUSINESS_PARTNERS BAPICMS_STR_SEC_BP_GET 152 X Securities - Business Partner Link (Get data)
CALCULATION_CONSOLIDATED BAPICMS_STR_SEC_CALC_GET 243 X Consolidated calculation results for securities account
CALCULATION_POSITIONS BAPICMS_STR_SEC_SAS_CALC_GET 275 X Calculation results for security account positions
DOCUMENTS BAPICMS_STR_SEC_DOC_GET 204 X BAPI - Securities - Document Service Link (Get data)
EXTENSIONIN BAPIPAREX 990 X Ref. structure for BAPI parameter ExtensionIn/ExtensionOut
EXTENSIONOUT BAPIPAREX 990 X Ref. structure for BAPI parameter ExtensionIn/ExtensionOut
NOTES BAPICMS_STR_SEC_NOTES_GET 176 X Notes created on Securities accounts
POSITIONS BAPICMS_STR_SEC_ACC_POS_GET 424 X BAPI : Structure for securities positions
RETURN BAPIRET2 548 X Return Parameter
SECURITIES_ACCOUNT_IDENTIFIER BAPICMS_STR_SEC_IDENTIFIER_GET 32 GET: Securities account identifier primary key
SECURITIES_ACCOUNT_KEYS BAPICMS_STR_SEC_KEYS_GET 70 X GET: Securities account primary key & semantic keys
SYSTEM_STATUS BAPICMS_STR_SEC_SYS_STAT_GET 47 X System status
USER_STATUS BAPICMS_STR_SEC_USR_STAT_GET 47 X User status


You can use this method to transfer details of one or more securitiesaccounts maintained in Collateral Management. The details that aretransferred include :
  • Basic details of securities accounts such as account number and bank
  • key
    • Details of values

    • Details of securities accounts positions including the class master data

    • Business partners assigned to the securities account

    • Documents attached to the securities account

    • Calculated values for the securities account

    • Notes

    • Note : This method transfers all the basic data. To transferspecific details of the securities account such business partners ordocuments, you must check the relevant flags for the same.
      This method is mostly used by correspondence and other modules where atable of securities account identifications are given and all thedetails are required to be transferred.
      The rights GUID must be passed as parameter to uniquely identifysecurities accounts in the system. Based on this key, the details of thesecurities accounts are returned from the records.

      Description
      This parameter controls the scope of the data to be read for thesecurities accounts.
      For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

      Default
      By default, the basic values of the securities account are transferred.To transfer the additional values, you must to check the flags for therelevant structures.

      Description
      Check this flag to specify if the details entered by the Customers in aBusiness Add-In of this method, must be transfered.
      You will find information on the meaning of the parameter in thedocumentation for the data element Execute Extension(s)(BAdI).

      Value range
      X = Yes: In general the planned customer extensions should be executed.

      Description
      This parameter contains the basic data of the securities accounts(excluding the positions data). Atleast following values must betransfered :

      • Depository bank

      • Account number

      • Account value

      • Valuation date

      • For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

        Description
        This parameter contains the data specific to the business partnersassigned to the securities accounts. These details are transfered onlyif you have checked the flag FLG_BUPA while determining the scope ofthe import parameters. Atleast the following values must be transfered :

        • Business partner ID

        • Business partner function

        • For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

          Description
          This parameter contains the consolidated calculated values of asecurities account (including its positions). These values aretransferred only if you have checked the flag FLG_CALC (Flag: Indicatesif calculation values have to be fetched) while determining the scope ofthe import parameters,

          Description
          This parameter contains the calculated values of the securities accountpositions. These details are transfered only if you have checked theflag FLG_CALC (Flag: Indicates if calculation values have to be fetched)while determining the scope of the import parameters.

          Description
          This parameter contains the data for the documents assigned to thesecurities account. These details are transfered only if you havechecked the flag FLG_DOCUMENT while determing the scope of the importparameters. Atleast the following values must be transfered :

          • Document reference identification

          • Document type
          • Description
            This parameter is an import parameter. It enables you to defineadditional filter criteria to determine the scope of the details.
            The table extension provided is called BAPI_TE_FMBH.
            For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

            Description
            This is an export parameter. It is provided to allow additional detailvalues to be returned by the BAPI.
            The table extension provided is called BAPI_TE_FMBH.
            For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary

            Description
            This parameter contains the details of the notes attached to thesecurities accounts. These details are transferrd only if you havechecked the flag FLG_NOTES (Flag: Indicates that notes data is to befetched).

            Description
            This parameter contains the data specific to the positions of thesecurities accounts. Atleast the following data must be transfered:

            • ISIN number

            • Number of units

            • For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

              Description
              This table contains the return messages (including the error messagesfor plausibility checks ) from the method call.

              Description
              This parameter implements the securities account identification primarykey.

              Description
              This parameter implements the following values :

              • Securities account identification

              • Bank key

              • Account number
              • Description
                This parameter contains the data relating to the system statuses of thesecurities accounts. To transfer data relating to the system statuses,you must have checked the flag FLG_SYSTEM_STATUS (Flag: Indicates thatthe system status is to be fetched) while determining the scope of theimport parameters.

                Value range
                The following system statuses are possible for securities accounts :

                • Created

                • Active

                • Inactive

                • Legally active

                • Calculation relevant

                • Only the following combinations of system statuses are allowed:
                  Created + Calculation relevant
                  Active + Calculation relevant
                  Inactive + Calculation relevant
                  Legally active + Calculation relevant
                  If you want to set the system status to Calculation relevant,then in the Implementation Guide (IMG) Customizing, you must explicityset the status to a combination of a system status with calculationrelevant.
                  Note : Plausibility checks are defined to validate the input databefore a system status is set for a securities account.

                  Default
                  The default system status for a securities account is set to Created.

                  Description
                  This parameter contains the data relating to the user statuses of thesecurities accounts. This data is transfered only if you have checkedthe flag FLG_USER_STATUS while determining the scope of the importparameters. Atleast the following values must be transfered :

                  • Real estate object GUID (internal technical key) that identifies the
                  • real estate for which the user status is valid
                    • User status

                    • Name of the user status