We are sending order information to source system (SAP).
Here i need to chk in message mapping : if it is the
first time we received that order into SAP or not.
As per the expert suggestion its better to use global variable and store the order no and compare it the next time it comes.
Let me know the UDF code.