Fonction SAP BAPI_CMS_MOV_CREATE - CREATE MOVABLES

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ADDRESS_DATA BAPICMS_STR_MOV_ADDR_CRT u 1280 X BAPI : Address details
ADMIN_DATA BAPICMS_STR_MOV_ORGUNIT_CRT u 66 X BAPI : Organizational Units and Bank area.
AIRCRAFT_DATA BAPICMS_STR_MOV_ACR_CRT u 204 X BAPI : Structure for aircraft details
ASSET_DATA BAPICMS_STR_MOV_AST_CRT u 324 X BAPI : Structure for asset details
CATEGORY BAPICMS_STR_MOV_PKY_SKY-CATEGORY C 6 Object Category
COMMON_DATA BAPICMS_STR_MOV_COMMON u 320 X BAPI : Common data
DEVICES_DATA BAPICMS_STR_MOV_DEV_CRT u 45 X BAPI : Structure for device details
MOVABLE_TYPE BAPICMS_STR_MOV_PKY_SKY-TYPE C 6 Movable types
PROCESSEXTENSION BAPI_CMS_STR_CENTRAL-PROCESSEXTENSION C 1 X Flag: Execute Customer Extensions (BAdIs) in BAPI
SHIP_DATA BAPICMS_STR_MOV_SHP_CRT u 791 X BAPI : Structure for ship details
TESTRUN BAPI_CMS_STR_CENTRAL-TESTRUN C 1 X Switch to Simulation Session for Write BAPIs
VEHICLES_DATA BAPICMS_STR_MOV_VEH_CRT u 133 X BAPI : Structure for vehicle details

Paramètre Reférence Type Long. Description
MOVABLE_IDENTIFIER BAPICMS_STR_MOV_IDENTIFIER_GET-MOV_IDENTIFIER C 32 GUID for Movables - Primary key
MOVABLE_KEYS BAPICMS_STR_MOV_PKY_SKY u 52 BAPI : Structure for Semantic Keys

Paramètre Reférence Long. Facultatif Description
BUSINESS_PARTNERS BAPICMS_STR_MOV_BP_CRT 64 X BAPI : Structure for Business Partner Link details
DOCUMENTS BAPICMS_STR_MOV_DOC_CRT 114 X BAPI : Structure for Document Service Link details
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_MOV_NOTES_CRT 162 X BAPI : Structure for Notes created on Movables
OBJECT_INSURANCE_DATA BAPICMS_STR_MOV_INS_CRT 318 X BAPI : Structure for Insurance Data details
OBJECT_INSURANCE_DOCUMENTS BAPICMS_STR_MOV_INS_DOC_CRT 118 X BAPI : Structure for Insurance Document Service Link
OBJECT_INSURANCE_PARTNERS BAPICMS_STR_MOV_INS_BP_CRT 58 X BAPI : Structure for Business Partner Link for Insurance
PARTS_DATA BAPICMS_STR_MOV_PARTS_CRT 689 X BAPI-MOV : Structure for parts details
RETURN BAPIRET2 548 X Return Parameter
SYSTEM_STATUS BAPICMS_STR_MOV_SYS_STAT_CRT 5 X System status
VALUES_DATA BAPICMS_STR_MOV_VALUES_CRT 76 X BAPI : Structure for Value service link details

Functionality
Use this method to create a movables object of the following category:
Aircraft
Devices
Ships
Vehicles
You can use the import parameters to provide information for themovables object. You use tables to enter your data for the movablesobject including data for the specific business of the movables objectcategories, business partners, documents, notes and calculated values.
This method returns :
Semantic key of the movables object (ID) and the movables object type
A table of return codes

Description
This parameter passes the movables object GUID (Globally UniqueIdentifier) for which the new movables object is created.

Description
This parameter contains the unique identification for collateral objectsincluding vehicles, devices, aircrafts, inventory objects and objectbundles.

