I have developed a sales contract WF with FIORI front end, where I am sending an email after approval with SEND EMAIL step type(email address would be different for different SalesOrganization).
My workflow is sending email but getting stuck in SOST. Because my client has set the send email SCOT setting with an interval of 1day,i,e all the email would be sent together at mid night 12am. Now my client want to send only sales contract approval email immediately.
The biggest challenge is I know the SCOT setting could be overcome by the implementing the class CL_BCS with set_send_immediately method.
But I cant incorporate BCS with Workflow send email step.
Please suggest how to send end to end email immediately through SAP Workflow. I am not an expert in OOPs concept.
Please share the code if something related to class implementation.