Skip to content

Prepare SAP S/4HANA for CDQ's Reference Data

The regions, legal forms and identifiers that CDQ works with have to fit your SAP S/4HANA configuration. If they don't, S/4HANA rejects the values that come from CDQ, or they stay empty. CDQ's standard expects the configuration as SAP ships it, plus CDQ's legal forms, and this page shows how to get close to that, one type at a time. It's optional: where your configuration differs and you'd rather keep it, Mappings fits CDQ's values to it instead.

Why It Matters

CDQ keeps business partner data clean against its reference data: every region and legal form CDQ proposes is one of its managed values. S/4HANA, on the other hand, only accepts what its configuration knows.

  • New business partners. Business Partner Onboarding sends the address of a new business partner to S/4HANA, including its region. If S/4HANA doesn't know the region, it refuses the request, and the request stays open with S/4HANA's message.
  • Updates from CDQ. Business Partner Insights applies CDQ's updates to the address of a business partner. An unknown region means the update fails and has to be applied again after you've fixed the configuration.
  • The same values everywhere. With aligned configuration, S/4HANA and CDQ speak the same language: the same regions in addresses, the same legal form categories for your business partners. That pays off in reports, in matching and in every interface that exchanges business partner data.

Legal forms reach S/4HANA through Business Partner Onboarding's requests and the updates you apply in Business Partner Insights.

Align, or map? You don't have to change your configuration for the Workbench. Every value CDQ gives goes through the value mappings of your connection's CDQ → S/4HANA transformation in Mappings first: where you've mapped a CDQ value to one of your own, S/4HANA gets yours; where you haven't, it gets CDQ's standard value. So:

  • Align your configuration (this page) when your S/4HANA system simply lacks values that SAP ships or that CDQ adds, for example the regions of a country or CDQ's legal form categories. Once they're there, CDQ's standard fits without any mapping.
  • Map CDQ's values in Mappings when you have your own values on purpose, for example customer-specific legal forms or region keys, and want to keep them.

Most companies do a bit of both: align what's missing, and map what's their own. Mappings shows, per value mapping of the CDQ → S/4HANA transformation, how many CDQ values are missing in your Customizing, which tells you where to start.

How It Works

You compare CDQ's reference data with your configuration, one type at a time, and align your configuration in its activity, as the task of the type describes. There's nothing to install: CDQ's reference data are on the CDQ Wiki, and the configuration is done in the usual configuration activities of S/4HANA.

CDQ Wiki
reference data

Compare
with your configuration

Configuration activity
export

Align
in the activity

Customizing request
transport to production

CDQ Wiki
reference data

Compare
with your configuration

Configuration activity
export

Align
in the activity

Customizing request
transport to production

TypeCDQ's reference dataConfiguration activity in S/4HANA
RegionsRegion metadata, and the page of each countryInsert Regions (Subnational Administration Units)
Legal formsLegal form metadata: legal forms grouped into legal form categoriesMaintain Legal Forms
IdentifiersCDQ's identifier types, such as VAT numbers and register numbersDefine Tax Number Categories, Define Identification Types

Prerequisites

  • A business role for configuration. In SAP S/4HANA Cloud Public Edition, a business role from the template Configuration Expert - Business Process Configuration (SAP_BR_BPC_EXPERT) gives you Implementation Activities with these activities. In other editions, the authorization to maintain these configuration tables.
  • A customizing request. Every change is recorded in one, so that you can test it and move it to production like any other configuration. You create it when you save the first time, or use one of yours.
  • The CDQ Wiki. Its overview pages and the pages of each country are public. The overviews have an Export button for their tables.

Tasks

  1. Look up CDQ's reference data
  2. Open the configuration activities
  3. Check the regions
  4. Align the legal forms
  5. Check the identifiers
  6. Record the changes

Look up CDQ's reference data

Before you change anything, see what CDQ has. The CDQ Wiki has a public page for each country with its regions and legal forms.

  1. Open the overview of the type on the CDQ Wiki: regions or legal forms.
  2. To compare everything at once, choose Export above the table and keep the file.
  3. To look at one country, choose it in the overview of regions. Its page lists its Regions with their ISO code, and its Legal forms.

The CDQ Wiki's page of Norway with its regions, their ISO codes and names

The table Regions of a country page is what you compare with S/4HANA later. Region names each region with its code, ISO code is the ISO 3166-2 code (NO-03), and Monolingual name and Alternative name list the names CDQ recognizes in different languages. Remember the ISO code: in S/4HANA, the region's key is usually that code without the country.

