cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Desktop Office Integration: Page setup popup and page format

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member204746
Active Contributor
0 Kudos

This is not an issue for this forum. go find a programming forum for more help.