SAP S/4HANA Extension
Installation
-
Go to Extensions → Marketplace → Search for extension SAP S/4HANA Extension → Click the
Install
action in "ACTIONS" menu






Upgrade
-
Upgrading the extension can be done easily from the Marketplace itself.
-
Go to Extensions → Marketplace → Search for extension SAP S/4HANA Extension → Click the
Upgrade
action in "ACTIONS" menu
-

-
The changes available in the new version of the extension can be seen under the Changelog screen while upgrading.

-
Continue on the upgrade window similar to the installation steps.
Configurations
-
Configuration properties are pre-populated which user can modify as per the requirement.
-
There are different tabs like CONNECTION, DATA SETTINGS and ENDPOINTS from which the user can configure the properties to get SAP S/4HANA connector working.
-
Configure the following properties from Extensions → Settings.
Attribute Mapping
Attribute mapping feature helps the user to map 3DEXPERIENCE attributes with SAP S/4HANA attributes from UI. If there is no mapping found for the attribute then configured SAP S/4HANA Default Value will be used in the payload. Default attribute mappings configuration are shown below.
1. ATTRIBUTES

3DX Name | Unit Of Measure |
---|---|
SAP Name |
BaseUnit |
Value Mapping |
UOM |
Value Max Length |
|
SAP Default Value |
KG |

3DX Name | Bill of Material Item Unit |
---|---|
SAP Name |
BillOfMaterialItemUnit |
Value Mapping |
UOM |
Value Max Length |
|
SAP Default Value |
KG |

3DX Name | BOM Header Base Unit |
---|---|
SAP Name |
BOMHeaderBaseUnit |
Value Mapping |
UOM |
Value Max Length |
|
SAP Default Value |
KG |

3DX Name | Product Group |
---|---|
SAP Name |
Material Group |
Value Mapping |
|
Value Max Length |
|
SAP Default Value |
ZFORK |

3DX Name | Type |
---|---|
SAP Name |
Product Type |
Value Mapping |
ProductType |
Value Max Length |
|
SAP Default Value |
FERT |

3DX Name | Net Weight |
---|---|
SAP Name |
WeightUnit |
Value Mapping |
WeightUnit |
Value Max Length |
|
SAP Default Value |
KG |
2. MAPPINGS

3DX Value | SAP S/4HANA Value |
---|---|
Appliance Product Part |
ROH |
Assembled Product Part |
FERT |
Closure Part |
ROH |
Consumer Kit Part |
HAWA |
Consumer Unit Part |
HAWA |
CreateAssembly |
FERT |
Display Unit Part |
VERP |
Electrical Part |
ROH |
Finished Product Part |
FERT |
Formulation Part |
ROH |
Handling Unit Part |
VERP |
Hardware Part |
ROH |
Kit Part |
HAWA |
Label Part |
ROH |
Manufacturing Part |
ROH |
Material Part |
ROH |
Mechanical Part |
ROH |
Packaging Assembly Part |
VERP |
Packaging Component Part |
VERP |
Packaging Material Part |
VERP |
Pallet Part |
VERP |
Part |
ROH |
Phantom Part |
ROH |
Product Data Part |
ROH |
Promotional Item |
UNBW |
Raw Material |
ROH |
Semi-Finished Product Part |
HALB |
Software Part |
ROH |
Supplier Equivalent Part |
ROH |
Support Part |
DIEN |
Synthetic Part |
ROH |
Tool Part |
FHMI |
Trade Unit Part |
HAWA |
Transport Unit Part |
VERP |
VPMReference |
ROH |
XBOM Kit Part |
HAWA |

3DX Value | SAP S/4HANA Value |
---|---|
LB |
LB |
IN |
'' |
MM |
MM |
MM2 |
MM2 |
MM3 |
MM3 |
YD |
YD |
Batch |
|
% |
% |
PPM |
PPM |
MG |
MG |
CG |
|
G |
G |
KG |
KG |
OZ |
OZ |
T |
TO |
ML |
ML |
CL |
CL |
GA |
GAL |
PT |
PT |
QT |
QT |
CONE |
|
GR |
GRO |
ROLL |
ROL |
FT |
FT |
EA |
EA |
CM |
CM |
CM2 |
CM2 |
CM3 |
CCM |
FT2 |
FT2 |
FT3 |
FT3 |
IN2 |
|2 |
IN3 |
|3 |
LITER |
L |
M |
M |
M2 |
M2 |
M3 |
M3 |

