Fonction SAP BAPI_VEHICLE_DELETE_MULTIPLE - Delete One or More Vehicles from the Database

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
VEHICLEACTION BAPIVEHIACTION-VEHICLEACTION C 4 'VDEL' BAPI Data Element for BAPI of Vehicle Management System
VEHICLE_ID_TYPE BAPIVEHICLE_ID_TYPE u 1 VELO: Identifying Number for Multiple-BAPI

Paramètre Reférence Long. Facultatif Description
DELETED_VEHICLE BAPIVEHICLE 1066 X Main Attributes of Created Vehicle
RETURN BAPIRET2 548 X Return Parameters
VEHIACTIONDATA_ITEM BAPIVEHIACTIONDATA_ITEM 573 Transfer Structure for Actions (Header Data)

Functionality
You can use this BAPI to delete one or more vehicles. To do this,select the action VDEL or a different deletion action. (see inputparameters for action). You can only delete with VDEL if there is nosubsequent document for the vehicle.
This BAPI does not create a commit (like all BAPIs in this Release). Toensure the update in the database, you must also call the SAP standardBAPI BAPI_TRANSACTION_COMMIT after the current BAPI has beensuccessfully completed.
INCLUDE VMS_GENERAL OBJECT DOKU ID TX
INCLUDE VMS_ACTION OBJECT DOKU ID TX
INCLUDE VMS_ID_TYPE OBJECT DOKU ID TX
INCLUDE VMS_OUTPUT4 OBJECT DOKU ID TX
INCLUDE VMS_RETURN OBJECT DOKU ID TX
INCLUDE VMS_ITEM OBJECT DOKU ID TX