How to get the spool request number ?
Hi All,
I am working on a smart-forms. I am using a custom transaction to print these smartforms. When I execute
the transaction the print screen comes where I can do
print preview or print.
Now to convert this Smart Form to PDF I need to know the spool request number to use in the report called RSTXPDFT5.
How do I get the spool request number ?
Do I need to do some changes in spool control options of print screens to get the spool request number or something else ?
Please let me know.
Answers will be awarded...
Tushar
Hi,
You will get the spool no. in the parameter "job_output_info" after calling the smartform function module in print program. The spool ids of the prints is stored in table job_output_info-SPOOLIDS.
Regards,
Gagan
Similar Messages
-
How to see the spool request number
hi experts,
how to see the spool request number of any object......
may be form or report........U can go to SP01/SP02.
For generating spool u can look into this code.
FORM write_to_spool.
DATA : l_f_list_name LIKE pri_params-plist,
l_f_destination LIKE pri_params-pdest,
l_f_spld LIKE usr01-spld,
l_f_layout LIKE pri_params-paart,
l_f_line_count LIKE pri_params-linct,
l_f_line_size LIKE pri_params-linsz,
l_f_out_parameters LIKE pri_params,
l_f_valid.
l_f_line_size = 255.
l_f_line_count = 65.
l_f_layout = 'X_65_255'.
l_f_list_name = sy-repid.
to get defult spool device for the user
SELECT SINGLE spld INTO l_f_spld FROM usr01 WHERE bname = sy-uname.
IF sy-subrc = 0.
MOVE l_f_spld TO l_f_destination.
ENDIF.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
ARCHIVE_ID = C_CHAR_UNKNOWN
ARCHIVE_INFO = C_CHAR_UNKNOWN
ARCHIVE_MODE = C_CHAR_UNKNOWN
ARCHIVE_TEXT = C_CHAR_UNKNOWN
AR_OBJECT = C_CHAR_UNKNOWN
ARCHIVE_REPORT = C_CHAR_UNKNOWN
AUTHORITY = C_CHAR_UNKNOWN
COPIES = C_NUM3_UNKNOWN
COVER_PAGE = C_CHAR_UNKNOWN
DATA_SET = C_CHAR_UNKNOWN
DEPARTMENT = C_CHAR_UNKNOWN
destination = l_f_destination
EXPIRATION = C_NUM1_UNKNOWN
immediately = 'X'
IN_ARCHIVE_PARAMETERS = ' '
IN_PARAMETERS = ' '
layout = l_f_layout
line_count = l_f_line_count
line_size = l_f_line_size
list_name = l_f_list_name
LIST_TEXT = C_CHAR_UNKNOWN
MODE = ' '
NEW_LIST_ID = C_CHAR_UNKNOWN
NO_DIALOG = C_FALSE
RECEIVER = C_CHAR_UNKNOWN
RELEASE = C_CHAR_UNKNOWN
REPORT = C_CHAR_UNKNOWN
SAP_COVER_PAGE = C_CHAR_UNKNOWN
HOST_COVER_PAGE = C_CHAR_UNKNOWN
PRIORITY = C_NUM1_UNKNOWN
SAP_OBJECT = C_CHAR_UNKNOWN
TYPE = C_CHAR_UNKNOWN
USER = SY-UNAME
IMPORTING
OUT_ARCHIVE_PARAMETERS =
out_parameters = l_f_out_parameters
valid = l_f_valid
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
IF l_f_valid NE space.
NEW-PAGE PRINT ON PARAMETERS l_f_out_parameters.
WRITE : /5 'Material No.',
25 'Message Type',
40 'Message Issued'.
ULINE.
LOOP AT g_t_message_table WHERE type = 'E'.
WRITE : / g_t_message_table-matnr UNDER 'Material No.',
g_t_message_table-type UNDER 'Message Type',
g_t_message_table-message UNDER 'Message Issued'.
ENDLOOP.
NEW-PAGE PRINT OFF.
ENDIF.
ENDFORM. " WRITE_TO_SPOOL
Regards -
How to delete the spool request number
HI Masters,
My program creates a spool request. And i want to delete that spool request number? How to delete that??
Thanks in advance.hi
good
The program are RSPO0041 or RSPO1041.
This is handy whenever you encounter a user who managed to create a lot of spool requests which are choking your system.
Deleting them with SP01 will be too slow and you will get time out if it exceed the online time limit specify by your basis people.
<b><REMOVED BY MODERATOR></b>
thanks
mrutyun^
Message was edited by:
Alvaro Tejada Galindo -
How to get the transport request number of ABAP query.
I want to find out last Transport Request number used of a transporting changes Abap query from development to quality system.
Also is it possible to do some comparison on version existing in development and quality for abap query.goto SE03 ..
In Object Directory -> Double click on
Change Object Directory Entries
Enter AQQU(This is for ABAP Query) in the modifiable box ..
press enter ...
Check this check box ... Enter the ABAP query and press F8.
Double click on the Query and in the popup click on the
Lock Overview ...
U'll find the request number ...
Edited by: Srinivas Gurram Reddy on Apr 2, 2008 6:53 PM -
How can i find the spool request number in script
Hi Experts,
I need solution that how can i see the spool request number, bcoz i need to covert my script into pdf format.
Thanks and Regards.
Venkat NThere isn't any correspondence. I seem to recall that Amazon added that feature to the Kindle app but I haven't checked lately.
-
How to know the spool requests generated from my program?
hi
I want to get the spool request(s) that are generated from my report that's run either in foreground or background? how to know this? i know that we can go to sm37 and see, but is there any table or fm which stores this data? if i give my program name that's run on a particular date, i should get the spool request numbers. tsp01 only has the spool no. and not the program name..pl suggest...thanks all
Sathish. RHi ,
The system field sy-spono contains the spool numbers .
If you have such requirement, you can create one custom table with fields :
spool no, program , date , time
whenever you run ur program update this table ,
with system fields . spono , sy-repid , sy-datum and sy-uzeit .
Thaks . -
How to get the current month number
Hi everyone,
Does anybody know how to get the current month number in Oracle Discoverer Worksheet calculation?
I try to use EUL_DATE_TRUNC(CURRENT_DATE, 'MM'), but instead I got 01-AUG-00.
If I change the data display format to MM, it will give me "08" but if I use TO_NUMBER function to convert it to number I get error "invalid number"
Is there anyway to get the current month value in number? ThanksScott,
Thank you so much! It works perfectly! :)
Hope you have a great day ahead!
Cheers,
Angeline -
How to get the current request id in a running request?
How to get the current request id in a running request?
Thanks.Did you notice that there's a whole section on this forum dedicated to this topic, called E-Business Suite?
C. -
How to get the unoccupied material number in a number range
How to get the unoccupied material number in a number range.for example, I wang to get a number between 1500000 and 1599990 which is unoccupied as my material number to be created. Is ther any FM or codes?
Dear,
You can get this information from Tcode SNUM or you can access database table NRIV. -
How to track the transport request number for the Role/Composit Role
Hi,
How to track the transport request number for the Role/Composit Role.
Thanks,
RaviUse transaction SE03 Transport Organizer Tools
Execute "Search for Objects in Requests/Tasks" with objects of types:
R3TR ACGR Role
R3TR ACGT Role - User assignment
Regards -
How to get the 4 digit number associated with a SAP icon ( ICON_MAIL )
Hi Friends,
Could anyone please tell me how to get the 4 digit number associated with a SAP icon ( ICON_MAIL ).
eg: - For ICON_GREEN_LIGHT the four digit id code is '@08@' (which you can get from ICON table )and the associated 4 digit number is'1003'.
Similarly I want to get the 4 digit number for ICON_MAIL(e-mail icon)
<b><REMOVED BY MODERATOR></b>
Ashiq
Message was edited by:
Alvaro Tejada GalindoYou can use this report...It's not mine...
REPORT zdummy_atg_2.
TABLES: ICON.
INCLUDE <ICON>.
FIELD-SYMBOLS: <F>.
SELECT * FROM ICON.
ASSIGN (ICON-NAME) TO <F>.
WRITE: /(5) <F>, 20 '@',21 ICON-ID+1(2),23 '@',ICON-OLENG,
ICON-BUTTON,ICON-STATUS,ICON-MESSAGE,ICON-FUNCTION,
ICON-NAME.
ENDSELECT.
Greetings,
Blag. -
How to get the spool id or how to create a spool id for the report .
hi,
how to get the spool id or how to create a spool id for the report .
this spool id i have to use it in CONVERT_ABAPSPOOLJOB_2_PDF fm to get the pdf download file.
my requirement is to download a pdf file from the alv grid list.Hi Raghu,
Execute this program.
REPORT ZTEST_3318 .
tables: usr01.
perform send_report_to_spool.
*& Form send_report_to_spool
text
form send_report_to_spool.
data: loc_dest like pri_params-pdest,
wf_listname type char12,
wf_listtext like PRI_PARAMS-PRTXT,
wf_copies type i,
wf_days type i,
wf_PARAMS LIKE PRI_PARAMS, " achieving file PRI_PARAMS.
wf_valid type c.
clear : wf_listname , loc_dest , wf_listtext .
move: 'AP interface' to wf_listname .
move: 'AP interface' to wf_listtext .
select single spld into usr01-spld from usr01 where bname eq sy-uname .
if sy-subrc eq 0 .
move: usr01-spld to loc_dest .
endif .
call function 'GET_PRINT_PARAMETERS'
EXPORTING
destination = loc_dest
copies = 1
list_name = wf_listname
list_text = wf_listtext
immediately = ' '
release = ' '
new_list_id = 'X'
expiration = 1
line_size = 200
line_count = 65
layout = 'X_65_200'
sap_cover_page = 'X'
receiver = 'SAP*'
department = ''
no_dialog = 'X'
IMPORTING
out_parameters = wf_params
valid = wf_valid.
if wf_valid <> space.
new-page print on parameters wf_params no dialog.
perform write_summary .
new-page print off.
endif .
endform. "send_report_to_spool
*& Form write_summary
text
--> p1 text
<-- p2 text
FORM write_summary .
data: begin of itab occurs 0,
matnr type matnr,
end of itab.
select matnr
from mara
into table itab
up to 10 rows.
loop at itab.
write: / itab-matnr.
endloop.
ENDFORM. " write_summary
This will create spool in SP01.What data you want to put in Spool write it in form write_summary.I have done coding for testing purpose
After that use that spool for your purpose.
If Useful award point -
How to get the transport request for a particular standard text?
Hi,
i want to know, how we get the transport request which associated for standard text.
Please note already the standard text is assigned to the TR using RSTXTRAN program.
i have a std text. i want to find the related TR for that!
rds,
Siva.Refer the link. It might tellsa about attaching to transport request but using the way you can find also -
Re: How To Transport STANDARD TEXTS??
Regards,
Amit
Reward all helpful replies -
How to get the spool information for a job
Hi,
After a job is run, how to get the spool inforamtion. which API can be used.?
Thanks in advance.
Johnney.Hi,
thanks for your reply.
My requirement is as followings.
1. Report Z_REPORT_TEST
EXPORT RUNUUID = '****************' TO MEMORY ID sy-repid.
2. In Funciton Module Z_FM_test
create a job(Z_JOB_TEST) to run report 'Z_REPORT_TEST'.
after the job is run successfully.
question is
how to get the RUNUUID exported from the report ????
Thanks & Best Regards,
Johnney. -
How to get the iphone serial number in application?
hello, everyone
i really want to konw how to get the iphone serial number in aplication ? As it's different from uniqueIdentifier ....
thank youMichele is correct - sneep will help you get the serial from the running domain on the M3000 ,
and it is a good idea to install STB on your machines.
If that isn't possible for you, then sneep can be downloaded directly from [http://www.sun.com/sneep]
I believe that on this platform, sneep gets the serial from the output of prtconf.
There is a minor correction to be made :
After installed SNEEP use "man sneep" for all technical details.The sneep man page is not linked into the shared man pages, so you need to use
man -M /opt/SUNWsneep/man sneep
with out going to OK prompt (Banner)It is worth noting that the serial shown in the OBP banner is not the product serial
that you will find on the physical serial tag.
The banner "serial" is the decimal equivalent of the host ID, which you normally get in hexadecimal from the "hostid" command.
Maybe you are looking for
-
My Bill Increased, Promised it would go back down by representative
I called last month when my bill jumped up $40. I talked to a representative who was very nice and told me my bill was able to go back down to what I was paying. I go and look at my bill for this month and it is $30 higher than she told me it would b
-
Implementing ACH Payments for Garnishment Child Support in US Payroll
Hi Experts, My client wants to implement ACH Payments for Garnishment Child Support in US Payroll instead of mailing live Checks. Can you please provide me with the Standard config settings/SAP documentation needed to achieve this functionality. I al
-
Connecting to Oracle Lite on iPaq
Hi all, sorry to bother you, but I have quite a problem. I am running an application on the Creme VM on my iPaq, and trying to connect to Oracle Lite. Unfortunately, I get this classic error: UnSatisfiedLinkError: No oljdbc40 in shared library path.
-
System Stats opinions Please - WORKLOAD vs. NOWORKLOAD?
Dear Experts, Bit of a background - We've a big (10TB) 10.2.0.5, 5 node RAC system for a big Oracle eBusiness Suite (R12 - HRMS/Payroll) implementation and at the minute we are running on some old (2 years old) gathered NOWORKLOAD system stats and si
-
Recent problem with Illustrator CS5
I don't know if there is a solution out there to this, I have searched and haven't found it. What happens is this: My move tool and open arrow tool duplicate what is being moved as well as move it My geometry (rectangle, ellipse, etc.) and line tools