cancel
Showing results for 
Search instead for 
Did you mean: 

PDF File

Former Member
0 Kudos

Hi MII Experts,

I am creating the PDF file succesfully and also able to open using java script. after that I am overridng the same PDF file.

but next time I am opening the file using Java Script, It is opening the file with old data.

while I am exporting the file to my desktop and opening the file , and data in file latest one.

I am not able to identify the issue.

Regards,

Dipak

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi All,

I am facing another issue now, when I am login with my user id , I am able to create the PDF file in folder WEB in xMII. I have developer rights.

but when End user is login with their id , PDF did not get generated.

So I believe, it will authorization issue.

so will you please let me know , what type of authorization they required ?

Regards,

Dipak

Former Member
0 Kudos

Dipak,

have you checked the NetWeaver Logs for errors? You can also create a testuser with the enduser rights and call the transaction in debug mode to see if there are errors.

If the problem is related to security:

- Have you changed the default security of the transaction? Usually the role XMII Users will have read access for the tran which should be ok for saving something in the WEB folder. What roles do you have assigned to your end users?

- Have you changed any settings in the MII System Security?

- How do your endusers call the transaction? If called by an Xacute query, what are the security settings there?

Michael

Former Member
0 Kudos

Michael,

I had assigened the SAP_XMII_USER role . but it is not working.

For testing I had assigned SAP_XMII_DEVELOPER to end user and they are able to generate the PDF.

Regards,

Dipak

jcgood25
Active Contributor
0 Kudos

Look for the PDF actions in the NW UME (similar location for user and roles). You will see the ones already mapped to the developer role, and in your case you will want to either map them to the user role or another role that the relevant users belong to.

http://help.sap.com/saphelp_mii121/helpdata/en/48/d0c6efbcb810b6e10000000a421138/content.htm

Former Member
0 Kudos

Hi,

you must do java cache refresh. You must press "x" on java console.

Regards.

Former Member
0 Kudos

Dipak,

this sounds like a browser issue. Refresh the display (F5), then the correct PDF contents should be displayed.

Michael

Former Member
0 Kudos

Hi Michael,

Thanks for quick response. I had refreshed the browser but same issues.

even I had delete the file from WEB (xMII) and I am trying to open the file, the file has opened with old data.

Regards,

Dipak

Former Member
0 Kudos

Dipak,

I guess you are using some saver action to save the PDF file in MII, right? When savin the file, do you use the the prefix "web://" in the pathname? If not, try it, this should save the file and publish it at the same time. Then you should be able to see it when you use the file name in your html (maybe after clicking F5).

Michael

Edited by: Michael Otto on Jul 12, 2010 5:25 PM

Former Member
0 Kudos

Michael,

You are right , I am using the saver and also I am using the WEB:// also in path.

there is some issue in refresh the folder.

Regards,

Dipak

Former Member
0 Kudos

Which MII version / build are you using?

Former Member
0 Kudos

xMII 12.1 (SP05)

Former Member
0 Kudos

There are some Patches for 12.1.5 available (Patch 11 is newest). Maybe it helps to implement the latest patch? If the problem persists and there is no new idea here it would be an option to open a ticket.

Michael