Making a Remote Function Call

Team-Fly

Before making an RFC from SAP, you should be connected to an R/3 system or to your local repository file. After you are connected, click on the Search tab and specify an RFC. Right-click and choose Run from the context menu, or choose Tools and run RFC/BAPI.

If you are reading from a local repository, SAP Assistant asks whether you want to log on using the last logon parameters. If you choose Yes, SAP Assistant logs on to the system you logged on to last, and you can continue to specify the parameters for running the RFC. Make sure that you are logged on to the desired system.

At the Run RFC/BAPI dialog box, enter values for any required importing parameters. You may enter data into any importing or importing/exporting parameters. If the parameter is a single field, click on the Value column next to the importing parameter name to enter a value for it. If the importing parameter is a table or a structure, click on the Table icon to get an expanded view of the table with its fields so that you can enter data into those fields. Choose Run to execute the call. When the call returns, you can check the RETURN parameter, which contains any error messages. The value of the various exporting parameters contains the data returned from the call. If an exporting parameter is a single field, its data appears in the Value column. If the returned value is a structure or a table, click on the Table icon to see its fields and their values.


Team-Fly


Java & BAPI Technology for SAP
Java & BAPI Technology for SAP
ISBN: 761523057
EAN: N/A
Year: 1998
Pages: 199

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net