cancel
Showing results for 
Search instead for 
Did you mean: 

advise required for the scenario logic

Former Member
0 Kudos

Hi Experts,

SCENARIO NAME: FILE(text format) to IDOC.

requirement.

ex. input is 10 line items if any of the line item fails that supposed to throw exception what ever success lines are there that should process with out any fail or idoc should generated.

there no multi mapping. only one structure.

thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hey,

You need to use 1:N MultiMapping here. In PI, each message is a single unit of work, either the complete message fails or passes.

For your case, you need to generate an IDOC for each Line item. This way, if one message fails(read line Item), other messages (read line Items) won't be affected.

As far as alerts are concerned, you can simply configure alerts using ALRTCATDEF or CCMS. That will take care of sending e-mail in case of failure.

Below is the Blog to do Multimapping and generate Multiple receive structures from a single source structure. Please note that the Blog is old and you don't need to use BPM for it:

Thanks

Aamir

Shabarish_Nair
Active Contributor
0 Kudos

possible design;

Assume you will send out the exception as part of a email.

You scenario will be then

File -> IDoc and Mail

1: N mapping

You will have to make the required validation and then populate the error into the mail while validated data mapping goes into the IDoc

Former Member
0 Kudos

Hi Vijay,

there is no multimapping. only one receiver structure. some times it may be 100 line also. please help me with BPM and without BPM Also

thanks

regards

elton

baskar_gopalakrishnan2
Active Contributor
0 Kudos

How do you like to represent throwing exception action if you dont use more than one structure?