Template Structure
Definition
This describes the structure of the XSL Templates in RosettaNet Mappings .
Structure
Folder Structure
RosettaNet Mappings contains two folders, sap2rn and rn2sap , in which are present the templates for mapping a RosettaNet Message format to an SAP CRM IDoc message format and vice versa.
-
Style Sheets for message identification
-
RosettaNet Mappings identifies the incoming RosettaNet Message using rn2sap_pip_identification.xsl and then selects the corresponding style sheet for transformation.
-
RosettaNet Mappings processes the outgoing CRM IDoc message using sap2rn_pip_identification.xsl and then selects the corresponding style sheet for transformation.
-
For more information, see Identification of Messages .
Master and Mappings Style Sheets
The folders contain two kinds of style sheets:
-
Master style sheets
They contain only Include statements to include mapping style sheets. Master style sheets are available under:
-
Inbound - <CustomerDirectory>\ xslt\s tylesheets\rn2sap\crm\pip3a
-
Outbound - <CustomerDirectory> \xslt\s tylesheets\sap2rn\crm\pip3a
-
-
Mapping style sheets
-
PIP specific
These style sheets are available under individual PIP directories . For example, PIP3A8 specific mapping style sheets are available under <CustomerDirectory>\xslt\includes\rn2sap\crm\pip3a\pip3a8requestv100 .
-
Common to a set of PIPs
These style sheets are common to a set of PIPs and they are available under < CustomerDirectory >\ xslt\includes\rn2sap\crm\pip3a .
-
Value Mappings
-
Fixed value mapping
You cannot alter the value for the mappings, since the target values in the SAP CRM System are fixed. These mappings are available under <CustomerDirectory>\xslt\includes\rosettanet\fixed
-
Customized value mapping
You can alter the values. These mappings are available under <CustomerDirectory>\xslt\includes\rosettanet\custom .
Files customized from RosettaNet to the SAP CRM System are in the folder rn2sap and those from the SAP CRM System to RosettaNet are in the folder sap2rn .
-
Only semantic mapping is done. No business logic is embedded.
-
Information that is required for mapping is taken from the message itself.
-
Customized value mappings are implemented based on standard customizing in SAP CRM System.
-
To enhance the customizing templates, the entire structure has to be copied into the directory of the customer. This would avoid any customized data loss from the customer’s side during further releases.
-
Customization for RosettaNet Mappings
-
Inbound Mappings
These settings are available under <CustomerNamespace>\xslt\includes\rosettanet\rn2sap .
-
Outbound Mappings
These settings are available under <CustomerNamespace> \xslt\includes\rosettanet\sap2rn .
The following figure shows the directory structure: