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: 

how can we connect SAP through internet

Former Member
0 Kudos

Please provide me some information on, how can we connect SAP through internet

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi Swapna,

if want to connect to internet from sap we have one function module call it as ws_execute by using this function module we can connect to the inernet.

In put parameters to this function module is as follows.

PARAMETERS: PROG(70) DEFAULT

'C:\Program Files\Microsoft Office\Office\WINWORD.EXE'.

(here pass your internet explorer properties address.)

PARAMETERS: FILE1(70) DEFAULT 'C:\TEMP\TEST.TXT'.

CALL FUNCTION 'WS_EXECUTE'

EXPORTING

PROGRAM = PROG

COMMANDLINE = 'FILE1'

INFORM = ' '

EXCEPTIONS

FRONTEND_ERROR = 1

NO_BATCH = 2

PROG_NOT_FOUND = 3

ILLEGAL_OPTION = 4

GUI_REFUSE_EXECUTE = 5

OTHERS = 6.

ws_execute function module is old one please use GUI_EXEC function module.

if suppose you want to create any web service in internet you can create by using sicf transaction.

you want the webservices creation details please mail me

if it is helpfull please reward points

2 REPLIES 2

Former Member
0 Kudos

hi Swapna,

if want to connect to internet from sap we have one function module call it as ws_execute by using this function module we can connect to the inernet.

In put parameters to this function module is as follows.

PARAMETERS: PROG(70) DEFAULT

'C:\Program Files\Microsoft Office\Office\WINWORD.EXE'.

(here pass your internet explorer properties address.)

PARAMETERS: FILE1(70) DEFAULT 'C:\TEMP\TEST.TXT'.

CALL FUNCTION 'WS_EXECUTE'

EXPORTING

PROGRAM = PROG

COMMANDLINE = 'FILE1'

INFORM = ' '

EXCEPTIONS

FRONTEND_ERROR = 1

NO_BATCH = 2

PROG_NOT_FOUND = 3

ILLEGAL_OPTION = 4

GUI_REFUSE_EXECUTE = 5

OTHERS = 6.

ws_execute function module is old one please use GUI_EXEC function module.

if suppose you want to create any web service in internet you can create by using sicf transaction.

you want the webservices creation details please mail me

if it is helpfull please reward points

Former Member
0 Kudos

Hi!

Do you mean how to log in to SAP from a distance point?

You need:

- SAP server IP address (and maybe SAP routing if it is neccessary)

- system ID

- client

- username

- password

- login language

Set up these in your SAPlogon and you are ready.

Check out, is the SAP server protected by a firewall. Ask its administrators.

Regards

Tamá