‎2008 Mar 10 10:22 AM
hi, I use a RFC FM to get a file in the target system. In the FM, if I failed to open the file, I give a message:
messsage s000(00) with 'No file found'.
stop.
But when I test, I choose a target, the program is dump, I choose another, there is no message. Can anyone tell me why?
‎2008 Mar 11 2:50 AM
Hi Yu
I would advise you to debug and see whats happening. is ur FM called correctly?
cheers
shivika
‎2008 Mar 11 2:50 AM
Hi Yu
I would advise you to debug and see whats happening. is ur FM called correctly?
cheers
shivika
‎2008 Mar 11 4:14 AM
hi,
in ur RFC, add exception for 'file not found'.
so, instead of saying message xxxx....
say, message xxxx raising exception.
so when no file is found in target system, control will return to ur original program and no dump will be occuring on ur target system.
try it out ...
regards,