Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Calling BADI

Former Member
0 Likes
786

Whether BADI is called in RFC or RFC is called in BADI?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
747

Hi,

Normally both are different concepts but logically we can call BADI by RFC and vice versa.

Regards,

Gaurav

Whether BADI is called in RFC or RFC is called in BADI?

3 REPLIES 3
Read only

Sm1tje
Active Contributor
0 Likes
747

To make the confusion complete: Both are possible.

1. You have an RFC which updates (via BAPI or whatever), a business partner general data. In this case if you (or any body else for that matter) has implemented a BAdI in this process it will be called.

2. It might be possible that, within a BAdI, some additional info is required which is stored in another (SAP) system like CRM. In this case, an RFC is called which retrieves the data, and the processing continues.

So, you have to be a bit more explicit in your requirement / question, for 'us' to be able to give you a conclusive answer.

Read only

Former Member
0 Likes
747

hai,

rfc and badi are two separate concepts,

rfc is a function module which cna be called remotely,

badi are busines add-in which sap has provided as hook to insert our own code,

thesee are empty interfaces whcih should be implemented

regards

m.a

Read only

Former Member
0 Likes
748

Hi,

Normally both are different concepts but logically we can call BADI by RFC and vice versa.

Regards,

Gaurav