Each legal form belongs to one of CDQ's legal form categories, which group legal forms with a similar purpose across countries. The overview of legal forms explains how they fit together: it says how many legal forms and categories CDQ manages, shows where the legal form sits in CDQ's data model, and lists all legal forms further down, each with its country, its abbreviations and its category.

The CDQ Wiki's overview of legal forms and their categories

Open the configuration activities

The activities are in Implementation Activities, the guide to your system's configuration.

  1. Open Implementation Activities from the launchpad.
  2. Choose the magnifier (Find), enter the name of the activity, for example Insert Regions, and press Enter. The guide opens at the activity.
  3. Choose the clock icon (IMG - Activity) next to it. The activity shows its table in display mode.
  4. To compare, export the table: Menu → Table View → Export Spreadsheet → Contents. Compare it with CDQ's export in a spreadsheet.

Implementation Activities with the activity Insert Regions found by the search

Check the regions

Usually there's nothing to add: CDQ's standard delivers each region with the key SAP ships for it, so the regions your system already has are the ones S/4HANA gets. You only check that the countries you work with have their regions.

  1. Open Insert Regions (Subnational Administration Units), choose Position… and enter a country.
  2. Compare its regions with CDQ's regions of the country. Most countries use the ISO code without the country (NO-03 → 03); a few use SAP's older keys (for example Argentina, Colombia, Russia), which CDQ maps, too.

Insert Regions with the regions of Norway

The activity lists the regions of all countries in one table: Ctry/Reg. is the country, Region the key S/4HANA stores in an address, and Description its name. Positioned on a country, you see its regions in the order of their keys, and the counter at the bottom tells you where you are in the whole table.

If one of CDQ's regions has no key in your system, Mappings counts it as missing in your Customizing, in the value mapping Regions of the CDQ → S/4HANA transformation. Then you have two ways: add the region here, with the key CDQ delivers, when your system simply lacks it; or map CDQ's region to one of your own keys in Mappings, when you use your own keys on purpose.

S/4HANA's legal form is a two-character key without a country, so your legal forms become CDQ's legal form categories: one key per category, with the category's name as Description and its short name as Short name, as listed in the Reference.

  1. Open Maintain Legal Forms and choose Edit.
  2. The keys 01 to 08 exist already. Overwrite their Description and Short name with the texts of the Reference.
  3. Choose New Entries and enter one row per further category: Legal form (the key), Description and Short name.
  4. Choose Save, and choose your customizing request.

Maintain Legal Forms with CDQ's legal form categories

Check the identifiers

CDQ's identifiers go into two places of a business partner: VAT numbers and other tax numbers into its tax numbers, all other identifiers, such as register numbers or the D-U-N-S number, into its identifications. Both use what S/4HANA ships: CDQ maps its identifier types onto SAP's tax number categories and identification types, so you don't add any.

  1. Open Define Tax Number Categories. It has one category per country and kind of number, for example DE0 for the German VAT identification number.

    Define Tax Number Categories with the categories of Germany

  2. Open Define Identification Types and check that it has the types CDQ uses (Reference). CDQ uses SAP's general types: for example BUP002 (Commercial Register Number) for the register numbers of all countries; the identification's Institute says which register it is.

    Define Identification Types with SAP's general identification types

Record the changes

Every save asks for a customizing request. That's where your changes go from the system you configure to your test and production systems.

  1. When S/4HANA asks for the request, choose yours, or create one with Create Request and a description that says what it's for.
  2. Choose Continue. S/4HANA confirms with Data was saved.
  3. Leave the activity with Exit. An activity you just close in the browser keeps its table locked for you for a while.
  4. Export the table again and compare: your changes are in it now.

Reference

Fields and lengths

ActivityKeyTexts
Insert Regions (Subnational Administration Units)Region: 3 characters, within its countryDescription: 20
Maintain Legal FormsLegal form: 2 charactersShort name: 15, Description: 40

Region keys. SAP S/4HANA Cloud Public Edition follows ISO 3166-2 for most countries: the key is the part of the ISO code after the hyphen (DE-BY → BY, AT-9 → 9). A few countries keep SAP's older keys (for example AR-B → 01). CDQ maps its regions to these keys.

Legal form categories and their keys. One row per legal form category of CDQ: Legal form is the code CDQ uses for the category in SAP, Short name the category's short name, Description its name. The keys 01 to 08 are the ones S/4HANA ships; they get these texts, too.

