Fonction SAP BAPI_CMS_MOV_GETDETAIL_MULTI - OMS :- Movables - Get details

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DATA_REQUESTED BAPICMS_STR_MOV_REQD_DATA u 8 X Movables 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
AIRCRAFT_DATA BAPICMS_STR_ACR_DETAILS_GET 688 X GET: Structure for aircraft details
ASSET_DATA BAPICMS_STR_OMS_AST_GET 797 X GET: Structure for movables asset details
BUNDLES_DATA BAPICMS_STR_BDL_DETAILS_GET 484 X GET: Structure for bundles details
BUSINESS_PARTNERS BAPICMS_STR_OMS_BP_GET 188 X Business Partner Link (Get data)
CALCULATION_CONSOLIDATED BAPICMS_STR_OMS_CALC_GET 257 X Consolidated calculations results asset
CALCULATION_MAIN BAPICMS_STR_OMS_MAIN_CALC_GET 257 X Calculations results for main part of collateral object
CALCULATION_PARTS BAPICMS_STR_OMS_SAS_CALC_GET 289 X Calculation results for parts/ positions
DEVICES_DATA BAPICMS_STR_DEV_DETAILS_GET 529 X GET: Structure for device details
DOCUMENTS BAPICMS_STR_OMS_DOC_GET 238 X 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
INVENTORY_DATA BAPICMS_STR_INV_DETAILS_GET 577 X GET: Structure for inventory details
MOVABLES_IDENTIFIER BAPICMS_STR_MOV_IDENTIFIER_GET 32 GET: Movables identifier - semantic key & primary key
MOVABLES_KEYS BAPICMS_STR_MOV_KEYS_GET 164 X GET: Movables primary & semantic key
NOTES BAPICMS_STR_OMS_NOTES_GET 190 X Notes created on Movables
OBJECT_INSURANCE_DATA BAPICMS_STR_OMS_INS_GET 416 X Insurance Data - GET
OBJECT_INSURANCE_DOCUMENTS BAPICMS_STR_OMS_INS_DOC_GET 254 X Insurance Document Service Link (Get data)
OBJECT_INSURANCE_PARTNERS BAPICMS_STR_OMS_INS_BP_GET 194 X Business Partner Link (Get data) for Insurance
OTHER_OBJECTS_DATA BAPICMS_STR_OTH_DETAILS_GET 484 X GET: Structure for other object details
PARTS_DATA BAPICMS_STR_MOV_PART_GET 810 X Part Data - GET
RETURN BAPIRET2 548 X Return Parameter
SHIPS_DATA BAPICMS_STR_SHP_DETAILS_GET 1069 X Get : Ship details
SYSTEM_STATUS BAPICMS_STR_OMS_SYS_STAT_GET 61 X System status
USER_STATUS BAPICMS_STR_OMS_USR_STAT_GET 61 X User status
VALUES_DATA BAPICMS_STR_OMS_VAL_GET 148 X Value service link (Get data)
VEHICLES_DATA BAPICMS_STR_VEH_DETAILS_GET 617 X GET: Structure for vehicle details

