on 11-28-2005 12:45 PM
Hello,
I am trying to configure a bpm for this scenario.
I have a web application which will send a customeised PO xml to XI. This po will contain a single line item info.
XI will add this line items into a single po and that will be transfered to SAP using a RFC BAPI_PO_CREATE
http->XI->RFC
This is at the start asynchronus communication.
To add po line items , I am trying to configure bpm.
i have configured a bpm with
recive step
correlation
trnasformation
send
I have taken help of BPMPatternCollectPayload from
http://sap.com/xi/XI/System/Patterns
but i am facing folowing error,
<!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="BPE_ADAPTER">UNKNOWN_MESSAGE</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>No object type found for this message</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
I have checked , status of business process i.e 2
I am not getting which step is missing.
Pl can anyone suggest.
thanks,
Sharada
This error comes when the mapping is wrong or the bpm process signature is refreshed properly.you can re-import the bpm again in ID and activate and check and also check in the mapping editor wether it is successfull.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
"Check that your BPM has been cached. For that go to the transaction <b>sxi_proxy</b> and check for the Business Process section in the left hand side. If the cache has a <b>status of 99</b> (Return Code), then it means that the Business Process did not load. So, to load your business process, Go to SXI_CACHE, select your business process and press <b>""activate"".</b> Now another screen opens and the status of the <b>process is 2</b>. If you press ""<b>activate</b>"" again the status should <b>change to 0</b>. Then the Business Process loads and the integration process works.
"
Same situation for me also raised and by above steps it was solved..
Regards,
Sridhar reddy .k
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks for the inputs Shridhar.
I have gone ahead of this bpm status problem.
Now my po also gets generated in R/3, but line item is only one, evenif i have send 2 po xmls of legacy system, each po xml contains a single line item.
here my bpm is not appending second line item to previous po xml????
pl can you suggest on this.
thanks,
Sharada
hello ,
I hav added transformation step in my bpm which will
convert collected xml into final xml.
i am sending 2 po xmls to bpm, even bpm has 2 xml instances in pocollected conatiner element and now this pocollected contents needs to be merged into a final xml which will have 2 line items and then will be again converted into bapi_po_create with the help another mapping.
In this process , i am getting this error.
Unable to deliver event 'RECEIVED' of object 'ZXI_PROXY_PURCHASE_ORDER__0003'(15C1765CFF76DA44A94
Unable to deliver event 'RECEIVED' of object 'ZXI_PROXY_PURCHASE_ORDER__0003'(FC4E5422CAD6854BB16
Work item 000000007528: Object CL_SWF_XI_MSG_BROKER method CALL_TRANSFORMATION cannot be executed
com/sap/xi/tf/_PurchaseOrderMerge_new_com.sap.aii.utilxi.misc.api.BaseRuntimeExceptionRuntimeExce
Error handling for work item 000000007528
com/sap/xi/tf/_PurchaseOrderMerge_new_com.sap.aii.utilxi.misc.api.BaseRuntimeExceptionRuntimeExce
Please can you suggest on this.
thanks,
Sharada
I am sending this Po xml 2 times to xi
<?xml version="1.0" encoding="UTF-8"?>
<ns:Purchase_Order_Request_new_one xmlns:ns="http://rapidigm.com/test">
<header>
<key>2</key>
<DocDate>20051010</DocDate>
<DocType>NB</DocType>
<PurchOrg>RAPI</PurchOrg>
<PurchGroup>001</PurchGroup>
<Vendor>AMSINTERS</Vendor>
</header>
<item>
<materialno>RAPID-MAT</materialno>
<itemno>20</itemno>
<qty>10</qty>
<description>RAPID-MAT</description>
</item>
<ns:Purchase_Order_Request_new_one>
and the o/p of trnasformation should add this 2 xmls into one .....but this is not happening..
evenif i have defined mutiple occurrences in message mapping fro sourc message..
i am getting error in mapping..
Unable to deliver event 'RECEIVED' of object 'ZXI_PROXY_PURCHASE_ORDER__0003'(15C1765CFF76DA44A94
Unable to deliver event 'RECEIVED' of object 'ZXI_PROXY_PURCHASE_ORDER__0003'(FC4E5422CAD6854BB16
Work item 000000007528: Object CL_SWF_XI_MSG_BROKER method CALL_TRANSFORMATION cannot be executed
com/sap/xi/tf/_PurchaseOrderMerge_new_com.sap.aii.utilxi.misc.api.BaseRuntimeExceptionRuntimeExce
Error handling for work item 000000007528
com/sap/xi/tf/_PurchaseOrderMerge_new_com.sap.aii.utilxi.misc.api.BaseRuntimeExceptionRuntimeExce
Please can you suggest on this.
thanks,
Sharada
Hello,
When I tested mapping program with payload of inbound messagr taken from technical workflow log , it was giving me mapping error. So I just again created a input xml file from mapping program and transfered that as input xml to xi. but now i am facing error as follows,
Unable to deliver event 'RECEIVED' of object 'ZXI_PROXY_PURCHASE_ORDER__0001'(226801E68FCF114583B
Work item 000000009047: Object CL_SWF_XI_MSG_BROKER method CALL_TRANSFORMATION cannot be executed
com/sap/xi/tf/_PurchaseOrderMerge_new_1_com.sap.aii.utilxi.misc.api.BaseRuntimeExceptionRuntimeEx
Error handling for work item 000000009047
com/sap/xi/tf/_PurchaseOrderMerge_new_1_com.sap.aii.utilxi.misc.api.BaseRuntimeExceptionRuntimeEx
and my input xml is as given
<?xml version="1.0" encoding="UTF-8"?>
<ns1:Messages xmlns:ns1="http://sap.com/xi/XI/SplitAndMerge">
<ns1:Message1>
<ns:Purchase_Order_Request_new xmlns:ns="http://rapidigm.com/test">
<key>2</key>
<DocDate>2</DocDate>
<DocType>3</DocType>
<PurchOrg>4</PurchOrg>
<PurchGroup>5</PurchGroup>
<Vendor>6</Vendor>
<itemno>10</itemno>
<materialno>8</materialno>
<qty>9</qty>
<description />
</ns:Purchase_Order_Request_new>
</ns1:Message1>
</ns1:Messages>
please suggest on this.
thanks,
Sharada
Hello ,
actually at the start i was not using multimessage mapping, and then from help and bpm given by sap http://sap.com/xi/XI/System/Patterns/BpmPatternCollectPayload as my scnenario of adding single po line item is same as standarad scenario.I changed the mapping program as mutlimapping by changing the source message occurance as 0 to unbounded. but i forgot to change the input xml.
as you told me take source xml from payload from technical workflow weblog and execute in test mapping program. i did that..but that time i got this error
Cannot produce target element /ns1:Messages. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
then i checked source and target xml..there was no message element in my source xml.
one more thing i did that i simply executed test mode of mapping and filled up test data in that and executed that time mapping was successfull. that means i thought this source xml has to be input from web application.
so i changed input xml and transfered from web application and with this i am getting mapping error which i have just listed.
may be i have done some mistake ..pl rectify.
thanks in advance,
Sharada
Hi Sharada,
i assume a wrong receiver determintion:
Please compare the IB Directory receiver determination parameter (sender-service, -interface, -namespace) wiht shown entries in SXMB_MONI.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks for quick reply Udo.
See here i need to create 2 receiver determination
http to bpm
bpm to sap
whenever i send http request, it will invoke a bpm and final o/p of bpm will given to sap.
in first case http to bmp
sender is http service,
receiver is bpm
in the next step
sender is bpm
receiver is sap business system.
why is hte status of my bpm in sxi_cache is 2????.
does this would be problem????
thanks,
Sharada
Hello ,
Now my both steps are getting executed.
call from http to bpm is ok
call from bpm to sap r/3 is ok.
Purchase oreder also gets generated in r/3, it has only one line item...I am sending 2 time po xml, each xml a single line item of a po..at second http transfer bpm is not adding a line item to previous po xml....
here the append activity in bpm is not happening.
pl can you throw some light.
thanks,
Sharada
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.