cancel
Showing results for 
Search instead for 
Did you mean: 

file-to-file scenario: unable to trace cause of error

Former Member
0 Kudos

hi

i m new to Xi..

i have made a file -> XI -> file scenario, with a BPM having one receive and two send steps, sending message to two receiver-business-service.

the sender of the file is a sender-business-service, file adapter is using FTP.

the file is being picked up, but it is not put to the two destinations.

in SXMB_moni...i cant trace the error...

but in the respnse xml i cant see the payload...

pls tell me how to see where the error is.

pls help me....coz any scenario i make the main problem i face is to trace the error(file not being put to the destination directories),

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Answers (3)

Answers (3)

Former Member
0 Kudos

closing this thread...issue still open

Former Member
0 Kudos

hi sudeep,

you say there are two sender , u need to check whether u have configured receiver agreement,interface determination in ID in correct way.

Former Member
0 Kudos

sudeep,

check your BPM is working fine or not to do this use SXMB_MONI_BPE.

Former Member
0 Kudos

thanks...

pls be online i ll try this and see .....

Former Member
0 Kudos

see in sxmb_moni i can see one error free entry from sender-business-service to the BPM and two entries for the two receiver-business-services.....

when i click the two entries for the bpm-to-receiver.... in the response XML i cant see the patload...

all the outgoing channesl according to rwb are ok

Former Member
0 Kudos

then check in ur BPM whether is working fine or not . what are steps in ur BPM you need to two send to send two different systems.

Former Member
0 Kudos

there is one receive and two send steps....

i had to make the system like this coz i need to expand it into a complex one....

so going step by step...

currently the bpm is very simple with one receive and two send....

how can i make out from the sxmb_moni that some error is there or not

Former Member
0 Kudos

Hi Sir,

Plz see above link how to monitor the BPM.from there you can monitor the payload and also , check the error in which step , also

please check the container elements are properly configured or not..

Regards

Chilla..

Former Member
0 Kudos

Hi Sudeep,

<i>in sxmb_moni i can see one error free entry from sender-business-service to the BPM</i> - so your BPM is getting invoked correctly.....

<i>two entries for the two receiver-business-services</i> - see the flag of these entry....if it a red flag, then just double click any entry.. see what error is there......then you will know what error is occurring in your BPM process......

Thanks,

Rajeev Gupta

Former Member
0 Kudos

hi rajeev..... actually there is no red flag....... and that is the problem....but in the response XML i cant see the payload......

Former Member
0 Kudos

then check your reciver adapters in RWB adapter montoring they our reciver file adapter should get error.

Former Member
0 Kudos

Hi,

IN SXMB_MONI_BPE , through PE you can see the process ID and check the green flow , and also double click on each step..if any error occur ,then it willbe red.else good.

--see the RWB for sender CC

-- see SXMB_MONI_BPE for PE

-- See the RWB for receiver CC

--now check.. your result..

can you plz explain your IP..and error

Regards

Chilla..

Former Member
0 Kudos

hi sreeram,

i saw the outgoing channels in the rwb./.........its fine there......

see when i click an entry in the sxmb_moni there are three xmls, inbound message, receiver grouping and response..... what does it mean

Former Member
0 Kudos

then check whther files are created or not.

if you see success flag in SXMB_MONI. otherwise their an error you se ewhat is the error

Former Member
0 Kudos

Hi Sudeep,

in sxmb_moni, for your BPM msg see the queue status column in end.....see if it has a yellow status.....if it has a yellow triangle, then the qureues are stopped...go to queue.....select the entry .....click execute.....then your output will be generated......go to SXMB_ADM.......register and activate queues...again test your scenario........then you will get outbound files by execution of your BPM......

Thanks,

Rajeev Gupta

Former Member
0 Kudos

hi rajeev..

thanks a lot..

when i saw the entries in the sxmb_moni, none of them had a yellow trainale in the queue colulmn....

as per the queue id in the sxmb_moni entry the queues were xbto60 0000 and xbto50 0001,

when i went to sxmb_adm, and try to activate the all the queues..it said "ERROR ACTIVATING XBTO* queue(Message no. XMS_ADM610) "

