Hi Experts,
We have a strange issue in our custom workflow.
Logic of our workflow goes as follows:
Whenever there is a block in quantity or price for a PO, mail needs to be triggered to the respective requisitioner or buyer. Mail id of those persons are fetched from SRM system. We use RFC to fetch the responsible person's mail id. We export the PO numer and the RFC will return their appropriate mail id.
This logic is working fine in our staging system. But when this comes to our production environment this RFC is failing randomly
. In the failing scenario our team need to redirect those mails manually to the respective persons.
However if I execute the FM manually in SRM system it is returning the correct mail id. I am not sure why this is happening. Does this have something related to RFC connection? Or it may be due to the time it takes to update the standard tables with PO details? We refer to crmd_orderadm_h table for details. After that we use BBP_PROCDOC_GETDETAIL_ARCHIVE to get the partner details.
Anyone had encountered such type of issue. Kindly share your inputs.
Regards,
Veena.