cancel
Showing results for 
Search instead for 
Did you mean: 

File To IDOC scenario

Former Member
0 Kudos

Hi,

I have concern regarding file to IDOC scenario.

if specified file is not existing at the specified location,then it should send a message "file doesn't exist" to the receiver.how to acheive this concern instead of getting error at IS/RWB.

Thanks in Advance

Mahali.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

chk out this blog for trigerring mails as alerts

/people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step

regards

jithesh

Former Member
0 Kudos

Hi,

This was the first idea came to my mind -:) Not yet thought of but surely will think for some other solutions.

Thanks,

Prateek

Former Member
0 Kudos

Hi,

One turnaround solution can be...write one report in XI, check if there are any messages pocessed by your scenario, if not then trigger the mail. Schedule this report.

Thanks,

Prateek

Former Member
0 Kudos

Hi prateek,

Thanks for ur help.it seems to be good idea.i am from java/J2EE background and little aware of ABAP.is there any other possibility.

Regards

Raju

Former Member
0 Kudos

Hi Sridhar,

File adapter polls the file according to the duration specified. It does not do anything if the adapter does not get a file in the folder. There is no error.

I guess you can check in your BPM, if the file does not come after the spcified duration then you need to send the data to receiver.

But for this also you will have to have a trigger mechanism for hte BPM.

Regards

Vijaya

Former Member
0 Kudos

Hi vijaya,prateek

In my view error means,In RWB and SXMB_MONI,it won't show any messages if the file doesn't exist or specified intervel..but the file adapter on XI server will keep polling for the specified intervel until u stop.u said invocation is not happening in the scenario.i guess it's wrong.

My concern is:-

*If file is not existing then it should send a message to receiver that "file doesn't exist"

*I should see meesage in RWB and SXMB_MONI.

Generally,if the file doesn't exist,it won't show any messages regarding scenario.

*In BPM, how can we achieve.Plz clarify

Rgds

Mahali

Former Member
0 Kudos

Hi Sridhar,

*If file is not existing then it should send a message to receiver that "file doesn't exist"

It says -no message to process (in RWB...)

*I should see meesage in RWB and SXMB_MONI.

Not in SXMB_MONI..Only messages that come to Integration server come here...If there is no message polled by adpater then you cannot see anything in SXMB_MONI

*In BPM, how can we achieve.Plz clarify

In BPM you can check for two hours there should be a file. By picking up the system time. But as I said befor e you need to have something to trigger this BPM.

Regards

Vijaya

Former Member
0 Kudos

Hi vijaya,

Thanks for ur help.May be I couldn't convey u clearly.my doubt is different.we r deviating from the topic.

for eg:-vendor daily put one file on some location.this file will be picked by adapter and send it to the IS for processing.once the IS initiates work,all things will be reflectd in SXMB_MONI and RWB untill it received by supplier.my doubt is, if file not exist,then it should send a customized message "File doesn't exist"(not DT,MT,MI,MM,IM which ever created for processing) or an (customized)exception to the IS.if any day,vendor missed to put a file,then supplier should receive a meesage that "File doesn't exist".

Hope this clarifies about my query.

Rgds

Mahali

Former Member
0 Kudos

Hi

Try to raise alerts.genrally alerts r raised when communication channel keeps polling and if it does not find any file.

U can raise alert "file doesn't exsist" using alert configuratuion in XI.

regards

jithesh

Former Member
0 Kudos

Hi,

In file to IDoc scenario, the file adapter will keep on polling the specified directory after every mention polling interval. So if the file will not be there it will not invoke the scenario.

Can you be more specific about your scenario.

Thanks,

Prateek