Hi Raja,
It worked fine.
I thought about using the 2 Idocs in the Interface Determination from the beginning, but I discarded the idea because the field that has the condition can come in many different positions but when I checked again I saw that there is the "multiline" option that can get rid of that limitation.
Thanks,
Juan.