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.

Declaration Part 2<br />

© SAP AG<br />

REPORT RFFF02C.<br />

PARAMETERS:<br />

FILE(30) DEFAULT '/tmp/RSFFF02B'<br />

LOWER CASE,<br />

NAME LIKE APQI-GROUPID DEFAULT SY-UNAME.<br />

DATA:BEGIN OF BDC_TAB OCCURS 5.<br />

INCLUDE STRUCTURE BDCDATA.<br />

DATA: END OF BDC_TAB.<br />

DATA:BEGIN OF REC,<br />

ID LIKE SCUSTOM-ID,<br />

POSTCODE LIKE SCUSTOM-POSTCODE,<br />

CUSTTYPE LIKE SCUSTOM-CUSTTYPE;<br />

END OF REC.<br />

START-OF-SELECTION:<br />

OPEN DATASET FILE FOR INPUT.<br />

WRITE: TEXT-001, SY-MANDT, NAME, SY-UZEIT.<br />

In the declaration part of the BDC program, you define the BDC table and a structure for reading in the<br />

data.

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

Saved successfully!

Ooh no, something went wrong!