Terminate messages without using BPM?
Hi,
Does anybody know if you can terminate messages with content based routing without ending up with messages in error state.
example
I receive IDOCs from R/3 where some should be handled and sent to a receiving system and some should not be handled at all and thus terminated. If you define a content based routing for just the ones which are supposed to be handled the rest of the messages end up in error state since no receiver is found. Ideally it would be possible to route messages to a "null" receiver without getting errors, anybody know of such a possibility? I know this can be achieved with a BPM but in this case that creates a lot of unnecessary workload for limited functionality...
Kind regards Johan Göthberg
Hi Johan,
you can try creating a dummy receiver - like ftp/file receiver and send those wrong message to this receiver?
this way wou'd have everything correct and all "wrong" message in one place (ftp or something)?
Regards,
michal
Similar Messages
-
Message Spiltting Without Using BPM in XI-7.0
We are using XI-7.0.
We need to spilt the message from 1 to many without using BPM based on following conditions.
We need to spilt the one message in many messages depending on the segment records of ZORDER3 and ZORDER2.
If IDOC message do not have segment ZORDER3 then message needs to be spilt based on the segment records of ZORDER2.
In the following example, one IDOC message would come from SAP system and that message needs to spilt into 7 messages for the vendor's system.
Any help will be appreciated.
<u>Source message: IDOC-ZORDER</u>
<i>Segment:ZORDER1(Max occ-1)
PO:4600000010
LineItem:00010
Plant:5000
Segment:ZORDER2(Max occ-999)
ServiceCode-100000
Segment:ZORDER3(Max occ-99)
CostCenter:CC123456789
CostDesc:CCTest1
CocstCenter:CC23456795
CostDesc:CCTest2
WBSElement:WBS45698712
CostDesc:WBSTest1
WOrderNo:WO56987412
CostDesc:WOTest1
ServiceCode-200000
Segment:ZORDER3(Max occ-99)
CocstCenter:CC78956795
CostDesc:CCTest7
WBSElement:WBS492871
CostDesc:WBSTest5
WOrderNo:WO98757412
CostDesc:WOTest6
<u>Target Message Structure</u>
POData(1:1)
Level1(1:1)
PO&LineItemNo:460000001000010
Plant:5000
ServiceCode-100000
Level2(1:1)
costobjectID:CC123456789
costobjectDesc:CCTest1</i>Thanks in advance!
MPMrudula,
If you give the target structure and occurrences of it , then it will be more helpful. Also please quote on wht basis the message needs to be splitted, coz the condition is not clear, Please give the condition too.
Best regards,
raj. -
Multi-mapping with message bundling but without using BPM
Hi all,
I have a requirement to bunch specific no. of records (say 50) from source message and create separate target messages for those bunches. For example, if the source message has 120 records, then there should be three separate target messages created containing 50, 50 and 20 records each.
I am wondering whether this multi-mapping is possible without using BPM, as the typical no. of records in the source message are in the range of 600 to 800, and rarely (twice or thrice a month) they shoot up to 2000. So my concern is whether BPM would affect the performance. We are using PI at SP12.
Regards,
- Shankar.Sorry for late reply.. Well the sender is a file system, which sends a single XML file containing multiple records. (I mean I have a sender file adapter that polls periodically from a specific path and picks up the file when it is available)
The no. of records in the source file may be different in each run. The requirement on the receiver system is that it can handle a file which has maximum of 'n' records only (say 50 in my example)
Now the sender file can contain any no. of records. It may contain 10 on some day, or 200 the next day, or 120 on the third day. But on the receiver side, I want the files to be created such that each will contain AT MAX 50 records.
So, if source file has <=50 records, then there will be only 1 target file having the same no. of records.
If source file has between 51 to 100 records, then there will be two target files. One will have 50 records, and the second will have remaining records.
And so on..
Regards,
- Shankar. -
Multi-Mapping in IDOC without using BPM ?
Hi ,
Please check ..
Can below given blog can be used to achive Multi-mapping in IDOC without using BPM ?
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
Regards
PSSolved .. Thx every one .
Approache Used :
1. Created mapping with Change signature on target Message type(idoc) with 1..N Occurence.
2. Operation mapping with change Occurence on Target Operation(1..Unbounded) .
3. Used same Operation mapping in Interface Determination with 0..unbounded(Multiplicity). -
Choosing Receiver Interface (IDoc or RFC) without using BPM
Hi,
We have a scenario wherein the receiver interface (either IDoc or RFC) must be dynamically determined at runtime based on the source message. I've tried using Multi-Mapping but this did not work since IDoc and RFC interfaces are not on the same Adapter Engine.
How do I configure this scenario without using BPM?
Thanks,
FrancisHi,
>That was my first solution but it did not work since it seems that conditions only work for determining the Operation Mapping to use for the same Receiver interfaces.
not true - not only Operation Mapping but also receiver agreement
so the receiver's channel
>I was misled into thinking that we could use it to dynamically determine the receiver interface.
but you can do it over there
intrface determination can be used for pseudo receiver determination too
so you can have one interface that either goes to one
channel or the other (within the same receiver)
Regards,
Michal Krawczyk -
Message split using BPM.
Hi SDNers,
My Scenario - Multiple IDocs to 3 output messages. Mesg1 1:1, Msg2 0:1, Msg3 0:1
We are using BPM to acheive this.
I am doing message split using BPM. But I have a problem when I am using BPM.
My requirement is to collect the Idocs for 1 minute, this I acheived by using deadline branch and collecting idocs using container. After that I used Transformation step to run interface mapping by which message is splitting into three messages. Upto this I acheived successfully, then after I got strucked to split the message.
I am using fork step and and giving three branches, in each branch I am giving receive step and collecting the transformed message. My problem is the message in the first branch is mandatory to come, where as the messages in the remaining two branches are not mandatory. That is my message can split into three messages or just one.
If I use fork step, without getting the message in all the three branches, the messages in the branches will not come out. Which is not satisfying my requirement.
I am thinking that before receive step in fork, can I use wait step for 1 minute or can anybody explain what is the functionality of necessary branches.
Thanks in Advance.
Regards,
Jayaram.GJayaram.G,
To send the messages in your fork, you need a send step instead of a receive step.
I think you also need to insert a switch in al of the fork's branches, so that the messages will ony be sent when the transformation produced the message. (use the expression [message] EX in the switch).
Kind regards,
Koen -
1:N mapping without using BPM
Hi All,
I am facing a problem in 1:N mapping without using BPM...
I would explain regarding it first...
Scenarion is from SAP > XI> 3files
I have 4 XSD's 1) one is Source Idoc XSD (all xsd's imported to External def.s)
2) target file 1 XSD
3) target file 2 XSD
4) target file 3 xsd
I have created 4 message interfaces one is Outbound and rest 3 are Inbound
and also i have done mapping : In mapping messages tab i have mentioned the 3 XSD(External definitions) and done the mapping as required...
But now my problem is how to proceed with Interface mapping ...
should i create 3 interface mappings ( ithink no) ... but in IM i am able to create for only one taget Interface .. how to with 3 XSD's ...
Any solution is always thankfull...
and Points are surely rewarded....
Thanks and Regards,
Sridhar ReddyHi Sridhar,
Receiver Determinatiion: one Receiver without Condition (Service that has all the Three inbound Interfaces).
Then in Interface Determination choose enhanced and choose ur Interface Mapping that has the Multi Mapping.
It will automatically provide the three inbound Interfaces and u can create ur receiver agreements.
Reference Blog:
<a href="/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible:///people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
Regards,
Sudharshan -
Send multiple records to rfc without using BPM
Dear Experts,
Could you please help on the following scenario.
I need to send multiple customer master data records from a file to rfc without using BPM.
The following is the mapping i am using
source Target( RFC)
====== =============
Tree occurance type Tree occurance
cust_mt 1..1
customer 0..unbound -
> ztest_cust( rfc ) 1..1
cname 1..1 -
> cname 0..1
cno 1..1 -
> cno 0..1
bank -
> bank 0..1
item : 0..unbound
code -
> code 0..1
name -
> name 0..1
location -
> location 0..1
1. Multiple banks possible for one customer
2. Multiple customers possible in datafile from mdm
Problem 1:Only one customer record from file is being sent to RFC thouth many records are in the file, the second, third .. and so on records not being sent to rfc.
Problem 2:
if add o.. unbound for the rfc occurance, <messages>,<message1> tags are getting added in message mapping, and no single customer record sent to rfc..
Your help is rewarded with good points.
Appreciate your help.
Thanks.
sravya.Hi VJ,
Thank you for the immediate reply.
one more thing, when i tried to change the occurences of ztest_cust( rfc) to 0..unbound,
I am not seeing the occurances updated in the imported rfc structure.
The following is the wsdl for rfc, could you please help me to add occurances 0..unbound.
Thanks a lot.
sraya.
<?xml version="1.0" encoding="ISO-8859-1"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:rfc="urn:sap-com:document:sap:rfc:functions" name="ZTEST_CUST" targetNamespace="urn:sap-com:document:sap:rfc:functions">
<wsdl:documentation>
test for mdm
</wsdl:documentation>
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:sap-com:document:sap:rfc:functions" targetNamespace="urn:sap-com:document:sap:rfc:functions">
<xsd:element name="ZTEST_CUST">
<xsd:complexType>
<xsd:all>
<xsd:element name="CNAME" minOccurs="0">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="10" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="CNO" minOccurs="0">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="10" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="BANK" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="item" type="ZST_CUST" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:all>
</xsd:complexType>
</xsd:element>
<xsd:element name="ZTEST_CUST.Response">
<xsd:complexType>
<xsd:all>
<xsd:element name="BANK" minOccurs="0">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="item" type="ZST_CUST" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:all>
</xsd:complexType>
</xsd:element>
<xsd:complexType name="ZST_CUST">
<xsd:sequence>
<xsd:element name="CODE" minOccurs="0">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="60" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="NAME" minOccurs="0">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="60" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="LOCATION" minOccurs="0">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="60" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</wsdl:types>
<wsdl:message name="ZTEST_CUST.Input">
<wsdl:part name="parameters" element="rfc:ZTEST_CUST" />
</wsdl:message>
<wsdl:message name="ZTEST_CUST.Output">
<wsdl:part name="parameters" element="rfc:ZTEST_CUST.Response" />
</wsdl:message>
<wsdl:portType name="ZTEST_CUST.PortType">
<wsdl:operation name="ZTEST_CUST">
<wsdl:input message="rfc:ZTEST_CUST.Input" />
<wsdl:output message="rfc:ZTEST_CUST.Output" />
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="ZTEST_CUST.SAPBinding" type="rfc:ZTEST_CUST.PortType">
<rfc:binding style="rfc" />
<rfc:type name="ZST_CUST">
<ifr:container xmlns:ifr="urn:sap-com:ifr:v2:metamodel" xmlns:xlink="http://www.w3.org/1999/xlink">
<ifr:descriptor>
<ifr:description language="EN">
test
</ifr:description>
</ifr:descriptor>
<ifr:properties>
<ifr:sourceSystem />
<ifr:sourceClient>
020
</ifr:sourceClient>
<ifr:release>
640
</ifr:release>
<ifr:category>
structure
</ifr:category>
<ifr:unicode1>
true
</ifr:unicode1>
<ifr:unicode2>
true
</ifr:unicode2>
<ifr:isFlatStructure>
true
</ifr:isFlatStructure>
</ifr:properties>
<ifr:definition>
<ifr:internalLength1>
180
</ifr:internalLength1>
<ifr:internalLength2>
360
</ifr:internalLength2>
<ifr:fields>
<ifr:field name="CODE" category="simple">
<ifr:descriptor />
<ifr:properties>
<ifr:helpValuesSupported>
false
</ifr:helpValuesSupported>
<ifr:offset1>
0
</ifr:offset1>
<ifr:offset2>
0
</ifr:offset2>
</ifr:properties>
<ifr:definition>
<ifr:scalarType>
<ifr:definition>
<ifr:type>
CHAR
</ifr:type>
<ifr:abapType>
C
</ifr:abapType>
<ifr:length>
60
</ifr:length>
<ifr:internalLength1>
60
</ifr:internalLength1>
<ifr:internalLength2>
120
</ifr:internalLength2>
<ifr:decimals>
0
</ifr:decimals>
</ifr:definition>
</ifr:scalarType>
</ifr:definition>
</ifr:field>
<ifr:field name="NAME" category="simple">
<ifr:descriptor />
<ifr:properties>
<ifr:helpValuesSupported>
false
</ifr:helpValuesSupported>
<ifr:offset1>
60
</ifr:offset1>
<ifr:offset2>
120
</ifr:offset2>
</ifr:properties>
<ifr:definition>
<ifr:scalarType>
<ifr:definition>
<ifr:type>
CHAR
</ifr:type>
<ifr:abapType>
C
</ifr:abapType>
<ifr:length>
60
</ifr:length>
<ifr:internalLength1>
60
</ifr:internalLength1>
<ifr:internalLength2>
120
</ifr:internalLength2>
<ifr:decimals>
0
</ifr:decimals>
</ifr:definition>
</ifr:scalarType>
</ifr:definition>
</ifr:field>
<ifr:field name="LOCATION" category="simple">
<ifr:descriptor />
<ifr:properties>
<ifr:helpValuesSupported>
false
</ifr:helpValuesSupported>
<ifr:offset1>
120
</ifr:offset1>
<ifr:offset2>
240
</ifr:offset2>
</ifr:properties>
<ifr:definition>
<ifr:scalarType>
<ifr:definition>
<ifr:type>
CHAR
</ifr:type>
<ifr:abapType>
C
</ifr:abapType>
<ifr:length>
60
</ifr:length>
<ifr:internalLength1>
60
</ifr:internalLength1>
<ifr:internalLength2>
120
</ifr:internalLength2>
<ifr:decimals>
0
</ifr:decimals>
</ifr:definition>
</ifr:scalarType>
</ifr:definition>
</ifr:field>
</ifr:fields>
</ifr:definition>
</ifr:container>
</rfc:type>
<wsdl:operation name="ZTEST_CUST">
<ifr:container xmlns:ifr="urn:sap-com:ifr:v2:metamodel" xmlns:xlink="http://www.w3.org/1999/xlink">
<ifr:descriptor>
<ifr:description language="EN">
test for mdm
</ifr:description>
</ifr:descriptor>
<ifr:properties>
<ifr:sourceSystem />
<ifr:sourceClient>
020
</ifr:sourceClient>
<ifr:release>
640
</ifr:release>
<ifr:package>
$TMP
</ifr:package>
<ifr:akhNode />
<ifr:released>
external
</ifr:released>
<ifr:outbound>
false
</ifr:outbound>
<ifr:synchronous>
true
</ifr:synchronous>
<ifr:asynchronous>
false
</ifr:asynchronous>
<ifr:unicode1>
true
</ifr:unicode1>
<ifr:unicode2>
true
</ifr:unicode2>
</ifr:properties>
<ifr:definition>
<ifr:parameters>
<ifr:parameter name="CNAME">
<ifr:descriptor>
<ifr:description language="EN">
Character Field Length = 10
</ifr:description>
</ifr:descriptor>
<ifr:definition>
<ifr:scalarType name="CHAR10">
<ifr:properties>
<ifr:helpValuesSupported>
false
</ifr:helpValuesSupported>
<ifr:fixedValuesListDefined>
false
</ifr:fixedValuesListDefined>
<ifr:mixedCaseSupported>
false
</ifr:mixedCaseSupported>
<ifr:signedNumber>
false
</ifr:signedNumber>
</ifr:properties>
<ifr:definition>
<ifr:type>
CHAR
</ifr:type>
<ifr:abapType>
C
</ifr:abapType>
<ifr:length>
10
</ifr:length>
<ifr:internalLength1>
10
</ifr:internalLength1>
<ifr:internalLength2>
20
</ifr:internalLength2>
<ifr:decimals>
0
</ifr:decimals>
<ifr:outputLength>
10
</ifr:outputLength>
</ifr:definition>
</ifr:scalarType>
</ifr:definition>
<ifr:properties>
<ifr:direction>
in
</ifr:direction>
<ifr:class>
import
</ifr:class>
<ifr:type>
scalar
</ifr:type>
<ifr:optional>
true
</ifr:optional>
<ifr:basedOnDictionaryReference>
true
</ifr:basedOnDictionaryReference>
</ifr:properties>
</ifr:parameter>
<ifr:parameter name="CNO">
<ifr:descriptor>
<ifr:description language="EN">
Character Field Length = 10
</ifr:description>
</ifr:descriptor>
<ifr:definition>
<ifr:scalarType name="CHAR10">
<ifr:properties>
<ifr:helpValuesSupported>
false
</ifr:helpValuesSupported>
<ifr:fixedValuesListDefined>
false
</ifr:fixedValuesListDefined>
<ifr:mixedCaseSupported>
false
</ifr:mixedCaseSupported>
<ifr:signedNumber>
false
</ifr:signedNumber>
</ifr:properties>
<ifr:definition>
<ifr:type>
CHAR
</ifr:type>
<ifr:abapType>
C
</ifr:abapType>
<ifr:length>
10
</ifr:length>
<ifr:internalLength1>
10
</ifr:internalLength1>
<ifr:internalLength2>
20
</ifr:internalLength2>
<ifr:decimals>
0
</ifr:decimals>
<ifr:outputLength>
10
</ifr:outputLength>
</ifr:definition>
</ifr:scalarType>
</ifr:definition>
<ifr:properties>
<ifr:direction>
in
</ifr:direction>
<ifr:class>
import
</ifr:class>
<ifr:type>
scalar
</ifr:type>
<ifr:optional>
true
</ifr:optional>
<ifr:basedOnDictionaryReference>
true
</ifr:basedOnDictionaryReference>
</ifr:properties>
</ifr:parameter>
<ifr:parameter name="BANK">
<ifr:descriptor>
<ifr:description language="EN">
test bank type
</ifr:description>
</ifr:descriptor>
<ifr:definition>
<ifr:complexType xmlns:xlink="http://www.w3.org/1999/xlink" name="ZST_CUST" type="structure" xlink:role="type" xlink:href="/Content?TYPE=type&NAME=ZST_CUST" />
</ifr:definition>
<ifr:properties>
<ifr:direction>
inout
</ifr:direction>
<ifr:class>
tables
</ifr:class>
<ifr:type>
structure
</ifr:type>
<ifr:optional>
true
</ifr:optional>
<ifr:basedOnDictionaryReference>
true
</ifr:basedOnDictionaryReference>
</ifr:properties>
</ifr:parameter>
</ifr:parameters>
</ifr:definition>
</ifr:container>
</wsdl:operation>
</wsdl:binding>
</wsdl:definitions> -
Problem with File RFC File scenario without using BPM
Hi all,
I am trying a File RFC File scenario without using BPM with the help of the following thread:
File - RFC - File without a BPM - Possible from SP 19.
The XI system is PI 7.0 sp 12. When I am trying to acheive the above scenario, I am getting wierd results i.e., when I observe in SXI_MONITOR, the message is showing as processed successfully, but when I watch the message status in communication channel monitoring, I am getting the following error:
"Attempt to process file failed with com.sap.aii.af.service.cpa.CPAException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=DEV120;TS=Test_Service;AN=MI_Invoice;ANS=urn:sap.com:test;"
I am not able to understand what the problem is. By the way, one more thing, is, I have kept the File processing mode as "Delete" in the sender file adapter. But the file is not getting deleted. I think the reason could be because of the above error.
Can any body help me out in getting my problem resolved?
Thanks,
Adithya KCPA Cache Refresh from the Adapter Engine To trigger a cache refresh from the individual Adapter Framework, open a browser window and enter the following
URL: http://<host>:<port>/CPACache/refresh?mode=<b>delta|full</b>
The Monitoring url is like this: http://<host>:<port>/CPACache
Thanks & Regards,
Farooq. -
Is there any way to configure or to trigger an alert without using BPM???
Thanks in advance,
Jeevan.Hi,
You can do that using creating ALERT Rules in your
RWB-->ALert Configuration
You will have to:
1. Create ALert categories.
2. In the 'ALert configuration' add Alert Rules ot the Alert category.
Whenever an error happens, the Alert will be triggered by the ALert Framework.
More details here:
http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/content.htm
Regards
Vijaya
Message was edited by: vijaya kumari -
Hello
I am trying to create a multimap without using BPM as we are on SP15. I did the respective configuration in Message and Interface mapping as mentioned in the weblog.
I am expecting multiple files to get generated in the target directory and i hope file adapter supports this.
For that I did extended interface determination where I selected the respective interface mapping.
When I am trying to execute this interface it throws error in SXMB_MONI saying "<b>No messages created from split mapping</b>".
One more doubt, with what names it will generate multiple files?
Thanks in advance.
Regards
RajeevHello
I tested my mappings in the Test tab of Interface Mapping where it runs absolutely fine.
Here is source and target messages
***************************Source**********************************
<b> <?xml version="1.0" encoding="UTF-8" ?>
- <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
- <ns0:Message1>
- <ns1:UpdateShipTest_MT xmlns:ns1="http://sjm.com/DynConf">
- <DELIVERY>
<DELIVERY_NUMBER>12</DELIVERY_NUMBER>
<TRACKING_NUMBER>3</TRACKING_NUMBER>
<SHIP_DATE>3</SHIP_DATE>
<USER_ID>33</USER_ID>
<SHIP_VIA>3</SHIP_VIA>
<ITMNO>3</ITMNO>
<MATNR>3</MATNR>
<QUANTITY>3</QUANTITY>
</DELIVERY>
- <DELIVERY>
<DELIVERY_NUMBER>121</DELIVERY_NUMBER>
<TRACKING_NUMBER>3</TRACKING_NUMBER>
<SHIP_DATE>3</SHIP_DATE>
<USER_ID>33</USER_ID>
<SHIP_VIA>3</SHIP_VIA>
<ITMNO>3</ITMNO>
<MATNR>3</MATNR>
<QUANTITY>3</QUANTITY>
</DELIVERY>
</ns1:UpdateShipTest_MT>
</ns0:Message1>
</ns0:Messages></b>
*************************End Source*****************************
This is the one message which is required to be split into two separate Delivery files
***************************************Target Message*******************************
<b> <?xml version="1.0" encoding="UTF-8" ?>
- <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
- <ns0:Message1>
- <ns1:UpdateShipTest_MT xmlns:ns1="http://sjm.com/DynConf">
- <DELIVERY>
<DELIVERY_NUMBER>4</DELIVERY_NUMBER>
<TRACKING_NUMBER>5</TRACKING_NUMBER>
<SHIP_DATE>5</SHIP_DATE>
<USER_ID>5</USER_ID>
<SHIP_VIA>5</SHIP_VIA>
<ITMNO>5</ITMNO>
<MATNR>5</MATNR>
<QUANTITY>5</QUANTITY>
</DELIVERY>
</ns1:UpdateShipTest_MT>
- <ns1:UpdateShipTest_MT xmlns:ns1="http://sjm.com/DynConf">
- <DELIVERY>
<DELIVERY_NUMBER>46</DELIVERY_NUMBER>
<TRACKING_NUMBER>5</TRACKING_NUMBER>
<SHIP_DATE>5</SHIP_DATE>
<USER_ID>5</USER_ID>
<SHIP_VIA>5</SHIP_VIA>
<ITMNO>5</ITMNO>
<MATNR>5</MATNR>
<QUANTITY>5</QUANTITY>
</DELIVERY>
</ns1:UpdateShipTest_MT>
</ns0:Message1>
</ns0:Messages></b>
*************************************End Target****************************************
According to interface map I guess the adapter should split the messages but at runtime it gives error.
Thanks and Regards
Rajeev -
Asynchronous, but need Ack without using BPM and IDocs.
Hi Experts,
I would like to do a scenario i.e., "Asynchronous communication, but need Acknowledgement without using BPM and also without using IDocs whether it is sender side or receiver side". Please help me.
Thanks in advance
Srihari.Without using BPM will be little longer process. But the alternative way is to add one more receiver in the receiver determination and send some file to that location with the actual mapping getting executed for the actual receiver. and in the second interface you can get the file created at second receiver back to the source location. But this will be little long as compared to synchronous scenarios.
Flow:
Source
Receiver 1--> Actual mapping as per requirement
Receiver 2(For Ack)--> Create a mapping with blank file sent to Receiver
Receiver 2-->File Adapter--> Source through 2nd mapping/interface and keep the File adapter pooling interval around 5 sec or less so that you can get the file back to source location.
Regards
Anand -
Multi-Mapping and Message Split using BPM
Hi All,
Could anyone pls let me know clearly how message mapping can be done for this weblog
/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
Thanks,
RamHi,
When you are doing Message mapping after adding the Messaget types for source and target messages. You can click on the "" button in the target message and add one more tab. You can go to Message tab as shown in the 5th image and click "" button to add one more message type. Then do the mapping as usual.
<b>Based on the value of the element(name), the node of input(details)should be directed to one of the two message types</b>
Here in this blog it is done based on the Name.
You need to use IFTHENELSE boolean function and do the mapping.
Thanks,
Prakash -
Dynamic text in PI Alerts without using BPM
Hello everyone,
Is it possible to have dynamic text in alert mail subject or mail details without using BPM in PI?
If I want to configure generic single alert category for all interfaces in my project , and in the subject line of Alert mail, I need to have the Interface ID (unique identifier for that interface) or integration directory scenario name for which this alert has been raised, then is it possible to use some custom alert container for this purpose? Or is there any other way to have these dynamic texts ?
We are using PI7.1 in project landscape.
Thanks in advance,
MinalHi,
>>I need to have the Interface ID (unique identifier for that interface) or integration directory scenario name for which this alert has been raised
those two are not available in the container:
http://help.sap.com/saphelp_nwpi71/helpdata/en/d0/d4b54020c6792ae10000000a155106/content.htm
Regards,
Michal Krawczyk -
Multi-Mapping and Message Split using BPM UDFs Error
hi
As per the below blog
Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure
I have just modified the UDFs(1.selectnodeifA 2.selectNodeifB)
1.selectnodeifA
for(int i=0;i<=n;i++)
if(Name<i>.equals("A"))
result.addValue(Node<i>);
2.selectNodeifB
for(int i=0;i<=n;i++)
if(Name<i>.equals("B"))
result.addValue(Node<i>);
while checking I am getting the following errors
Source code has syntax error:
D:/usr/sap/D10/DVEBMGS01/j2ee/cluster/server0/./temp/classpath_resolver/Mapdc8fa4d0896011dd907d001cc01cef0d/source/com/sap/xi/tf/_bpm_mm_.java:132: cannot resolve symbol
symbol : variable n
location: class com.sap.xi.tf._bpm_mm_
for(int i=0;i<=n;i++)
^
D:/usr/sap/D10/DVEBMGS01/j2ee/cluster/server0/./temp/classpath_resolver/Mapdc8fa4d0896011dd907d001cc01cef0d/source/com/sap/xi/tf/_bpm_mm_.java:140: cannot resolve symbol symbol : variable n
location: class com.sap.xi.tf._bpm_mm_
for(int i=0;i<=n;i++)
^
2 errors
The source code given in the blog is correct ? I thought for loop has not completed
pls help
manianHi manian,
I was having a look to Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure blog.
The functions are not the same. I mean, yours and blogs functions.
Each function has two parameters, Name and node. Furtheremore, in the blogs' functions is using arrays and you don't.
So, the right code will be
1.selectnodeifA
for(int i=0;i<=node.length();i++)
if(Name<i>.equals("A"))
result.addValue(Node<i>);
However, if you don't need an advance user defined function as you want to process just one element of the node's queue, you will not need to use for sentence.
Something like:
1.selectnodeifA
// for(int i=0;i<=n;i++)
if(Name.equals("A"))
result.addValue(Node);
Hope it is usefull for you.
Carlos
Maybe you are looking for
-
I've been looking around for the answer to this, but to no avail. I cannot use the Export function in iPhoto. I can drag photos out of iPhoto onto my desktop / finder etc. but when I use the drop down menu of export, absolutely nothing happens. It do
-
CS4 Bridge and Photoshop crash when closing
I am experiencing regular crashes with both Bridge and PS when I attempt to close them. Everything works until that time. I am using an iMac running 10.5.6. This is more nuisance than worry. Any suggestions? Cheers, Jeff
-
Can't Load Schema from Dynamic Feed
Local: OS - Windows XP Dreamweaver CS3 + Developer Toolbox Remote: Server - Apache 1.3.3 (Unix) PHP - 4.4.7 MySQL - 4.1.22 (Standard) My Dreamweaver Remote Server Connection Settings: URL - http://www.mydomainname.tld Server - PHP MySQL FTP - ftp.myd
-
Security Requirements Template for BOE XI3.1
I'm looking for the "Security Requirements Template" document, a template that can be used to setup a content plan in BOE XI3.1. It is an Excel document, that shows by application the possible rights.
-
Hi I have a table which has 200+ records displaying 20 records perpage. I am setting the values to that table from my backing bean. The problem is that, When ever the range is changed, the next 20 records are displayed but the request doesnot seem to