on 2007 Jul 13 5:40 AM
hi,
Is it possible to create custom rfc function module, to call all function modules which are not rfc from external environment like .Net... etc.
mukka chakradhar
<b>
Is it possible to create custom rfc function module, to call all function modules which are not rfc from external environment like .Net... etc
</b>
Regarding your question i understand that you need common RFC fm (say fm1)within you need functionality to call any non RFC function modules(say fm2)?
My question is if
fm2 contains exporting paramters are like EKKO and EKPO
and in other scenario
fm2 contains exporting paramters are like MARA and MARC
in this case how you define these exporting tables in fm1?
aRs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<b>yes it is possible</b> ..
<b>Create an RFC type function module which is called BAPI ...</b>
Thorugh BAPI'S we can do data transfer ..... once the data is trasferred the within it you can have your own function module which is non-rfc type also ... For some other manipulation ....
Examples like :
<b>Authorisation check ,
posting not valid ,
posting dates verification ,</b>
the above are alll not RFC type but it gets called with in the BAPIS ...
reward points if it is usefulll.....
Girish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Yes, You can create Custom RFC to call a External Fun module
RFC (Remote Function Call) is similar to the general SAP fun module: except that in the attributes you click the radio button: RFC enabled;
and you will be passing an Import parameter DESTINATION to it.
Other code and usage will be similar to any fun module;
Have a look at any fun module in SE37 to understand better about the different components of Fun modules;
Refer this link:
http://help.sap.com/saphelp_nw04/helpdata/en/22/042518488911d189490000e829fbbd/frameset.htm
check out the following link it might help you
http://help.sap.com/printdocu/core/Print46c/de/data/pdf/BCFESDE2/BCFESDE2.pdf
<b>Reward points for useful Answers</b>
Regards
Anji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
No This isnot possible, due to exporting parameters and exporting tables are different in each function module.
aRs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chakradhar,
It is definitely possible to create a custom RFC inorder to call non-RFC FM's from SAP from other legacy systems.
We create an FM(Z_XFM) and call non-FM's within this FM (Z_XFM). We need to take care that all the parameters (both import and export) of the called FM's inside Z_XFM are defined for Z_XFM as well.
Now just RFC Enable this FM (Z_XFM) and all what is required is done.
<b>
Reward points if this helps,</b>
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
29 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.