cancel
Showing results for 
Search instead for 
Did you mean: 

Printing using Post method of OData service

Pavan_Golesar
Active Participant

Hi,

In Ecc we have standard FM which is used to print data from SAP.

Now, You might think I is this to do with Gateway. Well, In my case I have developed my OData service with Post operation mapped to this Standard FM in Backend.

I've questions for you:

1. How to set default printer in case in am referring to table NAST for print.

If you faced similar issue/ found the solution, can you help.

Concluding lines: How can we print from SAP... If there are other ways, would appreciate the workaround.

Thanking you.

Pavan G

Accepted Solutions (0)

Answers (1)

Answers (1)

EkanshCapgemini
Active Contributor

Hi Pavan,

It would be beneficial if you could share your use case in more detail.

What are you printing? Is it a smartform or ALV report?

Regards,

Ekansh

Pavan_Golesar
Active Participant
0 Kudos

Yes sure,

The Print functionality can be used from app for Sales Order Printing or enquiry printing..for which I have already developed a OData service which utilized the Standard FM.

For more info:

The Standard FM utilizes the entries present in table NAST in my backend ECC System...

Few Inputs from table are: KAPPL,KSCHL,DIMME (for immediate printing) and OBJECT KEY(I don't recall the fieldname of object key now).

Hope this enlightens my query..

Let me know ..


Regards,

--PG

EkanshCapgemini
Active Contributor
0 Kudos

Hi Pavan,

This can be handled by displaying the smartform on UI5 screens and use the print functionality of browser. There is lot of material available on SCN for this.

I don't understand where are your stuck in achieving this? If you are stuck during printing of smartform, I doubt your query is more related to ABAP development and not to gateway related developments.

Regards,

Ekansh

cbarate
Explorer
0 Kudos

How we would get SAP printers in browser printing option.

I think here the solution required is to print on sap printer.