cancel
Showing results for 
Search instead for 
Did you mean: 

SAP GUI HTML - Error in up/downloading file

Former Member
0 Kudos

Hi,

when I download any report( eg ALV) in SAP GUI for HTML - Webgui, below error message is displayed

Cancellation by user

Message no. ALVHT161

and the file is not saved/downloaded

When I try to store any document in SAP GUI for HTML then below error message is displayed and file is not uploaded

The attachment has not been created

Message no. SGOS_MSG042

Not sure what is missing. Any suggestion is appreciated

Thanks,

Chandru

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Chandru,

there is a problem with ITS 640 and enabled cross side request fogerty (~XSRFCHECK 1) starting with kernel patch 351.

It is solved with a current kernel patch (at least 372).

For details please look into note 1581230.

You can test this by setting ~XSRFCHECK 0.

Please also keep in mind what Oisin already said. The applet certificate will expire on 21.11.2011 and to overcome this

problem you have to look into note 742197. It states, that you have to implement note 1555523 and 1586053. This means, you not only have to use the current kernel patch but also to implement a sap_basis correction instruction and do a manual correction. This is necessary, because the old applet has a security risk.

Kind regards,

Ralf Scheurer

ITS Development Team

Answers (1)

Answers (1)

Former Member
0 Kudos

Any suggestion would help to solve this. Please

Thanks,

Chandru

former_member194364
Active Contributor
0 Kudos

Hi Chandru,

You cant use this method from WEBGUI.

See note:

