2012 Feb 16 2:08 AM
Hello Gurus.
My client want to run a non SAP program selecting the specific function key on keyboard during the entering data on SAP.
i knew that it is possible to execute a non sap program after adding special program each by SAP program. but, it is huge jobs.
client wants to run a non sap program wherever he is on SAP program. Is it possible ?
Hello Gurus.
My client want to run a non SAP program selecting the specific function key on keyboard during the entering data on SAP.
i knew that it is possible to execute a non sap program after adding special program each by SAP program. but, it is huge jobs.
client wants to run a non sap program wherever he is on SAP program. Is it possible ?
2012 Feb 16 3:36 AM
2012 Feb 16 3:54 AM
i want to run the .Net program which was programed by client by select the function key anytime on SAP.
2012 Feb 16 5:57 AM
Hi,
1. Create a ".exe" file for the .NET application.
2. Create a PF-STATUS and assign the Function Code for the desired Function Key in the SAP program.
3. In the USER COMMAND code inside program, when the respective function code is triggered, write the below code with the path to the .NET exe file.
CALL METHOD cl_gui_frontend_services=>execute
EXPORTING
document = '.NET exe file path'
EXCEPTIONS
OTHERS = 1.
2012 Feb 16 8:35 AM
Hi. do you mean that your instruction should be done on all SAP programs. ? as you know, there are many program in SAP. what i want is to run a non sap program by click the function key everywhere in SAP.
2012 Feb 16 9:12 AM
You ll have to try and find the standard PF-STATUS where F3 and F8 are all called,, and then ad it there
2012 Feb 16 11:20 AM
You should check if there is either:
- a system-wide enhancement you can use
-try GUI XT
What kind of a program is it? Maybe it makes more sense in certain screens.
2012 Feb 16 12:41 PM
Hi,
I don't think that is a practical requirement. You may try to restrict his requirement to some few transactions.
2012 Feb 16 3:41 AM
Hey is it that You want to execute a non -SAP program from SAP on clicking a function key ???
In that case, you can set the PF-STATUS for this function key and in the coding for this function key execution , call teh code to execute the application right?
2012 Feb 16 8:44 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |