Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Interface determination condition

Hi Experts,

I am working on File to IDoc scenario, where I want to send IDocu2019s based on source data, in flat file if order number exists then I have to send MATMAS idoc , if order number does not exists then I want send DEBMAS.

I developed 2 mapping programs and checking condition in Interface determination to check order number exists or not.

i wrote below conditions in Interface determination and not working for multiple Orders

MT_Invoice /Order/OrderNum EX u2013 to check order number exists or not.

MT_Invoice /Order[not(OrderNum)] EXu2014to check order number not exists

My Source Structure after file content conversion looks like below

<Order> 1..unbounded

<CustomerID>

<MaterialID>

<OrderNum>

</Order>

Regards,

JAM

Former Member
Not what you were looking for? View more on this topic or Ask a question