Application.SAPIDocDefinitionFile Property

ClosedDescription

Sets and returns the SAP IDoc configuration file name.

ClosedSyntax

Application.SAPIDocDefinitionFile = fileName

Where fileName is the name of the SAP IDoc configuration file to use.

ClosedRequirements

Version

BarTender 7.00 or higher

Edition

Automation, Enterprise Automation

ClosedVB.NET Example

'Declare a BarTender application variable

Dim btApp As BarTender.Application

'Create a new instance of BarTender

btApp = New BarTender.Application

'Set the BarTender application visible

btApp.Visible = True

'Set the SAP IDoc configuration file name

btApp.SAPIDocDefinitionFile = "c:\\config.icf"

'End the BarTender process

btApp.Quit(BarTender.BtSaveOptions.btDoNotSaveChanges)

ClosedC# Example

// Declare a BarTender application variable

BarTender.Application btApp;

// Create a new instance of BarTender

btApp = new BarTender.Application();

// Set the BarTender application visible

btApp.Visible = true;

// Set the SAP IDoc configuration file name

btApp.SAPIDocDefinitionFile = "c:\\config.icf";

// End the BarTender process

btApp.Quit(BarTender.BtSaveOptions.btDoNotSaveChanges);

Related Topics