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

Data updation using Remote Function Module

Former Member
0 Likes
483

Hi ALL,

I have an urgent issue to be resolved.

The problem is a report program which is running in one R/3 system is connected to different R/3 sytem (eg APO system).

The main functionality of the report is as follows:

It retrieves data from APO system (from tables) through RFM and performs some checks and validation and then it sends back the data to APO system (through RFM) and there it is inserting the data in 3 custom tables.

Problem is the data is not inserting in these 3 tables . even though the data in present in internal table which is passed as parameter values in the RFM.

Kindly suggest what/where might be the problem.

Thanks in advance.

Kumaran

3 REPLIES 3
Read only

Former Member
0 Likes
461

Hi Kumaran,

Good!

If the data is present in the internal table that are passed to RFM, then might be problem in RFM or while inseting data there may be data issue.

it is surely an RFM issue.

Thanks,

Sunil

Read only

Former Member
0 Likes
461

hi,

please check your RFM which is inserting data into APO tables. Check the user id/password with which the RFM from R/3 is logging into APO.

Also, check your RFC destination thru T-Code SM59.

regards,

n.jain

Edited by: nishu jain on Jan 25, 2008 11:28 AM

Read only

0 Likes
461

Hi,

I have checked the RFC through SM59 it is working fine and also the RFM by logging into APO system in debugging mode it fails in below underlined statement :

if not t_zcxxalpg[] is initial.

insert zcxxalpg from table t_zcxxalpg.

if sy-dbcnt eq 0.

raise INSERT_LOGPROD_FAIL.

endif.

endif.

if not t_zcxxafpcg[] is initial.

*insert zcxxafpcg from table tzcxxafpcg.*_

if sy-dbcnt eq 0.

raise INSERT_FINPROD_FAIL.

endif.

endif.

commit work.

endif.