2008 Dec 01 11:41 AM
Dear friends,
I have to generate the spool request no by self written code.
I want to creat this against an invoice no. TC : vf02
Can any one help me pelase.
Thanks and Regards
vivek srivastava
Dear friends,
I have to generate the spool request no by self written code.
I want to creat this against an invoice no. TC : vf02
Can any one help me pelase.
Thanks and Regards
vivek srivastava
2008 Dec 01 11:48 AM
hi,
if you go to transaction Sp01 then if you will do the F1 on first field then you will get spool request table which is Tsp01
in this table you can select the field RQIDENT(Spool request number) and RQOWNER(User name) everytime the program goes for printing. similarly you can catch the number and generate it in your progarm.
2008 Dec 01 6:55 PM
Hi
You can initiate a spool by the following statement
NEW-PAGE PRINT ON.
This is will create a spool for you taking the default print parameters.
You can also, do this way:
Call
call function 'GET_PRINT_PARAMETERS'
exporting
destination = lc_locl
immediately = space
layout = gc_layout
line_count = 65
line_size = 255
list_name = lv_listname
new_list_id = gc_x
no_dialog = gc_x
user = sy-uname
importing
out_parameters = gx_mstr_print_parms
valid_for_spool_creation = gv_valid
exceptions "#EC *
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
others = 4.
And then,
NEW-PAGE PRINT ON.
Regards
Raj
2008 Dec 05 5:00 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |