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.

Example Program - Define BDC Table<br />

© SAP AG<br />

REPORT RSFFF05A.<br />

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

INCLUDE STRUCTURE BDCDATA.<br />

DATA: END OF BDC_TAB.<br />

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

INCLUDE STRUCTURE BDCMSGCOLL.<br />

DATA: END OF MESSTAB<br />

PARAMETERS:<br />

DISMODE DEFAULT 'A',<br />

UPDMODE DEFAULT 'S',<br />

ID LIKE SCUSTOM-ID DEFAULT '00000001',<br />

CUSTNAME LIKE SCUSTOM-NAME DEFAULT 'SCHMIDT',<br />

POSTCODE LIKE SCUSTOM-POSTCODE DEFAULT '6900',<br />

CITY LIKE SCUSTOM-CITY DEFAULT 'HEIDELBERG',<br />

CUSTTYPE LIKE SCUSTOM-CUSTTYPE DEFAULT 'B',<br />

DISCOUNT LIKE SCUSTOM-DISCOUNT DEFAULT '10',<br />

TELEFON LIKE SCUSTOM-TELEPHONE DEFAULT '24567'.<br />

You define the BDC table in the declaration part of the program.<br />

This CALL TRANSACTION program corresponds to the BDC program example RSFFF02A.

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

Saved successfully!

Ooh no, something went wrong!