Need your advise.
I am working for SAP automation where I have to extract data from one T code in an excel sheet and send that excel sheet as attachment in email.
Once I execute the Tcode I will get the Option to click a button “TODAY” which will give me today’s data but sometime there will be no data for the day.
So if I click today, it wont proceed ahead as there is no data available, so what should I to so that if there is no data available it will directly send an email without attachment.
Above is the click buttom.
Do I need to give If condition/Try catch??
Please let me know how to proceed on this.