cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to View Chart in PDF

Former Member
0 Kudos

Hi All,

I am using Transaction to create a PDF document with MII Charts in it.

I am opening it using Runner service and its working fine for a user with developer role.

The Charts are missing in PDF if I open it with non developer user.

I am having Dynamic Query role assigned to the user and everything like chart and grid works fine in irpt page for the same user.

But in the PDF i am unable to get charts.

Do i need to assign any specific role?.

My MII version is 12.1.8 Build 24

Kindly help on this.

Thanks,

Selva.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Need to assign the XMII_ChartServlet Action to the SAP_XMII_User Role (or a role that your standard user possesses).  The Action is the permission to perform the task or activity, and the Chart Servlet that is used to render the image from a QT and DT is protected.  This is done inside the useradmin app (UME) – and is the same place you would map users to roles

Thanks for your help offline Jeremy.

Selva.

Answers (2)

Answers (2)

jcgood25
Active Contributor
0 Kudos

I'm glad to know my answer was the solution you needed.  When developing a custom user role, it can be challenging to provide the missing pieces from the required SAP_XMII_User role to your custom role.  The online help docs do a nice job of listing the actions, and even though matching their name/description to the desired functionality in your application can be a bit tedious at times, the names are somewhat straightforward.

Former Member
0 Kudos

I'm having a similar problem. I have a spcchart image that generated with the saveImage() function and loaded with image loader action then would like to put it in PDF. I can save this image as jpg to project folder without any problem. But when I tried to import this image to a PDF through logic, the PDF generated without the image. There's no error from the transaction. Not sure if it's a role problem.

Best regards,

Lawrence