17.08.2013 Views

Data Interfaces

Data Interfaces

Data Interfaces

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Model solution for Chapter 5: CALL TRANSACTION<br />

REPORT RSFFF051.<br />

* Internal table to store the data in screen format<br />

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

INCLUDE STRUCTURE BDCDATA.<br />

DATA: END OF BDC_TAB.<br />

* Internal Table of format BDCMSGCOLL to store the transaction<br />

* messages<br />

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

INCLUDE STRUCTURE BDCMSGCOLL.<br />

DATA: END OF MESSTAB.<br />

* Record for the data to be transferred to the SAP System<br />

DATA: BEGIN OF REC,<br />

PARAMETERS:<br />

TELEPHONE LIKE SCUSTOM-TELEPHONE,<br />

ID LIKE SCUSTOM-ID,<br />

NAME LIKE SCUSTOM-NAME,<br />

END OF REC.<br />

* Name of the sequential file to be accessed<br />

FILE(30) DEFAULT '/tmp/TELXX' LOWER CASE,<br />

* Processing and update mode<br />

DISMODE DEFAULT 'A',

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

Saved successfully!

Ooh no, something went wrong!