Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 7999

open the smartform as a PDF in UI5

$
0
0

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.

 

Untitled.png

 

 

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

 

Display Smartform (PDF) in SAPUI5

 

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

 

Untitled.png

Service also implement for the same:

 

Untitled.png

 

Activated successfully.

 

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

 

Untitled.png

 

Untitled.png

 

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:

Untitled.png

 

help me out what I am missing here..


Viewing all articles
Browse latest Browse all 7999

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>