Fonction SAP BAPI_VEHICLE_GET_HISTORY - Read Vehicle History

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
REQUESTEDTABLESX BAPIREQUESTEDTABLESX u 2 X VELO: List of Parameters to Be Displayed
VEHICLE_ID_TYPE BAPIVEHICLE_ID_TYPE u 1 VELO: Identifying Number for Multiple-BAPI

Paramètre Reférence Long. Facultatif Description
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_HISTORY BAPIVEHICLE_HISTORY 431 VELO: History Output (History Display)

Functionality
You use this BAPI to display the vehicle history.
This BAPI is an instance method.
INCLUDE VMS_GENERAL OBJECT DOKU ID TX

Description
You use this input parameter to specify whether or not you want theBAPI to provide configuration of the successfully created vehicle orEXTENSIONOUT parameters (customer fields) as output parameters.
In certain circumstances reading of the configuration may requireadditional calculation time.

Description
You specify here the parameter that will be used to identify anindividual vehicle. The physical key of the vehicle is the field VGUIDin table VLCVEHICLE: this is a GUID of 22 places. You can either usethis GUID or the 32 place GUID (G) that is derived from this. You canalso use one of 3 other logic keys.
Make sure that GUID (G) does not have a full table scan. If you want touse VIN to identify (externally or internally) the individual vehiclesefficiently, we recommend that you create a table index on theappropriate field (VHVIN, VHCEX, or VHCLE) in table VLCVEHICLE.
G GUID
V VIN
E EXTernal Number
I INTernal Number

Description
Standard output parameter for customer fields (for more information onBAPIs see the SAP-Guide).

Description
All SAP BAPIs use this output parameter. It states whether or not aBAPI has been successfully executed (without errors or RETURN tablecancellation - see the SAP-Guide for more information on BAPIs).Messages of different message types are still provided.
INCLUDE VMS_ITEM OBJECT DOKU ID TX

Description
Output parameter containing the vehicle history

1047209VELO: Program termination, error UC_OBJECTS_NOT_CONVERTIBLE