‎2008 Jun 27 8:21 AM
hi experts?
please give me the your valuble information.
how can i identify the bapi?difference between rfc and bapi?
reward points apply for the best answer.
thanks.
naresh
‎2008 Jun 27 8:24 AM
hi,
please check this link for BAPI...
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=bapi&cat=sdn_all
difference between rfc and bapi
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=differencebetweenrfcandbapi&cat=sdn_all
Edited by: kanika chopra on Jun 27, 2008 9:25 AM
‎2011 Feb 24 4:56 AM
hi expert,
goood morning
as i have some problem with material creation by using bapi and rfc
as i am able to create material by using BAPI_MATERIAL_GETINITNUMBER
BAPI_MATERIAL_SAVEDATA
THE THING IS I MATERIAL HAS BEEN CREATED
AND I NEED TO EXTEND THIS TO VALUATION TYPE ITS IS NOT GET UPDATED IN MBEW TABLE.
AND WAT DO I NEED TO GET UPDATED THAT FIELD IN MBEW
AND WAT FUNCTIONS R WAT SELECT STAMENTS DO I NEED TO USEE
PLEASE
SEND ME REPLY AS I AM WAITING FOR REPLY
THANK YOU
REGARDS
PRABHANJAN
prabhanjan.g06
‎2008 Jun 27 8:25 AM
hi,
u can find ur bapi's in BAPI TRANSACTION or based on business object in SWO1 transaction.
RFC and BAPIs are remote enabled function modules. They are practicly the same. A BAPI is one step further as it usually is a self contained business function, such as "Create Purchase Order", or "Change Sales Document". BAPIs interface is very well defined and documented. BAPIs can be found in the BAPI browser via transaction BAPI. RFCs are just remote enabled function modules.
BAPI performs a complete business application like customer creation,material creation as it is encapsulated with business object.
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
‎2011 Feb 24 4:53 AM
hi expert,
goood morning
as i have some problem with material creation by using bapi and rfc
as i am able to create material by using BAPI_MATERIAL_GETINITNUMBER
BAPI_MATERIAL_SAVEDATA
THE THING IS I MATERIAL HAS BEEN CREATED
AND I NEED TO EXTEND THIS TO VALUATION TYPE ITS IS NOT GET UPDATED IN MBEW TABLE.
AND WAT DO I NEED TO GET UPDATED THAT FIELD IN MBEW
AND WAT FUNCTIONS R WAT SELECT STAMENTS DO I NEED TO USEE
PLEASE
SEND ME REPLY AS I AM WAITING FOR REPLY
THANK YOU
REGARDS
PRABHANJAN
‎2011 Feb 24 4:56 AM
hi expert,
goood morning
as i have some problem with material creation by using bapi and rfc
as i am able to create material by using BAPI_MATERIAL_GETINITNUMBER
BAPI_MATERIAL_SAVEDATA
THE THING IS I MATERIAL HAS BEEN CREATED
AND I NEED TO EXTEND THIS TO VALUATION TYPE ITS IS NOT GET UPDATED IN MBEW TABLE.
AND WAT DO I NEED TO GET UPDATED THAT FIELD IN MBEW
AND WAT FUNCTIONS R WAT SELECT STAMENTS DO I NEED TO USEE
PLEASE
SEND ME REPLY AS I AM WAITING FOR REPLY
THANK YOU
REGARDS
PRABHANJAN
prabhanjan.g06
‎2008 Jun 27 8:26 AM
Hi,
RFC is Remote Function Call - a function module, which can be called remotely from outside
BAPI is also a Remote enabled function module but the difference between BAPI and RFC is in BAPI there is a bussiness object attached to it which calls SAP application internally.
**********************************************
can you explain RFC and BAPI???
The difference between RFc and BAPI are business objects. You create business objects and those are then registered in your BOR (Business Object Repository) which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA. in this case u only specify the business object and its method from external system in BAPI there is no direct system call. while RFC are direct system call Some BAPIs provide basic functions and can be used for most SAP business object types. These BAPIs should be implemented the same for all business object types. Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs. Whenever possible, a standardized BAPI must be used in preference to an individual BAPI.
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.
RFC is the protocol used by SAP for remote communication, that is, for communications between remote independent systems.RFC is used for communications between two independent SAP systems, or for communications between an SAP system and a non-SAP system, such as an external application. It can also be used for communications between modules on the same system.Using the RFC interfaces you can extend the functionality of R/3 applications from an external program.
An R/3 system also contains Business Application Programming Interfaces (also called Business APIs, or BAPIs), which provide a programming interface to business objects. BAPIs are a set of methods for working with and manipulating SAP business objects.Internally, BAPIs are implemented as function modules stored in the R/3 Function Builder. Each BAPI has an equivalent internally-named function module. However, you should use the BAPI and not the function module behind it, because the BAPI provides a stable, object-oriented view of R/3 applications and data. The internal function modules or even the fact that the BAPIs are implemented as function modules are not guaranteed to remain the same in future releases of R/3.
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.
*****************************************************************************
RFC and BAPIs are remote enabled function modules. They are practicly the same. A BAPI is one step further as it usually is a self contained business function, such as "Create Purchase Order", or "Change Sales Document". BAPIs interface is very well defined and documented. BAPIs can be found in the BAPI browser via transaction BAPI. RFCs are just remote enabled function modules.
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.
*******************************************************************************
BAPIs are RFCs, the only difference is that BAPIs usually encapulate some complete business object. For example, creating a sales order, the BAPI would do all of the steps required to create a sales order.
**************************************************************************************
regards,
Shiva KUmar
‎2011 Feb 24 4:55 AM
hi expert,
goood morning
as i have some problem with material creation by using bapi and rfc
as i am able to create material by using BAPI_MATERIAL_GETINITNUMBER
BAPI_MATERIAL_SAVEDATA
THE THING IS I MATERIAL HAS BEEN CREATED
AND I NEED TO EXTEND THIS TO VALUATION TYPE ITS IS NOT GET UPDATED IN MBEW TABLE.
AND WAT DO I NEED TO GET UPDATED THAT FIELD IN MBEW
AND WAT FUNCTIONS R WAT SELECT STAMENTS DO I NEED TO USEE
PLEASE
SEND ME REPLY AS I AM WAITING FOR REPLY
THANK YOU
REGARDS
PRABHANJAN
prabhanjan.g06
‎2008 Jun 27 8:29 AM
hi,
SImple, in BAPI's there is no exceptions raised.
In RFC you have Exceptions.
BAPI's return error using BAPIRET2 structure.
Regards,
Subramanian
‎2011 Feb 24 4:55 AM
hi expert,
goood morning
as i have some problem with material creation by using bapi and rfc
as i am able to create material by using BAPI_MATERIAL_GETINITNUMBER
BAPI_MATERIAL_SAVEDATA
THE THING IS I MATERIAL HAS BEEN CREATED
AND I NEED TO EXTEND THIS TO VALUATION TYPE ITS IS NOT GET UPDATED IN MBEW TABLE.
AND WAT DO I NEED TO GET UPDATED THAT FIELD IN MBEW
AND WAT FUNCTIONS R WAT SELECT STAMENTS DO I NEED TO USEE
PLEASE
SEND ME REPLY AS I AM WAITING FOR REPLY
THANK YOU
REGARDS
PRABHANJAN
prabhanjan.g06
‎2008 Jun 27 8:35 AM
Hi Naresh,
Difference between RFC and BAPI as stated below
BAPI:
BAPI is an API method of a business object which intern is a RFC enabled function module. Business objects are objects in their own sense which involve with a business process.
BAPI (Business Application Programming Interface) is an API method of a business object which intern is a RFC enabled Function Module.
Business Objects are the Objects which has business sence associated to it. Ex. Sales Orders, Purchase Orders etc.
The Properties of BAPI are:
Every BAPI name should start with letters 'BAPI'.
It is an API method of a Business Object.
it does not contain a internal COMMIT statement in the Function Module.
It does not contain "CALL TRANSACTION" statements.
BAPI do not raise 'EXCEPTIONS'.
a RETURN structure is defined as an interface parameter of a BAPI which is used to log all the errors, warnings and the successful processes tha are triggered in the course of execution of a BAPI.
A successful execution of a BAPI requires the data to be commited and this process of performing a COMMIT is achieved by calling the BAPI_TRANSACTION_COMMIT' explicitly if there are no errors logged in the RETURN structure.
There are two types of BAPI's: Instance Dependent & Instance Independent.
BAPI provides an access to the SAP system for external applications to have the business data processed in the form of web services. When BAPI's are used to post the data in SAP system these are used as Function Modules.
RFC:
Remote Function Call (RFC) is a call to a function module running in a system different from the caller's. The remote function can also be called from within the same system, but usually caller and callee will be in differene system. RFC allows for remote calls between two SAP Systems (R/3 or R/2) or between an SAP System and a non-SAP System.
Hope this would clear you.
Regards
Narin Nandivada.
‎2011 Feb 24 4:54 AM
hi expert,
goood morning
as i have some problem with material creation by using bapi and rfc
as i am able to create material by using BAPI_MATERIAL_GETINITNUMBER
BAPI_MATERIAL_SAVEDATA
THE THING IS I MATERIAL HAS BEEN CREATED
AND I NEED TO EXTEND THIS TO VALUATION TYPE ITS IS NOT GET UPDATED IN MBEW TABLE.
AND WAT DO I NEED TO GET UPDATED THAT FIELD IN MBEW
AND WAT FUNCTIONS R WAT SELECT STAMENTS DO I NEED TO USEE
PLEASE
SEND ME REPLY AS I AM WAITING FOR REPLY
THANK YOU
REGARDS
PRABHANJAN
prabhanjan.g06