cancel
Showing results for 
Search instead for 
Did you mean: 

AIF, split Error and success records

former_member188791
Participant
0 Kudos

Hi Group,

There is one IDOc coming to AIF, I need to separate error and success records based on one key field validation, needs post error records and success records separately to AIF , please suggest how we can achieve this.

former_member188791
Participant
0 Kudos

hi group,

Any suggestions please

Accepted Solutions (1)

Accepted Solutions (1)

brittamangei
Advisor
Advisor
0 Kudos

Hi Rajiv,

can you give more details on what you try to achieve?

When do you want to split the IDoc? Directly after receiving the IDoc before it is processed or after the IDoc was processed?

Splitting the IDoc before processing can be achieved by implementing an action which will handle the split of the IDoc.

former_member188791
Participant
0 Kudos

Hi Britta,

I am receiving IDOC and based on one field ( exist or not)

I need to separate error and success records ,success records and error records needs to post separately and save original IDOC.

former_member188791
Participant
0 Kudos

hi group,

Is there any suggestions , issue still open.

brittamangei
Advisor
Advisor
0 Kudos

Hi Rajiv,

what you can do is:

Interface 1: Original message. Split the data according to your key field in an action. Split into Success Records and Error Records. Trigger Interface 2 for Success Records. Trigger Interface 3 for Error Records.

Interface 2: For Success Records. Implement logic to handle success records

Interface 3: For Error Records. Implement logic to handle error records.

Best Regards

Britta

Answers (0)