cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

MTA Parameter for Subaccount ID

WouterLemaire
SAP Mentor
SAP Mentor
1,002

I have configured ALM Backend Data Collection for my CAP application as described here: https://support.sap.com/en/alm/sap-cloud-alm/operations/expert-portal/data-collection-infrastructure...

The setup of Autoinstrumentation requires me to provide the Subaccount ID in my MTA.yaml config as described here: https://support.sap.com/en/alm/sap-cloud-alm/operations/expert-portal/data-collection-infrastructure...

This all works fine but I don't want to define the Subaccount ID static in the mta.yaml file. This is not correct when I use Transport Management Service to transport to another Subaccount:

WouterLemaire_0-1723209266981.png

Does a parameter in mta.yaml exists for this? I can't find any valuable parameter in this list: https://help.sap.com/docs/hana-cloud-database/sap-hana-cloud-sap-hana-database-developer-guide-for-c...

What would be the alternative? Any idea is welcome!

 Thank you in advance!

Kr, Wouter

Accepted Solutions (1)

Accepted Solutions (1)

Dinu
Active Contributor
0 Likes

There is no system parameter for subaccount id. But you can define a parameter and configure this in an mta extension. 

WouterLemaire
SAP Mentor
SAP Mentor
0 Likes
Will that not move the problem? As far as I'm aware you cannot select a different mta extension file for eacht target in cTMS. Or am I missing something?.
Dinu
Active Contributor
0 Likes

You can. MTA extensions can be added to the import queue in cloud transport management.

SAP Help > SAP Cloud Transport Management > Using the Import Queue > Upload MTA Extension Descriptor... 

Answers (1)

Answers (1)

Sidney
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Wouter,

I am having the same question. But I see in the documentation https://support.sap.com/en/alm/sap-cloud-alm/operations/expert-portal/data-collection-infrastructure... that "OTEL_RESOURCE_ATTRIBUTES not required anymore as of xotel-agent-ext-js version 1.5.23.", so do we still need to import subaccount id for that? 

Did you update the package to newest version?