cancel
Showing results for 
Search instead for 
Did you mean: 

open the smartform as a PDF in UI5

Former Member
0 Kudos

Hi All,

I do have one requirement where I need to generate the PDF from smartform and that has to open from Ui5.

Now I have created one smartform and created one RFC FM which covert the smartform to XSTRING format.

Now I need to create Odata service for which I have referred the below mentioned blog:

But problem is: While I have created Entity Types and Entity set, Media also been checked

Service also implement for the same:

Activated successfully.

Now When I redefine the method: MPC_EXT and DPC_EXT, also activated successfully.

But in the project where I have created this entity type, Entity set and service , there are multiple already created. Now These redefine methods get called in those service also. So is there any check we can put that it should only call in case of our entity type, Entity set and service?

2. Now its giving error while running existing application:

help me out what I am missing here?

Accepted Solutions (0)

Answers (1)

Answers (1)

ChandraMahajan
Active Contributor
0 Kudos

From screenshot it is not clear if you have MimeType as property in your entity and hence the error message.

Regards,

Chandra

Jayakrishnan
Active Participant
0 Kudos

HI,

i am trying the above mentioned example. but i am facing some error . i have pasted my error below.

Error:Uncaught TypeError: Cannot read property 'url' of undefined .

My odata value is undefined. Please help me?

Thanks,

JK