0% found this document useful (0 votes)
145 views10 pages

Calling RFC From BODS

This document demonstrates how to call a Remote Function Module (RFC) from SAP Business Objects Data Services (BODS). It describes importing the RFC into BODS, creating a file format to pass employee IDs to the RFC as input, setting up a query to call the RFC and map its output to a target table. The key steps are: 1) importing the RFC, 2) creating a file format source of employee IDs, 3) configuring a query to call the RFC, passing the file format as input and mapping RFC output fields, and 4) executing the job to retrieve employee details by calling the RFC.

Uploaded by

Deepak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
145 views10 pages

Calling RFC From BODS

This document demonstrates how to call a Remote Function Module (RFC) from SAP Business Objects Data Services (BODS). It describes importing the RFC into BODS, creating a file format to pass employee IDs to the RFC as input, setting up a query to call the RFC and map its output to a target table. The key steps are: 1) importing the RFC, 2) creating a file format source of employee IDs, 3) configuring a query to call the RFC, passing the file format as input and mapping RFC output fields, and 4) executing the job to retrieve employee details by calling the RFC.

Uploaded by

Deepak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

Community

Ask a Question Write a Blog Post Login

Former Member
August 22, 2014 3 minute read

Calling RFC from BODS


Follow RSS feed Like

3 Likes 12,393 Views 3 Comments

Calling RFC from BODS

Introduction:–

In this scenario I am demonstrating about how to call Remote enabled Function Module from BODS.

1) Create SAP Application Datastore.

     In this example I am using the “SAP_BI” as the SAP Application datastore.

     As i have created the Fm in BI system, i have crated datastor for that system.

2) Import RFC from SAP system.

In Local Object Library expand SAP datastore.


Right click on Functions & click “Import By Name”.
Enter the name of the RFC to import & click on “Import“.

        Here I am using the “ZBAPI_GET_EMPLOYEE_DETAILS” as the RFC.

RFC will be imported & can be seen in the Local Objet Library.
Note :– This RFC takes Employee ID as the input & displays Employee details.

            I have stored Employee id in the text le, so to read text le I am using File format as the source.

3) Create File Format for at (text) le.

   This le format(here “Emp_Id_Format”) has the list of employee ids.

4) Create Job, Work ow, Data ow as usual.

5) Drag File Format into data ow & mark it as a Source.

6) Drag a query platform also in to data ow & name it (here “Query_fcn_call”).


7) Assign RFC call from Query

Double click on Query.

Right click on “Query_fcn_call” & click “New Function Call”.

“Select Function” window will open. Choose appropriate function & click “Next”.
·         In below window click on button & de ne an input parameter.

Select the le format that we have created earlier in “Input Parameter” window & press OK.
Select Column name from the input le format & press “OK”.

        Here the le format has one column only with name as “Id”.

Click “Next” & select Output Parameters.


Select the required output parameters & click “Finish”.

        Here i am selecting all the elds.


Now the Query editor for query platform “Query_fcn_call” can be seen as follows.

8) Add another query platform into dataflow for mapping & name it (here “Query_Mapping”).

9) Add a template table also.


10) Mapping.

Double click on query “Query_Mapping” & do the necessary mappings.

11) Save the Job, validate & execute.

12) During execution employee id is taken as a input to the RFC & output of the rfc is stored in the table.

        Output can be seen as follow after execution.

        Here employee ids are taken from the File Format & given to RFC as an input.

        Output of the RFC is given as an input to the query “Query_Mapping” where it is mapped to the target table
fields.

Thanks,

Rahul S. More

(Technical Lead)

IGATE Global Solutions Pvt Ltd.


Alert Moderator

Assigned tags

SAP Data Services | rfc bods | rfc in bods | using rfc in bods |

Related Blog Posts

Invoking RFC enabled BDC from BODS


By ROSHAN CHHAJED , Jul 17, 2012
Receiving IDOC in Business Objects Data Services (BODS) from SAP
By ROSHAN CHHAJED , Jul 16, 2012

Step by step data loading from BODS to BW target


By Former Member , Oct 28, 2014

Related Questions

Can anyone please let me know how to restrict BODS from calling RFC FM twice ?
By Karthikeyan Ganesan , Sep 27, 2018

Debugging

You might also like