‎2009 Jul 21 12:59 PM
Hi all,
In ABAP z-report iam using one field and i want to transfer that field content to Visual basic code.
First of all is it possible??If yes please provide me the logic how to do this...
Thanking you.
Regards.
Hemant.
‎2009 Jul 21 2:51 PM
Of course, but no one can give you the code specific to your program. You're going to have to do some help file reading on web services and RFC's. You need to expose a web service using an RFC-enabled function that either calls your report and gets the value or has the same logic in it to determine the value. Use your VB app to call the web service. See the help files on web services for the step-by-step process.
‎2009 Jul 21 2:54 PM
Hi,
yes you can trasnfer fields data to visual basic . Before that find the suitable BAPI .
regards,
Rama
‎2009 Jul 21 3:03 PM
Hi,
There are 2 options.
1) RFC.
2) Web Services.
Following links are for webservices.
http://help.sap.com/saphelp_nw04/Helpdata/EN/e9/ae1b9a5d2cef4ea4b579f19d902871/content.htm
Regards,
Vimal.
Edited by: Vimal V on Jul 21, 2009 4:04 PM
‎2009 Jul 21 3:07 PM
With ABAP you can interface with VB using OLE Automation.
You VB application must be of type 'ActiveX DLL' or 'ActiveX EXE', a 'Standard EXE' will not work.
And before you create object of your VB class in ABAP your class should be registered in the local PC where your ABAP program will run (using regsvr32), otherwise your class will not be visible to ABAP code.
Refer program RSDEMO01 in ABAP, this program use OLE Automation to interface with Excel.
‎2010 Mar 09 6:44 AM