Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Program making a RFC call to Function Module not working in background

Former Member
0 Kudos
120

Hi All,

I have an ABAP Program which is used to do a reconciliation check between the R/3 and BI system for Invoice Data. Please find below the details of the program flow:

1. Program counts the number of records in the DSO table and aggregates the Net_Value based on the date range (passed as parameters)

2. Program calls a Function Module (RFC Call) which counts the number of records in the R/3 table and aggregates the Net_Value for the same date range

3. Function Module Passes back the count values and aggregated Net_Value to the program

4. Program compares the count and aggregated Net_Value from EDWH and MSP systems and sends an email mentioning whether the counts match or not

However we are facing an issue.

Whenever, we execute the program in dialog mode, it works fine and fetches results within 5-6 minutes. However if we schedule the program to run in background (parameters through a variant), it gives no results even after running for over 3-4 hours. We tried figuring it out yesterday but could not come to any conclusion. Since there is a RFC call being to the function module, we were wondering if we need to specify some other parameter as well.

Thanks & Regards

Dharmendra

2 REPLIES 2

former_member188685
Active Contributor
0 Kudos
52

what is the RFC ./..?

0 Kudos
52

RFC Call is a procedure for executing remote enables function modules. It is done via the 'Remote Enabled' radio button on the function module's attribute screen.