We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.
Showing posts with label call. Show all posts
Showing posts with label call. Show all posts

Remote Function Call (RFC) in SAP

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Remote Function Call (RFC) in SAP

RFC is an SAP protocol to handle communications between systems which simplifies the programming. A remote function call (RFC) is the call of a function module that runs in a different system to the calling program. It is also possible to call a function module in the same system as an RFC; normally RFCs are used when the caller and the called function module run in different systems. In the SAP system, these functions are provided by the RFC interface system. The RFC interface system enables function calls between two SAP systems, or between an SAP system and an external system. RFCs manage
1) Communication process
2) Parameter transfer
3) Errors.
RFC describes an interface to call the function. In RFC communications between two SAP systems, the calling system uses an RFC definition in the target system to access a specific function. The destination of an rfc call might be R/2 connection, R/3 connection, internal connections, logical connections (like to logical systems) or TCP/IP (external systems) connections.
There are five types of RFCs in SAP
1) Synchronous RFC (sRFC)
It requires that the target system is active when the RFC is made. This type of rfc is used for communication between different systems and between SAP Web AS and SAP GUI.
2) Asynchronous RFC (aRFC)
It doesn’t require the target system to be active when RFC is made. This is used for parallel processing jobs and for communication between different systems.
3) Transactional RFC (tRFC)
This is a variation of aRFC. The transactions are divided into steps and are processes step by step. This is an asynchronous transaction. This is helpful in scenarios where there is probability of network failure between the systems.
4) Queued RFC (qRFC)
This is a variation of tRFC. Here the individual steps are executed sequentially.
5) FastRFC

This is used for system internal communications. Interactions between J2ee engine in sap & the abap runtime environment in the same instance are done using these RFC. This type of RFC is possible only if both the source & target are on the same system.
The RFCs are managed using t-code sm59
Use t-code SMT1 to manage trusted systems



Keyword: BASIS
Title : Remote Function Call (RFC) in SAP

Checks done when we call a TCode

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

When a transaction is called, a system program makes various checks to
ensure that the user has the appropriate authorization.

Is the transaction code valid? (table TSTC check).

Is the transaction locked by the system administrator? (table
TSTC check).

Is the user authorized to call the transaction?


The authorization object S_TCODE (call transaction) contains the
field TCD (transaction code).

The user must have an authorization with a value for the selected
transaction code.

Does the transaction code have an authorization object? If so, a
check is made that the user has authorization for this authorization
object.

Then there are check at ABAP program level and if these checks
are succesful the the authorization checks are successful. If any one
of the checks fail, the user cannot execute the tcode.



Keyword: BASIS
Title : Checks done when we call a TCode

SAP Remote Function Call RFC

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

RFC is an SAP protocol to handle communications between systems which simplifies the programming. A remote function call (RFC) is the call of a function module that runs in a different system to the calling program. It is also possible to call a function module in the same system as an RFC; normally RFCs are used when the caller and the called function module run in different systems. In the SAP system, these functions are provided by the RFC interface system. The RFC interface system enables function calls between two SAP systems, or between an SAP system and an external system. RFCs manage

1) Communication process

2) Parameter transfer

3) Errors.

RFC describes an interface to call the function. In RFC communications between two SAP systems, the calling system uses an RFC definition in the target system to access a specific function. The destination of an rfc call might be R/2 connection, R/3 connection, internal connections, logical connections (like to logical systems) or TCP/IP (external systems) connections.

There are five types of RFCs in SAP

1) Synchronous RFC (sRFC)

It requires that the target system is active when the RFC is made. This type of rfc is used for communication between different systems and between SAP Web AS and SAP GUI.


2) Asynchronous RFC (aRFC)

It doesn’t require the target system to be active when RFC is made. This is used for parallel processing jobs and for communication between different systems.

3) Transactional RFC (tRFC)

This is a variation of aRFC. The transactions are divided into steps and are processes step by step. This is an asynchronous transaction. This is helpful in scenarios where there is probability of network failure between the systems.

4) Queued RFC (qRFC)

This is a variation of tRFC. Here the individual steps are executed sequentially.

5) FastRFC

This is used for system internal communications. Interactions between J2ee engine in sap & the abap runtime environment in the same instance are done using these RFC. This type of RFC is possible only if both the source & target are on the same system.

The RFCs are managed using t-code sm59

Use t-code SMT1 to manage trusted systems

Keyword: BASIS
Title : SAP Remote Function Call RFC

T r a n s l a t e to your language