cancel
Showing results for 
Search instead for 
Did you mean: 

XSLT-Mapping for Genesys in combination with IC Webclient

Former Member
0 Kudos

Hi,

Im not sure if this is the correct area of the SDN but I dont know better

I have the following problem:

In the Account Identification Profile I can define an ApplicationID and an XSLT-File to transform my SOAP-request accordingly to search a Businesspartner by CAD (CallAttachedData).

I used the sample program CRM_IC_BPIDENT_EXT_IAD_GENESYS and didnt change anything but whatever I send via the CCS there is no search done.

Am I using the XSLT-program the wrong way in the meaning of "adapat it to your needs" or am I missing sth?

Thanks for your help,

Ben.

Accepted Solutions (0)

Answers (2)

Answers (2)

moorthy
Active Contributor
0 Kudos

Just check, your mapping output is right and test this independently using XML SPy..

btw, entrie process has been exeucted without any errors right?

I feel the problem in the mapping, where you are no able to pass the right info...check the payload as well

Rgds, Moorthy

Former Member
0 Kudos

Thanks for your reply.

The code for the XSLT-File is as follows:

<xsl:transform version="1.0"

xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

xmlns:sapxsl="http://www.sap.com/sapxsl"

xmlns:asx="http://www.sap.com/abapxml" version="1.0"

>

<xsl:strip-space elements="*"/>

<xsl:template match="Application">

<asx:abap>

<asx:values>

<PartnerSearch>

<xsl:for-each select="*">

<item>

<NAME><xsl:value-of select="name()"/></NAME>

<VALUE><xsl:value-of select="."/></VALUE>

</item>

</xsl:for-each>

</PartnerSearch>

</asx:values>

</asx:abap>

</xsl:template>

</xsl:transform>

I cant tell if the output-format is correct as there is no error, at least I dont know where I could search for. There is no obvious errormessage at the IC client.

The output looks like this:

<?xml version="1.0" encoding="utf-8"?>

DD42A914E95D02F1816A001E4F1CFA631b2591c:11abf6f5653:-

7ffffalsetrueEnded4Not in process1826021068262601+07131355771671

<asx:abap xmlns:asx="http://www.sap.com/abapxml">

<asx:values>

<PartnerSearch/>

</asx:values>

</asx:abap>

<asx:abap xmlns:asx="http://www.sap.com/abapxml">

<asx:values>

<PartnerSearch>

<item>

<NAME>CURRENTCONTACT</NAME>

<VALUE>GenesysContact</VALUE>

</item>

<item>

<NAME>CURRENTCUSTOMER</NAME>

<VALUE>GenesysCus</VALUE>

</item>

<item>

<NAME>CURRENTCOMPONENT</NAME>

<VALUE>GenesysComponent</VALUE>

</item>

<item>

<NAME>BPCONFIRMED</NAME>

<VALUE>G</VALUE>

</item>

</PartnerSearch>

</asx:values>

</asx:abap>

<asx:abap xmlns:asx="http://www.sap.com/abapxml">

<asx:values>

<PartnerSearch>

<item>

<NAME>TargetName</NAME>

<VALUE>826_group1</VALUE>

</item>

<item>

<NAME>TargetType</NAME>

<VALUE>2</VALUE>

</item>

</PartnerSearch>

</asx:values>

</asx:abap>

<asx:abap xmlns:asx="http://www.sap.com/abapxml">

<asx:values>

<PartnerSearch>

<item>

<NAME>RTargetPlaceSelected</NAME>

<VALUE>826PL_8263000</VALUE>

</item>

<item>

<NAME>ServiceType</NAME>

<VALUE>default</VALUE>

</item>

<item>

<NAME>RTenant</NAME>

<VALUE>Customers</VALUE>

</item>

<item>

<NAME>RTargetTypeSelected</NAME>

<VALUE>2</VALUE>

</item>

<item>

<NAME>RTargetObjectSelected</NAME>

<VALUE>826_group1</VALUE>

</item>

<item>

<NAME>RRequestedSkillCombination</NAME>

<VALUE></VALUE>

</item>

<item>

<NAME>RTargetRuleSelected</NAME>

<VALUE></VALUE>

</item>

<item>

<NAME>RTargetRequested</NAME>

<VALUE>826_group1</VALUE>

</item>

<item>

<NAME>RStrategyName</NAME>

<VALUE>826_RouteToAgent_SAP</VALUE>

</item>

<item>

<NAME>CustomerSegment</NAME>

<VALUE>default</VALUE>

</item>

<item>

<NAME>PegAG826_group1</NAME>

<VALUE>1</VALUE>

</item>

<item>

<NAME>RTargetAgentSelected</NAME>

<VALUE>AGENT03</VALUE>

</item>

<item>

<NAME>ServiceObjective</NAME>

<VALUE></VALUE>

</item>

<item>

<NAME>gplus-analytics-id</NAME>

<VALUE>1b2591c:11abf6f5653:-7fff</VALUE>

</item>

</PartnerSearch>

</asx:values>

</asx:abap>

I modified the input so that there is a field "<item><name>POST_CODE1</name><value>9100</value></item>" which should be correct for searching but nothing happens.

Does anybody know where I can see what SAP does with this information?

Thanks for your help!!!!

Regards,

Ben.

Former Member
0 Kudos

It will be helpfull to answer ,if u can able to attach XSLT and CODE too.

Thanks

Prabhakar