|
| Iniciado por Ruan, 31,oct. 2014 10:51 - 1 respuesta |
| |
| | | |
|
| |
Miembro registrado 214 mensajes |
|
| Publicado el 31,octubre 2014 - 10:51 |
Good Day
We are using SAP Business One and I would like to integrate Windev with SAP. They have certain SDK's to do the job but I cannot seem to add it to Windev. There is one communication file that calls all the API's etc. it is called "SAPbouiCOM.exe". Here is an example of it being used in C# how will I do this in Windev?
using System; using System.Windows.Forms; class HelloWorld {
PRIVATE SAPbouiCOM.Application SBO_Application;
PRIVATE void SetApplication() {
SAPbouiCOM.SboGuiApi SboGuiApi = null; string sConnectionString = null;
SboGuiApi = new SAPbouiCOM.SboGuiApi();
sConnectionString = System.Convert.ToString( Environment.GetCommandLineArgs().GetValue( 1 ) );
SboGuiApi.Connect( sConnectionString );
SBO_Application = SboGuiApi.GetApplication( -1 );
}
PUBLIC HelloWorld() {
SetApplication();
SBO_Application.MessageBox( "Hello World", 1, "Ok", "", "" );
} }
Thanks |
| |
| |
| | | |
|
| | |
| |
Miembro registrado 214 mensajes |
|
| Publicado el 05,noviembre 2014 - 13:39 |
| |
| |
| | | |
|
| | | | |
| | |
|