Functionality
You can use this method to transfer details of the collateral objectsthat belong to one of the following object categories :

  • Ships

  • Vehicles

  • Devices

  • Aircrafts

  • Inventory

  • Other valuables

  • Bundles

  • Use this method to determine the following data for one or more of thecollateral objects belonging to one of the object categories mentionedearlier. These details include
    • Basic details of collateral objects

    • Details of values, parts and insurances

    • Business partners assigned to the collateral objects

    • Documents attached to the collateral objects

    • Calculated values for the collateral objects

    • Notes

    • Note : This method transfers all the basic data. To transferspecific details such as insurance, business partners or documents, youmust check the relevant flags for the same.
      This method is mostly used by correspondence and other modules where atable of collateral object identifications are given and all the detailsare required to be transferred.
      The rights GUID must be passed as parameter to uniquely identify thecollateral objects in the system. Based on this key, the details of thecollateral objects are returned from the records.
      The parameter controls the scope of the data to be read for themovables. The following collateral objects are categorized as movables :
      • Ships

      • Vehicles

      • Devices

      • Aircrafts

      • Inventory

      • Other valuables

      • Collateral object bundles

      • You need to transfer values atleast the following fields :
        • Collateral object identification

        • Collateral object type

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

          Default
          By default, only the basic details of the collateral objects (movables)are transferred. To transfer specific values, you must check the flagsfor the relevant 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 details specific to collateral objects ofcategory Aircraft. Atleast the following values must betransfered :

          • Aircraft identification

          • Aircraft type

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

            Description
            This parameter contains the asset specifc data of the collateral objects(movable). Atleast the following values must be transfered :

            • Collateral object category

            • Collateral object category name

            • Collateral object type

            • Collateral object type name

            • Collateral object identification

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

              Description
              This parameter contains the data specific to collateral objects ofcategory Bundle. Atleast the following values must be transfered:

              • Object bundle identification

              • Object bundle type

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

                Description
                This parameter contains the data for the business partners assigned tothe collateral objects (movables). This data is transfered only if youhave checked the flag FLG_BUPA while determining the scope for theimport parameters. Atleast the following values must be transfered :

                • Object category

                • Movable type

                • Object identification

                • Business partner identification

                • 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 thecollateral objects (movables ) including their parts. These details areretrieved only if you have checked the flag FLG_CALC (Flag: Indicatesthat calculation data to be fetched).

                  Description
                  This parameter contains the calculated values of the collateralobjects(movables ) excluding the calculated values of their parts. Thesedetails are transferred only if you have checked the flag FLG_CALC(Flag: Indicates that calculation data to be fetched) while determiningthe scope of the import parameters.

                  Description
                  This parameter contains the calculated values for the object parts ofthe collateral objects (movable) parts. These details are transferedonly if you have checked the flag FLG_CALC (Flag: Indicates thatcalculation data to be fetched) while determining the scope of theimport parameters.

                  Description
                  This parameter contains the data specific to collateral objects ofcategory Devices. Atleast the following data must be transfered :

                  • Device identification

                  • Device type

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

                    Description
                    This parameter contains the data for the documents attached to thecollateral objects (movables). This data is transfered only if you havechecked the flag FLG_DOCUMENT while determining the scope for the importparameters. Atleast the following data must be transfered :

                    • Object category

                    • Movable type

                    • Collateral object identification

                    • Document identification

                    • Document type

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

                      Description
                      This is an import parameter. It enables you to define additional filtercriteria 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 data specific to the collateral objects ofcategory Inventory. Atleast the following values must betransfered :

                      • Inventory identification

                      • Inventory type

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

                        Description
                        This parameter implements the primary key (semantic key or theidentification key) of the collateral objects (movables). This value ismandatory to transfer the details of collateral objects (movables).

                        Description
                        This parameter implements the following values for a collateral object(movable) :

                        • GUID for Movables - Primary key

                        • Object category

                        • Object category name

                        • Movable types

                        • Movable type name

                        • Collateral object (movable )Identification number
                        • Description
                          This parameter contains the details of the notes attached to thecollateral objects (movable). These details are transferrd only if youhave checked the flag FLAG_NOTES (Flag: Indicates that notes data is tobe fetched) while determining the scope of the import parameters.

                          Description
                          This parameter contains the insurance data for the collateral objects(movables). These details are transfered only if you have checked theflag FLG_INS while determining the scope of the import parameters.Atleast the following values must be transfered :

                          • Object category

                          • Object type

                          • Object identifcation

                          • Insurance category

                          • Insurance type

                          • Insurance identification

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

                            Description
                            This parameter contains the insurance data of the collateral objects(movables). These details are transfered only if you have checked theflag FLG_INS while determining the scope of the import parameters.Atleast the following values must be transfered :

                            • Object category

                            • Movable type

                            • Collateral object identification

                            • Insurance category

                            • Insurance type

                            • Insurance identification

                            • Document identification

                            • Document type

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

                              Description
                              This parameter contains the data relating to the insurance businesspartners of the collateral objects (movables). These details aretransfered only if you have checked the flag FLG_INS while determiningthe scope of the import parameters. Atleast the following fields must betransfered :

                              • Object category

                              • Movable type

                              • Collateral object identification

                              • Insurance category

                              • Insurance type

                              • Insurance identification

                              • Business partner identification

                              • Business partner function

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

                                Description
                                This parameter contains the data specific to collateral objects ofcategory Other valuable. Atleast the following values must be transfered:

                                • Other valuable identification

                                • Other valuable type

                                • 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 parts of the collateralobjects (movable). Atleast the following data must be transfered for theparts :

                                  • Object category

                                  • Movable type

                                  • Object identification number

                                  • Part category

                                  • Part type

                                  • Part identification

                                  • 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 contains the data specific to collateral objects ofcategory Ships. Atleast the following data must be transfered :

                                    • Ship identification

                                    • Ship type

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

                                      Description
                                      This parameter contains the details of the system statuses of thecollateral objects.

                                      Value range
                                      The following system statuses are possible for collateral objects(movables) :

                                      • 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 collateral object (movable).

                                        Default
                                        By default, all new collateral objects assume the status Created.

                                        Description
                                        This parameter contains the values of the user statuses of the rights.Atleast the following values must be transferred :

                                        • Collateral object category (such as Ships, Devices or Aircrafts)

                                        • Collateral object type (internal technical key) that identifies the
                                        • collateral object for which the user status is valid
                                          • Collateral object identification

                                          • User status

                                          • Name of the user status

                                          • Note : These details are transferred only if you have checked theflag FLG_USER_STATUS (Flag: Indicates that the user status is to befetched).

                                            Description
                                            This parameter contains the values data of the collateral objects(movables). This data is transfered only if you have checked the flagFLG_VAL while determining the scope of the import parameters. Atleastthe following values must be transfered :

                                            • Object category

                                            • Movable type

                                            • Collateral object identification

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

                                              Description
                                              This parameter contains the data specific to collateral objects ofcategory Vehicles. Atleast the following values must betransfered :

                                              • Vehicle identification

                                              • Vehicle type

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