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.

Your directory name: /tmp<br />

Name of model file: KUNXX<br />

Session name: RSD###022SES<br />

Name of the BDC user: BC420DC<br />

Task:<br />

File KUNXX contains SCUSTOM data for adding new<br />

SCUSTOM records with transaction TFBB and for changing<br />

existing SCUSTOM records with transaction TFBA. Write a<br />

batch input program which reads in this data and enters it in<br />

the SCUSTOM records.<br />

Programming hint:<br />

The data record structure is as follows:<br />

filled for transaction<br />

Description Name Length TFBA TFBB<br />

ID REC-FLAG 1 U N<br />

Customer ID REC-ID 8 x<br />

Name REC-NAME 25 x x<br />

Postal code REC-POSTCODE 10 x x<br />

City REC-CITY 25 x x<br />

Customer type REC-CUSTTYPE 1 x x<br />

Cust. discount REC-DISCOUNT 3 x x<br />

Telephone REC-TELEPHONE 30 x x<br />

This structure is defined in the include program RSFFF02F.<br />

The ID has one of the following values:<br />

• 'U' (Update): Change SCUSTOM record<br />

• 'N' (New): Add this SCUSTOM record

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

Saved successfully!

Ooh no, something went wrong!