cancel
Showing results for 
Search instead for 
Did you mean: 

Solution Manager 7.2 rapid content delivery upload

0 Kudos

Hello, experts!

After upgrade our SM to 7.2 SP03, i was facing issues with upload rapid content delivery.

In previous SM 7.1 SP12 automated download worked, but after upgrade not.

I checked status from Solution Manager Administrator workcenter->infrastucture->content->rapid content delivery

And some results:

Checking of new delivery versions works,

but when i click on "download" button, i see in log message "Error while downloading delivery 5: Error Text - Download not successful; file ST-CONT20005_0.zip has invalid URL"

I tried to check this via SE38->RCSU_AUTO_NOTIFY_AND_DWLD

And the error is the same as above.

Then i tried to download manualy content and upload it manualy

se38->RCSU_MANUAL_UPLOAD->select downloaded file STCONT20005_0-70000780.ZIP

and after clicked on button i receive the error "Uploaded content is not valid for current Solution Manager release"

But i downloaded file from "solution manager 7.2"->'support packages and patches"->"additional content"

I think this error occurred because wrong solution manager version retrieved from the system. I see it in EWA reports at the end of html report:

About System And Solution Manager
System No. Of Target Systemxxxx
Solution Manager SystemS30
Solution Manager VersionSOLUTION MANAGER 7.1 on HANA
Service Tool720 SP4

Please suggest me some advices to resolve this error. Thank you for your answers!

Accepted Solutions (0)

Answers (1)

Answers (1)

benu_mariantony2
Participant
0 Kudos

Dear Ramil

,

From 7.2 SP03, it is mandatory to configure the  following,

1. OSS Note needs to be implemented in Solution Manager

2. NetWeaver Download Service in order to download the content from Support Portal.

3. Synchronous Channel

1. OSS Note needs to be implemented in Solution Manager

Note: 2359730
Please ignore the warning while implementing the note if any...

2. How to Configure NW Download Service:

Transaction: SDS_CONFIGURATION

you need to maintain the following user details,

  • S User detail (user name & password) who has download authorization.
  • Solution Manager Configuration user & Batch User (which runs RCD Job)

To use the NW Download Service the configuration user must have the following roles,

  1. SAP_BC_SDS_CONF_DISPLAY Displaying the configuration
  2. SAP_BC_SDS_CONF_ADMIN Maintaining the configuration
  3. SAP_BC_SDS_TASK_DISPLAY Displaying the runs of the download task list in the SAP Task Manager
  4. SAP_BC_SDS_TASK_USER Executing the SAP NetWeaver download service

To know more about download service please refer SAPHELP,

http://help.sap.com/saphelp_nw75/helpdata/en/7c/d5bc1666824b3eba96e8a79dd2055e/content.htm?frameset=...

3. How to Synchronous Channel

  • Need to create SAP-SUPPORT_PORTAL RFC Destination (Type H) manually
  • Please make sure the connection test is succesful
  • for more information, please refer the below note,

https://launchpad.support.sap.com/#/notes/0002289984

Please let me know in case you need any information/ result in any issues

Ciao

Benu

0 Kudos

Hello!

Thank you for your answer! All steps was done previously, but no results.  And I faced with issue when implemented note 2359730. In activation phase error was occurred:

In class include CL_CSU_CONTENT_DOWNLOAD=======CCAU

ev_url is unknown

I ignored this message and pressed “activate”, note changed status to “completely implemented”. But when I tried to download content the dump was occurred:

The current ABAP program "RCSU_AUTO_NOTIFY_AND_DWLD" had to be terminated

                                because it has

                               come across a statement that unfortunately cannot be executed.

                               In include "CL_CSU_CONTENT_DOWNLOAD=======CCAU ", in line 575 of program

                                "CL_CSU_CONTENT_DOWNLOAD=======CP        ", the following syntax errors

                               have occurred:

                               ########### #### "EV_URL". ### ## ########## ## # ##### ## ######### #

                               #####, ## ########## ##### ######## "DATA"

