Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

SAPGUI(attach) saying You Didnot Specify a system Data Container

Former Member
0 Kudos

Hi,

I need help in Modularization of Script., where I am getting a message while SAPGUI(attach) saying"You Didnot Specify a system Data Container.In This case You can only Record connections to Current System,Do you want to Continue Anyway?

I have done the below steps.

1.I created a System Data container and mentioned detials of Target System and Trusted Rfc.

2.I created a Z_Mod1 Test Script and mentioned this System data container and target system detials in attributes,

3.Then wenteditor tab then to pattern-> Sapgui(record) and recorded the script succesfully for the target system.

4.Now I am creating another script Z_Mod2 for Mdoularization.. and gave the detials of System Data Container, target system,

5.I went to editor tab then to pattern and selected "Test Script Refernces"and test script=Z_Mod1 ,and target system detials.

6.then i went to Edit-->Predefine Target System Instance and selected the RFC destination

7.Now i executed the script and selected the option Do NOT Close created session in UI Control.

8.the script executed fine and Target system session is still open after the task is done.

9.Now I went back to the script and Clicked on Pattern Button. choose Group = UI Control,Command = SAPGUI (Attach) Interface = [Generated]

Now its giving the above message

**You Didnot Specify a system Data Container.In This case You can only Record connections to Current System,Do you want to Continue Anyway?

**and not able to select the target systems Scripting session...instead looking for session of same system,

2 REPLIES 2

AjayHS
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello,

As mentioned the session is still open.

Also you are doing attach, check if the session open of the system earlier and the system mentioned in the attributes of the script which you are changing both are pointing to the same system.

We get this error when it refers two different system.

Solution either remove the system details in the attributes or mention the system details of the system which is open.

Thanks

Ajay

Former Member
0 Kudos

Hi,

I am maintaining the Same Target system detials throughout. in Attributes of Script and while the system recording session is open. I am using same system in script ,which is defined in System Data container.. But still is giving this message..

Any other suggestions?