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.

Filling the BDC Table 4<br />

© SAP AG<br />

CLEAR BDC_TAB.<br />

BDC_TAB-FNAM = 'SCUSTOM-CUSTTYPE'.<br />

BDC_TAB-FVAL = CUSTTYPE.<br />

APPEND BDC_TAB.<br />

CLEAR BDC_TAB.<br />

BDC_TAB-FNAM = 'SCUSTOM-DISCOUNT'.<br />

BDC_TAB-FVAL = DISCOUNT.<br />

APPEND BDC_TAB.<br />

CLEAR BDC_TAB.<br />

BDC_TAB-FNAM = 'SCUSTOM-TELEPHONE'.<br />

BDC_TAB-FVAL = TELEFON.<br />

APPEND BDC_TAB.<br />

CLEAR BDC_TAB.<br />

BDC_TAB-FNAM = 'BDC_OKCODE'.<br />

BDC_TAB-FVAL = '/11'.<br />

APPEND BDC_TAB.<br />

ENDFORM.<br />

On the second screen of Transaction TFBA, the fields 'SCUSTOM-CUSTTYPE', 'SCUSTOM-<br />

DISCOUNT' and 'SCUSTOM-TELEPHONE' are also transferred.<br />

Finally, the OK code must be passed (choose Customer data -> Save). The field name for the OK code<br />

is the same for all screens: BDC_OKCODE.<br />

The value for the OK code consists of a slash '/' and the function key number (example: '/11') .<br />

Alternatively, you can use the function code assigned to this function code.<br />

When you choose Save, the data is updated. This completes batch input processing for this transaction.

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

Saved successfully!

Ooh no, something went wrong!