/AWS1/CL_BDIWRAPOPTIONS¶
Contains options for wrapping (line folding) in X12 EDI files. Wrapping controls how long lines are handled in the EDI output.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_wrapby TYPE /AWS1/BDIWRAPFORMAT /AWS1/BDIWRAPFORMAT¶
Specifies the method used for wrapping lines in the EDI output. Valid values:
SEGMENT: Wraps by segment.
ONE_LINE: Indicates that the entire content is on a single line.When you specify
ONE_LINE, do not provide either the line length nor the line terminator value.
LINE_LENGTH: Wraps by character count, as specified bylineLengthvalue.
Optional arguments:¶
iv_lineterminator TYPE /AWS1/BDILINETERMINATOR /AWS1/BDILINETERMINATOR¶
Specifies the character sequence used to terminate lines when wrapping. Valid values:
CRLF: carriage return and line feed
LF: line feed)
CR: carriage return
iv_linelength TYPE /AWS1/BDILINELENGTH /AWS1/BDILINELENGTH¶
Specifies the maximum length of a line before wrapping occurs. This value is used when
wrapByis set toLINE_LENGTH.
Queryable Attributes¶
wrapBy¶
Specifies the method used for wrapping lines in the EDI output. Valid values:
SEGMENT: Wraps by segment.
ONE_LINE: Indicates that the entire content is on a single line.When you specify
ONE_LINE, do not provide either the line length nor the line terminator value.
LINE_LENGTH: Wraps by character count, as specified bylineLengthvalue.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_WRAPBY() |
Getter for WRAPBY, with configurable default |
ASK_WRAPBY() |
Getter for WRAPBY w/ exceptions if field has no value |
HAS_WRAPBY() |
Determine if WRAPBY has a value |
lineTerminator¶
Specifies the character sequence used to terminate lines when wrapping. Valid values:
CRLF: carriage return and line feed
LF: line feed)
CR: carriage return
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LINETERMINATOR() |
Getter for LINETERMINATOR, with configurable default |
ASK_LINETERMINATOR() |
Getter for LINETERMINATOR w/ exceptions if field has no valu |
HAS_LINETERMINATOR() |
Determine if LINETERMINATOR has a value |
lineLength¶
Specifies the maximum length of a line before wrapping occurs. This value is used when
wrapByis set toLINE_LENGTH.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LINELENGTH() |
Getter for LINELENGTH, with configurable default |
ASK_LINELENGTH() |
Getter for LINELENGTH w/ exceptions if field has no value |
HAS_LINELENGTH() |
Determine if LINELENGTH has a value |