3DX Value | SAP S/4HANA Value |
---|---|
g |
G |
kg |
KG |
cg |
|
mg |
MG |
lb |
LB |
oz |
OZ |
T |
TO |
Connection
This tab allows user to configure the properties required for communication between 3DEXPERIENCE and SAP S/4HANA.
3. CONNECTION

Variable | Description | Example |
---|---|---|
|
3DEXPERIENCE Agent id for Extension |
|
|
3DEXPERIENCE Agent secret for Extension |
|
|
Base url of SAP S/4HANA |
https://<host address> |
|
Client id of SAP S/4HANA |
500 |
|
User name to login to SAP S/4HANA |
|
|
Password for the user name |
Data Settings
This tab allows user to configure the properties that help in generating payload.
4. DATA SETTINGS
The below shown values are from a demo point of view. |

Variable | Description | Example |
---|---|---|
|
Url for 3DSpace tenant |
https://<host address> |
|
Mode of sending document to SAP S/4HANA |
URL / FILE |
|
- |
M |
|
- |
1 |
|
- |
C |
|
- |
true |
|
1 = Engineering BOM, Default = 1 |
1 |
|
BUS1001006 |
|
|
- |
0 |
|
- |
1 |
|
Convert Microsoft Office documents to PDF format before transmitting them as files to SAP S/4HANA. |
false |
|
Single item quantity |
1 |
|
- |
false |
|
URL to download file when attachment type code is URL |
${sap.s4hana.3dspace.tenant}/#app:ENXWDOC_AP/content:X3DContentId= |
|
Example; A.1 |
false |
|
- |
S |
|
EN = English |
EN |
|
SAP Object Type |
Material |
|
SAP Object Type |
MaterialBOM |
|
2 = Production BOM, Default = 2 |
2 |
|
false |
|
|
- |
1 |
|
- |
1100 |
|
- |
true |
|
Valuation class for product type FERT at SAP S/4HANA |
7920 |
|
Valuation class for product type ROH at SAP S/4HANA |
3000 |
5. DEVELOPMENT
As of release V1 , the DEVELOPMENT tab is meant for development environment. It is used to generate Item numbers and Change Action numbers as required by the destination system (SAP S/4HANA). |
Endpoints
This tab allows user to configure the endpoints where payload needs to be sent at SAP S/4HANA.
6. ENDPOINTS

Variable | Description | Example |
---|---|---|
|
SAP S/4HANA API used to send payload for Send BOM & Send BOM with CA use case |
sap/API_BILL_OF_MATERIAL_SRV;v=2/MaterialBOM |
|
SAP S/4HANA API used to send payload for Send CA use case |
sap/opu/odata/sap/API_CHANGEMASTER;v=2/A_ChangeMaster |
|
SAP S/4HANA API used to send payload for Revise Engineering Item use case |
sap/opu/odata/sap/API_PRODUCT_SRV/A_Product('<ITEM_NAME>') |
|
SAP S/4HANA API used to send payload for Associate CA use case |
sap/opu/odata/sap/API_CHANGEMASTER; v=2/A_ChangeMaster('<CA_NUMBER>')/to_ChangeMstrObMgReMaterial |
|
SAP S/4HANA API used to send payload for Send Engineering Item use case |
sap/opu/odata/sap/API_PRODUCT_SRV/A_Product |
|
SAP S/4HANA API used to send attachment as link for Send Document use case |
/sap/opu/odata/sap/API_CV_ATTACHMENT_SRV/CreateUrlAsAttachment?MIMEType='${MIME_TYPE}'&UrlDescription='${URL_DESC}'&Url='${DOC_LINK}'&BusinessObjectTypeName='${BUS_OBJ_TYPE}'&LinkedSAPObjectKey='${SAP_OBJ_KEY}'&SemanticObject='' |
|
SAP S/4HANA API used to send attachment for Send Document use case |
sap/opu/odata/sap/API_CV_ATTACHMENT_SRV/AttachmentContentSet |
|
SAP S/4HANA API used to payload for Send Product Description use case |
/sap/opu/odata/sap/API_PRODUCT_SRV/A_ProductDescription(Product='${ITEM_NAME}',Language='${LANGUAGE}') |
|
SAP S/4HANA API used to payload for Send Basic Text use case |
/sap/opu/odata/sap/API_PRODUCT_SRV/A_ProductBasicText(Product='${ITEM_NAME}',Language='${LANGUAGE}') |
|
SAP S/4HANA API used to send payload for syncing attributes (Net Weight, Weight Unit) for Send Engineering Material Attributes use case |
/sap/opu/odata/sap/API_PRODUCT_SRV/A_Product('${ITEM_NAME}') |
|
SAP S/4HANA API to fetch the token |
sap/opu/odata/sap/API_PRODUCT_SRV/ |
-
SAP S/4HANA service is available out of the box. This SAP S/4HANA service is mapped with the events under event mapping.
-
As of release 2.0.0 , additional services are available out of the box.
-
SAP S/4HANA Release
-
SAP S/4HANA Revise
-
A Service corresponds to a job queue. Every event mapping needs to specify to which service it belongs. A service can be configured to run its jobs in sequence OR parallel execution. Either create a single service to handle all the events or create separate services for each event mapping.
-
Event Mapping
-
Need to enable what events needs to be published from the DS tenant using Event Publishing app.
-
Event mapping holds the information about which use-case needs to be executed when the event is received. It is a binding between the event and job-request.
-

