Dear Team,
Just wanted to Know how to determine whether a RFC is called by UI5 or R3 ,As i need to write different logic for both the case to print the form.
Currently i am using sy-tcode as a identifier .(If Sy-tcode is initial means UI5 else R3,Reason is that for RFC call in R3 ,it must be using some program or tcode which is not in case of UI5 Call..
Please validate my Logic for identifier.
Regards,
SantoshG