Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9269

Re: Using a for-each for a CallObject

$
0
0

Hello everyone,

 

THis is how my stuff looks now:

 

Flow.jpg

 

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">

 

 

-<Row>

 

 

<DocNum>163</DocNum>

 

</Row>

</ResultSet>

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">

 

 

-<Row>

 

 

<DocNum>163</DocNum>

 

</Row>

</ResultSet>

</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

 

Call Object.jpg

 

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=&apos;C&apos; and ./@id=&apos;atom36&apos;]/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">

 

 

<DocId2xmlns="" />

 

</Payload>

 

-<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


Viewing all articles
Browse latest Browse all 9269

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>