{"audience":"Fleet and logistics managers, shipment planners, expense accounting and cost control teams.","authorization_objects":[{"note":"Vehicle and measurement document authorization by maintenance plant","object":"I_SWERK"},{"note":"Accounting posting authorization by company code","object":"F_BKPF_BUK"},{"note":"Posting authorization for vendor and expense account types","object":"F_BKPF_KOA"},{"note":"Authorization to read the driver's organizational assignment","object":"P_ORGIN"}],"components":[],"countries":[],"effort_days_max":10,"effort_days_min":8,"effort_size":"M","faq":[{"a":"Yes. Each provider's column layout is defined as a separate mapping during installation; the same program reads statements from several providers and combines the results in the same vehicle list.","q":"Can statements from different fuel card companies be read?"},{"a":"The amounts are kept in a table defined during installation, split into domestic and international, and updated by HR or finance. Regulation-dependent values such as tax-exempt limits are not published here; they are checked against current rules during installation.","q":"Where do the daily allowance amounts come from?"},{"a":"Yes. Instead of posting directly to accounting, the allowance can be created as a trip for the driver, so approval and payment continue through the existing travel process.","q":"We use the travel expense module; can the allowance go there instead?"}],"features":[{"code":"test_run","label":"Test mode (check without posting)","note":""},{"code":"log","label":"Line-by-line result and error log","note":""},{"code":"error_file","label":"Download failed lines as a separate file","note":"Statement rows that cannot be matched to a vehicle can be downloaded for correction."},{"code":"background","label":"Runs as a background job","note":"When the provider drops the statement into a server folder, a weekly job processes it automatically."},{"code":"alv","label":"ALV list (sort, filter, subtotals)","note":""}],"functions":[{"name":"BAPI_ACC_DOCUMENT_CHECK","role":"Checks the posting in test mode"},{"name":"BAPI_ACC_DOCUMENT_POST","role":"Posts the fuel invoice and the allowance to the vehicle's cost object"},{"name":"BAPI_TRANSACTION_COMMIT","role":"Commits the posting"}],"gap":"Fleet management in plant maintenance keeps vehicle data and measuring points, and odometer and fuel readings are entered one by one with IK11; there is no import that reads the fuel card statement. Driver allowances are tracked separately in PR05 travel expenses or in accounting and are not linked to the vehicle or the trip. As a result, total cost and consumption per vehicle can only be seen by combining data in Excel.","id":"fleet-fuel-trip-tracking","industries":[],"input_columns":[{"derived":false,"label":"Card number","required":false,"rule":"","target_field":"CARD_NUM","target_table":"FLEET"},{"derived":false,"label":"Plate","required":true,"rule":"","target_field":"LICENSE_NUM","target_table":"FLEET"},{"derived":false,"label":"Transaction date","required":true,"rule":"","target_field":"IDATE","target_table":"IMRG"},{"derived":false,"label":"Transaction time","required":false,"rule":"","target_field":"ITIME","target_table":"IMRG"},{"derived":false,"label":"Odometer","required":false,"rule":"","target_field":"CNTRR","target_table":"IMRG"},{"derived":false,"label":"Litres","required":true,"rule":"","target_field":"RECDV","target_table":"IMRG"},{"derived":false,"label":"Amount","required":true,"rule":"","target_field":"WRBTR","target_table":"BSEG"},{"derived":false,"label":"Currency","required":true,"rule":"","target_field":"WAERS","target_table":"BKPF"},{"derived":false,"label":"Station","required":false,"rule":"","target_field":"SGTXT","target_table":"BSEG"}],"kind":"program","language":"en","lastmod":"2026-11-17","logic":"1. The fuel card provider's statement (CSV or XLSX) is read; the provider's column layout is mapped during installation. Each row is linked to a vehicle (EQUI) by card number (FLEET-CARD_NUM) or plate (FLEET-LICENSE_NUM); unmatched rows go to the error list.\n2. The vehicle's odometer and fuel measuring points are found in IMPTT. If the odometer value in the file is lower than the last reading (IMRG), or the consumption between two fill-ups is outside the defined limit, the row gets a warning; valid readings are recorded as measurement documents.\n3. Trips are read from the shipment documents (VTTK) that carry the vehicle's plate in the period; the field holding the plate is set during installation. The driver comes from the partner role with a personnel number on the shipment (VTPA).\n4. The allowance is calculated as trip days × the daily amount defined during installation; domestic and international trips use different amounts. The driver's cost center comes from PA0001.\n5. Posting: fuel spend is posted with BAPI_ACC_DOCUMENT_POST as a credit to the fuel company's vendor account and a debit to the vehicle's maintenance order (AUFK) or cost center. The allowance is written to the driver's employee vendor account in a separate document. In test mode only BAPI_ACC_DOCUMENT_CHECK runs.\n6. Report per vehicle: number of trips, kilometres, litres, fuel amount, consumption per 100 km, cost per km and allowance. Vehicles whose consumption deviates clearly from the vehicle type average are flagged.","module":"SD","object_type":"interface","output_columns":[{"calculated":false,"formula":"","label":"Plate","source_field":"LICENSE_NUM","source_table":"FLEET"},{"calculated":false,"formula":"","label":"Vehicle","source_field":"EQUNR","source_table":"EQUI"},{"calculated":true,"formula":"VTTK records carrying the vehicle's plate in the period","label":"Trips","source_field":null,"source_table":null},{"calculated":true,"formula":"Last IMRG-CNTRR − counter at period start","label":"Kilometres","source_field":null,"source_table":null},{"calculated":true,"formula":"Σ litres in the file","label":"Fuel (l)","source_field":null,"source_table":null},{"calculated":true,"formula":"Σ amount in the file","label":"Fuel amount","source_field":null,"source_table":null},{"calculated":true,"formula":"Fuel (l) / kilometres × 100","label":"Consumption per 100 km (l)","source_field":null,"source_table":null},{"calculated":true,"formula":"(Fuel amount + allowance) / kilometres","label":"Cost per km","source_field":null,"source_table":null},{"calculated":true,"formula":"Trip days × daily amount","label":"Allowance","source_field":null,"source_table":null},{"calculated":true,"formula":"Posted, warning, test OK or error","label":"Status","source_field":null,"source_table":null}],"parameters":[{"example":"C:\\temp\\yakit_2026_10.xlsx","kind":"parameter","label":"Fuel card statement (CSV or XLSX)","name":"P_FILE","ref_field":"","required":true},{"example":"1000","kind":"parameter","label":"Company code","name":"P_BUKRS","ref_field":"BKPF-BUKRS","required":true},{"example":"100780","kind":"parameter","label":"Fuel company vendor account","name":"P_LIFNR","ref_field":"LFA1-LIFNR","required":true},{"example":"01.10.2026 – 31.10.2026","kind":"select_option","label":"Trip and fuel period","name":"S_IDATE","ref_field":"IMRG-IDATE","required":true},{"example":"X","kind":"checkbox","label":"Also calculate and post the driver allowance","name":"P_ALLOW","ref_field":"","required":false},{"example":"X","kind":"checkbox","label":"Test mode (check without posting)","name":"P_TEST","ref_field":"","required":false}],"part_of":[],"performance":"Read FLEET and EQUI once with the plates and card numbers from the file. Take only the most recent IMRG record per measuring point for the last counter readings. Post accounting entries totalled per vehicle and day; do not create a separate document for every fuel receipt.","process":"O2C","quote_url":"https://nekuhub.com/en/request-a-quote/?report=fleet-fuel-trip-tracking","related":["pm-maintenance-cost-by-equipment","pm-measuring-point-limit-breaches","sd-otif-delivery-performance"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Enters odometer and fuel readings one by one as measurement documents; no statement import or cost posting.","tcode":"IK11"},{"note":"Keeps driver travel expenses; does not link them to the vehicle or the trip.","tcode":"PR05"}],"summary":"A custom program for companies running their own fleet that imports the fuel card statement into SAP, matches each transaction to a vehicle by plate or card number, takes trips from shipment documents and calculates the driver travel allowance. Kilometres, litres, consumption per 100 km and cost per km appear per vehicle in one list, and fuel and allowance costs are posted to the vehicle's cost object.","tables":[{"access":"read","join_on":"","role":"Fleet object: plate, fuel card number, fuel type","table":"FLEET","variant":"both"},{"access":"read","join_on":"EQUI-OBJNR = FLEET-OBJNR","role":"Vehicle equipment and object number","table":"EQUI","variant":"both"},{"access":"read","join_on":"IMPTT-MPOBJ = EQUI-OBJNR","role":"Odometer and fuel measuring points of the vehicle","table":"IMPTT","variant":"both"},{"access":"read_write","join_on":"IMRG-POINT = IMPTT-POINT","role":"Check of the last counter reading; new odometer and fuel readings are written as measurement documents","table":"IMRG","variant":"both"},{"access":"read","join_on":"","role":"Shipments counted as trips: dates, route, plate","table":"VTTK","variant":"both"},{"access":"read","join_on":"VTPA-VBELN = VTTK-TKNUM","role":"Driver on the shipment (partner with personnel number)","table":"VTPA","variant":"both"},{"access":"read","join_on":"PA0001-PERNR = VTPA-PERNR","role":"Driver's company code and cost center","table":"PA0001","variant":"both"},{"access":"read","join_on":"","role":"Maintenance or internal order collecting the vehicle's costs","table":"AUFK","variant":"both"},{"access":"write","join_on":"","role":"Accounting documents created for fuel and allowance","table":"BKPF","variant":"both"}],"title":"Fleet Vehicle Trip, Fuel and Driver Allowance Tracking Program","url":"https://nekuhub.com/en/programs/fleet-vehicle-trip-fuel-and-driver-allowance-tracking/","vendor_id":"nekudos"}