‎2009 Jan 12 12:04 PM
Hello Expert's.
I am facing the strange problem. When am executing the Z' program through foreground its working fine and if am executing the program through batch job , the RFC giving exception . and the batch job gets cancelled.
Kindly provide me the inputs to resolve the issue.
Thanks in Advance
‎2009 Jan 12 12:08 PM
Is your program trying to write a file on to the application server?
Give the complete description of your error message...
Thanks
‎2009 Jan 12 12:14 PM
Hi,
U can debug the program and check where it has failed..
GOTO SE37->Specify ur job name->execute->now select the check box of ur job, now in the command box specify JDBG ..before taht put a brak-point in ur program..
P.S->The status of the job must be in finished status..
Regards,
Nagaraj
‎2009 Jan 13 11:53 AM
The RFC error is due to "time out " . Is any way to avoid this time out issue.
Thanks in Advance
‎2009 Jan 13 12:26 PM
where exactly is the code going into TIMEOUT? can u plzz paste ur source exact from the dump here....
‎2009 Jan 13 1:35 PM
Hello Experts
Please tell me how to call the RFC in background mode ..please provide me sample code..
‎2009 Jan 13 2:13 PM
hi,
CALL FUNCTION func IN BACKGROUND TASK.
Transactional RFC before release 7.0
1. CALL FUNCTION func IN BACKGROUND TASK
DESTINATION dest
parameter_list
AS SEPARATE UNIT.
Transactional RFC as of release 7.0
2. CALL FUNCTION func IN BACKGROUND UNIT
parameter_list.
otherwise
Create a report and call the function module.
The schedule that report in backgroud in SM37.
check this link
‎2009 Jan 13 6:34 PM
Hi Priya ,
Thanks for your reply . Can you please tell me about parameter_list , what i need to define ?
‎2009 Oct 23 12:28 PM