17.08.2013 Views

Data Interfaces

Data Interfaces

Data Interfaces

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Binary Mode and Text Mode<br />

Binary mode Text mode<br />

ABAP/4<br />

program A B C<br />

A B<br />

A B C D<br />

TRANSFER<br />

© SAP AG<br />

A B C A B A B C D<br />

READ DATASET<br />

ABAP/4<br />

program A B C<br />

A B A<br />

B C D<br />

READ DATASET<br />

ABAP/4<br />

program A B C<br />

A B<br />

A B C D<br />

ABAP/4<br />

program A B C<br />

A B<br />

A B C<br />

TRANSFER<br />

A B C A B A B C D<br />

The example above illustrates the difference between binary mode and text mode:<br />

Three fields of different lengths are transferred at any one time. The data is then read into three fields of<br />

the same length.<br />

In text mode, the operating system-specific line-end character is set after every data record.<br />

Blanks at the end of a data record are not suppressed in text mode.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!