cancel
Showing results for 
Search instead for 
Did you mean: 

Printing sap smartform from fiori application

ukiranta
Participant
0 Kudos

Hello everyone, I have created a smartform in Sap SMARTFORMS. I would like to trigger that with a button in fiori worklist application. How can I implement this in my fiori app?

Accepted Solutions (0)

Answers (2)

Answers (2)

Hi,

You can use oData function Import. Create a function that calls your smartform, and import it to your oData service.

here is a example: https://saplearners.com/function-import-in-sap-odata-service/

ukiranta
Participant
0 Kudos

Well I have already done the service implementations. However when I click the print button in fiori app, button doesnt respond. Here is my work under WorklistController.js

https://prnt.sc/1zzuzgu

ukiranta
Participant
0 Kudos

I am still looking for help

0 Kudos

Hi sorry i see it now.

Did you try to debug it? What kind of error message did you receive from your read?

If you didnt get any response maybe you can try like bellow

this.getView().getModel().read(sObjectPath + "/$value", {

or if you make your service implementation as Function import you can make your servicecall with .callFunction as method "POST"