{"audience":"Shipment planners, logistics and warehouse managers, export operations teams.","authorization_objects":[{"note":"Shipment creation authorization by transportation planning point","object":"V_VTTK_TDS"},{"note":"Delivery display authorization by shipping point","object":"V_LIKP_VST"}],"components":[],"countries":[],"effort_days_max":18,"effort_days_min":12,"effort_size":"L","faq":[{"a":"Vehicle and container types are kept with maximum weight, volume and pallet count in a small parameter table created during installation and maintained by the logistics team. Your own fleet and hired vehicles can be defined as separate types.","q":"Where are the vehicle capacities kept?"},{"a":"The pallet and weight totals of deliveries that fit on no load for the planned day, or that are past their goods issue date and still not loaded, are listed per shipping point and day. The warehouse sees in advance how much temporary space it will need on which day.","q":"How is the staging demand calculated?"},{"a":"Yes. The program uses the classic shipment document (VTTK/VTTP), which is still available in S/4HANA. If a move to transportation management is planned, the same capacity rules can be carried over.","q":"Does it work on S/4HANA?"}],"features":[{"code":"alv","label":"ALV list (sort, filter, subtotals)","note":""},{"code":"test_run","label":"Test mode (check without posting)","note":"The proposal can be reviewed and changed without creating shipments."},{"code":"background","label":"Runs as a background job","note":"A nightly proposal job brings ready loads to the planner in the morning."},{"code":"log","label":"Line-by-line result and error log","note":""},{"code":"excel","label":"Export to Excel","note":""}],"functions":[{"name":"BAPI_SHIPMENT_CREATE","role":"Creates the shipment document for each approved load"},{"name":"BAPI_SHIPMENT_CHANGE","role":"Updates the planning status and vehicle data"},{"name":"BAPI_TRANSACTION_COMMIT","role":"Commits each load separately"}],"gap":"VT04 and VT01N create shipments from deliveries, but they do not calculate utilization per vehicle type or propose loads; the planner decides manually which delivery goes on which vehicle. How much staging space is needed for goods that are ready but have no vehicle is not visible in standard screens either. Transportation management products do this but need a separate licence and implementation. The custom program closes the gap using the existing shipment document.","id":"sd-vehicle-load-planning","industries":[],"input_columns":[],"kind":"program","language":"en","lastmod":"2026-11-17","logic":"1. LIKP/LIPS are read by shipping point, planned goods issue date and route; deliveries without goods issue that are not yet assigned to a shipment (no record in VTTP) enter planning.\n2. Weight and volume of each delivery come from LIKP-BTGEW and LIKP-VOLUM. The pallet count comes from packing (VEKP) if available, otherwise from the material's pallet unit conversion (MARM).\n3. Vehicle types and their capacities (maximum weight, volume, pallets, and container types for export) are read from a parameter table defined during installation. Deliveries are grouped by route and ship-to sequence, sorted from largest to smallest and placed on vehicles without exceeding capacity. Export deliveries (recipient country differs from the company country) are planned in separate loads.\n4. The planner sees the load proposals in an ALV, moves deliveries between loads, changes the vehicle type or postpones a load to the next day. Utilization percentages are recalculated after every change.\n5. For each approved load a shipment document (VTTK/VTTP) is created with BAPI_SHIPMENT_CREATE; carrier, vehicle plate and planned loading date are written to the header, and the planning status is set to complete with BAPI_SHIPMENT_CHANGE.\n6. Deliveries that fit on no vehicle on the planned date, or that are past their goods issue date and still not loaded, go to the staging demand list, which shows total pallets and weight per shipping point and day. The program also runs in the background as a nightly proposal job.","module":"SD","object_type":"batch_job","output_columns":[{"calculated":true,"formula":"Load number in the proposal","label":"Load","source_field":null,"source_table":null},{"calculated":true,"formula":"Vehicle or container type chosen from the parameter table","label":"Vehicle type","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Route","source_field":"ROUTE","source_table":"LIKP"},{"calculated":true,"formula":"Number of deliveries assigned to the load","label":"Deliveries","source_field":null,"source_table":null},{"calculated":true,"formula":"Σ LIKP-BTGEW","label":"Weight (kg)","source_field":null,"source_table":null},{"calculated":true,"formula":"Σ LIKP-BTGEW / vehicle maximum weight × 100","label":"Weight utilization %","source_field":null,"source_table":null},{"calculated":true,"formula":"Σ LIKP-VOLUM / vehicle volume × 100","label":"Volume utilization %","source_field":null,"source_table":null},{"calculated":true,"formula":"VEKP pallet count or LIPS quantity / MARM pallet factor","label":"Pallets","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Shipment","source_field":"TKNUM","source_table":"VTTK"},{"calculated":false,"formula":"","label":"Planned loading","source_field":"DPLBG","source_table":"VTTK"},{"calculated":true,"formula":"Proposed, created or staging","label":"Status","source_field":null,"source_table":null}],"parameters":[{"example":"1000","kind":"select_option","label":"Shipping point","name":"S_VSTEL","ref_field":"LIKP-VSTEL","required":true},{"example":"18.11.2026 – 19.11.2026","kind":"select_option","label":"Planned goods issue date","name":"S_WADAT","ref_field":"LIKP-WADAT","required":true},{"example":"R-IZM","kind":"select_option","label":"Route","name":"S_ROUTE","ref_field":"LIKP-ROUTE","required":false},{"example":"1000","kind":"parameter","label":"Transportation planning point","name":"P_TPLST","ref_field":"VTTK-TPLST","required":true},{"example":"0001","kind":"parameter","label":"Shipment type","name":"P_SHTYP","ref_field":"VTTK-SHTYP","required":true},{"example":"X","kind":"checkbox","label":"Plan export deliveries in separate loads","name":"P_EXPORT","ref_field":"","required":false},{"example":"X","kind":"checkbox","label":"Proposal only (do not create shipments)","name":"P_TEST","ref_field":"","required":false}],"part_of":[],"performance":"Read VTTP once with the delivery numbers to find unassigned deliveries; avoid a SELECT per delivery. Buffer MARM conversions per material. Create shipments with one BAPI call and COMMIT per load, so that one failing load does not stop the others.","process":"O2C","quote_url":"https://nekuhub.com/en/request-a-quote/?report=sd-vehicle-load-planning","related":["sd-otif-delivery-performance","sd-overnight-delivery-creation-exceptions","sd-picked-not-goods-issued"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Creates shipments collectively with a selection variant; no capacity-based load proposal or utilization calculation.","tcode":"VT04"},{"note":"Creates shipments one at a time; deliveries are chosen manually by the planner.","tcode":"VT01N"}],"summary":"A custom planning program that groups deliveries ready for shipping by route and destination and proposes loads based on the weight, volume and pallet capacity of each vehicle type. The planner adjusts the proposal on screen, shipment documents are created automatically for approved loads, and deliveries that do not fit on a vehicle on the planned date are listed separately as staging (interim storage) demand.","tables":[{"access":"read","join_on":"","role":"Deliveries ready for shipping: route, ship-to, weight, volume, planned goods issue date","table":"LIKP","variant":"both"},{"access":"read","join_on":"LIPS-VBELN = LIKP-VBELN","role":"Delivery items: material and quantity (for the pallet calculation)","table":"LIPS","variant":"both"},{"access":"read","join_on":"VEKP-VPOBJKEY = LIKP-VBELN","role":"Pallet and carton count of packed deliveries","table":"VEKP","variant":"both"},{"access":"read","join_on":"MARM-MATNR = LIPS-MATNR","role":"Conversion factor of the material to the pallet unit","table":"MARM","variant":"both"},{"access":"read","join_on":"KNA1-KUNNR = LIKP-KUNNR","role":"Ship-to country and city (export split and sequencing)","table":"KNA1","variant":"both"},{"access":"read","join_on":"TVRO-ROUTE = LIKP-ROUTE","role":"Route and transit time","table":"TVRO","variant":"both"},{"access":"write","join_on":"","role":"Shipment header created: carrier, plate, planned loading date","table":"VTTK","variant":"both"},{"access":"read_write","join_on":"VTTP-VBELN = LIKP-VBELN","role":"Shipment items: delivery and loading sequence; check for unassigned deliveries","table":"VTTP","variant":"both"}],"title":"Vehicle Loading and Shipment Planning Program (Domestic and Export)","url":"https://nekuhub.com/en/programs/vehicle-loading-and-shipment-planning-program/","vendor_id":"nekudos"}