SD Program Custom development Form

Export Shipping Documents: Packing List, Certificate of Origin, A.TR, EUR.1 and Bill of Lading Instructions

Short answer: A custom form program that prepares the export document set automatically from the export delivery. The packing list is built per carton and pallet, the certificate of origin and the A.TR and EUR.1 movement certificates follow the field layout of the official forms, and the bill of lading instructions are prepared for the forwarder; the documents are produced as PDF in the language and layout the customer asks for.

Estimated effort
L · 10–15 working days
System
ECC and S/4HANA
Tables
11
Scope
Global
Built by
NeKuDos Teknoloji
Last updated

Why is the standard not enough?

Standard SAP keeps export data (commodity code, country of origin, customs office of exit) and packing data on the delivery, but has no ready forms that print a packing list, certificate of origin, A.TR, EUR.1 or bill of lading instructions from this data. VL71 processes delivery output but does not produce these documents, and global trade products need a separate licence and implementation. As a result the documents are usually retyped in Excel and figures such as weights and carton counts drift away from the delivery.

Who uses it? Export operations teams, shipping planners and foreign trade specialists working with customs brokers.

Closest standard alternatives

  • VL71 Output from Outbound Deliveries. Processes delivery output; does not produce the export document set.
  • VL03N Display Outbound Delivery. Shows the foreign trade and packing data on the delivery; does not print documents.

Tables used

The tables the program reads and updates. ECC and S/4HANA differences are marked separately.

TableRoleAccessSystem
LIKPDelivery HeaderDelivery header: ship-to, goods issue date, total weight and volume (driving table)ReadECC + S/4
LIPSDelivery Item DataDelivery items: material, batch, quantity, weightReadECC + S/4
VEKPHandling Unit HeaderHandling unit (carton, pallet) header: packaging material, weight, volumeReadECC + S/4
VEPOHandling Unit Item (Contents)Handling unit contents: delivery item and packed quantityReadECC + S/4
EIKPForeign Trade: Export/Import Header DataForeign trade header data: customs office of exit, mode of transportReadECC + S/4
EIPOForeign Trade: Export/Import Item DataForeign trade item data: commodity code and country of originReadECC + S/4
VBPASales Document: PartnersConsignee, notify party and forwarderReadECC + S/4
VBKDSales Document: Business DataIncoterms and locationReadECC + S/4
KNA1Customer Master (General Section)Customer name, language and countryReadECC + S/4
T005CountriesCountry names and country groupingsReadECC + S/4
NASTMessage StatusOutput record of the printed documentsReadECC + S/4

BAPIs and functions used

  • FP_FUNCTION_MODULE_NAMEGet Adobe Form Function Module Name. Finds the interface function of each document form
  • FP_JOB_OPENOpen Adobe Form Print Job. Opens the document set as one print job
  • FP_JOB_CLOSEClose Adobe Form Print Job. Closes the print job and returns the PDF
  • READ_TEXTRead Long Text. Reads the shipping and packing notes on the delivery
  • SO_NEW_DOCUMENT_ATT_SEND_API1SAPoffice: Send New Document with Attachments. Emails the documents to the forwarder and the customer

Selection screen parameters

ParameterDescriptionTypeReference fieldRequiredExample
S_VBELNDeliveryRange / multipleLIKP-VBELNYes80045112
S_VSTELShipping pointRange / multipleLIKP-VSTELNo1000
S_WADATPlanned goods issue dateRange / multipleLIKP-WADATNo16.11.2026 – 20.11.2026
P_PACKPacking listCheckbox—NoX
P_ORIGCertificate of originCheckbox—NoX
P_MOVCA.TR / EUR.1 movement certificateCheckbox—NoX
P_BLINSBill of lading instructionsCheckbox—No—
P_SPRASDocument language (blank = customer language)Single valueKNA1-SPRASNoEN
P_MAILSend the documents by emailCheckbox—No—

Result list columns

#ColumnSource
1DeliveryLIKP-VBELN
2CustomerLIKP-KUNNR
3Destination countryKNA1-LAND1
4Cartons / palletsCalculated Number of VEKP records (without packing, the carton count in the delivery text)
5Gross weight (kg)Calculated Σ VEKP-BRGEW; without packing LIKP-BTGEW
6Commodity codesCalculated Number of distinct EIPO-STAWN values
7DocumentCalculated Packing list, certificate of origin, A.TR, EUR.1 or bill of lading instructions
8LanguageNAST-SPRAS
9StatusCalculated Prepared, sent, warning or error
10MessageCalculated Missing data warning or sending message

Sample result list

DeliveryCustomerDestination countryCartons / palletsGross weight (kg)Commodity codesDocumentLanguageStatusMessage
80045112300045GB146,320.503Packing listENSentSent to forwarder and customer
80045112300045GB146,320.503EUR.1ENPreparedReady to print on the official form
80045130300051DE229,8402A.TRDEPreparedMovement certificate data prepared
80045141300067IQ82,1504Certificate of originENWarningCountry of origin missing for item 20
A view built with fictional sample data; not real system data.

How does the program work?

  1. LIKP/LIPS are read for the selected export deliveries; if packing is used, cartons and pallets come from VEKP/VEPO and gross and net weight, volume and contents are derived for each handling unit. Without packing, weights are calculated from the delivery items.
  2. Export data comes from EIKP and EIPO: commodity code (STAWN), country of origin (HERKL) and customs office of exit. Items with a missing commodity code or origin go to a warning list before printing.
  3. The parties are taken from VBPA: consignee, notify party and forwarder. Incoterms and their location come from VBKD, country names from T005.
  4. Depending on the selection the document set is produced: packing list, certificate of origin, A.TR or EUR.1, and bill of lading instructions. The choice between A.TR and EUR.1 follows a rule defined during installation for the destination country and the origin status of the goods; the movement certificates are printed to match the fields of the official form or produced as a data sheet for the electronic application.
  5. Customer-specific layout settings (language, extra columns, use of logo) are read per customer. The documents are converted to PDF and, if requested, sent to the forwarder and the customer with SO_NEW_DOCUMENT_ATT_SEND_API1.
  6. The result is listed for each delivery and document; the print information is written to the delivery’s output record (NAST).

Performance notes

Read the packing tables (VEKP/VEPO) once with the delivery numbers via FOR ALL ENTRIES. For deliveries with many items, do not recalculate weight and volume totals inside the form; calculate them once in the program and pass them to the form.

Features

  • Test mode (check without posting) A PDF preview of the documents can be taken before printing.
  • Send the result by email
  • Line-by-line result and error log
  • Double-click drill-down to the document Double-clicking the delivery opens VL03N so missing export data can be completed.

Authorization objects

  • V_LIKP_VSTDelivery display and output authorization by shipping point
  • S_OC_SENDAuthorization to send external email from SAP

Frequently asked questions

How are A.TR and EUR.1 printed on the official forms?

Because the official forms are pre-printed, the program prints the values so that they fall into the boxes of the form; alignment is calibrated with the printer used during installation. If the certificates are applied for electronically, the same data is prepared as a sheet to transfer into the application.

We do not use handling units; can the packing list still be prepared?

Yes. In that case weight and volume come from the delivery items, and the carton count and contents are entered in the delivery text or in a small entry screen of the program.

Each customer wants a different packing list format; is that supported?

The set of columns, language and use of logo are set per customer. If a completely different layout is needed, an additional form variant using the same data structure is added; this means roughly 1–2 extra days per variant.

Related reports

SD Report Custom ALV report

Sales Order – Delivery – Invoice Status Report

A custom ALV report that shows every sales order item on the same line as its delivery and invoice documents. You see in one list which orders have …

VBAK · VBAP · VBFA · LIKP

SD Report Custom ALV report

Picked but Not Goods-Issued Deliveries Report

A custom ALV report that lists deliveries whose picking is complete but whose goods issue has not been posted, with the number of days they have been …

LIKP · VBUK · LIPS · KNA1

Let us build this program for your system

Briefly describe your system and expectations. We will clarify the scope and come back with an effort and price quote.

Related report: Export Shipping Documents: Packing List, Certificate of Origin, A.TR, EUR.1 and Bill of Lading Instructions