08-08-2006 12:50 PM
hi,
How can i call the other than r/3 function module from r/3. My requirement is to upload the delivery order from r/3 to TAS by calling c function module.
HOw it is possible.
rgds
p. krishnaprasad
08-08-2006 12:54 PM
08-08-2006 1:03 PM
It depends on where your c function module is located. Is it on a different system?
If it is on a different system you might try setting up an RFC Connection to that system and use a remote function call in your program using the rfc destination. See code below. <c function> is the name of your fuction <tas> is the name of the RFC connection you set up.
call function <c function>
destination <tas>
Another option might be to try and use a logical command. I forget the exact transaction but there is a way to set up a command in SAP that points to the function you are trying to call. Then you use the function module SXPG_COMMAND_EXECUTE to call this command. I think you will still need and RFC destination for this as well.
Chris
08-09-2006 5:17 AM
Hi,
Please i need help in making the tcp/ip connection and call the function module which is in another system.
rgds
p. krishna prasad
9932904327
08-09-2006 8:47 AM
Hi,
first check (or define) RFC connection to other system using transaction SM59.
You can call all remote-enabled functions (usually BAPI functions) using CALL FUNCTION DESTINATION <RFC dest>.
Regards,
Clemens