Hello everyone,
THis is how my stuff looks now:
i have tried the above named solutions but i think, that as soon as i am checking the inbound parameter of the for-each it says something like that:
-<ResultSet xmlns="urn:com.sap.b1i.adapter:jdbcadapter" rowCount="1">
While in the path i have got a such inbound parameter:
the code just shows the sql call and the X Role of atom33 where i am using the personal tag
-<Payload Role="C" id="atom36" system="0010000117" mode="single" method="Automatic detection by key word(Automatic detection by key word)" plr="4" dbtype="SQL" blockExecution="false" compatibilityMode="true" delimiter=";" sql="SELECT T0.DocNum FROM ORCT T0 WHERE T0.Canceled ='N' AND T0.DocNum IN (SELECT T1.DocNum FROM ORCT T0 INNER JOIN RCT2 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OINV T2 ON T1.DocEntry = T2.DocNum WHERE T2.DocNum = '121')" disable-output-escaping="false">
-<ResultSet xmlns="urn:com.sap.b1i.adapter:jdbcadapter" rowCount="1">
</Payload>
<PayloadRole="C" id="atom48" status="ok" input="atom35" queue="Q.INB_IQ_INTQ_ASYN_QS.0010000000" stream="sap.DRFISQueue3" />
-<Payload Role="X" id="atom33">
<DocId xmlns="">163</DocId>
</Payload>
</Body>
This is my call object configuration
This message is the Key Value:
/vpf:Msg/vpf:Body/vpf:Payload[./@Role='X' and ./@id='atom33']/DocId
This is my atom33:
<xsl:for-each select="/vpf:Msg/vpf:Body/vpf:Payload[./@Role='C' and ./@id='atom36']/jdbc:ResultSet/jdbc:Row"><DocId xmlns=""><xsl:value-of select="jdbc:DocNum"/></DocId></xsl:for-each>
When checking the message of the join inbound it shows the following:
So it seems that at some point i am completely losing some inbound message (such as the atom33).
-<Msg xmlns="urn:com.sap.b1i.vplatform:entity">
-<Body>
-<Payload Role="X" id="atom56">
-<Payload Role="C" id="atom55" system="0010000117">
<B1CallResultstatus="failure" b1login="Technical User" method="Synchronous Cancel" objectid="24" payload="atom56" keyname="DocEntry" keyvalue="" />
</Payload>
</Body>
</Msg>
This is the atom56 config, which is just a tryout. Or do I use a wrong payload in my call object?
Help is greatly appreciated.
Regards Simon