what does that mean?????

Former Member
0 Kudos

HI,

use SMQ1 and SMQ2 transactions to do above.and also use SMQR to register the queue.

see below link to get an idea about it.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20bb9649-e86e-2910-7aa9-88ed4972...

Regards

Chilla

<i>reward points if it is helpful..</i>

Former Member
0 Kudos

hi sreeram and rajeev,

this is the trace from the response xml from the sxmb_moni enrty for the message send from the BPM to the final receiver-business-service through the send step(asynchronously).

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Response

-->

- <SAP:Trace xmlns:SAP="http://sap.com/xi/XI/Message/30">

<Trace level="1" type="T">COMMIT is expected by application !</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-ENTER_XMS" />

- <!-- ************************************

-->

<Trace level="1" type="B" name="CL_XMS_MAIN-SET_START_PIPELINE" />

- <!-- ************************************

-->

<Trace level="1" type="B" name="SXMBCONF-SXMB_GET_XMB_USE" />

<Trace level="1" type="B" name="CL_XMS_TROUBLESHOOT-ENTER_PLSRV" />

<Trace level="1" type="T">****************************************************</Trace>

<Trace level="1" type="T">* *</Trace>

<Trace level="1" type="T">* *</Trace>

<Trace level="1" type="T">XMB entry processing</Trace>

<Trace level="1" type="T">system-ID = XIT</Trace>

<Trace level="1" type="T">client = 001</Trace>

<Trace level="1" type="T">language = E</Trace>

<Trace level="1" type="T">user = WF-BATCH</Trace>

<Trace level="1" type="Timestamp">2007-03-13T16:14:45Z CET</Trace>

<Trace level="1" type="T">* *</Trace>

<Trace level="1" type="T">* *</Trace>

<Trace level="1" type="T">****************************************************</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_UC_EXECUTE" />

- <!-- ************************************

-->

<Trace level="1" type="T">Message-GUID = 5922E409A745CA4BAE129D025CA22AE6</Trace>

<Trace level="1" type="T">PLNAME = CENTRAL</Trace>

<Trace level="1" type="T">QOS = EO</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PIPELINE_ASYNC" />

- <!-- ************************************

-->

<Trace level="1" type="T">Get definition of external pipeline = CENTRAL</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-LOOKUP_INTERNAL_PL_ID" />

<Trace level="1" type="T">Get definition of internal pipeline = SAP_CENTRAL</Trace>

<Trace level="1" type="T">Queue name : XBTI0003</Trace>

<Trace level="1" type="T">Generated prefixed queue name = XBTI0003</Trace>

<Trace level="1" type="T">Schedule message in qRFC environment</Trace>

<Trace level="1" type="T">Setup qRFC Scheduler OK!</Trace>

<Trace level="1" type="T">----


</Trace>

<Trace level="1" type="T">Going to persist message</Trace>

<Trace level="1" type="T">NOTE: The following trace entries are always lacking</Trace>

<Trace level="1" type="T">- Exit WRITE_MESSAGE_TO_PERSIST</Trace>

<Trace level="1" type="T">- Exit CALL_PIPELINE_ASYNC</Trace>

<Trace level="1" type="T">Async barrier reached. Bye-bye !</Trace>

<Trace level="1" type="T">----


</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />

- <!-- ************************************

-->

<Trace level="1" type="B" name="CL_XMS_MAIN-PERSIST_READ_MESSAGE" />

<Trace level="1" type="T">Note: the following trace entry is written delayed (after read from persist)</Trace>

<Trace level="1" type="B" name="SXMS_ASYNC_EXEC" />

- <!-- ************************************

-->

<Trace level="1" type="T">----


</Trace>

<Trace level="1" type="T">Starting async processing with pipeline CENTRAL</Trace>

<Trace level="1" type="T">system-ID = XIT</Trace>

<Trace level="1" type="T">client = 001</Trace>

<Trace level="1" type="T">language = E</Trace>

<Trace level="1" type="T">user = WF-BATCH</Trace>

