‎2008 Feb 20 11:37 AM
Hi,
I have created my own BAPI in my system which is having server name as XXX..Now i want to call this BAPI from another server YYY..
How to connect between the system and access..Plz tell me the steps.
‎2008 Feb 20 11:44 AM
Hi
To connect those servers , u please ask ur basis help. then
u can use the following code.
data: variable type gsval.
case sy-sysid.
when 'where u want'(logical name of the system)
eg
when 'CCC'.
concatenate 'destname ' 'CLNT'' ' no into 'variable.
endcase.
'
'
Edited by: karthikeyan palaniayya on Feb 20, 2008 12:44 PM
‎2008 Feb 20 11:56 AM
You can call from some other server by
CALL FUNCTION func DESTINATION dest parameter list.
Here destination will be your RFC destination.
Please check following links:
http://help.sap.com/saphelp_nw04/helpdata/en/b8/8e1b228add6c4d8509adff5eab2167/content.htm
http://en.wikipedia.org/wiki/Remote_function_call
Thanks,