cancel
Showing results for 
Search instead for 
Did you mean: 

Managing Transport Destinations

doris_karapici
Participant
784

Dear CC Experts,

Hope everything is perfect for you!
We are in need of transporting change lists (and including master data) between SAP CC systems and a prerequisite step was to configure the transport destinations, that were not by default created during installation time. We followed the documentation: Managing Transport Destinations.

After exporting the file with the transportdestination exportList command of the setup tool, tried to modify the XML file according to the template XML schema definition (XSD).

I tried to fill these elements in the file:

<xs:sequence>      
<xs:element name="alias" type="NotEmptyString64" minOccurs="1" maxOccurs="1" /> <xs:element name="description" type="xs:string" minOccurs="0" maxOccurs="1" /> <xs:element name="dispatcherHCIURL" type="HTTPURL" minOccurs="1" maxOccurs="unbounded" /> <xs:element name="login" type="NotEmptyString" minOccurs="1" maxOccurs="1" /> <xs:element name="password" type="NotEmptyString" minOccurs="1" maxOccurs="1" /> <xs:element name="trustedCertificateEntryAlias" type="NotEmptyString" minOccurs="0" maxOccurs="1" /> </xs:sequence>


Then, while trying to import the modified file, we got several errors during the import process, because the file was having something wrong or did not add a mandatory XML tag. I tried to find online any sample XML file that contains at least one destination but I couldn't. We are in a Monohost environment and want to transport the change lists from Dev to Int Environment.

Could someone kindly advise me on how to properly create the XML file or if possible send me a sample file?

Thank you,

Doris

Accepted Solutions (1)

Accepted Solutions (1)

francois_thimon
Product and Topic Expert
Product and Topic Expert

Hi Doris,

Here's a very basic sample file with two distinct destinations:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<transportDestinationList xmlns="http://transportdestination.highdeal.com/">
  <transportDestination>
    <alias>system_1</alias>
    <description>description</description>
    <dispatcherHCIURL>http://11.22.33.44:55</dispatcherHCIURL>
    <login>user_1</login>
    <password>password_1</password>
  </transportDestination>
  <transportDestination>
    <alias>system_2</alias>
    <dispatcherHCIURL>https://11.22.33.44:55</dispatcherHCIURL>
    <login>user_2</login>
    <password>password_2</password>
  </transportDestination>
</transportDestinationList>

The most obvious error is if you specify the same alias name more than once. In that casen the error message is very explicit, but I understand that you were facing different issues.
If you still face those, or if you need details about anything else, please let us know, and please send us the error messages and/or the faulty XML file (if you can easily replace the sensitive information).

Best regards.

François
SAP Convergent Charging Support

doris_karapici
Participant
0 Kudos

Hi Francois,

Thank you very much for the sample XML file. I will try to create the file and load it with the setup tool. If I will face any error will send the XML file and the error too.

With kind regards,

Doris

francois_thimon
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Doris,

Thank you for your feedback. We're available at any time if you need, don't hesitate.

Best regards.

François
SAP Convergent Charging Support

doris_karapici
Participant
0 Kudos

Hi Francois,

Sorry for the late reply. Everything was loaded successfully and we could use the Transport of the Change list from Dev SAP CC to Int SAP CC.

Best regards,

Doris

dren1
Explorer
0 Kudos

Hi Francois,

I have tried your sample but I am having issues with the authentication:

Is there something else to add to the script? The external communicators are both configured with "off" secure mode. I have tried changing the properties of the user I am using from Individual to Service, selected one catalog and added all roles but without success.

Regards,

Answers (2)

Answers (2)

francois_thimon
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Dren,

Thank you for the confirmation.
Since the configuration has been changed several times, I cannot be sure of why it didn't work the first time with "All catalogs", but I agree with you that "Service user" is the right option for this kind of operations (CC also has a parameter to disable the distinction between "Service users" and "Individual users", but that's less safe, and consequently not recommended).

Regarding the required roles for each type of operation (e.g., "Customer sales representative" for data provisioning, or "Administrator" for transport), the main reference is the page from the Security guide, mentioned in the previous message:
https://help.sap.com/docs/Convergent_Charging/9c16fd1e35c842619e98e72374d38b99/ad2f550d10fd4fe29dae2...

For SOAP WS-based operations, it's a bit different: since our SOAP API handles different topics, the required roles depend on what you're trying to do exactly. The exact list is also given in our Security guide, but in chapter "Roles and authorizations":
https://help.sap.com/docs/Convergent_Charging/9c16fd1e35c842619e98e72374d38b99/916d6cfac71147cca750a...

There, you'll find one table for each category of operations, and one of them is dedicated to web services.
Within each table, you can even apply filtering and sorting options, to help you find exactly the information you're looking for.

Feel free to ask for more guidance if needed.

Best regards.

François
SAP Convergent Charging Support

francois_thimon
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Dren,

Checking the user's settings as you did was indeed a good idea, as this error message often indicates that the assigned catalogues are not the right ones.
On the other hand, the transport process is a bit different from the other WS operations: to run a transport, your user must not have any catalogue explicitly assigned.
Can you please change that?
Details are given in Convergent Charging's Security guide, in the "Standard users" chapter:
Optionally created during the post-installation phase, these service users must be granted the "Administrator" role and must not be associated to a catalog.
Here's the link to the corresponding page:
https://help.sap.com/docs/Convergent_Charging/9c16fd1e35c842619e98e72374d38b99/ad2f550d10fd4fe29dae2...

Your problem apparently comes from something else, though.
Another usual cause for this error message is the time gap between the client and the server host: based on network security standards, the server rejects requests whose timestamp is too far from the current date. Due to that, if your hosts are not synchronised enough, you will run into this error. One way to address that is to adjust the machines' clock manually, or even to resort to NTP synchronisation, if need be.
This is explained in SAP note 2428165 ("web service requests rejected").

If this doesn't help either, though, the easiest way to get a precise explanation is to enable the "WS" debug traces in the updater.
Can you please let us know if you need more help?

Best regards.

François
SAP Convergent Charging Support

dren1
Explorer
0 Kudos

Hi Francois,

Thanks a lot for your thorough response.

I have changed the Catalog to 'All Catalogs' for the respective user and it worked! I believe that I didn't set the correct roles when I was trying with the 'All Catalogs' and it didn't work. I would like to mention that I am using the Security profile as a 'Service User'.

Regards,