SAP - MM
How to Create Purchase Order with Reference ME58 | ME21N in SAP
Purchase order with reference Purchase orders can be created with reference to a purchase...
RFC is a mechanism that allows business applications to communicate and exchange information (in pre-defined formats) with other systems. RFC stands for 'Remote Function Call'
RFC consists of two interfaces:
Any ABAP program can call a remote function using the CALL FUNCTION...DESTINATION statement. The DESTINATION parameter tells the SAP System that the called function runs in a system other than the callers.
Syntax-
CALL FUNCTION 'remotefunction' DESTINATION dest EXPORTING f1 = IMPORTING f2 = TABLES t1 = EXCEPTIONS
Logical Destinations are defined via transaction SM59 and stored in Table RFCDES
Functions of the RFC interface
The Source System resource does not wait for the target system as they deliver the message/data without waiting for any acknowledgment. It is not reliable for communication since data may be lost if the target system is not available. Used for -
Transactional RFC is an asynchronous communication method that executes the called function module in the RFC server only once, even if the data is sent multiple times due to some network issue. The remote system need not be available at the time when the RFC client program is executing a tRFC. The tRFC component stores the called RFC function, together with the corresponding data, in the SAP database under a unique transaction ID (TID). tRFC is similar to aRFC as it does not wait at the target system (Similar to a registered post). If the system is not available, it will write the Data into aRFC Tables with a transaction ID (SM58) which is picked by the scheduler RSARFCSE (which runs for every 60 seconds). Used For-
To guarantee that multiple LUWs (Logical Unit of Work/ Transaction) are processed in the order specified by the application. tRFC can be serialized using queues (inbound and outbound queues). Hence the name queued RFC (qRFC). Used For-
2.Write the code for the function module.
3.Define the destination of the RFC server in the RFC client system that calls the remote function ( via SM59 transaction).
4.Declaring Parameters: All parameter fields for a remote function module must be defined as reference fields, that is, like ABAP Dictionary fields.
5.Exceptions: The system raises COMMUNICATION_FAILURE and SYSTEM_FAILURE internally. You can raise exceptions in a remote function just as you would in a locally called function.
Purchase order with reference Purchase orders can be created with reference to a purchase...
SAP is an enterprise-wide Business Software Package designed to integrate each area of a business....
Inspection against Production GR- this inspection will be based on production confirmation against a...
In this tutorial, we will learn How to Create the Vendor Account Group in SAP Step 1) Enter...
What is Pricing Procedure? Pricing procedure in MM module is a way to determine prices in...
Enter the Transaction code SPRO in the SAP Command Field and Press Enter In the next screen Select...