Enhancing Templates

Use

You will need to enhance the template in the following scenarios:

  • When RosettaNet releases new version(s) of PIPs.

  • When customizing changes from standard customizing in the SAP CRM System .

Enhancing a template may involvle one of the following tasks:

  • Modifying an existing template

  • Adding a new template

  • Modifying an existing value mapping template

  • Adding a new value mapping template

Procedure

Modifying an existing template

  • Inbound

    You can modify an existing template of type

    • PIP Specific Mapping Styleheets :

      <CustomerDirectory>\xslt\includes\rn2sap\crm\pip3a\ pip3axvxxx folder

    • Common Stylesheets for Cluster 3 Segment 3A:

      <CustomerDirectory>\xslt\includes\rn2sap\crm\pip3afolder

  • Outbound

    You can modify an existing template of type

    • PIP Specific Mapping Styleheets:

      <CustomerDirectory>\xslt\includes\sap2rn\crm\pip3a\ pip3axvxxx folder

    • Common Stylesheets for Cluster 3 Segment 3A:

      <CustomerDirectory>\xslt\includes\sap2rn\crm\pip3afolder

      As the target segment name and the file name are similar, you can do the modifications in the required XSL files.

Modifying a value mapping template

The value mapping templates are available under <CustomerDirectory>\xslt\includes\rosettanet .

RosettaNet Values are fixed for a particular version of a PIP. CRM Value needs to be updated in the customized value tables.

The following example shows the customizing value template for CRM Partner functions and the RosettaNet B usiness P artner roles:

<!--

<Element type="CRM-Value"> RosettaNet value </Element>

Start of the navigation pathRosettaNet Next navigation step CRMEnd of the navigation path

Start of the navigation pathFromRole Next navigation step Sold-to partyEnd of the navigation path

Start of the navigation pathToRole Next navigation step VendorEnd of the navigation path

Start of the navigation pathBillTo Next navigation step Bill-to partyEnd of the navigation path

Start of the navigation pathFinancedBy Next navigation step PayerEnd of the navigation path

Start of the navigation pathShipTo Next navigation step Ship-to partyEnd of the navigation path

Start of the navigation pathCustomer Next navigation step CustomerEnd of the navigation path

Start of the navigation pathInstallAt Next navigation step ????(Installed by)End of the navigation path

Start of the navigation pathSecondaryBuyer Next navigation step ????(Activity partner)End of the navigation path

Start of the navigation pathShipFrom Next navigation step ????(Ship-from partner)End of the navigation path

-->

<Roles>

<Role type="00000001">fromRole</Role>

<Role type="00000019">toRole</Role>

<Role type="00000003">billTo</Role>

<Role type="00000004">financedBy</Role>

<Role type="00000002">shipTo</Role>

<Role type="00000039">Customer</Role>

<!--   The following roles are to be mapped appropriately  -->

<Role type="00000036">installAt</Role>

<Role type="00000009">SecondaryBuyer</Role>

<Role type="00000030">shipFrom</Role>

</Roles>

In the example above, all the roles in the RosettaNet , such as fromRole , toRole and so on, are given as values for the corresponding tags.

If needed, these values can be enhanced based on requirements.

For Example, <Role type="00000001">fromRole</Role> .

In this case, the value 00000001 refers to the partner function value in SAP CRM System and the fromRole is the corresponding value in RosettaNet.

Adding a new value mapping template

Include the XML files containing the mapping information in any one of the following directories based on the requirement.

  • <CustomerDirectory> \ xslt \ includes \ rosettanet \ custom –Value mapping common to inbound and outbound that you can customize.

  • <CustomerDirectory> \ xslt \ includes \ rosettanet \ fixed – Value mapping common to both inbound and outbound that you must not alter.

  • <CustomerDirectory> \ xslt \ includes \ rosettanet \ rn2sap – Value mapping only relevant for inbound mapping.

  • <CustomerDirectory> \ xslt \ includes \ rosettanet \ sap2rn – Value mapping only relevant for outbound mapping.

Include the new value template in:

  • <CustomerDirectory> \ xslt \ includes \ rn2sap \ crm \ pip3a \ ValueTemplates.xsl for Inbound

  • <CustomerDirectory> \ xslt \ includes \ sap2rn \ crm \ pip3a \ ValueTemplates.xsl for Outbound