‎2008 Aug 05 3:00 PM
Hi Friends,
I had created one script in SAP system A. It is running fine here. I tried to run the same script is another SAP System B.
I had done the following things for that.
1. created the RFC destination with IP of SAP system B.
2. Added this RFC destionation in System data container.
3. Itried to run the script from System A only but i am getting the following errors.
scripting is deactivated in reply system
(ii) user has not logged on with in 00:00:20 hours or Has no dialog rights
(iii) Too many sessions are open
I had checked the following options in system B.
1) Ecatt scripting option is enabled there.
2) In RZ11-> Sapgui/user_scripting , profile value is TRUE.
3) In RZ11-> rdisp/max_alt_modes, maximum sessions given as 9.
Why i am not able to run the script remotely in another machine ane why i am getting above errors. can you please help me on this.
Regards,
Mahendra
‎2008 Aug 05 9:50 PM
Hello Mahendra
>
> scripting is deactivated in reply system
> (ii) user has not logged on with in 00:00:20 hours or Has no dialog rights
> (iii) Too many sessions are open
Check the client settings (transaction SALE or SE03 ) whether eCATT is allowed.
Regards
Uwe
‎2008 Aug 06 6:14 AM
Hi Uwe,
In Transaction SALE, where i need to check the scripting option. Can you please let me know.
Regards,
Mahendra
‎2008 Aug 06 6:53 AM
Hi Uwe,
I am able to create and run eCATT script in SAP system B. I had created one script in SAP system A . Same script i want to run remotely in SAP system B using RFC destinations but i am getting error like mentioned above.
Regards,
Mahendra
‎2008 Aug 06 7:09 AM
Hello Mahendra
I assume you have found the option Assign Logical System to Client in transaction SALE. Here you can define whether you want to allow CATT / eCATT on the client.
I would recommend to follow a trial-and-error approach:
1) Try to do a simple dialog scripting via RFC on system B (Note: RFC destination must have a dialog user).
If this works then you know that the RFC destination should work (at least in dialog).
2) Try to do scription of a simple RFC function module on system B (Note: RFC destination may have system or communication user)
Finally, to check successful scripting login to system B and choose the Option button (visible on every screen). Choose function Options and go to tabstrip Scripting and mark all checkboxes.
Regards
Uwe
‎2008 Aug 06 8:11 AM
Hi Uwe,
I had checked all the options given by you in the previous reply. Everything is correct.
I am able to execute the script sucessfully in the SAP System B but can u pleaselet me know the way i am doing is correct or not. I had done in the following way.
1. i had created the script in SAP system A.
2. Script looks like
SAPGUI ( SO01_1000_1 , NONE ).
SAPGUI ( SO01_841_1 , NONE )
3. i had created the RFC destination Target_System_B with the IP adress of SAP System B.
4. Added the Target_System_B in the System data container.
5. While running the script i had chosen the system data container and the new target system.
6. Script ran fine with out any errors.
7. If i mention the target system in the code like in the below way then i am getting errors.
SAPGUI ( SO01_1000_1 , Target_System_B ).
SAPGUI ( SO01_841_1 , Target_System_B )
8. If i didn't mention the target system then script is running fine with out any errors.
For the above case i had created the Purcahse odrder creation script.
I ran script in the above way, i got the results mentioned below.
1. purchase order creation script ran fine with target_system_B.
2. that means purchase order has been created.
3. When i went to SAP system B to check the purchase order , that has not visible.
4. but the Purcahse order has been shown in the SAP System A. Even if run the script remotely in the SAp system B, why the Purcahse order has not created in SAp system B.
Is the way i am run script remotely is correct?
Regards,
Mahendra
‎2008 Aug 12 6:58 AM
Hi Friends,
Can you please give reply to this thread.
Regards,
Mahi
‎2008 Aug 19 11:39 AM
Hi,
Can you please help me on this issue.
Regards,
Mahi
‎2008 Aug 21 10:56 AM
Hi,
Is it required to use target system in the following commands only?
SAPGUI ( SO01_1000_1 , Target_System_B ).
SAPGUI ( SO01_841_1 , Target_System_B )
I had tried the same but unable to do. I would suggest you to go with mentioning the System Data Container in the the Test Configuration or on the execution Start Options screen.
regards,
mahantesh
‎2009 Jul 02 7:26 AM
Hi,
Seems like the way that you are calling the target system may be incorrect.I feel issue is around that .
Please re-verify .
Regards,
Alex.
‎2009 Jul 03 7:48 AM
Hi,
Please chekc if the RRF being used by the Target System_B is a trusted one or not. It has to be the RFC connection issue. Please check.
Says,
Justin
‎2009 Jul 09 6:28 AM
Hi All,
I am also getting the same error as mentioned above. However I am using target system as Local Maintenance and Execution
I have checked the RZ11 settings and other user settings. they are all correct.
Please let me know the solution to the issue.
Thanks and Regards
Kamal KR
‎2009 Jul 01 9:41 PM
Hello Mahendra,
I've the same scenario and I solve this problem enabling scripting on the application server in SAP System B.
To do so follow the instructions in this url http://help.sap.com/saphelp_nw04/helpdata/en/ba/b8710932b8c64a9e8acf5b6f65e740/content.htm
Regards,
Órion
‎2009 Jul 09 7:57 AM
Guys,
Check if the RFC used is a trusted RFC. If yes, please chekc if the user used in the trusted RFC has the following right/roles/ S_RFC and S_RFCACL. Hope thgsi should help u solve the above issues.
Says,
Justin