2006 Jan 27 9:35 AM
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.
2006 Jan 27 9:41 AM
2006 Jan 27 9:42 AM
2006 Jan 27 9:47 AM
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
2006 Jan 27 9:52 AM
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 =
.
2006 Jan 27 10:21 AM
hi,
i am using dialog screen.whether ur fm will work for
that.
2006 Jan 27 9:57 AM
Hi,
Can you explain your requirement in more detail?
Regards
Amole
2006 Jan 27 10:11 AM
If you are looking to print the selection screen on the list output,
use the FM 'PRINT_SELECTIONS'.