Ansicht
Dokumentation

CRMV_CFG_EXT_SET - Define Settings for External Configurator

CRMV_CFG_EXT_SET - Define Settings for External Configurator

PERFORM Short Reference   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

You use the activities listed in this document to integrate an external product configurator into your CRM WebClient user interface (UI). To do so, you define settings that allow communication between the UI and the configurator.

  1. For each external configurator, create a logical system.
  • The logical system hosts the external configurator.

  • The logical system must be noted in the master data of the products that are configured with the external configurator.

  • You need this logical system to import configurable products with the XIF interface.

  • Settings for communication between the Web services and the external configurator are configured for each logical system.

  1. Define the URL ID. Enter the parameter "ID" for the URL ID.
  • You can give the URL any ID you like.

  • The parameter for this URL must be ID.

  1. Define a logical port.
You must configure a logical port for three classes:
  • CO_CFG_PRDCFGCNC_RQ

  • CO_CFG_PRDCFGID_RQ

  • CO_CFG_PRDCFGCRT_RQ

If you want to use the communications interface included in the SAP standard implementation to integrate an external product configurator, you must use these classes.
If you want to integrate your own implementation of the communications interface, for example to enhance the functional scope, you must create classes yourself and then use them to create a logical port.
You must activate the entries you saved.
  1. Define an RFC destination.
You require a new HTTP connection for each class.
  • Choose HTTP Connections to External Server.

  • Enter the URL for the Web service of the external configurator.

You use the URL to define the communcation channel for the Web service.
  1. Define Communication with External Product Configurator.

It may happen that while editing a business transaction, a value is changed (example: currency). This change affects the product configuration; in this case the price is affected. The new value is not recognized by the external configurator. This results in an incorrect price in the business transaction, for example.

To guarantee data consistency between the business transaction and the external configurator, and to get a correct result despite edited ,,values, the external configurator must be called up again immediately following the edit in the business transaction so that it contains the changed value.

To do so, implement a function module that calls up the external configurator and that can be used as a callback module in the event handler table. Specify when it should be executed: It makes sense to have the system call it up as soon as a value is changed.

Call up activity Maintain Event Handler Table and enter the necessary data.

In the example, function module CRM_CONFIG_CHANGE_CURRENCY_EC is used, which reacts to a change of currency in the business transaction and calls up the external configurator.

Trans. Category   BUS20001 - CRM Bus Transaction
Execution Time   1 - Immediately
Priority   3
Object Name   PRICING
Event   AFTER_CHANGE
Attribute   <*>
Function   CRM_CONFIG_CHANGE_CURRENCY_EC






BAL_S_LOG - Application Log: Log header data   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 5402 Date: 20240523 Time: 162302     sap01-206 ( 93 ms )