on 09-23-2005 12:50 PM
Hi,
i´ve been requested by my manager to find out how to run a dll in sap. They want us to implement a button in a sap screen to attach documents, this pushbutton will call to the DLL and this DLL will launch the documentation portal. Navigate into the documentation, pick up a document and bring back this link to the sap screen.
i´d appreciate your help, guys.
Thanks
hi, where is your DLL in, client or server.
if server, you can use SXPG_COMMAND_EXECUTE,
if client, you can use WS_EXECUTE or CL_GUI_FRONTEND_SERVICES method: EXECUTE(rich mentioned)
But there is something additional of mine, as I know, the correct way to launch a DLL is like this:
you should type in console windows like
RUNDLL.EXE <dllname>,<entrypoint> <optional arguments>
<entrypoint> is the name of function in your DLL
so, when you call the FM of SAP, command name is rundll32, parameter is the name of your DLL.
Hope it will be helpful
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
10 | |
9 | |
5 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.