ERPClimb logoERPClimb
Foreign Trade
SD / O2Cbeginner 4 min read

SD Foreign Trade Part 1: Why Foreign Trade Matters in SD

Free sample lesson · open to everyone

Key takeaway

What foreign trade adds to cross-border sales: classification of products (commodity codes), export/import data in orders, deliveries and invoices, statistical declarations (Intrastat/Extrastat), export controls and sanctioned party screening, customs documents, and when to use SAP Global Trade Services (GTS) instead of built-in functions.

In this lessonShow sections

Visual overview

SD Foreign Trade Part 1: Why Foreign Trade Matters in SD — learning sheetFlow: Maintain commodity code and origin on a product → Create an export order and check foreign trade data → Create invoice and check export data. Key ideas: TRADE DATA; STATISTICS; COMPLIANCE; CUSTOMS. Watch out: Missing commodity codes or origin data block declarations and customs — and can cause fines.ERPClimb.com / SD / LESSON 1/3 / LEARNING SHEETSD Foreign Trade Part 1: Why Foreign Trade Matters in SD1 · HOW IT FLOWS1Maintain commodity codeand origin on a product2Create an export orderand check foreign tradedata3Create invoice and checkexport data2 · KEY IDEAS EXPLAINEDTrade DataProduct: commodity code, country/region of origin.Document: business transaction type, exportprocedure, mode of transport, customs office.StatisticsIntrastat (intra-EU), Extrastat/exportdeclarations.Data from billing documents (and deliveries).ComplianceExport control (license requirements, embargoes).Sanctioned party list screening of partners.CustomsExport declarations, electronic customs filing.Commercial and pro forma invoices for customs.3 · REMEMBER · WATCH OUTRememberCross-border sales need trade data: commodity code, country of origin,business transaction type, export procedure, incoterms.Statistical declarations (e.g. Intrastat within the EU) are built frombilling/delivery foreign trade data.Compliance checks (export control, sanctioned party screening) musthappen before goods leave.!Watch outMissing commodity codes or origindata block declarations and customs— and can cause fines.4 · IN A REAL PROJECTA mid-size industrial equipment exporter maintained commodity codes only for some products. Customsdeclarations were rejected, shipments sat at the border, and Intrastat reports needed manual corrections everymonth. Classifying all export products, making foreign trade data mandatory in the export order types and…Original ERPClimb learning sheet • Verify against your SAP release and edition

The situation: a real project scenario

A mid-size industrial equipment exporter maintained commodity codes only for some products. Customs declarations were rejected, shipments sat at the border, and Intrastat reports needed manual corrections every month. Classifying all export products, making foreign trade data mandatory in the export order types and integrating sanctioned party screening before delivery removed delays.

Explanation

This three-part series covers foreign trade: this lesson on why foreign trade matters in SD at all, Part 2 on configuring foreign trade data and legal control integration, and Part 3 on how foreign trade data flows through the order-to-billing lifecycle.

Cross-border sales need a specific set of trade data to be captured correctly: the commodity code and country of origin on the product side, and the business transaction type, export procedure, incoterms and similar fields on the document side.

This data feeds statistical declarations — such as Intrastat for trade within the EU — which are built from the foreign trade data recorded on billing documents and deliveries, so incomplete data at the product or document level doesn't just cause operational problems, it breaks the statistical reporting too; missing commodity codes or origin data specifically can block declarations and customs clearance outright, and can even lead to fines.

Alongside statistics, compliance checks — export control for license requirements and embargoes, and sanctioned party list screening of the partners involved — have to happen before goods are allowed to leave, and documents are blocked until compliance has cleared them.

On the customs side, this data also supports export declarations, electronic customs filing, and the commercial and pro forma invoices customs authorities require.

Many companies handle both the compliance and customs side of this through SAP GTS (or its successor), integrated directly with SD documents, though S/4HANA's built-in international trade functions already cover basic classification and Intrastat reporting without necessarily needing GTS.

To see how this plays out, maintain the commodity code and origin on a product, create an export order and check its foreign trade data, and then create the invoice and check its export data — the goal is that the resulting invoice carries complete foreign trade data, ready for declaration.

How the SAP process fits together

SAP PROCESS EXPLORER · Sales: order to cash

ERPClimb.com

Foreign Trade — process breakdown

Topic-specific conceptual flow: how key objects and decisions fit together. SAP configurations and exceptional cases can follow different paths.

1/4

Selected process stage

Classify

Maintain trade-relevant master data and commodity codes

Representative SAP learning flow, not a guarantee of system runtime sequence in every scenario.

Code example

ABAP Code
===== STEP 1: data elements =====Product: commodity code, country of origin | Customer: country, tax dataDocument: business transaction type, export procedure, incoterms, mode of transport, customs office ===== STEP 2: outputs =====Intrastat/Extrastat declarations from billing | export declaration (customs) | pro forma invoice for customs ===== STEP 3: compliance =====Sanctioned party screening (partners) | export control (licenses, embargoes) → block until released (often in SAP GTS)

Watch out

Common mistakes

  • Missing commodity codes.
  • No screening before shipment.
  • Manual Intrastat corrections.
  • Treating pro forma invoices as optional for customs.
  • No ownership for trade data.

Do this

Best practices

  • Classify all traded products.
  • Screen partners before delivery.
  • Automate statistical declarations.
  • Assign trade compliance ownership.
  • Evaluate GTS for complex compliance.

In the interview

Interview angle

Questions: "What foreign trade data is needed?", "What is Intrastat?", "When would you use SAP GTS?"
Strong answer: commodity code, origin, business transaction type, export procedure, incoterms; declarations from billing; export control and SPL screening blocking documents; GTS for compliance and customs.

Practice this lesson

Quick check

0 of 3 questions attempted

Question 1 of 3

What is the main business purpose of 'preference determination' in SAP Foreign Trade?

Practise this in an interview

Answer in your own words and get instant feedback, the way an interviewer would judge it.

1What are the core concepts of Foreign Trade, and how would you explain them clearly in an SAP interview?

2A mid-size industrial equipment exporter has shipments held at customs and monthly manual Intrastat corrections. How do you improve foreign trade handling?

Was this lesson helpful?

Keep exploring

Check before use: lesson examples are educational, not a guarantee of correctness for your SAP edition or release. Sample code has not been executed on your SAP system. Confirm API availability, syntax, authorizations and business impact in an approved development or test environment.