Example for configured events publishing are as follows
Engineering item → Created, Status Changed, Versioned, etc…
-
Event mapping need to be created so that required use case should get executed on receiving the event from DS tenant. While creating the events we need to provide the details like
-
Service name
-
Agent
-
Event class and its type
-
Configuration to be invoked
-
-
Following event mapping is available out of the box.
Events | |||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Event Categories & Types |
|
||||||||||||||||||||||||
⊟ Event Category : ├ 🧊 Engineering Item ├ |
|
||||||||||||||||||||||||
⊟ Event Category : Change ├ 🄲🄰 Change Action |
|
-
SAP-S/4HANA-Create-Eng-Material-Send-Eng-Material - gets invoked on creation of an Engineering item in DS tenant.
-
SAP-S/4HANA-Send-CA - gets invoked on creation of Change Action in DS tenant.
-
SAP-S/4HANA-Send-BOM - gets invoked on release of an Engineering item in DS tenant.
-
SAP-S/4HANA-Release-CA-Send-BOM - gets invoked on release of a Change Action in DS tenant.
-
SAP-S/4HANA-Revise-Engineering-Item - gets invoked on creation of revision of an Engineering item in DS tenant.
-
SAP-S/4HANA-Send-Document - gets invoked on release of an Engineering item in DS tenant.
-
SAP-S/4HANA-Sync-Attributes - gets invoked on release of an Engineering item in DS tenant.
-
SAP-S/4HANA-Send-Description - gets invoked on creation of revision of an Engineering item in DS tenant.
-
SAP-S/4HANA-Send-Basic-Text - gets invoked on creation of revision of an Engineering item in DS tenant.
-
SAP-S/4HANA-Send-Manufacturing-Item - gets invoked on creation of a Manufacturing item in DS tenant.
-
SAP-S/4HANA-Send-MBOM - gets invoked on release of a Manufacturing item in DS tenant.
SAP S/4HANA use cases use token to connect to the destination url for sending the payload. |
In general, any SAP S/4HANA use case, use the below javascript classes.
Component | Details |
---|---|
1. Use case invoker |
It invokes the processor of the specific use case. The invoker is also responsible to pass in the optional set of properties to the use case processor |
2. Processor |
It has the logic to fetch the data, build the payload and send it to SAP S/4HANA using the Destination Handler. |
3. Token Resolver |
It fetches the authentication token by connecting to the corresponding SAP S/4HANA url |
4. Destination Handler |
It has the logic to connect to the SAP S/4HANA urls by performing necessary actions and send the payload. |
5. Logger |
Logs the details of the items being accessed in the use case. |
6. Helper |
It has the methods to build the payload for SAP S/4HANA. |
7. Util |
It has the utility methods that helps to transform the payload data. |