Translate from Russian:

unknown field "EV_URL".. it is not contained in any of these tables is not defined by the operator "DATA"

Then I went to se80-> CLASS->CL_CSU_CONTENT_DOWNLOAD

I opened note and compared corrections from note and in the code from SE80,

And saw, that some correction instructions was not implemented.

Then i performed manual adjustments:

  lv_test_xml = '<?xml version="1.0" encoding="utf-16"?><files><file><name>STCONT20002_0-70000780.ZIP</name><url><![CDATA[https://smpdl.sap-ag.de/~swdc/002007974700000248692016D/STCONT20002_0-70000780.ZIP?_ACTION=DL_DIRECT]]></url></file></files>'.

*{   REPLACE        S30K900283                                        5

*\    cl_abap_unit_assert=>assert_equals(

*\         exp       = lv_test_xml

cl_abap_unit_assert=>assert_not_initial(

*}   REPLACE

act       = lv_download_xml

msg       = 'Test for download XML format preparation as expected by download service'

).

  METHOD get_smp_url_for_download.

*{   REPLACE        S30K900283                                        1

*\    IF iv_username  = 'S9999999'.

*\      ev_url = 'http'.

*\    ELSE.

*\      ev_url = 'https://smpdl.sap-ag.de/~swdc/002007974700000248692016D/STCONT20002_0-70000780.ZIP?_ACTION=DL_DIRECT'.    "#EC NOTEXT

*\    ENDIF.

DATA ls_response TYPE cl_csu_postbox_interface=>/swdc/api_st_cont_s_dl_result.

IF iv_username  = 'S9999999'.

ls_response-dl_url = 'http'.

ELSE.

ls_response-dl_url = 'https://smpdl.sap-ag.de/~swdc/002007974700000248692016D/STCONT20002_0-70000780.ZIP?_ACTION=DL_DIRECT'. "#EC NOTEXT

ENDIF.

es_response = ls_response.

*}   REPLACE

    CREATE OBJECT lr_lcl_postbox_interface.

*    Wrong Input parameters

ls_dwld_pack_details-packgd_soft_comp = 'STCONT'.

ls_dwld_pack_details-packgd_comp_vers = '200'.

TRY.

*{   REPLACE        S30K900283                                        2

*\        lr_content_download->get_smp_url_for_download(

*\         EXPORTING

*\          io_postbox_interface           = lr_lcl_postbox_interface

*\          is_dwld_pack_details           = ls_dwld_pack_details

*\          iv_suser_name                  = lv_suser

*\         RECEIVING

*\          ev_path                        = lv_path

*\         ).

DATA(ls_swdc_response) = lr_content_download->get_smp_url_for_download(

io_postbox_interface           = lr_lcl_postbox_interface

is_dwld_pack_details           = ls_dwld_pack_details

iv_suser_name                  = lv_suser ).

*}   REPLACE

CATCH cx_csu_content_download_instal INTO lr_exec.

   TRY.

*{   REPLACE        S30K900283                                        3

*\        lr_content_download->get_smp_url_for_download(

*\         EXPORTING

*\          io_postbox_interface           = lr_lcl_postbox_interface

*\          is_dwld_pack_details           = ls_dwld_pack_details

*\          iv_suser_name                  = lv_suser

*\         RECEIVING

*\          ev_path                        = lv_path

*\         ).

ls_swdc_response = lr_content_download->get_smp_url_for_download(

io_postbox_interface           = lr_lcl_postbox_interface

is_dwld_pack_details           = ls_dwld_pack_details

iv_suser_name                  = lv_suser ).

*}   REPLACE

    cl_abap_unit_assert=>assert_text_matches(

EXPORTING

pattern          =  ls_dwld_pack_details-file_name

*{   REPLACE        S30K900283                                        6

*\        text             =  lv_path

text             =  ls_swdc_response-dl_url

*}   REPLACE

).

    TRY.

*{   REPLACE        S30K900283                                        4

*\        lr_content_download->get_smp_url_for_download(

*\         EXPORTING

*\          io_postbox_interface           = lr_lcl_postbox_interface

*\          is_dwld_pack_details           = ls_dwld_pack_details

*\          iv_suser_name                  = lv_suser

*\         RECEIVING

*\          ev_path                        = lv_path

*\         ).

ls_swdc_response = lr_content_download->get_smp_url_for_download(

io_postbox_interface           = lr_lcl_postbox_interface

is_dwld_pack_details           = ls_dwld_pack_details

iv_suser_name                  = lv_suser ).

*}   REPLACE

Then I activated and dump was`t occurred anymore, but the error "Error while downloading delivery 5: Error Text - Download not successful; file ST-CONT20005_0.zip has invalid URL"  remains.

And i can ommit automatic download. But i can`t even upload content manually, this is strange to see information about wrong solution manager version....

0 Kudos

And in addition:

In note 2359730 there is a syntax error in one of the correction instructions:

search context is:    

lv_test_xml = '#<?xml version="1.0" encoding="utf-16"?><files><file><name>STCONT20002_0-70000780

But in object code there is:

lv_test_xml = '<?xml version="1.0" encoding="utf-16"?><files><file><name>STCONT20002_0-70000780.ZIP

without #

and as result you may see this message "context block not found":

benu_mariantony2
Participant
0 Kudos

Could you open an SAP Incident to component SV-SMG-RCD?

0 Kudos

Hello, experts!

Today I decided to recognize why i  receive the error "Uploaded content is not valid for current Solution Manager release" when execute manual update content via report “RCSU_MANUAL_UPLOAD”

I did debugging of  program RCSU_MANUAL_UPLOAD and choosed file STCONT20007_0-70000780.ZIP for experiments. And I saw very interesting detail:

You may see it on print screen in “variables” tables: (closed source code, if you want to see it, you may see it in se38->source->display)

LS_REGIS_DETAILS-PACKGD_COMP_VERS = 200

LV_PACKGD_COMP_VRSN = 000

LS_REGIS_DETAILS-PACKGD_COMP_VER = 200

next follows the condition

* Compare the STCONT version in the registration details and the one in the file name
IF ls_regis_details-packgd_comp_vers IS NOT INITIAL AND lv_packgd_comp_vrsn <> ls_regis_details-packgd_comp_vers.
*   Raise exception
MESSAGE ID 'CSU' TYPE if_csu_constants=>information_message NUMBER '099' .
RETURN.
ENDIF

.

If this condition fulfilled, exception raising about version of solution manager. Let`s check it:

And ofcourse this condition lv_packgd_comp_vrsn <> ls_regis_details-packgd_comp_vers is fullfiled 000<>200

And the exception was raised


I renamed file STCONT20007_0-70000780.ZIP to STCONT22007_0-70000780.ZIP

And did debugging of program again. And this is the result:





FILE UPLOADED!!

  The same manipulation I did with sp05



Then went to “RAPID DELIVERY” and checked statuses:


And “import”  button changed to active!


Then I went to solman_setup->system monitoring->“update content” and executed “update” button:

Content was finally imported into solution manager!


I hope i did all steps correct and this information will be helpful for further steps after upgrade solution manager to 7.2.

benu_mariantony2
Participant
0 Kudos

Hello Ramil,

Not a RECOMMENDED approach.
Please go through the Central Note 2359755. Make sure all the notes in the references section are implemented in your Solution Manager system.

In your case the note 2369765 is not implemented.

Regards,
Benu

benu_mariantony2
Participant
0 Kudos

Also make sure the SAP-SUPPORT_PORTAL (Type-H RFC Destination) & NetWeaver download service are configured in order to enable the automatic download

Ciao
Benu

0 Kudos

Hello, Benu!

Thank you for your answer! But note 2369765 was released today!:) Nevertheless, this is the good news! And bug was in source code of program RCSU_MANUAL_UPLOAD, you can see it in the correction instructions. I implemented this note and would like to inform you, that the note 2369765 corrected this bug, and manual upload works now without any manipulations! Thank you again!

0 Kudos

Yes i confirm this, HUB USER was created a few days ago, configuration in  SDS_CONFIGURATION also was set a few days ago. and rfc was created. But automatic download still not working(error Download not successful; file ST-CONT20005_0.zip has invalid URL)

benu_mariantony2
Participant
0 Kudos

Please ensure that SDS_CONFIGURATION has the following,

1. SDS_CONFIGURATION must have an execution parameters (for your user and batch user which executes the RCD Job)

2. The S User should have download authorization

Have you created the RFC destination?

How to create an RFC?

  • Need to create SAP-SUPPORT_PORTAL RFC Destination (Type H) manually
  • Please make sure the connection test is succesful
  • for more information, please refer the below note,

https://launchpad.support.sap.com/#/notes/0002289984

Ciao
Benu

0 Kudos

My configurations:

Connection Test Result:

benu_mariantony2
Participant
0 Kudos

In the SDS_CONFIGURATION, you need to maintain your batch user which executes the RCD Automatic Download Job as well.

Could you execute the SE38 report RCSU_DWLD_FROM_SMP_URL_JOB & check whether you get any error?

Login with your SOLMAN_ADMIN user & run this foreground

Ciao
Benu

0 Kudos
benu_mariantony2
Participant
0 Kudos

This needs an investigation. Could you open an SAP OSS Incident?

Former Member
0 Kudos

Gentlemen,

I'm having the same exact problem; can't download and can't apply note 2359730 due to missing context block. I put in a message last week referencing this post but no response yet. Have you found a solution? Thank you,

David

0 Kudos

Hello, David!

If you have a problem as mine about '#' character in a note correction:

search context is: 

lv_test_xml = '#<?xml version="1.0" encoding="utf-16"?><files><file><name>STCONT20002_0-70000780

I just downloaded this note from portal and uploaded it manually to our test system and checked the correction instruction there. There was no '#' character in the search context. I implemented this note and transported a request to our production system.

Former Member
0 Kudos

Hi Ramil, Thanks for your help. There’s good news and bad news. Per your advice I manually downloaded and uploaded and the “#” was gone and I could then implement note 2359730. The bad news is it didn’t fix the problem. Both the automatic and manual downloads still fail with the “invalid URL” error as below:

Automatic:

Step 001 started (program RCSU_AUTO_NOTIFY_AND_DWLD, variant , user ID SOLMAN_BTC)

Job SM:RCD_CHECK_UPDATES started

Download not successful; file ST-CONT20004_0.zip has invalid URL

Error while downloading delivery 4: Error Text -  Download not successful; file ST-CONT20004_0.zip has invalid URL

Download not successful; file ST-CONT20005_0.zip has invalid URL

Error while downloading delivery 5: Error Text -  Download not successful; file ST-CONT20005_0.zip has invalid URL

Manual:

Step 001 started (program RCSU_DWLD_FROM_SMP_URL_JOB, variant &0000000000005, user ID C-DAHILL)

Download not successful; file ST-CONT20005_0.zip has invalid URL

Job cancelled after system exception ERROR_MESSAGE

Running RCSU_DWLD_FROM_SMP_URL_JOB directly in SE38 gives error “Download not successful; file ST-CONT20005_0.zip has invalid URL”

Note 2369765 is implemented in my system also. I also tried to use note 2359183 “RCD Troubleshooting Report Program” But the program it says to run “RCSU_SMART_TROUBLESHOOTING” does not exist and is not in the correction instructions for 7.2.

I’m still searching but any insights would be appreciated, thank you, David

0 Kudos

Hello, David!

This note did not help me too(i receive the same message about url), but i used manual upload of a content. I downloaded a content from market place(sp 5), then i used report RCSU_MANUAL_UPLOAD to upload the  content to the system, and then i implemented downloaded content.