Thank you, this is helpful and confirms what I have been researching so far. I don't think we would like to alter the existing functions that uses the global address cleanse since these are already provided by SAP and don't look easy to modify.
We are going with the approach of creating a separate call that SAP can make to DS to retrieve RDI. Do you know of any resources that I can use that outlines how this connection can be established? I am familiar with creating real time jobs in DS but I don't know how to link it up to SAP, ideally i'm thinking this would be done via RFC.