cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

VIES VAT Validation using BRF+ in MDG BP

deepakmk1996
Explorer
0 Kudos
967

Hello Expert,

Our Client has asked if it is possible to Implement VIES VAT Check validation with the help of BRF+ in SAP MDG BP.

We know that Validation is possible via Coding in USMD_RULE_SERVICE BAdi by calling the API and passing the necessary details, but bussiness wants it do with the help of BRF+

Let me know if any documents,blogs or any article.

Thanks and Regards,

Deepak Maurya

Accepted Solutions (1)

Accepted Solutions (1)

studencp
Active Participant

Hi

possible (assuming the webservice is synchronous), but doesn't make much sense (adds another layer of complexity, I would implement this in BAdI)

anyway if the "client knows better", here is how to do it:

https://blogs.sap.com/2016/04/22/creation-of-procedure-call-in-sap-brf/

in short you add a rule with Procedure Call in IF condition and this PC should return boolean,

in PC definition you map it to previously prepared Function Module or public static method of your class (including mapping of parameters to BRF+ context)

deepakmk1996
Explorer
0 Kudos

Hello pstudenc , Thank you for your update. I will go through your solution approach

Answers (2)

Answers (2)

RiccardoBrogi
Product and Topic Expert
Product and Topic Expert

Hi deepakmk1996

Yes, it's possible. Define a Service Consumer for the VIES service and then call the generated Function Module in BRF+.

BR,

R.

deepakmk1996
Explorer
0 Kudos

Thanks riccardo.brogi for your expertise, we will try your approach

aasim_khan
Participant
0 Kudos

Or why not just have a look at KBAs: 3085488, 2975262?