Specifying a DataWindow object for the control
To identify the DataWindow object you want to display in the
control, you specify values for two properties:
-
SourceFileName
-
DataWindowObject
You enter their values on the General page of the SAP DataWindow
Web Control Properties dialog box.
About SourceFileName
The value for SourceFileName is the name of the library that
contains the DataWindow object for the control. It can be a URL
or a file path. These examples illustrate some typical variations:
-
Absolute
URL:1http://www.domain.com/dwlibraries/financedws.pbd -
Relative URLs:
1financedws.pbd1dwlibraries/financedws.pbd -
Absolute file path (can be useful while developing
pages):1d:/web project/dwlibraries/financedws.pbd
In the Web ActiveX property sheet, when you use the Browse
button to look for the library, you browse the file system, not
URLs. After the full path is inserted in the field, you probably
should edit it so that it is valid when your Web pages are deployed.
Changing SourceFileName during execution
You can change the value of SourceFileName in a script. If
you do, you also have to specify a value for DataWindowObject that
is valid in the new library. You must also call SetTransObject again
if you are using a separate transaction object.
About DataWindowObject
The value for DataWindowObject is the name of a DataWindow
object that is in the library specified in SourceFileName.
If the library is accessible in the development environment
(for example, it is part of the PowerBuilder workspace and you specify
a relative URL), then the property sheet displays a drop-down list
of the DataWindow objects contained in the library.

To display a PSR file instead of a DataWindow object, specify
its URL as the value for the DataWindowObject and leave the SourceFileName
blank.