Fonction SAP BAPI_VEHICLE_GETLIST - Read One or More Vehicles

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
REQUESTEDTABLEX BAPIREQUESTEDTABLESX u 2 X requested tables

Paramètre Reférence Long. Facultatif Description
CONFIG_CHARSVAL BAPICUVAL 276 X Characteristic Values of Several Configurations
CONFIG_DATA BAPICUCFG 397 X CU: Configuration Data
CONFIG_INFO BAPICUPRT 123 X Part_of entries of several configurations
CONFIG_INSTANCE BAPICUINS 233 X Instances of Several Configurations
CONFIG_KEY BAPICUVK 55 X Variant Condition Keys in Configurations
CONFIG_REFERENCES BAPICONFIG_REFERENCES 49 X VELO : Reference between Vehicle GUID and Config ID
EXTENSIONOUT BAPIPAREX 990 X Reference Structure for BAPI Parameters ExtensionIn / ExtensionOut
RETURN BAPIRET2 548 X Return Parameters
VEHICLEADDPARAMS BAPIVEHICLEADDPARAMS 173 X Additional Vehicle Parameters
VEHICLECUOBJ BAPIVEHICLECUOBJ 18 X Pointer to Instance in CBASE (Config.)
VEHICLEDATA BAPIVEHICLE 1066 BAPI Main Structure for Business Object Vehicle
VEHICLEEXTERNNUM BAPIVEHICLEEXTERNNUM 35 X External Vehicle Number
VEHICLEGUID BAPIVEHICLEGUIDS 22 X Vehicle GUID
VEHICLEGUID32 BAPIVEHICLEGUIDS32 32 X 32 Bit GUID
VEHICLEIDENTNUMB BAPIVEHICLEIDENTNUMB 35 X VIN
VEHICLENUMBER BAPIVEHICLENUMBER 10 X Internal Vehicle Number
VEHICLE_QUALIFIERS BAPIVEHICLEQUALIFIERS 132 X Structure for Creating/Changing Additional Vehicle Attributes

Functionality
This BAPI is used to generate a list of vehicles. This is done usingthe vehicle ID (32 characters), the internal number of theconfiguration object CUOBJ, as used by SAP, the globally-recognizedvehicle identification number (VIN) and the external vehicle numberthat is used instead of the VIN, if it has not yet been identified.
If you want to use another field to run a search, use VEHICLEADDPARAMSto pass this data to the BAPI.
Configuration details and detailed information about table enhancementsare only returned if the import parameter REQUESTEDTABLESX alsocontains data.

Example
Example of transferring data with VEHICLEADDPARAMS:
Field: MATNR
Sign: I
Option: EQ
Low: ABC
High:

Notes

  • SIGN: possible values are I (inclusive) and E (exclusive)

  • OPTION :

  • If HIGH does not contain any data, use EQ, NE, GT, LE, LT,CP and NP.
    If HIGH contains data, use BT (Between) and NB (Not Between).

    Further information
    For more information, see the documentation for BAPI_VEHICLE_CREATE andBAPI_VEHICLE_CHANGE or the Online documentation for the VehicleManagement System.
    INCLUDE VMS_REQUESTEDTABLEX OBJECT DOKU ID TX
    INCLUDE VMS_OUTPUT OBJECT DOKU ID TX
    INCLUDE VMS_OUTPUT OBJECT DOKU ID TX
    INCLUDE VMS_OUTPUT OBJECT DOKU ID TX
    INCLUDE VMS_OUTPUT OBJECT DOKU ID TX
    INCLUDE VMS_OUTPUT OBJECT DOKU ID TX
    INCLUDE VMS_OUTPUT OBJECT DOKU ID TX
    INCLUDE VMS_OUTPUT3 OBJECT DOKU ID TX
    INCLUDE VMS_RETURN OBJECT DOKU ID TX

    Description
    You can enter additional selection parameters here.
    You do so using a table name, a field name, and a range (from/tovalue).

    Description
    Corresponds to the CUOBJ field in the VLCVEHICLE table. The fieldrefers to an entry in the so-called CBASE, where all the data fromvehicle configurations is stored, that is, characteristics and values.

    Description
    This input parameter contains the essential vehicle attributes withwhich a vehicle was created. Configuration attributes (characteristicsand values) are not included in this parameter (see CONF*).

    Description
    Corresponds to the VHCEX field in the VLCVEHICLE table.

    Description
    Corresponds to the VGUID in the VLCVEHICLE table (22 character GUID).
    This is the physical key for the vehicle master data. Alternatively,you can enter a 32 character GUID.

    Description
    See VEHICLEGUID

    Description
    Corresponds to the VHVIN field in the VLCVEHICLE table.

    Description
    Corresponds to the VHCLE field in the VLCVEHICLE table.

    Description
    Here you can enter additional data for the vehicle to be created.
    You have to fill the following fields: QUALIFIER and QUALIFIER_VALUE.
    See also Define Additional Data forVehicle.