cancel
Showing results for 
Search instead for 
Did you mean: 

problem

Former Member
0 Kudos

Hi

I want to display output in pdf format...for that i used interactive form and did the steps for creation of PDF.but while runtime i am getting error:

Incorrect content-type found 'text/html'

The error is in ADS.So plz tell me how can i resolve this error

Its urgent.please do the needful.

with regards

Gobinath.R

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Gobinath,

This indicates that the password for the ADSUser could have been expired. Inorder to solve this error look up note 1004321 at The Notes section in the SAP marketplace site.

Hope this helps.

Former Member
0 Kudos

Hi Gobinath,

Check the <a href="https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1004321&nlang=EN&smpsrv=https%3a%2f%2fwebsmp109%2esap-ag%2ede">SAP note 1004321</a> for this problem.

Symptom

You have received the error message 'Incorrect content type found' from Adobe document services.

Other terms

SAP Interactive Forms, ADS, Adobe document services

Reason and Prerequisites

The error message 'Incorrect content type found' is caused by the ADSUser password having expired.

In SAP NetWeaver 2004s, the default Java stack value of 'User password expired days' is set to 90 days.

(See also the information in the SAP Help Portal at http://help.sap.com/saphelp_nw2004s/helpdata/en/0a/065e4278636255e10000000a155106/frameset.htm.)

After 90 days, the ADSUser password expires and you have problems accessing the Web service of Adobe document services.

As of NetWeaver 7.0 (NetWeaver 2004s) SP-11, ume property ume.logon.security_policy.password_change_required is deprecated.

(http://help.sap.com/saphelp_nw70/helpdata/en/45/59a4c07d2b09cce10000000a114a6b/frameset.htm)

Because of this change, it is not possible to set 'No password change required' using the Security Provider Service (Visual Admin).

In case of NetWeaver 7.0 SP-11 or higher, it is necessary to apply this note.

Solution SAP NetWeaver '04 / 2004s

1. Log on to the Visual Administrator.

2. Follow the path:

Server -> services -> Security Provider -> User Management tab

3. Display the user ADSUser.

4. Change the ADSUser password. (You can use the same password.) Check the checkbox 'No password change is required'.

Additional steps for SAP NetWeaver 2004s (SPS 7 or higher)

Note: The below mentioned technical user role is available for the ADSuser as of NetWeaver 2004s SPS 7.

1. Log on to 'User Management' of your AS Java:

http://<AS Java server>:< http port> -> User Management

2. Display the user ADSUser.

3. In the 'Security policy' field, change the setting from 'Default' to 'Technical Users' and save.

(For more information on the 'Security Policy' option, see the Release Notes in the SAP Help Portal at http://help.sap.com/saphelp_erp2005vp/helpdata/en/44/04265816343fdbe10000000a11466f/frameset.htm.)

After changing this option, the ADSUser password will not expire.

Note: This feature is not available for SAP NetWeaver '04.

regards

Sumit

Former Member
0 Kudos

Hi

Hope this will help you in starting off with the PDFObject

<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1bbc91c3-0401-0010-91bc-a25b2a3dff19">Working with "PDFObject" API</a>

Regards

Chaitanya.A

Former Member
0 Kudos

Hi,

If u r setting any MIMEtype make sure that is of this type application/pdf

Regards

Abhijith YS

Former Member
0 Kudos

Hi

My appln is like,i have one inputfield and search button .Once i clicked search button it would show data in pdf format.here we r not using any pdf file.

we need to convert data in pdf format using interactive forms.

we have set the pdfsource and datasource prop.

but while running it throws an exception

java.lang.ex Incorrect content-type found 'text/html'

we have not set any mime types.

can u plz help in regards.

thanks