on 12-10-2008 4:38 AM
Hi Experts,
We have a requirement u2013
Intranet application does a Http call for a RFC(no import parameters) to get GL data from R/3 through XI.
Please suggest on how to call a RFC through XI with out sending any request message to it.
Thanks in advance,
MK
Hi
Code you are showing is a function only, What your RFC name? Check your Function Module in R/3 there might be some parameter under Import,Export Tab .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
To Call an RFC you must have to send request(Import Parameter). It is function module which contains import and export parameter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the reply.
Please see below the RFC, it does not have the import parameters
FUNCTION cc_read_gl.
*"----------------------------------------------------------------------
*"*"Local interface:
*" EXPORTING
*" VALUE(OGP1) TYPE YFLAG1
*" VALUE(OGP2) TYPE YFLAG1
*" VALUE(OGP3) TYPE YFLAG1
*" VALUE(OGP4) TYPE YFLAG1
*" TABLES
*" GLTAB STRUCTURE CC_GL
*"----------------------------------------------------------------------
SELECT * INTO TABLE GLTAB
FROM cc_gl.
ENDFUNCTION.
please suggest on how to call such RFC's.
Hi mk.xi,
can you please elaborate your answer.
---> use server abap proxy . With in the proxy code call the rfc with dummy data .perform all you caluculations and select queries...bla bla inside function module...and send back the response to abap proxy code.
and Is it not possible to call a RFC without sending any message?
---> No...i don't think so...as RFC is basically a function module which is remote enabled. and every function will definitely have import and export parameters . that's why is said use dummy data in import an dsend back GL related data using export params.
hope i am clear...
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi mk.xi,
Use Server ABAP Proxy send dummy data and inside abap proxy call the rfc for getting the GL data as response.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.