Question:
The function modules are:
- CREATE_COM_INSTANCE
- COM_INVOKE
- DELETE_COM_INSTANCE
I have applied the ossnote 419822 but I only have the functions BEGIN_COM_SESSION and END_COM_SESSION. I don't know if the note is sucessfully applied. My system administrator says YES.
Please, if someone have them, send me to email yec_es@hotmail.com
Thanks in advance for you help.
Regards.
Answer:
Those three "functions" are really methods of the COM4ABAP server. You already have the only functions that you will call if you have the BEGIN/END COM session functions. The others are methods.
Hope this helps!
Answer:
.. What do you mean with methods? They are supposed to be R/3 functions than are in the system. How can I access to them?
Thanks in advance
Answer:
With the SDK's that are part of the SAP GUI installation, you will find the SAP directory with the name \SAPGUI\RFCSDK\ccwww\ - in this directory there is an HTML help file called DCOMCC. This is the help file for DCOM and COM4ABAP (COM4ABAP is the last folder in the tree help file). It will explain everything you need to have COM4ABAP working. This help file refers to the three "functions" you asked about as functions. But, actually they are mehods of the COM4ABAP server. They don't actually reside inside of SAP, so you won't find them there. The BEGIN_COM_SESSION and END_COM_SESSION are the only functions you need inside SAP.
Here is a breif setup:
1. Write a VB DLL to access from SAP
2. Map the DLL's functions/properties using TYPEMAP (comes with SDK)
3. Start the COM4ABAP server, with the correct parameters
4. Setup SAP SM59 connection to new COM4ABAP server
5. Write ABAP to access VB DLL through the COM4ABAP server
Good Luck!