Skip to content

/AWS1/CL_GLACSVINPUT

Contains information about the comma-separated value (CSV) file to select from.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_fileheaderinfo TYPE /AWS1/GLAFILEHEADERINFO /AWS1/GLAFILEHEADERINFO

Describes the first line of input. Valid values are None, Ignore, and Use.

iv_comments TYPE /AWS1/GLASTRING /AWS1/GLASTRING

A single character used to indicate that a row should be ignored when the character is present at the start of that row.

iv_quoteescapecharacter TYPE /AWS1/GLASTRING /AWS1/GLASTRING

A single character used for escaping the quotation-mark character inside an already escaped value.

iv_recorddelimiter TYPE /AWS1/GLASTRING /AWS1/GLASTRING

A value used to separate individual records from each other.

iv_fielddelimiter TYPE /AWS1/GLASTRING /AWS1/GLASTRING

A value used to separate individual fields from each other within a record.

iv_quotecharacter TYPE /AWS1/GLASTRING /AWS1/GLASTRING

A value used as an escape character where the field delimiter is part of the value.


Queryable Attributes

FileHeaderInfo

Describes the first line of input. Valid values are None, Ignore, and Use.

Accessible with the following methods

Method Description
GET_FILEHEADERINFO() Getter for FILEHEADERINFO, with configurable default
ASK_FILEHEADERINFO() Getter for FILEHEADERINFO w/ exceptions if field has no valu
HAS_FILEHEADERINFO() Determine if FILEHEADERINFO has a value

Comments

A single character used to indicate that a row should be ignored when the character is present at the start of that row.

Accessible with the following methods

Method Description
GET_COMMENTS() Getter for COMMENTS, with configurable default
ASK_COMMENTS() Getter for COMMENTS w/ exceptions if field has no value
HAS_COMMENTS() Determine if COMMENTS has a value

QuoteEscapeCharacter

A single character used for escaping the quotation-mark character inside an already escaped value.

Accessible with the following methods

Method Description
GET_QUOTEESCAPECHARACTER() Getter for QUOTEESCAPECHARACTER, with configurable default
ASK_QUOTEESCAPECHARACTER() Getter for QUOTEESCAPECHARACTER w/ exceptions if field has n
HAS_QUOTEESCAPECHARACTER() Determine if QUOTEESCAPECHARACTER has a value

RecordDelimiter

A value used to separate individual records from each other.

Accessible with the following methods

Method Description
GET_RECORDDELIMITER() Getter for RECORDDELIMITER, with configurable default
ASK_RECORDDELIMITER() Getter for RECORDDELIMITER w/ exceptions if field has no val
HAS_RECORDDELIMITER() Determine if RECORDDELIMITER has a value

FieldDelimiter

A value used to separate individual fields from each other within a record.

Accessible with the following methods

Method Description
GET_FIELDDELIMITER() Getter for FIELDDELIMITER, with configurable default
ASK_FIELDDELIMITER() Getter for FIELDDELIMITER w/ exceptions if field has no valu
HAS_FIELDDELIMITER() Determine if FIELDDELIMITER has a value

QuoteCharacter

A value used as an escape character where the field delimiter is part of the value.

Accessible with the following methods

Method Description
GET_QUOTECHARACTER() Getter for QUOTECHARACTER, with configurable default
ASK_QUOTECHARACTER() Getter for QUOTECHARACTER w/ exceptions if field has no valu
HAS_QUOTECHARACTER() Determine if QUOTECHARACTER has a value