Application Development and Automation 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: 
Read only

RFC Function call not working

former_member188001
Active Participant
0 Likes
3,261

Hello all,

I am making a remote call to another system. I dont get any data back. Can someone please validate my query.

Regards,

Salil

CALL FUNCTION 'ZAMC_GET_PANEL_FLDS_VALUES' DESTINATION gw_dest
                    EXPORTING
                      gw_adspec-motivid = p_tech_adspec_id
                    TABLES
                      gt_panel          = p_content_fields.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,871

Hello salil,

Hope you verify following things:

1. Rfc destination is working fine.

2. Function module you are calling is remote enabled

3. id you are passing as input as relavant data in remote system

4. How you are passing the table? by reference or by val?

5. Try to debug the code, This will definetly help you to localize the problem.

Hope this helps!

Thanks,

Augustin.

6 REPLIES 6
Read only

Former Member
0 Likes
1,871

hi..

Is the data available in other system.Has the connection with the other system available properly.

please check if the data is avaialabe for the paratmerts that you have passed.

Read only

Former Member
0 Likes
1,871

Hi,

More than the call, let us see how you make teh connection and how you fill the data.

Dimas B. Salazar

ABAP - Consultant

Caracas, Venezuela

Read only

daixiong_jiang3
Active Participant
0 Likes
1,871

1. Run transaction SM59 to check the connection between your system and gw_dest

2. make sure 'ZAMC_GET_PANEL_FLDS_VALUES' is a remote-enabled function.

3. check the parameter

Read only

Former Member
0 Likes
1,871

hi,

Check if your destination parameter in CALL FUNCTION .. DESTINATION .. is correctly defined (in SM59) and populated. If it is correct, then check if you have flagged your function module in R/3 as a remote enabled function module (in Attributes).

-Thanks & Regards

Saurabh Goel

Read only

Former Member
0 Likes
1,871

if you checked above all and then also it is not working

then release the function module and try it out

cheers

s.janagar

Read only

Former Member
0 Likes
1,872

Hello salil,

Hope you verify following things:

1. Rfc destination is working fine.

2. Function module you are calling is remote enabled

3. id you are passing as input as relavant data in remote system

4. How you are passing the table? by reference or by val?

5. Try to debug the code, This will definetly help you to localize the problem.

Hope this helps!

Thanks,

Augustin.