on 09-17-2009 6:55 AM
Hi,
I need a few details regarding creation and usage of RFC. I've scenario which uses RFC with 1 import parameter and 4 export parameters. Please explain how to acheive this.. I've absolutely no idea regarding RFC's.
Thanks,
Vishal
follow the above thread to create RFC with one import parameter and four export
RFC look like as follows
*"----------------------------------------------------------------------
*"*"Local Interface:
*" IMPORTING
*" VALUE(EMPID) TYPE CHAR20
*" EXPORTING
*" VALUE(EMPNAME) TYPE CHAR20
*" VALUE(EMPLOC) TYPE CHAR20
*" VALUE(EMPSTATE) TYPE CHAR20
*" VALUE(EMPCITY) TYPE CHAR20
*"----------------------------------------------------------------------
then write the business logic using the above parameters.
Edited by: Kubra fatima on Sep 17, 2009 8:45 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vishal,
Load the metadata of the rfc into PI and then do the mapping for one field in request mapping and then for the response mapping you map the four fields. Its should be very straight forward. Then once you are done make the interface as synchronous and test it.
If this doesnot work with pi go to se37 in sap and open the rfc and execute it. Then you give your one input value and then you should have the output four values. If it doesnot give then rfc might be expecting something more as an input.
Regards,
---Satish
Hi Vishal,
You have to know writing functional modules first in ABAP and making them enabled remotely (just a single option to be enabled in Function module ) .There is no other way than learning ABAP and write in your own refering to ABAP documenation .
Thanks,
Ram.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.