Fonction SAP BAPI_VEHICLE_CHANGE_MULTIPLE - Change One or More Vehicles

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
REQUESTEDTABLEX BAPIREQUESTEDTABLESX u 2 X List of parameters to be issued
VEHIACTIONDATA_HEAD BAPIVEHIACTIONDATA_HEAD u 952 Transfer Structure for Actions (Header Data)
VEHIACTIONDATA_HEADX BAPIVEHIACTIONDATA_HEADX u 91 X Transfer Structure for Actions (Header Data)
VEHIACTIONDATA_ITEMX BAPIVEHIACTIONDATA_ITEMX u 44 X Transfer Structure for Actions (Item Data)
VEHICLEACTION BAPIVEHIACTION-VEHICLEACTION C 4 BAPI Data Element for BAPI of Vehicle Management System
VEHICLE_ID_TYPE BAPIVEHICLE_ID_TYPE u 1 Identifying Number for Multiple-BAPI

Paramètre Reférence Type Long. Description
CHANGED_VEHIACTIONDATA_HEAD BAPIVEHIACTIONDATA_HEAD u 952 Transfer Structure for Actions (Header Data)

Paramètre Reférence Long. Facultatif Description
CHANGED_CONFIG_CHARSVAL BAPICUVAL 276 X Characteristic Values of Several Configurations
CHANGED_CONFIG_DATA BAPICUCFG 397 X CU: Configuration Data
CHANGED_CONFIG_INSTANCE BAPICUINS 233 X Instances of Several Configurations
CHANGED_CONFIG_VARCONDNKEYS BAPICUVK 55 X Variant Condition Keys in Configurations
CHANGED_VEHIACTIONDATA_ITEM BAPIVEHIACTIONDATA_ITEM 573 X Transfer Structure for Actions (Header Data)
CHANGED_VEHICLE BAPIVEHICLE 1066 X Main Attributes of Created Vehicle
CONFIG_CHARSVALUES BAPICUVAL 276 Characteristic Values of Several Configurations
CONFIG_DATA BAPICUCFG 397 Configuration Data of Vehicle
CONFIG_INSTANCES BAPICUINS 233 Instances of Several Configurations
CONFIG_REFERENCES BAPICONFIG_REFERENCES 49 Reference between Vehicle GUID and Config ID
CONFIG_VARCONDNKEYS BAPICUVK 55 X Variant Condition Keys in Configurations
EXTENSIONIN BAPIPAREX 990 X Reference Structure for BAPI Parameters ExtensionIn / ExtensionOut
EXTENSIONOUT BAPIPAREX 990 X Reference Structure for BAPI Parameters ExtensionIn / ExtensionOut
RETURN BAPIRET2 548 X Return Parameters
VEHIACTIONDATA_ITEM BAPIVEHIACTIONDATA_ITEM 573 Transfer Structure for Actions (Header Data)
VEHICLE_DATA BAPIVEHICLE 1066 X
VEHICLE_QUALIFIERS BAPIVEHICLEQUALIFIERS 132 X Structure for Creating/Changing Addnl Vehicle Attributes

Functionality
You use this method for changing one or more vehicles and theconfiguration of the vehicle(s).
INCLUDE VMS_GENERAL OBJECT DOKU ID TX

Description
Normal: this structure contains all the fields that are identical for avehicle affected by a BAPI.
The fields have a reference to the action performed with theChange-BAPI as regards action management in VMS.
Example: the Change-BAPI should change two vehicles to the extent thatthey have the same vehicle ordering party (VEHICLEORDERER). To do this,you would have to enter an appropriate value in field VEHICLEORDERER instructure BAPI_VEHIACTIONDATA_HEAD and make an appropriate entry forthe assignment of the attributes to the actions in Customizing.
INCLUDE VMS_REQUESTEDTABLEX OBJECT DOKU ID TX
INCLUDE VMS_DATAHEAD OBJECT DOKU ID TX
INCLUDE VMS_DATAX OBJECT DOKU ID TX
INCLUDE VMS_DATAX OBJECT DOKU ID TX

Description
This action is carried out for a vehicle.
If the vehicle does not yet exist, the action must be a "create"action.
If the vehicle already exists, the action cannot be a "create" action.
INCLUDE VMS_ID_TYPE OBJECT DOKU ID TX
INCLUDE VMS_OUTPUT2 OBJECT DOKU ID TX
INCLUDE VMS_OUTPUT2 OBJECT DOKU ID TX
INCLUDE VMS_OUTPUT2 OBJECT DOKU ID TX

Description
This table contains all the fields that are different from vehicle tovehicle for a vehicle that has been processed with a BAPI.
The fields reference to the action carried out with the Change BAPI asregards action management in VMS.
Example: the change BAPI is to change two vehicles so that they havetwo different vehicle identification numbers (VIN) (VEHICLEIDENTNUMB).You would then fill field VEHICLEIDENTNUMB accordingly in tableBAPI_VEHIACTIONDATA_ITEM and make an appropriate entry when assigningthe attribute to the actions in Customizing.
INCLUDE VMS_OUTPUT2 OBJECT DOKU ID TX

Description
You need this parameter if you wish to change the configuration of anexisting vehicle.
In this parameter, you specify which configuration (CONFIG_ID) is tohave which characteristics and values.
You can specify several pairs of characteristics and values for eachconfiguration. The characteristics and values must exist in the SAPclassification system, and the combination of characteristics andvalues must be consistent with the SAP variant configuration.
The three most important parameters are:

  • CONFIG_ID: see CONFIG_REFERENCES

  • CHARC = Name of characteristic

  • VALUE = Value of characteristic

  • INCLUDE VMS_CONFIG_DATA OBJECT DOKU ID TX
    INCLUDE VMS_CONFIG_INSTANCES OBJECT DOKU ID TX
    INCLUDE VMS_CONFIG_REFERENCES OBJECT DOKU ID TX
    INCLUDE VMS_EXTENSIONIN OBJECT DOKU ID TX
    INCLUDE VMS_OUTPUT3 OBJECT DOKU ID TX
    INCLUDE VMS_RETURN OBJECT DOKU ID TX
    INCLUDE VMS_DATAITEM OBJECT DOKU ID TX
    INCLUDE VMS_QUALIFIER OBJECT DOKU ID TX

1047209VELO: Program termination, error UC_OBJECTS_NOT_CONVERTIBLE