Method getResult ()
Method getResult() forces the execution of the flagged mapping requests with execute() and returns the messages provided by the called RFC function module UKM_GET_KEY_MAPPINGS.
Note that the context must be restored after calling this method in the xslt program. (<xsl:for-each select="$result"/>)
If there are multiple mappings targetID for a sourceID for a system, one object is always marked as client default.
If you only need the client default target object, you can indicate this when you create the CTT:Identifier.
<xsl:variable name="targetID" select="Identifier:new('CustomerID', 'EU3_003')"/> <xsl:variable name="void" select="Identifier:setClientDefault($targetID,'X')"/>
Parameters of the Method
| Type | Name | Description |
|---|---|---|
|
Return, Node |
|
xml fragment with the returned messages |
<MappingResult> <Mapping mainContextID="BUS1006"> <SourceID schemeID="PartnerGUID" clientDefault="" schemeVersionID="" schemeAgencyID="QM3_300" schemeAgencySchemeID="" schemeAgencySchemeAgencyID="ZZZ">B123</SourceID> <TargetID schemeID="CustomerID" clientDefault="X" schemeVersionID="" schemeAgencyID="EU3_003" schemeAgencySchemeID="" schemeAgencySchemeAgencyID="ZZZ">B456</TargetID> </Mapping> </MappingResult>