Show TOC Entering content frame

Background documentation Properties of a File Choice Control Locate the document in its SAP Library structure

You need to specify the following properties for a file choice control.

File Choice Property

Action

Anchor

Choose the anchor to reference the data source.

BCOLFieldName (appears when the control is in a grid in a list tile)

Enter the BDoc segment field name corresponding to the data source property that you want to associate with the control. To do this, you must open the data source.

Note

The grid’s data source and the data source property of the control must belong to BDoc segments of the same BDoc.

BO Attribute  

Ensure the name of the property to which this control is associated is accurate. If it is not accurate, select the appropriate property of a business object or business query.

Column Number

(appears when the control is in a grid in a list tile)

Determine which column in the grid this control occupies.

Data Type

(required)

Set the data type for the control. The default data type is derived from the assigned data source property.

Default Working Directory

Specify the default working directory for the file control. At runtime, file information from this directory appears in the dialog box.

File Types

Specify the types of files you support. At runtime, these file types appear in the Open or Save dialog boxes in a combo list control. For each item in the combo list, you must specify the displayed name and the file extensions allowed.

IsGridColumn

(appears when the control is in a grid in a list tile)

Select True, if the control is a column in a grid.

Select False, if the control is not a column in a grid.

Label

(required)

Enter the text to be displayed on the file choice field or grid column.

Maximum Length

Enter a number representing the maximum number of characters that  can be displayed and entered in the file choice field.

If you enter 0 (zero), there is no restriction on the number of characters.

Mode

(required)

Set the mode for the control.

If set to …

Then the user …

Normal

 

Can choose the control to perform an action.

Readonly

Can only read the data displayed in the control.

Hidden

Does not see the control.

Mandatory

Must select a value in the control.

Name

(required)

Enter a name with the assigned namespace. This name is used to access this control within the code.

Offset

Enter the label width of the control.

Note

The value you specify must not exceed a specific percentage of the total width that you set for the Right and Left properties.

Tab Order

Enter a sequence number to determine the order in which a user can navigate the tile using the Tab key.

Top, Left, Bottom, Right

(required)

Set the coordinates based on the position of the control.

Note

The value that you set for the Top automatically determines the value for the Bottom.

Type

Select File Save to display the Save dialog box at runtime.

Select File Open to display the Open dialog box at runtime.

Use Long Text

Select True to display the long text of the combo engine in the control field at runtime. 

Select False to display the short text of the combo engine in the control field at runtime.

Select Both to display the short and the long text of the combo engine in the control field at runtime.

See also:

 

Defining a File Choice Control    

Leaving content frame