Hey George,
If I understand this right, you are executing an RFC call from your source system to call a script from your destination system. The destination system will then process the EDI.
In any case, you will need a RFC call to access your destination system.
So, if you want to resolve the RFC call, please add details about the RFC Call error.
For a list of IDOC's executed recently, you can execute WE02 or WE05.
Regards,
Pranav.