<Trace level="1" type="Timestamp">2007-03-13T16:14:45Z CET</Trace>

<Trace level="1" type="T">----


</Trace>

- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PIPELINE_SYNC">

<Trace level="1" type="T">Get definition of external pipeline CENTRAL</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-LOOKUP_INTERNAL_PL_ID" />

<Trace level="1" type="T">Corresponding internal pipeline SAP_CENTRAL</Trace>

- <Trace level="1" type="B" name="PLSRV_RECEIVER_DETERMINATION">

- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">

- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">

- <Trace level="1" type="B" name="CL_RD_PLSRV-ENTER_PLSRV">

<Trace level="1" type="T">R E C E I V E R - D E T E R M I N A T I O N</Trace>

<Trace level="1" type="T">Cache Content is up to date</Trace>

</Trace>

</Trace>

</Trace>

</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />

- <Trace level="1" type="B" name="PLSRV_INTERFACE_DETERMINATION">

- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">

- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">

- <Trace level="1" type="B" name="CL_ID_PLSRV-ENTER_PLSRV">

<Trace level="1" type="T">I N T E R F A C E - D E T E R M I N A T I O N</Trace>

<Trace level="1" type="T">Cache Content is up to date</Trace>

</Trace>

</Trace>

</Trace>

</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />

<Trace level="1" type="B" name="PLSRV_RECEIVER_MESSAGE_SPLIT" />

- <!-- ************************************

-->

- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">

- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">

<Trace level="1" type="B" name="CL_XMS_PLSRV_RECEIVER_SPLIT-ENTER_PLSRV" />

- <!-- ************************************

-->

<Trace level="1" type="T">number of receivers: 1</Trace>

<Trace level="1" type="T">Single-receiver split case</Trace>

<Trace level="1" type="T">Post-split internal queue name = XBTO60__0002</Trace>

<Trace level="1" type="T">----


</Trace>

<Trace level="1" type="T">Persisting single message for post-split handling</Trace>

<Trace level="1" type="T" />

<Trace level="1" type="T">Going to persist message + call qRFC now...</Trace>

<Trace level="1" type="T">NOTE: The following trace entries are always lacking</Trace>

<Trace level="1" type="T">- Exit WRITE_MESSAGE_TO_PERSIST</Trace>

<Trace level="1" type="T">Async barrier reached. Bye-bye !</Trace>

<Trace level="1" type="T">----


</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />

- <!-- ************************************

-->

<Trace level="1" type="B" name="CL_XMS_MAIN-PERSIST_READ_MESSAGE" />

<Trace level="1" type="T">Note: the following trace entry is written delayed (after read from persist)</Trace>

<Trace level="1" type="B" name="SXMS_ASYNC_EXEC" />

- <!-- ************************************

-->

<Trace level="1" type="T">----


</Trace>

<Trace level="1" type="T">Starting async processing with pipeline CENTRAL</Trace>

<Trace level="1" type="T">system-ID = XIT</Trace>

<Trace level="1" type="T">client = 001</Trace>

<Trace level="1" type="T">language = E</Trace>

<Trace level="1" type="T">user = WF-BATCH</Trace>

<Trace level="1" type="Timestamp">2007-03-13T16:14:48Z CET</Trace>

<Trace level="1" type="T">----


</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PIPELINE_SYNC" />

- <!-- ************************************

-->

<Trace level="1" type="T">Get definition of external pipeline CENTRAL</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-LOOKUP_INTERNAL_PL_ID" />

<Trace level="1" type="T">Corresponding internal pipeline SAP_CENTRAL</Trace>

<Trace level="1" type="T">Start with pipeline element PLEL= 5EC3C53B4BB7B62DE10000000A1148F5</Trace>

- <Trace level="1" type="B" name="PLSRV_MAPPING_REQUEST">

- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">

- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">

- <Trace level="1" type="B" name="CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV">

<Trace level="1" type="T">No mapping required</Trace>

</Trace>

</Trace>

</Trace>

</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />

- <Trace level="1" type="B" name="PLSRV_OUTBOUND_BINDING">

- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">

- <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">

<Trace level="1" type="B" name="CL_XMS_PLSRV_OUTBINDING-ENTER_PLSRV" />

</Trace>

</Trace>

</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />

- <Trace level="1" type="B" name="PLSRV_CALL_ADAPTER">

<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV" />

- <!-- ************************************

-->

<Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL" />

- <!-- ************************************

-->

- <Trace level="1" type="B" name="CL_XMS_PLSRV_IE_ADAPTER-ENTER_PLSRV">

<Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_XMB-CALL_XMS_HTTP" />

</Trace>

</Trace>

</Trace>

</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />

</Trace>

<Trace level="1" type="T">----


</Trace>

<Trace level="1" type="T">Async processing completed OK.</Trace>

<Trace level="1" type="T">system-ID = XIT</Trace>

<Trace level="1" type="T">client = 001</Trace>

<Trace level="1" type="T">language = E</Trace>

<Trace level="1" type="T">user = WF-BATCH</Trace>

<Trace level="1" type="Timestamp">2007-03-13T16:14:48Z CET</Trace>

<Trace level="1" type="T">----


</Trace>

<Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />

- <!-- ************************************

-->

</SAP:Trace>

Former Member
0 Kudos

hi

see as per the SXMB_moni enrty ... i can see my queue as xbto50__0002 .. but whrn i try to sctivate it ..it says no LUW value found??????????????

Former Member
0 Kudos

HI,

first register the queue and later test it agin.. see the procedure in above link.

Regards

Chilla..

<i>Point rewarded if it is helpful..</i>

Former Member
0 Kudos

when i see the sxmb_moni entry i can see a queue for each entry..

those are...the following are the outbound queues i suppose

XBTO50__0002

XBTO60__0002

when i go to sxmr transaction and try to activate them it says "cant find LUW in the queue"

Former Member
0 Kudos

hi sreeram..............

can u make out something from the above xml trace.......... pls help me out

Former Member
0 Kudos

sudeep,

trace looks good did you find and entries in SMQ1 and SMQ2.

prabhu_s2
Active Contributor
0 Kudos

sudeep

1. check with ur CC monitoring.

2. do u see an error status in moni other than looking into the payload>

Former Member
0 Kudos

can u pls explain me precisely... where to look for the queue name/id and what to exactly in the SMQ1/SMQ2 and how to activate the queues....

moreover how may i know there is some problem in the queue

prabhu_s2
Active Contributor
0 Kudos

to get the exact error of knowing y the file is not posted to the dest first check with communication channel monitoring. if this doenst gives u much info then u might tell us the error u get in moni instead of the payload.

Former Member
0 Kudos

goto SMQ1/Smq2 if their any entries their then you some problem . 1.either your queues are not activated or you will have error decriptionin their so go to rifght you will see something in red.

Former Member
0 Kudos

can u pls explain me precisely... where to look for the queue name/id and what to exactly in the SMQ1/SMQ2 and how to activate the queues....

moreover how may i know there is some problem in the queue

when i see the sxmb_moni entry i can see a queue for each entry..

those are...the following are the outbound queues i suppose

XBTO50__0002

XBTO60__0002

when i go to sxmr transaction and try to activate them it says "cant find LUW in the queue"

prabhu_s2
Active Contributor
0 Kudos

<b>cant find LUW in the queue</b>

double click on those Q and see if can see any LUW. this message is thrown when no LUW is found in Q which means the message is parded from the q.

Former Member
0 Kudos

are u seeing sucessfull falg in SXMB_MONI for our message if it is sucessfull then you need to check in adapter montoring. if sucess then everthing is correct in IR and ID otherwise we have an error.

Regards

sreeram.g.reddy

Former Member
0 Kudos

Hi

select the queues with check box and click on LUW

see below link to get an idea about it.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20bb9649-e86e-2910-7aa9-88ed4972...

Regards

Chilla

Former Member
0 Kudos

hi chandra

"select the queues with check box and click on LUW"... didnt get it actually...

and the only place where i could smeel an error is in my response paylod....

thes are the few lines...hrlp out

