2008 Nov 26 1:34 AM
hi
I need to create spool after ALV display. I used this fn module RSPO_OPEN_SPOOLREQUEST and pass only the destination parameter - 'LP01'.
Spool erquest is created but no pages.. Pages 0.. Pls advise if there is any other parameter I need to fill for this fn module or any other way to achieve this.
Thanks
Arunachala.G
hi
I need to create spool after ALV display. I used this fn module RSPO_OPEN_SPOOLREQUEST and pass only the destination parameter - 'LP01'.
Spool erquest is created but no pages.. Pages 0.. Pls advise if there is any other parameter I need to fill for this fn module or any other way to achieve this.
Thanks
Arunachala.G
2008 Nov 26 2:49 AM
2008 Nov 26 3:02 AM
Hi
Thanks for ur Reply.. I tried,, But the document is not opened since no pages.. He to trigger the pages in spool..
Thanks
2008 Nov 26 3:17 AM
2008 Nov 26 4:42 AM
Hello Arunachala,
Please use the below steps :
1.>
form build_layout.
gd_layout-no_input = 'X'.
gd_layout-colwidth_optimize = 'X'.
gd_layout-totals_text = 'Totals'(201).
gd_layout-box_fieldname = 'CHK'.
gd_layout-box_tabname = 'IT_SPOOL'.
gd_layout-totals_only = 'X'.
gd_layout-f2code = 'DISP'. "Sets fcode for when double
"click(press f2)
gd_layout-zebra = 'X'.
gd_layout-group_change_edit = 'X'.
gd_layout-header_text = 'helllllo'.
endform.
2.> call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_interface_check = ' '
i_callback_program = gd_repid
i_callback_pf_status_set = 'SET_PF_STATUS'
i_callback_top_of_page = ''
i_callback_user_command = 'USER_COMMAND'
i_grid_title = outtext
is_layout = gd_layout
it_fieldcat = fieldcatalog[]
it_special_groups =
IT_EVENTS =
i_save = 'X'
is_variant =
tables
t_outtab = it_spool[].
3. >Function :RSPO_OUTPUT_SPOOL_REQUEST
exporting
spool_request_id = ls_spool_id-id.
NB: data : ls_spool_id type sp01r_id,
Please try to do like this...
Any problem you have then please ask me...and tell me your task in details...and program also...what you have done..
Regards,
sujeet
2008 Nov 26 5:57 AM
Hi Sujeet
Still I could get the pages in Spool .. . I created spool after ALV display... but the no of pages ..showing 0..
I need to get the pages whatever it displayed in the output screen.
Pls Advise.
Thanks
Arunachala.G
2008 Nov 26 6:58 AM
hello Arunachala,
please tel me how you are checking your spool output?
is it generating spool number ?
In spool is there no any entry or ?
please explain me in details.
regards,
sujeet
2008 Nov 26 7:15 AM
H i Sujeet
I am using the Fn module RSPO_OPEN_SPOOLREQUEST by passing destination parameter as LP01.
Spool Request created but no pages..
Pls advise
Thanks
Raama.G
2008 Nov 26 8:36 AM
Hello Arunachala,
Please check this wheather u are paasing ur layout or not..make one breakpoint on this check in debug mode
CALL FUNCTION 'RSPO_OPEN_SPOOLREQUEST'
EXPORTING
DEST =
LAYOUT = ??????
NAME =
Regards,
sujeet
2008 Nov 26 3:23 PM
Hi Sujeet
I tried with Layout also.. Only Spool is created but no pages. I tried with ALV_gri_display parameter IS_PRINT by passing the print function .
Eventhough I am not able t achieve this. I tried some code that you have sent .PLs advice regarding the same with code.
Thanking you
Arunachala.G
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |