All GTM (Global Trade Management) interview questions in one place, grouped by page. Read the page when an answer needs more depth.
How to practise: cover the answer, say yours out loud in 30–60 seconds, then compare.
01 · GTM Overview, Architecture & Organization Structure
Q1. What is SAP GTM and who uses it?
SAP Global Trade Management is the S/4HANA solution for sell-and-buy business: a trading contract holds the sales and the purchase side of a deal, creates the sales order and purchase order on release, and GTM manages execution, expenses, positions and profit per deal. Users are commodity traders, trading divisions, wholesalers and importers / exporters.
Q2. What is the difference between GTM, GTS and International Trade?
GTM is commercial trading inside S/4HANA. GTS (Global Trade Services) is a separate compliance and customs product, today SAP GTS, edition for SAP HANA. International Trade is basic compliance in the S/4HANA core (classification, Intrastat, legal control, embargo, watch list screening integration). GTM calls the compliance checks for its trading contracts.
Q3. What is a back-to-back deal?
A sale that is covered by a matching purchase 1:1 – the trader buys only because a customer ordered. In GTM it is a two-side trading contract; the goods usually go directly from supplier to customer (drop shipment), but a stock variant via the trader's warehouse is possible.
Q4. What are the core components of GTM?
Trading contract (WB21–WB23), Trading Execution Workbench (WTEW), position management (portfolios, association, long / short list) and trading expenses; profit simulation is a function of the trading contract.
Q5. What happens when a trading contract is released?
After the checks (completeness, quantities, finance documents, credit, legal control) the system creates the follow-on sales order and purchase order. Later changes in the contract are passed on to them; further logistics steps run in the TEW.
Q6. What do long and short positions mean?
Long: more purchased than sold (goods bought without a customer). Short: more sold than purchased (sales without a supplier yet). Single-side contracts plus association management and the long / short list make these positions visible.
Q7. How is GTM technically built?
As a layer in the ERP core that reuses SD pricing, MM purchasing, LE deliveries and FI postings. The trading contract has its own tables (WBHK, WBHI, WBHD, document flow WBHF); follow-on documents are standard documents. In ECC the code came with EA-GLTRADE; in S/4HANA it is part of the core.
Q8. Which organization units does GTM use?
No own org model – the standard units: sales area, sales office / group and company code in the header, purchasing organization / group in the commercial data, plant, storage location, shipping point and profit center on the item. The normal SD / MM assignments must be consistent or release fails.
Q9. Why should users not change GTM follow-on documents with VA02 or ME22N?
The trading contract and TEW keep the document flow and quantities in sync. Direct changes bypass that logic and cause inconsistencies; changes are made in the trading contract or the TEW.
Q10. Which processes are not covered by GTM itself?
Vessel and transport capacity planning (TM), returns, lead and quotation management and advanced margin analytics. Commodity pricing and risk come from SAP Commodity Management, customs from GTS.
Q11. Is GTM available in SAP S/4HANA Cloud?
On-premise and Private Cloud Edition contain GTM with the full scope. The Public Edition feature scope contains no trading contracts, so a trading company that needs GTM chooses on-premise or Private Cloud Edition – always check the current release scope.
Q12. As an architect, when would you propose GTM instead of plain SD and MM?
When sales and purchases are linked deal by deal: back-to-back or commodity trading, profit per deal, planned and accrued trading expenses, long / short position control, letters of credit. For loosely coupled stock business plain SD and MM are simpler; both can run in parallel in one system.
02 · Master Data & Data Model
Q1. Which master data does GTM use?
Standard S/4HANA master data: business partners as customers and suppliers, materials, condition records and info records. GTM-specific are only control settings – contract types, item categories, sales and purchasing groupings, TEW types and portfolios.
Q2. Which tables hold a trading contract?
WBHK header, WBHI items (with sub-items), WBHD commercial data (purchasing org, supplier, Incoterms, payment terms for both sides), WBHF document flow; WBGT links follow-on documents and TEW steps, WBASSOC / WBIT hold associations.
Q3. Where is the purchasing organization of a trading contract stored?
In the commercial data table WBHD (EKORG, EKGRP, supplier ELIFN); the sales area, sold-to party and company code are in the header WBHK; plant and storage location are on the item WBHI.
Q4. What does the trading contract type control?
Number range and external number, sales and purchasing groupings (follow-on sales document type and PO type), contract category, status group, incompleteness and quantity checks, partner and text procedures, follow-on document creation mode, output schemas, GTS and TRM relevance.
Q5. What does the trading contract item category control?
The SD item category of the sales order item, goods receipt and invoice receipt indicators (drop vs stock shipment), association type, expense calculation per side, account assignment, batch determination, GTS relevance and item-level credit check.
Q6. How is pricing done in a trading contract?
With the SD / MM condition technique: sales and purchase pricing procedures (templates GTS001, GTM001), price determination sequences in the groupings, optionally the info record, and expense condition types (GD.. planned, statistical GE.. with settlement). The pricing type decides whether prices are copied to or redetermined in the follow-on documents.
Q7. What is the difference between a two-side contract, a single-side contract and a precontract?
Two-side: sales and purchase in one document, automatic back-to-back link. Single-side: only one side, linked later by association. Precontract: long-term agreement or template without follow-on documents; call-off contracts reference it and consume its quantity.
Q8. How do you find the sales order and purchase order created from a trading contract?
Read the document flow WBHF with TKONN_FROM = contract and TKTYP_FROM = 1: TKTYP_TO 2 gives the sales order, 3 the purchase order, with TKONN_TO / TPOSN_TO as document and item. WBGT covers the further TEW documents.
Q9. How are trading contract numbers assigned?
Internally from the number range of the contract type; an extra external number (up to 30 characters) can be optional or mandatory with a duplicate check. BAdI WB2_NUMBER_CHANGE can change the assignment.
Q10. Which release statuses exist?
TC_RELEASED: blank (not or no longer released), X (released), A (release not possible due to status), B (problems during release). Besides that, a customizable application status and system statuses such as Change after release, Accounting closed and Closed.
Q11. Are there released APIs or CDS views for trading contracts?
The Business Accelerator Hub shows no trading contract OData or SOAP API. Integration uses BAPI_TRADINGCONTRACT_CREATE / _CHANGE; reporting uses custom CDS views on WBHK / WBHI / WBHD, while the follow-on SD and MM documents have their normal released APIs.
Q12. What changes in the GTM data model from ECC to S/4HANA?
The GTM tables stay; the surrounding model changes: business partner with CVI, MATDOC for goods movements, PRCD_ELEMENTS instead of KONV for document conditions, ACDOCA for postings, settlement documents for expense settlement. Custom code that reads KONV must be adapted to PRCD_ELEMENTS.
03 · Business Processes & Configuration
Q1. Walk me through a GTM back-to-back deal.
Trading contract with sales and purchase side and planned expenses (WB21) → checks and profit simulation → release (WB22, workflow or automatic) → sales order and purchase order created in the background → goods receipt, delivery, goods issue in the TEW (WTEW) → expenses accrued and settled → supplier invoice and customer billing → payments, clearing of provisional expenses, close.
Q2. What happens when you change a released trading contract?
The system status becomes 4 Change After Release and the release check turns red. Releasing again passes the changes to the sales order and purchase order; the contract stays the leading document.
Q3. System status vs application status?
System statuses 1–7 are fixed by SAP (Open, Release carried out, Closed, Change After Release, Transaction Completed, Accounting Closed, Closed with logical deletion). Application statuses are customer-defined, each mapped to a system status, and control which follow-on steps are allowed.
Q4. What does the TEW do and why use it?
It is the trader's cockpit: one transaction for deliveries, goods movements, invoices, expenses and associations. The user picks TEW type, group, step, mode and previous step, selects source documents and executes. Documents created there may only be changed in the TEW.
Q5. Drop shipment vs stock shipment in GTM?
Drop shipment: supplier delivers directly to the customer, no own stock. Stock shipment: goods receipt into the trader's plant, then outbound delivery. The item category and the TEW group decide the steps.
Q6. Explain the three kinds of trading expenses.
Planned expenses are pricing conditions that change the price directly. Planned expenses with settlement are statistical estimates (freight, insurance) accrued at a logistics step and settled with the provider's invoice. Unplanned expenses are posted directly to AP or AR with a supplier billing document.
Q7. How is an accrued freight expense settled?
At goods receipt a provisional supplier billing document posts inventory against an accrual account. When the forwarder's invoice arrives, the provisional expense is cleared in the TEW or the Expense Workbench (accrual against AP); differences are allocated.
Q8. TEW or Expense Workbench – when which?
With TEW active, expenses are processed as TEW steps and the EWB (WB2_EWB) only does accounting release. Without TEW, the EWB has full functions (create, change, cancel, settle). BAdI WB2_ADDITIONAL_DATA method SET_TEW_DISABLED gives full EWB functions despite TEW.
Q9. How do you handle a purchase without a customer yet?
Create a purchase-side contract (long position). Position management assigns a portfolio by condition technique; later a sales-side contract is associated by association management. The long-short analysis shows unmatched quantities.
Q10. What is a shadow trading contract?
A contract the system creates and updates for a sales order or PO that did not come from GTM, via the Trading Contract Synchronizer (queued RFC). It copies position-relevant items so that risk and hedging see them.
Q11. How are letters of credit handled?
The contract's risk management check reads the customer's LC balance when a payment guarantee procedure is assigned; a failed check blocks automatic sales order creation. In S/4HANA the LC is a Trade Finance transaction in TRM assigned to the sales order item, with its own risk check.
Q12. Which customizing do you need before the first release works?
SD and MM basics (document types, item categories, pricing, org assignments), GTM Activate Components, contract type, groups, item categories with assigned document types, incompleteness and status group; TEW steps and combinations if the TEW is used; expense classes and settlement document types for expenses.
04 · Integration, Reporting & Analytics
Q1. How is GTM integrated with SD and MM?
Not by interface: GTM runs in the same system and the contract release creates standard sales orders and purchase orders directly, with document types from the contract type groupings and item categories. Deliveries, goods movements and invoices are standard documents created through the TEW.
Q2. Which postings does a stock-shipment deal create?
Goods receipt Dr inventory / Cr GR/IR, supplier invoice Dr GR/IR / Cr AP, goods issue Dr COGS / Cr inventory, billing Dr AR / Cr revenue – plus expense supplier billing documents (accrual against inventory or expense, then settlement against AP).
Q3. How are trading expenses posted to FI?
As supplier billing documents of settlement management. The posting category picks the settlement document type and posting type (payables, receivables, provisional, statistical); G/L accounts come from the expense account keys in account determination.
Q4. How do you see the profit of a deal?
Before release with the profit simulation (prices, planned expenses, margin); afterwards by trading contract number, because revenue, purchase cost and all expense documents are linked to the contract. A custom deal-profitability report is a common requirement.
Q5. How does credit management work with trading contracts?
In S/4HANA only SAP Credit Management exists (ECC also classic FI-AR-CR with VKM3 / VKM4 – Note 2270544); it is activated per sales control group and item category. The contract carries the credit exposure until the sales order exists; then the exposure crosses over to the sales order. BAdIs adapt the data and the exposure update.
Q6. How are letters of credit handled in S/4HANA?
As Trade Finance transactions in TRM, integrated with Sales: the LC is assigned to the sales order item and a risk check compares order and optionally delivery data with the LC terms. The contract's own risk management check reads the LC balance; SD Foreign Trade financial documents are legacy.
Q7. What does Commodity Management add to GTM?
CPE / CPF commodity pricing with pricing and payment events, quantity adjustments, free characteristics, contract and lean revaluation, period-end valuation (CMM_PEV_*) and Commodity Risk Analytics (position, MtM, P&L). Switched on by business function ISR_GLT_CMMINTEG; separate licence.
Q8. How do compliance checks work for a trading contract?
Trade compliance is activated per contract type; International Trade runs legal control, embargo and watch list checks, with status on header, item and schedule line (inbound for purchase, outbound for sales). SAP GTS can be integrated instead for advanced compliance and customs.
Q9. Is TM integrated with GTM?
Not as a GTM feature – SAP lists transportation management among the areas not fully integrated. Transport is planned on the standard sales orders, purchase orders and deliveries that GTM creates, so TM integration is a project design topic.
Q10. A front-office trading system must create contracts in S/4HANA – how?
There is no released trading contract OData / SOAP API on the Business Accelerator Hub, so use the trading contract BAPIs (create, change, release) behind an RFC or custom service, typically through SAP Integration Suite, with error handling and idempotency; document it as a clean-core exception.
Q11. Which standard reports show the trading position?
Association reports – quantity overview with long-short analysis and association overview – for physical long and short positions; with Commodity Management, Commodity Risk Analytics position, MtM and P&L reports (current, end-of-day, day-over-day).
Q12. How would you list contracts with open quantities and their follow-on documents?
WB25 / WB24N (ECC: WB24) or Manage Trading Contracts for the list, the open order / delivery report per contract, and for a custom report a selection on WBHK / WBHI joined with the document flow to the sales orders, purchase orders and deliveries (page 02, page 05).
05 · Development & Extensibility
Q1. How is GTM built technically, and how does that affect enhancements?
It is classic ERP code in the WB2B packages of EA-GLTRADE with transparent tables (WBHK, WBHI …), dialog transactions WB21 – WB23 and BAPIs – no BOPF or RAP object. You extend it with customizing, the GTM BAdIs, the BAPI extension parameters, message determination and the SD / MM exits of the follow-on documents.
Q2. Which tables hold a trading contract?
WBHK header, WBHI items, WBHD commercial data, WBHE schedule lines, WBHP partners, WBHF document flow and WBGT for the link between follow-on documents and contract items; contract types are in TB2BE. The key is TKONN, items add TPOSN and TPOSN_SUB.
Q3. How would you build a margin report per trading contract item?
An own CDS view entity on WBHI joined to WBHK with purchase price NETPR_MM / WAERS_MM and sales price NETPR_SD with the SD currency, currency and unit annotations, a DCL role on the sales organization, and an ABAP SQL report or Fiori list on top. Handle different currencies and price units explicitly.
Q4. How do you add a custom field to the trading contract?
Append it to the table, maintain and check it with BAdI WB2_ADDITIONAL_DATA, support the BAPIs with EXTENSIONIN / EXTENSIONOUT (structures BAPI_TE_WBHK, BAPI_TE_WBHI …) and BAdI WB2_BAPI_ENHANCE_EX, and copy it to sales order or PO with the SD / MM exits if needed.
Q5. Which BAPIs exist for trading contracts, and what are their limits?
BAPI_TRADINGCONTRACT_CREATE, _CHANGE, _RELEASE and _GET_LIST. Create cannot copy from a reference contract, the tolerance fields are missing, CHANGE cannot change partner functions, and custom or some standard fields need the extension parameters. Commit explicitly with BAPI_TRANSACTION_COMMIT.
Q6. A customer wants to integrate a CTRM platform. What do you design?
CPI receives the deals, maps them and calls BAPI_TRADINGCONTRACT_CREATE / _RELEASE via RFC (or an own OData service that wraps them), with the external deal number in TKONN_EX for idempotency, error handling via the RETURN table and monitoring in CPI. There is no released trading contract API.
Q7. Where do you put logic for documents created from a trading contract?
In the normal SD and MM exits – sales orders, POs, deliveries and billing documents are standard documents. Check in the exit whether the document comes from a contract and leave GTM-controlled fields alone, otherwise GTM reports inconsistencies.
Q8. How is trading contract output configured?
Message determination with application WT, per target group customer, supplier and employee, with header and item procedures assigned to sales group, purchasing group or contract type, condition table 170 among the standard tables, and Smart Forms for the layout. That is the ECC way (NAST only); S/4HANA also offers S/4HANA output control (TRADING_CONTRACT_CUSTOMER / _SUPPLIER, output control indicator on the contract type).
Q9. After release the customer gets the order confirmation twice. Where do you look?
At the output type of the sales order: if multiple issuing is allowed, the release of a both-side contract followed by the ATP update of the sales order can create the output twice (KBA 2680304). It is a customizing issue.
Q10. How do you implement an approval before a contract may be released?
Define application statuses in a status group assigned to the contract type, raise a workflow event when the 'to approve' status is saved, approve in My Inbox (Business Suite: also the Approve Trading Contracts app), and allow release only from the approved status. The approval app BAdIs exist only in the Business Suite; in S/4HANA approval runs via the workflow (WBWF).
Q11. Is GTM ready for ABAP Cloud and clean core?
Only partly: there is no released trading contract API or RAP object; key-user extensibility is documented for the Manage Trading Contracts and Manage Precontracts apps. Clean core means configuration first, then key-user adaptations, BAdIs and BAPIs, read-only own CDS views, no table updates or modifications, and side-by-side apps only via an own service.
Q12. Name a typical GTM RICEFW list.
Margin and open-position reports on own CDS views, CTRM and bank interfaces via BAPIs and CPI, a BAPI load of open contracts at go-live, custom fields and release checks via the GTM BAdIs, contract confirmations as WT output with Smart Forms, and a status-based approval workflow.
06 · S/4HANA, Cloud & Architect View
Q1. Does GTM still exist in S/4HANA?
Yes – trading contracts, the Trading Execution Workbench and trading expenses are part of S/4HANA (LO-GT) on-premise and in the Private Edition. The simplification item 'S4TWL – Global Trade Management' (Note 2267785) changes table keys and replaces some transactions.
Q2. What changes technically for GTM in a conversion?
Key fields of WBHF, WBGT, WBIT, WBASSOC, WCOCOF and the business volume tables are simplified, concatenated fields are replaced, item-number fields become NUMC; WB24 / WB25_COMP are replaced by WBRR and WB24N; differential invoicing is gone. Custom code on these tables must be adapted.
Q3. Which GTM functions are no longer available?
Differential invoicing (now in Commodity Management), retail pricing in the trading contract, the Contract Processing Monitor and logistical options of the commodity integration, the old document overview reports and the TC@Web user report.
Q4. Can I use GTM in S/4HANA Cloud Public Edition?
No GTM trading contract scope item or trading contract API is documented for the public cloud. Customers who need trading contracts choose on-premise or the Private Edition, or redesign the process with standard purchase and sales documents or side-by-side apps.
Q5. How do GTM, Commodity Management and ACM relate?
GTM manages trading contracts; Commodity Management adds commodity pricing, differential invoicing, mark-to-market and risk; ACM is the agricultural solution built on the trading contract with its own /ACCGO/ objects. In S/4HANA the GTM–CM integration is partly supported (pricing and payment events yes, CPM and logistical options no).
Q6. How do you migrate open trading contracts in a greenfield project?
There is no standard Migration Cockpit object for trading contracts, so you load them with BAPI_TRADINGCONTRACT_CREATE (and _RELEASE where follow-on documents are needed) in a load program or an own LTMOM object, keep the legacy number in TKONN_EX and reconcile quantities and values.
Q7. How do you find the GTM-relevant simplification items for a customer?
Run the readiness check and the simplification item check in the ERP system, then read the items in the Simplification Item Catalog: LO-GT for GTM, LO-CMM / LO-GT-CMM for commodity integration, LO-AGR for ACM. Use ATC with the S/4HANA checks for custom code.
Q8. When would you recommend GTM instead of plain SD and MM?
When the business buys and sells the same goods as one deal – back-to-back or from stock – and needs the margin, expenses, position and approval per deal. Independent buying and selling does not need GTM and is simpler in plain SD / MM.
Q9. What is the difference between GTM and GTS in an S/4HANA landscape?
GTM is the trading-contract application inside S/4HANA; SAP GTS is a separate product for customs, export / import compliance and screening. GTM can call GTS from the contract (BAdI WB2_GTS_ENHANCE); the successor of ECC SD / MM Foreign Trade is SAP S/4HANA for international trade (GTS e.g. for preference management), Intrastat stays in S/4HANA.
Q10. How do you keep GTM extensions clean-core when there is no released API?
Configuration first, then GTM BAdIs and BAPIs, read-only own CDS views, no table updates or modifications, and side-by-side apps only through an own thin wrapper service. Document each extension and re-test it at every upgrade.
Q11. What happened to the ACM approval tab in S/4HANA?
It was removed; contract approval is modelled with GTM status management – a status group with statuses such as draft and approved, assigned to the contract type. During conversion an XPRA sets WBHK-BTBSTA for contracts that were approved in ERP.
Q12. Which GTM decisions are hardest to change after go-live?
The split between GTM and plain SD / MM, contract types and item categories, status and approval design, number ranges and the commodity scope (CM, ACM) – they shape every document, interface and report.