Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
guidohumberg
Advisor
Advisor
Customers using a two-tier or three-tier SAP Solution Manager 7.2 landscape normally do not allow any changes in their productive Solution Manager instance without using transports. Any changes must be orchestrated by the SAP Transport Organizer. This is a best practice and a recommended setup. Some workarounds are possible, but all have some disadvantages. For more details please have a look at SAP note 1987155 (How To Create eCATT Objects on Productive systems).

In general, when using test automation tools like CBTA (Component Based Test Automation) the transport approach might become a hassle. CBTA test configurations are eCATT objects in disguise and so they are subject to rules about the changeability of development objects in an SAP ABAP system.

This means that CBTA test configurations need to be developed in a development Solution Manager instance. Then they must be transported and tested in a QA Solution Manager instance, eventually. Finally, they must be transported to the productive Solution Manager instance where they are executed in regular test phases, e.g. during regression tests.

With SAP Solution Manager 7.2 SP08 there is a new option available to avoid the transportation of CBTA test configurations from the development system, then to the QA system and finally to the productive Solution Manager system.

By implementing SAP note 2653468 (eCATT - using local objects without registration in object directory) you will be able to create and execute CBTA test configurations in your productive SAP Solution Manager instance directly, without interfering with the SAP Transport Organizer.

After implementing SAP note 2653468 you must maintain a namespace (e.g. “ZCBTA”).



As of SAP_BASIS 7.40 SP20 there will be an entry in the customizing implementation guide (transaction SPRO) at the following menu path:
"SAP Referenz-IMG -> SAP NetWeaver -> Application Server -> Test Workbench -> Extended Computer Aided Test Tool (eCATT) -> Expert Settings -> Configure CTS/TADIR Handling"

If you are on SAP_BASIS 7.40 SP19 (after the implementation of the SAP Note 2653468, including related notes) you may use transaction SM30 and maintain the table ECCUST_LOCAL_OBJ as outlined above.

This namespace is used as a prefix for your newly created CBTA test configurations and assigned to a local package (e.g. $TMP).

Now you can create and execute CBTA test configurations in your productive SAP Solution Manager directly.

 
12 Comments
TSTOFFELS
Explorer


Great article!
guidohumberg
Advisor
Advisor
0 Kudos
Thanks Tommy, really appreciated! 😉
peter_carl
Explorer
Thank you for this awesome article on CBTA!
0 Kudos
"Now you can create and execute CBTA test configurations in your productive SAP Solution Manager directly."

 

But you cannot copy a test configuration within the Test Composition Environment (TCE).

In order to create a copy you need to use transaction STCE.

:)
abdellaoui18
Explorer
0 Kudos

Hi Guido,

thank you for this helpful article.

Would you recommend to record CBTA scripts directly in productive instance or still see the transport variant from D-Q-P as best practice? And for what reasons?

Thanks in advance!

Amani

guidohumberg
Advisor
Advisor
Hi Amani,

I have seen both approaches at customers:

  1. To record directly with the P instance of SolMan is the more pragmatic approach since you do not have these administrative tasks related to the transport requests.

  2. The transport variant is not that straight-forward, for sure. However, you are forced to test/run your test automation scripts in different instances and this improves the quality of your scripts I think.


So it's like you might have guessed: It depends. 🙂

In general, if there are no restrictions due to guidelines or organizational processes, I normally recommend option 1 as outlined above. It also helps to gain acceptance for the test automation approach within an organization.

Since quite a few customers only have a 2-system-landscape for their SAP Solution Manager, it might also be a good idea to leave the D system for customizing only, without having a "kind of productive" usage for the D system.

Best regards,

guido
abdellaoui18
Explorer

Thank you so much for your feedback! It was very helpful. ?

Best regards,

Amani

AjayHS
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hello Guido,

 

Thanks for details, so you are talking about Workaround 1 within your blog right ?

As you rightly mentioned it all depends.

With Workaround 1 below restriction is what is mentioned

in a restricted namespace, eCATT objects can be created without the need to register them in the object catalog - that means, they are not registred at all and all features and object safety mechanisms which come due to object registration do not apply; especially, these objects are not transportable, do not have a property of originality and could be overwritten by imported objects with same names

Meaning the automated objects can be overwritten from the transports & these automated objects cannot be further transported to another system though production is the last system in TR mechanism.

Thanks,

Aj
0 Kudos
Hello colegues,

 

does someone knows if this option help with open client option em SMP ?

Example: I cannot oppen client in SMP and need to record my test scripts.

Regards,
guidohumberg
Advisor
Advisor
0 Kudos
Hi Marcos,

I am somewhat lost... Could you please provide more details? What do you want to achieve?

Thanks & best regards,

guido
juanfe0511
Explorer
0 Kudos
Hi Guido,

 

Thanks for the Blog. I am having one issue even after applying the note (I am at 7.40 SP29) and adding the entry in the SPRO, the system is requesting to open the client nontheless:

 

"System '<SID>' and Client '<CLNT>' not changeable. Use transaction SCC4"

 

Is there any additional steps to be performed? Or it is now mandatory to open the client in order to create the LCG in a Prod SOLMAN?

 

Thanks,

 

Juan
guidohumberg
Advisor
Advisor
0 Kudos
Hi Juan,

that is strange, I would have expected that after applying the note, an additional opening of the client would not be needed any more.

Unfortunately, I am not working in the SAP Solution Manager area any more, so it is possible that it became mandatory to open the client in order to create the Logical Component Group some when in the previous years...

Sorry that I can not help here, best regards,

guido