[ 314568 SAP GUI for HTML functionality Limitations Sp. Behaviour|https://service.sap.com/sap/support/notes/314568 ]

--> o ALV grid

Try the method:

o Menu -> List -> Export -> Local File

Regards,

Oisin

former_member194364
Active Contributor
0 Kudos

Hi Chandru,

Also the download and upload functionality of the SAPgui for HTML (WEBGUI)

requires a Java Virtual Machine. Please make sure that you have a

supported Java Virtual Machine installed at the front end browser

computer. Use the following link to check your version:

http://www.java.com/en/download/help/testvm.xml

Please see note 980772 for a list of the supported JVMs.

Regards,

Oisin

Former Member
0 Kudos

Hi Oisin,

Via Local file when I download, message is displayed as u201CXXXX bytes transmitted, code pageu201D but the file is not created in the specified directory for download.

Java version in the front end browser is 1.6 as recommended in the note.

ALV was just an example that I had given, actually Iu2019m not able to upload or download any file via SAP GUI for HTML, when I opened the Java Console to check messages I found u201Ccommunication error with sapsystemu201D

I think its because of connectivity, not sure what is missing, Could you please help me in solving this

Thanks,

Chandru

former_member194364
Active Contributor
0 Kudos

Hi Chandru

Can you paste some of the error message from the Java Console log?

What is your BASIS and Kernel patch details?

What are the GUI Configuration parameter settings for the WEBGUI Service in transaction SICF?

Regards,

Oisin

Former Member
0 Kudos

Oisin,

Below are the details

1. Can you paste some of the error message from the Java Console log?

Java Plug-in 1.6.0_01

Using JRE version 1.6.0_01 Java HotSpot(TM) Client VM

User home directory = C:\Documents and Settings\chandran

java.io.FileNotFoundException: http://10.90.129.69/wpad.dat

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

at com.sun.deploy.net.proxy.AbstractAutoProxyHandler.getJSFileFromURL(Unknown Source)

at com.sun.deploy.net.proxy.AbstractAutoProxyHandler.init(Unknown Source)

at com.sun.deploy.net.proxy.DynamicProxyManager.reset(Unknown Source)

at com.sun.deploy.net.proxy.DeployProxySelector.reset(Unknown Source)

at sun.plugin.AppletViewer.initEnvironment(Unknown Source)

at sun.plugin.AppletViewer.initEnvironment(Unknown Source)

-


communication error with sapsystem

communication error with sapsystem

communication error with sapsystem

communication error with sapsystem

communication error with sapsystem

communication error with sapsystem

2. What is your BASIS and Kernel patch details?

SAP_BASIS - 640 - SAPKB64027

KERNAL - Patch 365

3. What are the GUI Configuration parameter settings for the WEBGUI Service in transaction SICF?

~DESIGNS sap_streamline

~WEBGUI 1

~XSRFCHECK 1

Should I maintain any other parameters for service in SICF

Thanks,

Chandru

former_member194364
Active Contributor
0 Kudos

Hi Chandru

Are you using a Third Party Reverse Proxy or the SAP Webdispatcher?

Unrelated to the issue you face here - but within the next month the certificate you are on will expire.

Would recommend to review note:

[742197 ITS up/download: security certificate has expired|https://service.sap.com/sap/support/notes/742197]

See the section:

"

!!!Attention!!!

Starting with note [1555523|https://service.sap.com/sap/support/notes/1555523] a new security applet was introduced.

To get an applet with validity after 21 Nov 2011 this note must be

implemented (it contains a sap_basis patch and a kernel patch).

Furthermore note [1586053|https://service.sap.com/sap/support/notes/1586053] must be implemented (it contains only a kernel

patch).

!!!Attension!!!

"

Regards,

Oisin

Insert note links: Edited by: Oisin ONidh on Oct 14, 2011 12:15 PM

Former Member
0 Kudos

Oisin,

We are using SAP Webdispatche.

Thanks,

Chandru

former_member194364
Active Contributor
0 Kudos

Hi Chandru,

Does the upload / download work correctly if called from the WAS directly?

o Start transaction SICF

o Open the corresponding tree nodes for the service you would like to

test i.e webgui

transaction /nsicf > default host ->

sap -> bc -> gui -> sap -> its -> webgui

o Select Test service from context menu of the service node

i.e: Right Click -> Test Service

This will launch the webgui service in the browser - from here logon

to system again. From the OKFilecode type /n(transaction name)

It should work. If it does then issue is with your webdispatcher configuration:

See the below links:

SAP HELP

[Communication with Protocol Switch Through Reverse Proxy: |http://help.sap.com/saphelp_nw04s/helpdata/en/42/d5491930b6473ce10000000a114e5d/frameset.htm ]

SAP HELP

[Configuring the SAP Web Dispatcher to Support SSL |http://help.sap.com/saphelp_nw04s/helpdata/en/39/09a63d7af20450e10000000a114084/frameset.htm ]

SDN WIKI

[Using Proxies|https://wiki.sdn.sap.com/wiki/x/6Qs ] ( https://wiki.sdn.sap.com/wiki/x/6Qs )

Regards,

Oisin

Former Member
0 Kudos

Hi Oisin

I get this issue when I execute any transaction code via SICF->Webgui - test service, Iu2019m not able to download or upload. But this functionality works perfectly fine in SAP GUI.

Thanks,

Chandru

former_member194364
Active Contributor
0 Kudos

Hi Chandru

Do you still get the same Java Console error messages when doing the SICF test?

Regards,

Oisin

Former Member
0 Kudos

Oisin,

Earlier I got the message pasted above, the recent message in the Java log is below and the message displayed in Webgui is "cancellation by users" message displayed while uploading file

Itu2019s lengthy log, the last message is

basic: Stopping applet ...

basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@ecb281

basic: Finding information ...

basic: Releasing classloader: sun.plugin.ClassLoaderInfo@176c74b, refcount=0

basic: Caching classloader: sun.plugin.ClassLoaderInfo@176c74b

basic: Current classloader cache size: 1

basic: Done ...

basic: Joining applet thread ...

basic: Destroying applet ...

basic: Disposing applet ...

basic: Joined applet thread ...

basic: Quiting applet ...

Thanks,

Chandru

Java Plug-in 1.6.0_01

Using JRE version 1.6.0_01 Java HotSpot(TM) Client VM

User home directory = C:\Documents and Settings\. chandran

network: Loading user-defined proxy configuration ...

network: Done.

network: Loading proxy configuration from Internet Explorer ...

network: Auto config URL: http://10.90.129.69/wpad.dat

network: Done.

network: Loading auto proxy configuration ...

network: Downloading auto proxy file from http://10.90.129.69/wpad.dat

java.io.FileNotFoundException: http://10.90.129.69/wpad.dat

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

at com.sun.deploy.net.proxy.AbstractAutoProxyHandler.getJSFileFromURL(Unknown Source)

at com.sun.deploy.net.proxy.AbstractAutoProxyHandler.init(Unknown Source)

at com.sun.deploy.net.proxy.DynamicProxyManager.reset(Unknown Source)

at com.sun.deploy.net.proxy.DeployProxySelector.reset(Unknown Source)

at sun.plugin.AppletViewer.initEnvironment(Unknown Source)

at sun.plugin.AppletViewer.initEnvironment(Unknown Source)

network: Unable to use auto proxy configuration - fallback to MANUAL

network: Loading manual proxy configuration ...

network: Done.

network: Proxy Configuration: Manual Configuration

Proxy:

Proxy Overrides:

-


c: clear console window

f: finalize objects on finalization queue

g: garbage collect

h: display this help message

l: dump classloader list

m: print memory usage

o: trigger logging

p: reload proxy configuration

q: hide console

r: reload policy configuration

s: dump system and deployment properties

t: dump thread list

v: dump thread stack

x: clear classloader cache

0-5: set trace level to <n>

-


liveconnect: Invoking JS method: document

liveconnect: Invoking JS method: URL

basic: Referencing classloader: sun.plugin.ClassLoaderInfo@176c74b, refcount=1

basic: Added progress listener: sun.plugin.util.GrayBoxPainter@eb7859

basic: Loading applet ...

basic: Initializing applet ...

basic: Starting applet ...

basic: completed perf rollup

network: Cache entry not found [url: http://sapdied0.applications.services.XXX-tech.XXXXXX. /sap/public/bc/its/mimes/webgui/sl/applets/ws.jar, version: null]

network: Connecting http://sapdied0.applications.services.XXXXXXXX /sap/public/bc/its/mimes/webgui/sl/applets/ws.jar with proxy=DIRECT

network: Connecting http://sapdied0.applications.services.XXXXXXXXXXX 9051/sap/public/bc/its/mimes/webgui/sl/applets/ws.jar with cookie "~ToolbarOkCodeVisible=X; sap-usercontext=sap-language=EN&sap-client=200; ~StatusbarInfoVisible=1; MYSAPSSO2=AjQxMDMBABhTAFUASgBBAEkAIAAgACAAIAAgACAAIAACAAYyADAAMAADABBJAEUARAAgACAAIAAgACAABAAYMgAwADEAMQXXXDAAMQA4ADAAOQA1ADYABQAEAAAAPAYAAlgACQACRQD%2fASwwggEoBgkqhkiG9w0BBwKgggEZMIIBFQIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBMYH1MIHyAgEBMEcwPDELMAkGA1UEBhMCREUxDDAKBgNVBAoTA0FYQTERMA8GA1UECxMIQVhBIFRlY2gxDDAKBgNVBAMTA0lFRAIHIBECAxMxFTAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTExMDE4MDk1NjA4WjAjBgkqhkiG9w0BCQQxFgQUMPaUHKOEF2fI1%2fikUJWz7D2W4fgwCQYHKoZIzjgEAwQvMC0CFBFEnBh3W18I6zTReaaUvEcTNNkjAhUAg0DO36cA8bIS%21AZJRTzoAuS73Hc%3d"

network: Downloading resource: http://sapdied0.applications.XXXXXXXXX:9051/sap/public/bc/its/mimes/webgui/sl/applets/ws.jar

Content-Length: 68,748

Content-Encoding: null

network: Wrote URL http://sapdied0.applications.services.XXX-tech.intrXXX:9051/sap/public/bc/its/mimes/webgui/sl/applet... to File C:\Documents and Settings\ chandran\Application Data\Sun\Java\Deployment\cache\6.0\1\e304101-44c950eb-temp

security: Loading Root CA certificates from C:\PROGRA1\Java\JRE161.0_0\lib\security\cacerts

security: Loaded Root CA certificates from C:\PROGRA1\Java\JRE161.0_0\lib\security\cacerts

security: Loading Deployment certificates from C:\Documents and Settings\. chandran\Application Data\Sun\Java\Deployment\security\trusted.certs

security: Loaded Deployment certificates from C:\Documents and Settings\ chandran\Application Data\Sun\Java\Deployment\security\trusted.certs

security: Loading certificates from Deployment session certificate store

security: Loaded certificates from Deployment session certificate store

security: Loading certificates from Internet Explorer ROOT certificate store

security: Loaded certificates from Internet Explorer ROOT certificate store

security: Loading certificates from Internet Explorer TrustedPublisher certificate store

security: Loaded certificates from Internet Explorer TrustedPublisher certificate store

security: Validate the certificate chain using CertPath API

security: Obtain certificate collection in Root CA certificate store

security: Obtain certificate collection in Root CA certificate store

security: The CRL support is disabled

security: The OCSP support is disabled

security: Timestamping info is available

security: The certificate hasnt been expired, no need to check timestamping info

security: Checking if certificate is in Deployment denied certificate store

security: Checking if certificate is in Deployment permanent certificate store

network: Connecting http://sapdied0.applications.services.XXX-tech.intrXXX:9051/sap(cz1TSUQlM2FBTk9OJTNhbGh2emllYmRfSUVE... with proxy=DIRECT

network: Connecting http://sapdied0.applications.services.XXX-tech.intrXXX:9051/sap(cz1TSUQlM2FBTk9OJTNhbGh2emllYmRfSUVE...flNUQVRFPTIxMzYwNzkxMjYuMDA0LjA1LjA2====/54.107/data/BF38907862081D62hash?Hash=moefutjuioaqbiueyqjfdkxowdfrloww with cookie "http_content_charset=utf-8; ~ToolbarOkCodeVisible=X; sap-usercontext=sap-language=EN&sap-client=200; ~StatusbarInfoVisible=1; MYSAPSSO2=AjQxMDMBABhTAFUASgBBAEkAIAAgACAAIAAgACAAIAACAAYyADAAMAADABBJAEUARAAgACAAIAAgACAABAAYMgAwADEAMQXXXDAAMQA4ADAAOQA1ADYABQAEAAAAPAYAAlgACQACRQD%2fASwwggEoBgkqhkiG9w0BBwKgggEZMIIBFQIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBMYH1MIHyAgEBMEcwPDELMAkGA1UEBhMCREUxDDAKBgNVBAoTA0FYQTERMA8GA1UECxMIQVhBIFRlY2gxDDAKBgNVBAMTA0lFRAIHIBECAxMxFTAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTExMDE4MDk1NjA4WjAjBgkqhkiG9w0BCQQxFgQUMPaUHKOEF2fI1%2fikUJWz7D2W4fgwCQYHKoZIzjgEAwQvMC0CFBFEnBh3W18I6zTReaaUvEcTNNkjAhUAg0DO36cA8bIS%21AZJRTzoAuS73Hc%3d"

network: Server http://sapdied0.applications.services.XXX-tech.intrXXX:9051/sap(cz1TSUQlM2FBTk9OJTNhbGh2emllYmRfSUVE...flNUQVRFPTIxMzYwNzkxMjYuMDA0LjA1LjA2====/54.107/data/BF38907862081D62hash?Hash=moefutjuioaqbiueyqjfdkxowdfrloww requesting to set-cookie with "http_content_charset=utf-8; path=/sap(cz1TSUQlM2FBTk9OJTNhbGh2emllYmRfSUVEXzEwJTNhbzZRRVRoMThxYmZkX0tzVTRGRjFUMjZRWGhvaVotR1BpOUkyeDJKWS1BVFQ=)/bc/gui/sap/its/webgui/"

communication error with sapsystem

liveconnect: Invoking JS method: setOkCode

liveconnect: Invoking JS method: document

basic: Stopping applet ...

basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@eb7859

basic: Finding information ...

basic: Releasing classloader: sun.plugin.ClassLoaderInfo@176c74b, refcount=0

basic: Caching classloader: sun.plugin.ClassLoaderInfo@176c74b

basic: Current classloader cache size: 1

basic: Done ...

basic: Joining applet thread ...

basic: Destroying applet ...

basic: Disposing applet ...

basic: Joined applet thread ...

basic: Quiting applet ...

liveconnect: Invoking JS method: URL

basic: Referencing classloader: sun.plugin.ClassLoaderInfo@176c74b, refcount=1

basic: Added progress listener: sun.plugin.util.GrayBoxPainter@94884d

basic: Loading applet ...

basic: Initializing applet ...

basic: Starting applet ...

basic: completed perf rollup

network: Connecting http://sapdied0.applications.services.XXX-tech.intrXXX:9051/sap(cz1TSUQlM2FBTk9OJTNhbGh2emllYmRfSUVE... with proxy=DIRECT

network: Connecting http://sapdied0.applications.services.XXX-tech.intrXXX:9051/sap(cz1TSUQlM2FBTk9OJTNhbGh2emllYmRfSUVE...flNUQVRFPTY1NjUzMDI0My4wMDUuMDUuMDY=/55.108/data/BF38907862081D62hash?Hash=rydimvphjgrmlshtfmcqnosqrexrmcbn with cookie "http_content_charset=utf-8; ~ToolbarOkCodeVisible=X; sap-usercontext=sap-language=EN&sap-client=200; ~StatusbarInfoVisible=1; MYSAPSSO2=AjQxMDMBABhTAFUASgBBAEkAIAAgACAAIAAgACAAIAACAAYyADAAMAADABBJAEUARAAgACAAIAAgACAABAAYMgAwADEAMQXXXDAAMQA4ADAAOQA1ADYABQAEAAAAPAYAAlgACQACRQD%2fASwwggEoBgkqhkiG9w0BBwKgggEZMIIBFQIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBMYH1MIHyAgEBMEcwPDELMAkGA1UEBhMCREUxDDAKBgNVBAoTA0FYQTERMA8GA1UECxMIQVhBIFRlY2gxDDAKBgNVBAMTA0lFRAIHIBECAxMxFTAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTExMDE4MDk1NjA4WjAjBgkqhkiG9w0BCQQxFgQUMPaUHKOEF2fI1%2fikUJWz7D2W4fgwCQYHKoZIzjgEAwQvMC0CFBFEnBh3W18I6zTReaaUvEcTNNkjAhUAg0DO36cA8bIS%21AZJRTzoAuS73Hc%3d"

network: Server http://sapdied0.applications.services.XXX-tech.intrXXX:9051/sap(cz1TSUQlM2FBTk9OJTNhbGh2emllYmRfSUVE...flNUQVRFPTY1NjUzMDI0My4wMDUuMDUuMDY=/55.108/data/BF38907862081D62hash?Hash=rydimvphjgrmlshtfmcqnosqrexrmcbn requesting to set-cookie with "http_content_charset=utf-8; path=/sap(cz1TSUQlM2FBTk9OJTNhbGh2emllYmRfSUVEXzEwJTNhbzZRRVRoMThxYmZkX0tzVTRGRjFUMjZRWGhvaVotR1BpOUkyeDJKWS1BVFQ=)/bc/gui/sap/its/webgui/"

communication error with sapsystem

liveconnect: Invoking JS method: setOkCode

liveconnect: Invoking JS method: document

liveconnect: Invoking JS method: URL

basic: Referencing classloader: sun.plugin.ClassLoaderInfo@176c74b, refcount=2

basic: Added progress listener: sun.plugin.util.GrayBoxPainter@ecb281

basic: Loading applet ...

basic: Initializing applet ...

basic: Starting applet ...

basic: completed perf rollup

basic: Stopping applet ...

basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@94884d

basic: Finding information ...

basic: Releasing classloader: sun.plugin.ClassLoaderInfo@176c74b, refcount=1

basic: Done ...

basic: Joining applet thread ...

basic: Destroying applet ...

basic: Disposing applet ...

basic: Joined applet thread ...

basic: Quiting applet ...

network: Connecting http://sapdied0.applications.services.XXXXXXXXXXX(cz1TSUQlM2FBTk9OJTNhbGh2emllYmRfSUVEXzEwJTNhbzZRRV...? with proxy=DIRECT

network: Connecting http://sapdied0.applications.services.XXX-tech.intrXXX:9051/sap(cz1TSUQlM2FBTk9OJTNhbGh2emllYmRfSUVE...flNUQVRFPTE3MTE0OTE3NjAuMDA2LjA2LjA3====/56.109/data/BF38907862081D62fileopendialog? with cookie "http_content_charset=utf-8; ~ToolbarOkCodeVisible=X; sap-usercontext=sap-language=EN&sap-client=200; ~StatusbarInfoVisible=1; MYSAPSSO2=AjQxMDMBABhTAFUASgBBAEkAIAAgACAAIAAgACAAIAACAAYyADAAMAADABBJAEUARAAgACAAIAAgACAABAAYMgAwADEAMQXXXDAAMQA4ADAAOQA1ADYABQAEAAAAPAYAAlgACQACRQD%2fASwwggEoBgkqhkiG9w0BBwKgggEZMIIBFQIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBMYH1MIHyAgEBMEcwPDELMAkGA1UEBhMCREUxDDAKBgNVBAoTA0FYQTERMA8GA1UECxMIQVhBIFRlY2gxDDAKBgNVBAMTA0lFRAIHIBECAxMxFTAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTExMDE4MDk1NjA4WjAjBgkqhkiG9w0BCQQxFgQUMPaUHKOEF2fI1%2fikUJWz7D2W4fgwCQYHKoZIzjgEAwQvMC0CFBFEnBh3W18I6zTReaaUvEcTNNkjAhUAg0DO36cA8bIS%21AZJRTzoAuS73Hc%3d"

network: Server http://sapdied0.applications.services.XXX-tech.intrXXX:9051/sap(cz1TSUQlM2FBTk9OJTNhbGh2emllYmRfSUVE...flNUQVRFPTE3MTE0OTE3NjAuMDA2LjA2LjA3====/56.109/data/BF38907862081D62fileopendialog? requesting to set-cookie with "http_content_charset=utf-8; path=/sap(cz1TSUQlM2FBTk9OJTNhbGh2emllYmRfSUVEXzEwJTNhbzZRRVRoMThxYmZkX0tzVTRGRjFUMjZRWGhvaVotR1BpOUkyeDJKWS1BVFQ=)/bc/gui/sap/its/webgui/"

liveconnect: Invoking JS method: setOkCode

basic: Stopping applet ...

basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@ecb281

basic: Finding information ...

basic: Releasing classloader: sun.plugin.ClassLoaderInfo@176c74b, refcount=0

basic: Caching classloader: sun.plugin.ClassLoaderInfo@176c74b

basic: Current classloader cache size: 1

basic: Done ...

basic: Joining applet thread ...

basic: Destroying applet ...

basic: Disposing applet ...

basic: Joined applet thread ...

basic: Quiting applet ...

Edited by: Chandru Chandru on Oct 18, 2011 12:13 PM

former_member194364
Active Contributor
0 Kudos

Hi Chandru,

First recommendation:

Try upgrading your Java Plug-in 1.6.0_01 to Java Plug-in 1.6.0_27 (the latest)

Check your http host and port numbers of the WAS via transaction: SMICM?

From JAVA console trace:

http://sapdied0.applications.services.XXX-tech.intrXXX:9051

is not a FQDN?

Regards,

Oisin