cancel
Showing results for 
Search instead for 
Did you mean: 

Interface Determination

Former Member
0 Kudos

I have a scenarion where I have one input file and this is going to 2 Idocs.

The problem is that sometimes the file does not contain the info for both IDocs and hence one flow will fail.

I think I can solve this problem by putting a condition in the interface determination. But I am n ot sure how...

I want to check all occurrences of a field. So this fields can come maybe 100 times in one message and I want to be able to make my interface determination based on the assessment of all fields and not just the first occurrence. Do you kno what I mean? Is it standard that the condition will check all occurrences or is there a special XPATH xpression for this?

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>Is it standard that the condition will check all occurrences

in standard it will check like this:

if at least one line contains what you specified then it's ok

if you want anything else you need to use xpath and with this you can implement anything almost

Regards,

Michal Krawczyk

Answers (2)

Answers (2)

Former Member
0 Kudos

Satish,

The problem with that which I am doing whilst also making the IDoc 0... unb is that you will still have an error in the Moni in the Call Adapter Part. But thank you for your input anyway.

Michael,

Thank you for your help. You are right!

Thanks

Former Member
0 Kudos

Mendez,

I would use a createif function in mapping only so that if the field is not there it will fail.

Regards,

---Satish