-5

First of all, this is my first question on this site and I got a lot of information from here, so I would like to thank everyone. My question is as follows. I want to open a handle in c# coding language in visual studio 2019 and windows form. For example, I entered my username and password in the sap system. When I press the button, I only want it to enter the cv04n command. I do not want to enter passwords etc. in codes, I just want it to be processed in open session. Is there anyone who can help with this? I did a lot of research, but I couldn't find the codes I wanted.

I'm looking for a handle opening code in c# scripting language

Sandra Rossi
  • 11,934
  • 5
  • 22
  • 48
  • You will probably need a SAP consultant. – Fildor Sep 01 '23 at 05:49
  • you will have to run `start sapshcut -system=SID -client=xxx -desc=(SAPGUI System desc) -user=(User ID) -pw=password -maxgui -command=( SAP Transaction code)` in a child process, see https://stackoverflow.com/questions/6511978/run-console-application-in-c-sharp-with-parameters – Michael Schönbauer Sep 01 '23 at 05:58
  • It seems that you are talking about some code you have created, but you didn't provide any minimal reproducible example on which something could be said. Lot of guess here... – Sandra Rossi Sep 01 '23 at 17:23

0 Answers0