cancel
Showing results for 
Search instead for 
Did you mean: 

IWDResource download doesn't work in different DC

Former Member
0 Kudos

===System Info=======================

HP-UX 11.31 ia64

Oracle 10.2.0.5

SAP NetWeaver CE 7.2 SPS4

J00, SCS01 in prddqmeb

J02 in stbdqmeb

=====================================

There are two different DC (Web Dynpro Java Application)

1. Screen : cdm.wd.adm.code.CdmCodeComp

1) click search then files are shown

2) select it and click Download Buttion

3) it executed Common Util's file download function.

IWDResource resource = WDResourceFactory.createResource(new

FileInputStream(file), fileName, WDWebResourceType.UNKNOWN, true);

resource.download(WDFileDownloadBehaviour.ALLOW_SAVE.ordinal());

The problem is

IWDResource download was executed but no download box

when I print resource object as

SimpleLogger.log(Severity.INFO, Category.APPLICATIONS, logger, method,

resource);

===================>>>

../../sec.com/cdm.wd.adm.code/CdmCodeApp/~wd_cache_/~wd_key_TMyyPBf7cnfge

EJs/

Customer_Type_v1.0.pptx?sap-wd-download=1&sap-wd-

cltwndid=WIDxDQMMWINDOW1369657279527&

sap-wd-secure-id=IogBAcW_ZQj6bV-72Hny3Q%3D%3D&sap-ext-

sid=j9eIdXboAn0GJGUtGyEAsA--8f4zYLhDIA8hykhXHs2TWw--

%2Fpcd%3Aportal_content%2Fcom.sec.cmdm%2FMCDM%2FRoles%2Fcom.sec.r.MCDM_AD

M_IT%2Fcom.sec.ws.CDMAdministrator%2Fcom.sec.iv.CdmCodeApp%2Fsec.com%2Fcd

m.wd.adm.code%2FCdmCodeApp%2Fbase%2F&sap-wd-norefresh=X&sap-ep-

version=7.20.201302051535

===================

This phenomenon was occurred after I upgraded SPS :04 -> 09.

So I made another DC.

cdm.wd.adm.coderev.CdmCodeComp

It has a screen, same as cdm.wd.adm.code.CdmCodeCompView.

And cdm.wd.util.CdmUtilComp is in the dependency tab.

When I click download button in cdm.wd.adm.coderev.CdmCodeCompView.

it calls download fuction in cdm.wd.util.CdmUtilComp

then download box pop-up.

I think dependency cdm.wd.util.CdmUtilComp and cdm.wd.util.CdmUtilComp

is a problem.

How to rearrange it ?

Is there any trouble shooting about dependency ?

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi sang-yong,

Has this problem been resolved yet?

I encountered a problem like yours, when we use different url(different domain) to download the same file in the same page, one is OK while the other is failed. But other functions are all OK in both the two urls.

If you resolve your problem, could you share your solution for me? Thanks a lot.

David Chan