‎2008 Jan 25 10:20 AM
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
‎2008 Jan 25 10:24 AM
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
‎2008 Jan 25 10:28 AM
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
‎2008 Jan 25 10:34 AM
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.