‎2010 Jun 11 1:26 PM
Dear Experts,
Am calling a transaction code in an RFC with destination none to open the called transaction 'A' in a new session.
Right after that i call another transaction 'B' which is a BDC recording, once i return from BDC, i need to close the session in which 'A' is opened.
I tried th_delete_mode but no use.I request you to throw some light on it,
Thanks in advance,
sampath
‎2010 Jun 11 2:13 PM
Hi,
I actually did not came across such a request,but perhaps you should try CALL FUNCTION ... DESTINATION 'NONE' ... STARTING NEW TASK <task> when starting 'A' and to end the task use FM RFC_CONNECTION_CLOSE.
Regards, Gerd Rother
‎2010 Jun 11 2:22 PM
Thanks for the reply Rother,
I did the same before posting the request but could not find the solution. All it says 'No Connection Found'.
Since i gave it none..it might be saying that none is unavaliable. Any thoughts further?
Thanks in advance to you experts.
‎2010 Jun 16 8:05 AM
Dear Experts,
Instead of opening a new thread, am posting the same requirement which is not yet solved again with some modifications.
Since the requirement was not sufficed, i have taken the below approach:
1) From the Custom Transaction 'A', i have to call the VAO1 transaction in another window, when the VA01 processing is completed, the window should close.
Steps taken by me:
1) in the main transaction when the user clicks on a certain button, am calling the VA01 through a remote enabled FM
starting new task 'TEST' destination 'NONE' performing init_flag on end of task.
In the routine init_flag i have initialized some values and going ahead. Now when i click on back on the VA01 transaction , the task ends but it takes very long tme and results in dump....CALL_FUNCTION_WAIT_ERROR
I request you all experts to throw some light on this.
Regards,
Thanks in advance,
kumar