Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SAP Desktop Office Integration: Page setup popup and page format

Dear Experts,

We have created a report using DOI concept and displaying ouput in excel format. We want to set the page format(Oriantation: Landscape, Fit to: 1wide 1 tall, Paper size: A4 ).

To do this, we are calling [ GC_DOCUMENT TYPE REF TO I_OI_DOCUMENT_PROXY]

CALL METHOD GC_DOCUMENT->page_setup

EXPORTING no_flush = ' '

IMPORTING error = gc_error.

This results in Popup of page setup before the output where we have to manually set the page format.

But we want to hide this popup and set the page format as mentioned above.

is it possible to hide this Page setup popup and hardcode the format ? or is there any other way to set the page format automatically?

Thanks a lot in advance.

Regards,

Shreyansh

Edited by: shreyansh babagond on Jun 2, 2011 7:11 PM

Not what you were looking for? View more on this topic or Ask a question