cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Idocs to XI with exception handling.

Former Member
0 Kudos

Hi,

I m doing a scenario,sending multiple idocs to file via XI.while doing dis,i m using BPM.For the BPM part i m following the blog https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2034..but [original link is broken] [original link is broken] [original link is broken] [original link is broken] wen i check in SXMB_MONI,my message isn't successfully processed out f BPM.In this,exception is triggered at d beginning.and it always throw exception and message not successfully processed out f BPM.In the workflow it is showing error in the first step and remaining steps are compIeted.Here, i m throwing exception by the use f deadline branch.Can,anybody tell me how to handle dis exception/error?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Anoop,

in BPM in exception branch, put a control step to end the BPM process.....then your BPM process will end by this control step when an exception will arise....

Thanks,

Rajeev Gupta

Former Member
0 Kudos

Hi Rajeev,

Thanks for reply.But,I m using control step inside the deadline branch and i m throwing exception from here.In my case,my msz comes into my loop and processed here.when it comes outside the loop and collect container is used in transformation step,dat container is found to b empty when used during transformation step.So,mszs are not collected inside the container.exception is thrown earlier..so,wat can b the problem??

Former Member
0 Kudos

Hi Anoop,

then the timeout period which you have specified for your loop will be less.....so increase the timeout period.........then your idocs will be collected in the container... then you can apply transformation step to it..........

Thanks,

Rajeev Gupta

Former Member
0 Kudos

Hi Rajeev,

I m using infinite loop and deadline time dat i have mentioned in BPM is 5 min.I think dat time is not less..There is some other problem.

Thanks,

Anoop Garg

Former Member
0 Kudos

Hi Anoop,

in SXMB_MONI, for your BPM msg, there will be a PE link in a column....click it.... now in BPM graphical editor, what error you are getting........explain again the things you have done in your BPM process........

Thanks,

Rajeev Gupta

Former Member
0 Kudos

Hi Rajeev,

I am using a loop with in a block inside the BPM inside which receive step and container element is used.In parallel to loop branch,i m using deadline and exception branch same as in blog 2034.i m using infinite loop wid time limit mentioned in the deadline branch.After coming out f dis block,i m using transformation step and den send step is used.When i check in graphical workflow,i m getting error in send step stating that an empty container element is used while sending.But,wen i m checking technical workflow,i m getting error in first step after the creation of workflow and workflow started messages in the log details.after which the exception occured is shown in the workflow system..

Thanks,

Anoop Garg