<Trace level="2" type="T">Channel found: - BR_simplefileReceiver - CC_simplefileReceiver</Trace>

<Trace level="2" type="T">no header mapping defined</Trace>

does that "no header mapping" defined anything

Former Member
0 Kudos

is your scenario file to file is synchoruse?

Former Member
0 Kudos

no sreeram............its synchronous...

and i tell u one thing.....now i tried with another very simple acenario..with no BPM..nothing..just one sender-business-service and one receiver-business-service...then also the same problem...the file is not getting put to the receiver directory..that means there is some problem..not with particular scenario but something else......i thing the queue problem...which i dont undertand

. everybody is saying to activate the queue... but i m unable to do that............ i dont know exactly where to see the name of the queue and how to activate it

Former Member
0 Kudos

sudeep,

no sreeram............its synchronous... file to file cant be sysnchouse.

Former Member
0 Kudos

I M SORRY ... IT WAS TYPING ERROR..its asynchronous

Former Member
0 Kudos

Now u have one sender & one reciver both are file adpters right. are u using Contect conversion if adapters? so it source file getting picked up. IN sxmb_moni is it sucessfull i.e balck clolur falg or any other colour?

Former Member
0 Kudos

its black flag in the sxmb_moni... everythings perfectly configured too

Former Member
0 Kudos

HI

Check in the following order

--Check the file is picked or not , if picked ok , not then check the sender CC configurations this can be checked through RWB also

--After that the will be processed and the modules will be executed in AE, if you got the error here then check the Content conversion is used or not.. check Adapter frame work

-- After that message will be placed on queue later send it to IS

-- mapping will be executed here you can check the errors or status in SXMB_MONI

-- If you used the BPM then see the errors in SXMB_MONI_BPE.

-- File will be send tiAE to place to target path

here check the same as above FCC used or not ..errors can be checked through AF

-- Now check the RWB for receiver CC errors

Regards

Chilla..

Former Member
0 Kudos

"Content conversion"????// whats that.....

Former Member
0 Kudos

then goto adapter engine select file adpter and select your reciver file adapter then check it should have sucess or error message init.

Former Member
0 Kudos

is input file is XML and output file is also XML then no need to use content conversion.

Former Member
0 Kudos

ok......sreeram...

since this problem is occuring for many scenarios..... i suppose...

it can be some generalized problem.............

Former Member
0 Kudos

Hi,

Content Conversion is the process transfer the file from text or csv to XML or XML to text or csv

Plz tell me the error in RWB - Channel monitor - receiver Communication channel

Regards

Chilla..

Former Member
0 Kudos

i m trying to trace this problem for the past 24 hrs......and i m fed up..if its not done i m fired.........pls help.

Former Member
0 Kudos

No. did you check ur reciver adapter? what is the status in it?

Former Member
0 Kudos

hi chandra ... the receiver communication channel has no error...its functioning with graan indicator

Former Member
0 Kudos

what is the message in tht adapter you see i know it is green. you wiil have some thing inadaptr such as processed time and sucess message.

Is ur input file is XML?

Message was edited by:

Sreeram Reddy

Former Member
0 Kudos

sreeram..

this problem is occuring for two scenarios that means i think its some common problem,,,,,,

what do u suggest...

do u know something about the queues ... can it be a problem

Former Member
0 Kudos

HI,

i think it is some thing like cache probelm

try to refresh Cache. goto SXI_CACHE refresh.

See below links for your reference only

/people/sravya.talanki2/blog/2005/12/02/sxicache--ripped-off - SXI_CACHE - Ripped Off

/people/sravya.talanki2/blog/2005/11/03/cache-refresh-errors--new-phenomena

Regards

Chilla

Former Member
0 Kudos

this problem is occuring for two scenarios that means i think its some common problem

>> may not be or may be.

do u know something about the queues ... can it be a problem

>> it is not the problem of queues becuae it is porcessed sucessfully

Former Member
0 Kudos

sreeram.......hmmmmmmmmm............... i think i should give up

Former Member
0 Kudos

it is up to u iam ready to help u out.