‎2011 Mar 23 6:09 AM
Dear members,
I have a requirement.
I need to execute one Test Config in a Test Plan with one System Data Container and another Test Config in a Test plan with another SDC.
How to achieve this ?
Kind regards,
Pradeep
Edited by: Pradeep Singh Rawat on Mar 23, 2011 7:10 AM
‎2011 Mar 23 8:36 AM
>
> I need to execute one Test Config in a Test Plan with one System Data Container and another Test Config in a Test plan with another SDC. How to achieve this ?
Currently it is not possible, to maintain more than one SDC on a test plan.
A workaround is, to maintain one SDC on a test plan and specify no target system direct in a test plan. If you maintain then your two systems in one SDC, you can specifiy each target system in the test configuration, where it is needed.
Here the example:
test plan:
systemdata container: SDC_ALL
target system: <empty>
test config 1:
systemdata container:
target system: CRM
test config 2:
systemdata container:
target system: ERP
systemdata container: SDC_ALL
target system: CRM -> rfc 1
target system: ERP -> rfc 2
Kind regards,
Christoph
‎2011 Mar 23 10:04 AM
Hi Christoph,
Thanks for your reply.
here my requirement is different which is as shown below:
SDCs are different but RFC destination is same for both Test config.
Test Plan A:
Test Config: Test Config A1
SDC: SDC A1
target system: RFC A1
Test Config: Test Config A2
SDC: SDC A2
target system: RFC A1
So, I guess your idea will not work here.
If you have any other solution so that I can both Test config in same Test Plan, then please let me know.
Best regards,
Pradeep
‎2011 Mar 23 12:21 PM
>
> SDCs are different but RFC destination is same for both Test config.
> If you have any other solution so that I can both Test config in same Test Plan, then please let me know.
Here the new example:
test plan:
systemdata container: <empty>
target system: CRM or <empty>
test config 1:
systemdata container: SDC1
target system: CRM
test config 2:
systemdata container: SDC2
target system: CRM
systemdata container: SDC1
target system: CRM -> RFC 1
systemdata container: SDC2
target system: CRM -> RFC 1
But from my opinion, it makes no sense to have SDC1 & SDC2 with target system CRM in both, which points to same RFC 1
Kind regards,
Christoph
‎2011 Mar 24 2:20 AM
Hello,
Ideally you dont create two SDC which has same RFC. Considereing that you have created.
Create two test packages in a test plan , test package has your scripts. Now you can select the test package seperately and execute in the system you intend to if you want to execute at the test package level.
Also you can add the configurations in single test package , select each one individually and execute in the intended target system.
Thanks,
Ajay
‎2011 Mar 24 6:45 AM
Hi Ajay,
Thanks for your reply.
Both Test Packages will have same attributes as of Test plan.
So, If I execute Test Packages in background then I can not execute them for two different system data contianer.
So, I think your suggestion would not work here .
Kind Regards,
Pradeep
‎2011 Mar 24 8:39 AM
>
> Both Test Packages will have same attributes as of Test plan.
Hi Pradeep,
that is a bug in the test work bench. Normally, you should be able to maintain these data by each test package separatly. Try to create an OSS message for this issue and wait for a solution by SAP.
Kind regards,
Christoph
‎2011 Mar 24 3:47 PM
Hello Pradeep,
You can create two different Test Plan then with the same Test configuration and execute in two different system.
Thanks,
Ajay
‎2011 Mar 25 10:03 AM
Hi Christoph,
I raised message and I got below reply.
In the SAP Basis standard the automatic test attributes are
test plan attributes that appear as read-only attributes
on the test package UI independently on the edit mode.
Kind Regards,
Pradeep