cancel
Showing results for 
Search instead for 
Did you mean: 

http->XI->RFC BPM Error

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

STALANKI
Active Contributor
0 Kudos

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.

Answers (2)

Answers (2)

sridharreddy_kondam
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

sridharreddy_kondam
Active Contributor
0 Kudos

HI,

Use Transformation step in the integration repository..

This will solve u r problem... Just go through it..

Go through this in SAP library..

<b>\helpdata\EN\3c\831620a4f1044dba38b370f77835cc\frameset.htm</b>

Regards,

sridhar reddy

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hello ,

Now my mapping problem is resolved.

and when i transfer 2 po xmls , those are collected at runtime,but at the time of transformation step, only first line item is given in final po xml.

Pl can you suggest on this.

thnaks,

Sharada

Former Member
0 Kudos

Hello ,

after transformation , there is only one line item in final po xml. at the same time there is no error thrown by bpm.

so pl can you suggest , if any step is missing.

thanks,

Sharada

Former Member
0 Kudos

can anyone of you throw light on this

thanks,

Sharada

Former Member
0 Kudos

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

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>When I tested mapping program with payload of inbound messagr taken from technical workflow log , it was giving me mapping error.

but have you changed the mapping program?

so there was no error? before you copied the payload from the test tab ?

Regards,

michal

Former Member
0 Kudos

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

udo_martens
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

udo_martens
Active Contributor
0 Kudos

Ohooo!

No, it should be 0. Regenerate and look 4 errors. So your error message is understandable. Cause there is no process which can receive the message.

Regards,

Udo

Former Member
0 Kudos

i am very much beginner in bpm of xi area....

after regenerating actually i couldnt get any reasons for this error..or may be i dont know where to see the log..

pl can you suggest that....

thanks,

Sharada

Former Member
0 Kudos

even , i checked the syntax of my bpm in IR , and that says there is no error..still i get the status of bpm as 2 in sxi_cache....but not getting clear picture why this status is 2.

Pl suggest....

thanks,

Sharada

Former Member
0 Kudos

pl throw some light on this problem.....

udo_martens
Active Contributor
0 Kudos

Hi Sharada,

look at the xml log file at the bottom of the page.

U can reactivate the process by marking the line and press the corresponding button.

Regards,

Udo

Former Member
0 Kudos

Hi Sharada,

did you check this thread ?

Regards

Anand

Former Member
0 Kudos

Hello Anand and Udo,

thanks for the help provided.

Now my bpm status is '0'.

when i transfer po xml over http to bpm, it gets processed.

But bpm is not started and hence the o/p xml bpm is not getting transfered to sap.

Pl can you suggest on this.

thanks,

Sharada

Former Member
0 Kudos

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