Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

re: doubt in tcp/ip

Former Member
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

i think u have to call BAPIs

Regards

Prabhu

Former Member
0 Kudos

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

0 Kudos

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

0 Kudos

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