‎2007 Nov 23 2:33 PM
Hi all,
i try to call a remote enabled function module via rfc from erp to apo.
CALL FUNCTION 'Z_XXXXXXXXXXXX
DESTINATION XXXXX
EXPORTING
wa_truid = it_tab_pre-trguid
IMPORTING
status = wa_status.
In debugging the parameter it_tab_pre-trguid is filled correctly (in ERP).
But in APO the field is empty.
Any ideas?
regards
‎2007 Nov 23 2:38 PM
Hi!
Calling an FM with RFC means, you just simply run it on their system with giving some parameters to it.
It will use the remote database to select data.
Log into the APO system and run the FM there, with the same parameters, and you'll see, what's wrong.
Regards
Tamá
‎2007 Nov 23 2:38 PM
Hello Wolfgang,
How are you passing the Parameter wa_truid BY VALUE or BY REFERNCE.
Try Pass by value.
Regards
Saket Sharma
Message was edited by:
Saket Sharma
‎2007 Nov 23 2:43 PM
hi,
i am passing the parameter wa_truid by value!!
If i call the function module from APO everything works fine!!
Any other ideas?
regards
‎2007 Nov 23 3:28 PM
Hi Wolfgang,,
Hope the data type of wa_truid in your FM declaration and that of it_tab_pre-trguid filed is same.
Regards
Saket Sharma
‎2007 Nov 26 7:37 AM
‎2007 Nov 27 8:59 AM
Hi,
the problem is solved.
The parameter name was not the same.
regards.