Files You Need for Using the Code Generator 

Using the Code Generator as a Sample GUI Component Application

The SAP Automation GUI Code Generator is an implementation of an application using the GUI Component. Viewing its source files can help you program similar applications.

GUI Code Generator Source Files

The following are GUI Code Generator source files. :

itAbout.frm

itDynamic.frm

itMainForm.frm

itAbout.frx

itDynamic.frx

itMainForm.frx

itAddComment.frm

itFormBuild.bas

itRecordFormat.frm

itConnect.frm

itHelpInfo.bas

itRunProgram.frm

itControls.frm

itLogon.bas

itSapRunner.cls

itControls.frx

itLogon.frm

itTransaction.frm

In addition, you need to use the GUI Code Generator project file: autosap.vbp

Using the Code Generator Application Program

We have also compiled the above source files into the GUI Code Generator program file, which is autosap.exe.

The GUI Code Generator program generates Visual Basic modules (.BAS) as a result of user interaction with SAPGUI. You can use this code as a starting point for creating applications using the Basic programming language.

File You Need When Using the Code Generator Application Program

When using the GUI Code Generator as a program to generate Basic code you need the following files:

File

Comments

guilib.dll

GUI Library

itole.ocx

GUI Component OLE control

autosap.exe

GUI Code Generator

Required DLL Files

Several other DLL files are also required when using the GUI Code Generator. They are installed as part of the installation of the SAP Automation suite, if needed.

For example, the librfc32.dll file is an SAP DLL used by the GUI Library. It is installed as part of the SAP Automation installation.

Third-party DLLs

Several Microsoft and other third-party DLLs are also required when using the GUI Code Generator. They, too, are installed as part of the installation of the SAP Automation, if needed: