cancel
Showing results for 
Search instead for 
Did you mean: 

Call SAPGUI with parameters in .NET code

Former Member
0 Kudos

Hi,

i'm just begining in SAP and .Net Connector ....

So i want to call in .net code the Sapgui with a username and password and then redirect this user to a specific screen (transaction se80 for exp)

is it possible? how can i do it...

THX.

Accepted Solutions (1)

Accepted Solutions (1)

Andre_Fischer
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Fayssal,

this is possible using the tool sapshcut.exe that is part of the SAPGUI Installation.

Just call sapshcut.exe with the parameter /? and it will show you all options that are available.or you can have a look at SAP <a href="https://service.sap.com/sap/support/notes/103019">Note 103019 - SAPshortcut: Program parameters</a>

From the .NET coding you can then start sapshcut.exe with the appropriate parameters.

Best regards,

André

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi André,

for the conection to SAP the command is working Thanks!!!

but i need to call a program with 3 parameters ?

Is it possible ?

THX.

Former Member
0 Kudos

thanks André for your help i'll try this