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.

VALUE TO BDC_TAB-DYNPRO,<br />

'X' TO BDC_TAB-DYNBEGIN.<br />

APPEND BDC_TAB.<br />

ELSE.<br />

CLEAR BDC_TAB.<br />

MOVE: NAME TO BDC_TAB-FNAM,<br />

VALUE TO BDC_TAB-FVAL.<br />

APPEND BDC_TAB.<br />

ENDIF.<br />

ENDFORM.<br />

Model solution 2 (Chapter 2): Introduction to Batch Input<br />

Processing<br />

REPORT RSFFF022.<br />

* Internal table for storing the data in screen format<br />

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

INCLUDE STRUCTURE BDCDATA.<br />

DATA: END OF BDC_TAB.<br />

* Include Report contains record for the data to be transferred to<br />

* the SAP system<br />

INCLUDE RSFFF02F.<br />

DATA: TCODE LIKE SY-TCODE.<br />

PARAMETERS:<br />

* Name of the batch input session<br />

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

* Name of the sequential file to be accessed

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

Saved successfully!

Ooh no, something went wrong!