Description
This parameter must be implemented to create a new movables object.Mandatory values to be passed are:
Address id
For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

Description
This parameter must be implemented to create a new movables object.Mandatory values to be passed are:
Administration organizational unit
Bank area
For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

Description
This parameter contains the data specific to movables object of categoryAircrafts . The following values may be entered:
Aircraft Name
Registration Mark
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 movables object.
For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

Description
This parameter is mandatory to create a new movables object.

Description
This parameter contains the common data of the movables objects. Thefollowing values may be entered:
Identification
Description
For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

Description
This parameter contains the data specific to movables object of categoryDevices . The following values may be entered:
Machine Number
For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

Description
This parameter is mandatory to create a new movables object.
You can define movables object types and other essential attributes(including certain default values) in the IMG activity Define MovablesObject Types.

Description
Use this parameter to specify specify whether the details specified bythe Customers in a Business Add-In of this method, must be retrieved.
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 data specific to movables object of categoryShips . The following values may be entered:
Ship Name
Ship Id
Registration Number
For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

Description
If this parameter is set, the method will only be executed in the testrun. All checks are then carried out, without an entry being made in thedatabase.
This is used for write BAPIs to check the entries for the objectinstance in the database before actually creating the instance. Theobject instance is not actually created, merely simulated, and the datais not written to the database (updated).

Value range
' ' (no value)
No value means that the database is updated. This is the default settingand corresponds to the expectations of the calling program.
'X'
This value means that the BAPI is called in simulation mode and that nodata is written to the database.

Description
This parameter contains the data specific to movables object of categoryVehicles . The following values may be entered:
Vehicle Registration Mark
Chasis Number
For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

Description
This table contains the values for the business partners assigned to theobjects. The mandatory values are:
Business partner identification
Business partner function
For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

Description
This table contains the values for the documents relevant to theobjects. The mandatory values are:
Document reference identification
Document type
For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

Description
You can use this parameter to transfer user-specific enhancments to aBAPI. The customer has to complete the EXTENSION structure and thesystem automatically continues processing it. If you have not definedany user-specific fields, then you can transfer a blank EXTENSIONINstructure.

Default

Further information
You can find more information in the BAPI programming guide in thechapter for enhancements to BAPIs.

Description
You can use this parameter to transfer user-specific enhancments to aBAPI. The customer has to complete the EXTENSION structure and thesystem automatically continues processing it. If you have not definedany user-specific fields, then you can transfer a blank EXTENSIONINstructure.

Default

Further information
You can find more information in the BAPI programming guide in thechapter for enhancements to BAPIs.

Description
This table contains the details of the notes created for the movablesobject. These details are transfered only if you have checked the flagFLAG_NOTES while determining the scope for the import parameters.

Description
This parameter contains the insurance data for the movables object. Thefollowing values may be entered:
Insurance type
Insurance identification
Insurance description
For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

Description
This parameter contains the insurance documents for the movables object.The following values may be entered:
Insurance identification
Documents id
Documents type
For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

Description
This parameter contains the insurance partners for the movables object.The following values may be entered:
Insurance identification
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 data specific to the parts of the movablesobject. The following data may be transfered for the parts :
Part identification
Part type
Description
For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.

Description
This table contains all the return messages (including the errormessages for plausibility checks ) from the method call.

Description
This parameter contains the details of the internal status of theobject.

Value range
The following system statuses are possible for movables object :
Created
Active
Inactive
Legally active
Calculation relevant
Note : 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 inthe Implementation Guide (IMG) Customizing, you must explicity set thestatus to a combination of a system status with calculation relevant.
Note : Internal plausibility checks are defined to validate the inputdata before a system status is set for a movables object.

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

Description
This parameter contains the values data of the movables object. Atleastthe following values must be transfered :
Value Type
Calculated Value
Entered Value
For more information on the individual parameter fields, see the dataelement documentation in the ABAP Dictionary.