Legal formShort nameDescription
01Corp.Corporation
02Pub.Ltd.Co.Public Limited Company
03Pvt.Co.Ltd.b/SPrivate Company Limited by Shares
04Ltd.Ps.Limited Partnership
05LLC&Co.Ltd.Ps.Ltd. Liability Co. & Co. Ltd. Partners.
06Gen.Ps.General Partnership
07Pvt.Ltd.Co.Private Limited Company
08Ltd.Co.Limited Company
AAAgr.Col.Int.Co.Agricultural Collective Interest Company
ABAsn.Gl.D.Pkt.Association Global Data Packet
ACAsn.w/SAssociation with Shares
ADBankBank
AECiv.Co.Civil Company
AFCiv.L.Ps.Civil Law Partnership
AGCiv.Soc.Civil Society
AHCol.N.Co.Collective Name Company
AICmd.Ps.Commandite Partnership
AJCom.Corp.Commercial Corporation
AKCo.Ltd.b/GCompany Limited by Guarantee
ALConsortiumConsortium
AMConsulateConsulate
ANCoop.Ps.Co-operative Partnership
AOD.F.Ps.De-facto Partnership
APD&F.Coop.V.Domestic and Foreign Cooperative Venture
AQEcon.Asn.Economic Association
AREcon.I.G.Economic Interest Group
ASEstateEstate
ATEur.Co.GroupEuropean Company Group
AUFin.Inst.Financial Institution
AVFrn.Co.Foreign Company
AWFdn.Gl.D.Pkt.Foundation Global Data Packet
AXFrd.Soc.Friendly Society
AYGov.AgencyGovernment Agency
AZGov.Auth.Government Authority
BAGov.BodyGovernment Body
BBGov.Ow.Co.Government Owned Company
BCHsg.Coop.Housing Co-operative
BDInd.EntityIndependent Entity
BEInstitutionInstitution
BFInsur.Co.Insurance Company
BGIntl.Org.International Organization
BHInv.Co.Investment Company
BIJt.Shipping Co.Joint Shipping Company
BJJt.Stock Co.Joint Stock Company
BKJoint VentureJoint Venture
BLLtd.Coop.Co.Limited Cooperative Company
BMLtd.Coop.Soc.Limited Co-operative Society
BNLtd.Liab.&Ps.Limited Liability & Partnership
BOLLCLimited Liability Company
BPLtd.Ps.w/SLimited Partnership with Shares
BQMortgage Asn.Mortgage Association
BRMut.Co.Mutual Company
BSMut.Insur.Soc.Mutual Insurance Society
BTN.P.Asn.Non Profit Association
BUPartnershipPartnership
BVPolitical Ent.Political Entity
BWPvt. FirmPrivate Firm
BXPvt.Fdn.Private Foundation
BYPvt.Ltd.Co.Private Limited Company
BZPvt.nLtd.Co.Private Unlimited Company
CAPty.Co.nLtd.b/SProprietary Company Unlimited by Shares
CBProprietorshipProprietorship
CCPub.Co.Public Company
CDPub.Co.Ltd.b/SPublic Company Limited by Shares
CEPub. InstitutePublic Institute
CFRegistered Ps.Registered Partnership
CGRep. OfficeRepresentative Office
CHSecurities FundSecurities Fund
CISocial Ent.Social Enterprise
CJSocial Org.Social Organisation
CKSESocietas Europaea
CLSocietySociety
CMSoc.Cap/Sav.Society for Capitalization of Savings
CNSole Prop'shipSole Proprietorship
COState Owned Co.State Owned Company
CPSuccessionSuccession
CQSyndicateSyndicate
CRTmp.Asn.Temporary Association
CSTenant Ow.Soc.Tenant Owners' Society
CTTrustTrust
CUUnionUnion
CVnLtd.Co.Unlimited Company
CWnLtd.Coop.Soc.Unlimited Co-operative Society
CXnLtd.Ps.Unlimited Partnership
CYVestryVestry
CZUnknownUnknown

Identification types CDQ uses. CDQ maps its identifier types to these of SAP's identification types; the Institute of an identification tells them apart.

Identification typeCDQ's identifiers
BUP001D-U-N-S number
BUP002register numbers of all countries (commercial registers and others), by country and institute
BUP003IDs of Bureau van Dijk, CDQ and Catena-X
BUP004Peppol ID
BUP005Global Location Number (GLN)
DPI001CDQ's ID of a business partner (Data Provider Integration of SAP Master Data Governance)
FS0007Legal Entity Identifier (LEI) and other global IDs

Your opinion matters!

We are constantly working on providing an outstanding user experience with our products. Please share your opinion about this tutorial!