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

IDocs

Former Member
0 Likes
615

Dear all,

I'm in the midst figuring out on how Inbound works. And i got the eg from Materail Master, the inbound FM would be "IDOC_INPUT_MATMAS01". In SE37, i noticed this FM's attribute is marked as "Remote-enabled module" .

And at the same time, I'm looking for the Inbound for changing User master data (SU01). And i got Message type = USERCHANGE and the Basic type = USERCHANGE01. At the same time i'm looking for the std inbound FM and i found FM "BAPI_IDOC_INPUT1" from table EDIFCT.

My question would be:

1. Why FM "IDOC_INPUT_MATMAS01" is marked as "Remote-enabled module" but not for "BAPI_IDOC_INPUT1" ?

2. In term of technique wise, is there any diff bet inbound fm IDOC_INPUT* against BAPI_IDOC* ?

3. From the code of FM "BAPI_IDOC_INPUT1", it is going to get the actual FM for inbound execution from table TBDBE/TBDBA. For my case, Message type - USERCHANGE, i got entry from table TBDBE where it is showing FM IDOC_INPUT_USERCHANGE in field TBDBE-FNAME_INB. I checked in SE37 FM IDOC_INPUT_USERCHANGE doesn't exist in my system. Could you please let me know what went wrong?

4. It seems like SAP is using 2 diff technique to handle inbound. Appreaciate if u can let me know in detail.

Thanks in advance.

3 REPLIES 3
Read only

Former Member
0 Likes
543

Hi,

Here is the difference between RFC and BAPI.

Difference between BAPI and BDC:

BAPI stands for Business Application Programming Interface. It is a library of functions that are released to the public as an interface into an existing SAP system from an external system.

RFC is the protocol used to call functions in an R/3 system by a caller external to R/3 or to call programs external to R/3 from an R/3 system.

Functions can only be called via RFC, if they are tagged as RFC functions in the SAP development workbench. They are then called RFC function modules. BAPIs are complete sets of (BAPI) function modules that model a business application.

When you are familiar with web developments: RFC can be compared to HTTP and BAPIs are CGI applications.

In other words: A BAPI function is a function module that can be called remotely using the RFC technology.

for more info see this link.

[IDOCS|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/step%2bby%2bstep%2bprocedure%2bfor%2bcreation%2bof%2bidoc]

Regards,

Ballack.

Reward Points if helpful.

Edited by: Ballack on Mar 27, 2008 4:28 AM

Read only

0 Likes
543

Hi Ballack,

Thanks for your reply, and i have fully understand for the concept for BAPI and RFC. However i'm having doubts for the Inbound BAPI against the normal Inbound FM. Appreciate if you can let me know your thoughts according to my first post.

Thanks in advance.

Read only

0 Likes
543

Guys, need your input. Please advice.