Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

PRINTING THE SCREEN

Former Member
0 Likes
960

Hi ,

i my screen i have pushbutton named as 'PRINT'.

when i click that button,it should print that

screen.how could i do this.

thanks.

Hi ,

i my screen i have pushbutton named as 'PRINT'.

when i click that button,it should print that

screen.how could i do this.

thanks.

7 REPLIES 7
Read only

hymavathi_oruganti
Active Contributor
0 Likes
915

IS_SUBMIT_TO_SPOOL is fn module to submit to spool

Read only

Former Member
0 Likes
915

Use the FM SCPRPRINT_SELECTION_SCREEN through Sy-ucomm

Read only

Former Member
0 Likes
915

hi,

r u tryin to say that u want to capture the screen as in PRINT SCREEN on windows and then print the gui output.

regards,

Sumeet

Read only

Former Member
0 Likes
915

TABLES sscrfields.

DATA flag.

PARAMETERS test.

SELECTION-SCREEN FUNCTION KEY 1.

INITIALIZATION.

sscrfields-functxt_01 = 'print'.

AT SELECTION-SCREEN.

IF sscrfields-ucomm = 'FC01'.

flag = '1'.

endif.

CALL FUNCTION 'SCPRPRINT_SELECTION_SCREEN'

  • EXPORTING

  • BCSET = ' '

  • ACT_ID = ' '

  • DRUCKAUSGABE = ' '

  • I_BCSET_UEBERSICHT = 'X'

  • I_TABELLEN_UEBERSICHT = 'X'

  • I_DATENSATZ_UEBERSICHT = 'X'

  • I_FELDUEBERSICHT = ' '

  • I_MEHRSPRACHIG = ' '

  • I_ALLE_TABELLENFELDER = ' '

  • I_IMG_PATH = ' '

  • I_MAXIMALE_AUSGABEBREITE = 120

  • I_VARIABLENUEBERSICHT = ' '

  • IMPORTING

  • E_BCSET_UEBERSICHT =

  • E_TABELLEN_UEBERSICHT =

  • E_DATENSATZ_UEBERSICHT =

  • E_FELDUEBERSICHT =

  • E_MEHRSPRACHIG =

  • E_ALLE_TABELLENFELDER =

  • E_IMG_PATH =

  • E_MAXIMALE_AUSGABEBREITE =

  • E_VARIABLENUEBERSICHT =

.

Read only

0 Likes
915

hi,

i am using dialog screen.whether ur fm will work for

that.

Read only

Former Member
0 Likes
915

Hi,

Can you explain your requirement in more detail?

Regards

Amole

Read only

Former Member
0 Likes
915

If you are looking to print the selection screen on the list output,

use the FM 'PRINT_SELECTIONS'.