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.

Exercise for Chapter 3<br />

Report name: ZBCE##C1<br />

Function group: ZE##<br />

Function module: Z_BC415_##_...<br />

Logical destination: BC415_##<br />

##: Group number<br />

Implement an RFC communication between two R/3 systems<br />

to read data (airline carrier information) from a server system<br />

and output it in the client system.<br />

Proceed as follows:<br />

1. Create a function group (see above) in a server system to be<br />

specified by the instructor.<br />

2. Program a function module assigned to this function group<br />

(see above) and including the following functionality:<br />

• Import parameter for the airline carrier<br />

• Table parameter for selected records of table SCARR<br />

• Exception for an invalid key evaluation<br />

Use the following program fragment to allow generic<br />

selection in table SCARR:<br />

IF NE SPACE.<br />

TRANSLATE USING '+_*%'.<br />

ELSE.<br />

= '%'.<br />

ENDIF.<br />

• Read the table SCARR and transfer the valid records to the<br />

internal table.

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

Saved successfully!

Ooh no, something went wrong!