on 09-21-2016 10:41 AM
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 System | xxxx |
Solution Manager System | S30 |
Solution Manager Version | SOLUTION MANAGER 7.1 on HANA |
Service Tool | 720 SP4 |
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,
To use the NW Download Service the configuration user must have the following roles,
To know more about download service please refer SAPHELP,
3. How to Synchronous Channel
https://launchpad.support.sap.com/#/notes/0002289984
Please let me know in case you need any information/ result in any issues
Ciao
Benu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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....
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":
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.
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!
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?
https://launchpad.support.sap.com/#/notes/0002289984
Ciao
Benu
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.
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
User | Count |
---|---|
83 | |
11 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.