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

Re: Service Call

$
0
0

Hello Bastian,

 

i will create a Szenario for Inventory Counting. The Inbound is a Webservice-Call, My Outbound is acually void.

I have create the Schema as your example:

 

<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:b1e="urn:com.sap.b1i.sim:b1event" xmlns:b1ie="urn:com.sap.b1i.sim:b1ievent" xmlns:bfa="urn:com.sap.b1i.bizprocessor:bizatoms" xmlns:jdbc="urn:com.sap.b1i.adapter:jdbcadapter" xmlns:rfc="urn:sap-com:document:sap:rfc:functions" xmlns:sim="urn:com.sap.b1i.sim:entity" xmlns:vpf="urn:com.sap.b1i.vplatform:entity" xmlns:xci="urn:com.sap.b1i.xcellerator:intdoc" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" bfa:force="" vpf:force="" jdbc:force="" rfc:force="" b1ie:force="" b1e:force="" xci:force="" sim:force="">    <xsl:output method="xml" encoding="UTF-8" indent="yes"></xsl:output>    <xsl:param name="atom"></xsl:param>    <xsl:param name="sessionid"></xsl:param>    <xsl:variable name="msg" select="/vpf:Msg/vpf:Body/vpf:Payload[./@Role=&apos;S&apos;]"></xsl:variable>    <xsl:variable name="vpSender" select="/vpf:Msg/vpf:Header/vpf:Sender/@Id"></xsl:variable>    <xsl:variable name="vpObject" select="/vpf:Msg/vpf:Header/vpf:Sender/@ObjId"></xsl:variable>    <xsl:variable name="vpReceiver" select="/vpf:Msg/vpf:Header/vpf:ReceiverList/vpf:Receiver[./@handover=&apos;P&apos;]/@Id"></xsl:variable>    <xsl:variable name="vpInboundMSG" select="/vpf:Msg/vpf:Header/vpf:Variables/vpf:var[./@id=&apos;InboundMSG&apos;]/@value"></xsl:variable>    <xsl:template match="/">        <Msg xmlns="urn:com.sap.b1i.vplatform:entity">            <xsl:copy-of select="/vpf:Msg/@*"></xsl:copy-of>            <xsl:copy-of select="/vpf:Msg/vpf:Header"></xsl:copy-of>            <Body>                <xsl:copy-of select="/vpf:Msg/vpf:Body/*"></xsl:copy-of>                <Payload Role="X" id="{$atom}">                    <xsl:call-template name="B1if.schema.InventoryCountingParams"></xsl:call-template>                </Payload>            </Body>        </Msg>    </xsl:template>    <xsl:template name="B1if.schema.InventoryCountingParams">        <InventoryCountingParams >            <!--DB Table Name: OINC -->            <DocumentEntry>1</DocumentEntry>            <DocumentNumber>1</DocumentNumber>        </InventoryCountingParams>    </xsl:template></xsl:stylesheet>

 

 

Unbenannt.JPG

 

 

Unbenannt.JPG

When i test it, i get only this error message.

 

I know i can get the List about a SQL-Call, but i will unterstand this possibility.

Because the next scenario is to update the InventoryCounting.


Viewing all articles
Browse latest Browse all 8594

Trending Articles



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