‎2006 Sep 29 4:32 PM
Hi,
I have a program in SAP not R/3 that calls a RFC function in a R/3 system. In this call i pass two empty tables, this tables are filled inside the fuction, but when the function ends and we return to the program the tables came empty. Anyone can help me solve this problem?
‎2006 Sep 29 4:37 PM
Hi ricardo,
1. Normally this does not happen.
2. for testing purpose,
3. u can HARDCODE some value inside the fm,
so that the internal table is filled
by 1 or 2 or 3 records.
4. Then test once again.
regards,
amit m.
‎2006 Sep 29 4:53 PM
‎2006 Sep 29 4:56 PM
Yes in the debug in R3 the table is allright and with data. when passed to the other system came empty
‎2006 Sep 29 5:11 PM
‎2006 Sep 29 5:14 PM
I've done that all ready i debuged the program and the rfc function
‎2006 Sep 29 5:20 PM
‎2006 Sep 29 5:21 PM
In the rfc the table is filled with data like is supposed to be. when the function ends and the table should be passed to the caller program, the table in the caller program is empty
‎2006 Sep 29 5:29 PM
I just want to make sure I understand exactly what you are doing and the sequence:
You execute the caller.
Then debug the RFC as shown in the URL I posted.
The RFC has data in the table (as shown by debug).
The RFC ends (also in same debug session).
Control is transferred back to the caller but no data is in the table (again in debug session).
Is that about right?
Rob
‎2006 Sep 29 5:35 PM