Forwarding a spool request to SAPoffice
Hi,
I have something I need to solve with two users, who see different options when trying to forward a spool request to SAPoffice:
SP02 - (select spool request) - Spool Request - Forward - Send using SAPoffice
Then, on the recipient box, press F4
One of the users see the following options:
- internal user
- distribution lists
- external addresses
- addresses and internal users
- organizational units
The other one sees only the following options:
- distribution lists
- external addresses
- organization units
Seems to me it must be something related to authorizations, but a trace wasn't useful and I couldn't find out why the second user doesn't see every option.
Does anyone knows?
Thanks
Antonio Barrote
Hi Antonio,
that behavior depends on the use of authorization object S_OC_SEND. Try to give to the second user S_OC_SEND with COM_MODE=OFF. Then he will see all options.
Regards, Dirk
Similar Messages
-
Hi Gurus,
I want to download spool request into excel file. Is there any function module or program is available for that?
Thanks,
AmalHi,
There is a possibility of download the spool file as txt-file. .
Use Tranx SP01 - select the spool entry -->"spool request --> forward as text . You will find the file in your SAP work directory as .
http://www.sap-img.com/abap/download-in-background-in-excel-format.htm
or use fm RSPO_DOWNLOAD_SPOOLJOB.
a®s
Points are always welcome -
Hi all,
I have few queries regarding spool in slap. I will be glad if some one can help me.
1. In SP01 what is the difference between print directly & print with changed parameters.
2. If a spool request is in waiting status for a long time, what does it mean.
3. If a user wants to reprint his document again what should i do.
4. what i have do to use users OS level printer as SAP printer. i mean if a user has given a print if SAP couldnt able to find printer it will be in error status. In this case i want to reprint that document from users OS level default printer.
5. What are the regular spool problems and resolutions.
ding
Kindly help me regarding this.
Thanks in advancehi Mahesh,
1. Print directly will send the spool req. to the printer defined for the user id, with changed parameter, the user can redirect the spool request to be printed on any other printer defined. There are other options of changing the priority etc.
2. That means that all your spool work processes have been occupied by other spool requests and the request is waiting for the work process to be released.
3. The user needs to give the spool request no. in sp01 and then print it going forward.
4. There are 2 workarounds for this
i. you have to define the locl printer same as for your OS in SAP and maintain that as locl in spad.
ii. Follow point 3 and reprint it using any other printer available.
5. No definite answer to that. Its an ocean to explore :D.
Thanks!
Rahul.
Edited by: Rahul Dwivedi on Sep 15, 2011 11:12 PM -
Hi Experts,
My rquirement is to generate spool request without getting the output displayed on the screen.
<fs_outtab> is the dynamic internal table containing data. It will have several fields.
I want to send this data to spool so that it can be seen when the background job runs.
But I do not want the output to be displayed on the screen.
<< Removed >> Please don't forward links as it cannot be opened in my system.
Thanks.
Edited by: Rob Burbank on Jun 25, 2010 11:17 AMSee try to make an alv grid diaplay program for the internal table.( like this)
form fill_catalogue .
wa_fieldcatalog-fieldname = 'WERKS'.
wa_fieldcatalog-seltext_m = 'Plant'.
wa_fieldcatalog-tabname = 'IT_FINAL'.
wa_fieldcatalog-emphasize = 'X'.
append wa_fieldcatalog to fieldcatalog.
clear wa_fieldcatalog.
wa_fieldcatalog-fieldname = 'LGORT'.
wa_fieldcatalog-seltext_m = 'St.Loc'.
wa_fieldcatalog-tabname = 'IT_FINAL'.
wa_fieldcatalog-emphasize = 'X'.
append wa_fieldcatalog to fieldcatalog.
clear wa_fieldcatalog.
wa_fieldcatalog-fieldname = 'SHKZG'.
wa_fieldcatalog-seltext_m = 'Iss/Rec'.
wa_fieldcatalog-tabname = 'IT_FINAL'.
wa_fieldcatalog-emphasize = 'X'.
append wa_fieldcatalog to fieldcatalog.
clear wa_fieldcatalog.
wa_fieldcatalog-fieldname = 'BUDAT'.
wa_fieldcatalog-seltext_m = 'Posting Date'.
wa_fieldcatalog-tabname = 'IT_FINAL'.
wa_fieldcatalog-emphasize = 'X'.
append wa_fieldcatalog to fieldcatalog.
clear wa_fieldcatalog.
wa_fieldcatalog-fieldname = 'CHALAN'.
wa_fieldcatalog-seltext_m = 'Document No'.
wa_fieldcatalog-tabname = 'IT_FINAL'.
wa_fieldcatalog-emphasize = 'X'.
append wa_fieldcatalog to fieldcatalog.
clear wa_fieldcatalog.
wa_fieldcatalog-fieldname = 'BOLNR'.
wa_fieldcatalog-seltext_m = 'Bill of Lading'.
wa_fieldcatalog-tabname = 'IT_FINAL'.
wa_fieldcatalog-emphasize = 'X'.
append wa_fieldcatalog to fieldcatalog.
clear wa_fieldcatalog.
wa_fieldcatalog-fieldname = 'BRGEW'.
wa_fieldcatalog-seltext_m = 'Gross Wt.'.
wa_fieldcatalog-tabname = 'IT_FINAL'.
wa_fieldcatalog-emphasize = 'X'.
append wa_fieldcatalog to fieldcatalog.
clear wa_fieldcatalog.
wa_fieldcatalog-fieldname = 'NTGEW_CH'.
wa_fieldcatalog-seltext_m = 'Net Chargeable Wt.'.
wa_fieldcatalog-tabname = 'IT_FINAL'.
wa_fieldcatalog-emphasize = 'X'.
append wa_fieldcatalog to fieldcatalog.
clear wa_fieldcatalog.
wa_fieldcatalog-fieldname = 'SHIP_PARTY'.
wa_fieldcatalog-seltext_m = 'Customer/Vendor/Plant'.
wa_fieldcatalog-tabname = 'IT_FINAL'.
wa_fieldcatalog-emphasize = 'X'.
append wa_fieldcatalog to fieldcatalog.
clear wa_fieldcatalog.
wa_fieldcatalog-fieldname = 'SAL_GRP'.
wa_fieldcatalog-seltext_m = 'Sales Group'.
wa_fieldcatalog-tabname = 'IT_FINAL'.
wa_fieldcatalog-emphasize = 'X'.
append wa_fieldcatalog to fieldcatalog.
clear wa_fieldcatalog.
endform. "fill_catalogue
*& Form display
text
form display .
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = sy-repid
it_fieldcat = fieldcatalog[]
tables
t_outtab = it_final
exceptions
program_error = 1
others = 2.
Then you must be accepting some parameters fromthe screen. just take the values from the selection screen
press F9, and proceed as your requirement is.
endform. "display -
I have a requirement to download 1600 pages of spool request instead of printing it.
The issue we have is the timeout when we are downloading it from SP01.
Is there anyway i can download from SAP to a local file either in excel or as a PDF file.Hi Vijay,
You can download the spool to file at SP01 -> Mark the spool request to download the click on Spool request -> Forward -> Save to local file
If the request time out you can increase parameter rdisp/max_wprun_time but this will require a system restart and probably once you have downloaded the file you'll need to return the parameter value to the previous one as it can potentially cause performance problems if left with large value.
regards
Juan
Please reward with points if helpful -
Is it possible to have Multiple Spool requests in one batch job overview?
Hi,
While running one of my z program in back ground, there are two spools generated (one by write statement and one by OPEN_FORM statement and both the spools are available in SP01 Transaction), but when i see the job overview in transaction SM37, I only see one spool request (that of the last spool request). Can any body in the group please tell me is it possible to see multiple spool requests in the job overview of one Abap program and if yes, how?
Thank you.
AbinashHi Jayanthi,
Thank you for the link. But probably that discussion was also an unsolved one.
Anyway, does any one in the group think that display of multiple spools per one step job is dependent on client / SAP Server setting? Because as evident from the chain of mails in the link provided by Jayanthi, some people say that they see multiple spool requests for one program in batch mode job overview (SM37)? If yes, can some body tell me the required configuration? -
F110 - one spool request number per payment order --URGENT
Hi folks,
I am ABAPer working for ECC6 upgrade project when i am running F110 payment run for customers to generate payment orders i am getting all the orders in one spool request no, But i need to generate one spool request no. per payment order.
thanks in advance for you valuble inputs
regards,
ramahariHi Madhuri,
Call open form write form and close form in loop so that till sales order remains in the loop the form will continue to print. In this way all sales order in internal table will print in the same spool.
Hope this will help you.
Regards,
Vijay -
How to create the multiple spool requests for a single report.
Hi gurus,
I have one requirement to be completed , i need to send the out put of the report via mail in pdf format. for that what i did was, iam executing report in background and creating spool request and converting it to pdf and sending the file.
now the problem is, its a customer ledger report, for each customer i need to create a new spool request and send mail to that particular customer, now my dought is how to create multiple spool requests for a single pro and how i need to go about it.
And one more question is can we create a spool request for a report which is running in online.
waiting for inputs frm gurus.Hello,
As per my knowledge for creating new spool id you will have to set
output_options-tdnewid = 'X'.
and then using
job_output_info-spoolids
create a pdf using
call function 'CONVERT_OTFSPOOLJOB_2_PDF'
Rachana. -
Handle not valid for open spool request
Hello everyone,
i am facing an error while clicking the print preview option in change PO (me22n).
i have given the dispatch time in further data of o/p as 'Send with application own transaction'.
now, when i save and click print preview button i get an error as
"Handle not valid for open spool request"
Kindly give me some idea how to tackle this.
Thanks
gauravGaurav,
I am having a similar issue and would appreciate if you could let us know how your problem was solved?
What control parameters did you change to make this work?
Thanks,
Jay -
How to send as an email the spool request?
Dear Experts,
My last post was Email background schedule report to gmail or yahoo mail .
I got solution but it's work as a notification which we can say the after report run it triggers mail that report is completed as this time.
But i required the thing how to send a spool request of a report as an email attachment.
it will be in .xls or .pdf or xyz format.
It was the additional task which was required by my organization.
I also want to know the following things.
1. what is sap default configuration and system behind it.
2. what the things abaper have to check.
3. what is bcs_examples & where do i found these bcs_example8.
Please guide me to explore my knowledge.
Thanks & regards
Nayan Lad
Note for moderator : Sir, I will close request at 2:30 pm today onward, so please do not lock it.
Moderator Message: All your questions can be answered by searching.
Edited by: kishan P on Nov 13, 2010 3:29 PMneed solution..
-
Hi SAP,
My backgroud job is failing with log as shown below
Job started
Step 001 started (program ZMRS0065, variant SUS
Step 002 started (program ZDRS0090, variant SUS
Step 003 started (program ZFRS0305, variant SUS
Step 004 started (program ZFRS0300, variant SUS
Access error
Job cancelled after system exception ERROR_MESSAGE
An error occurred when processing the spool request. (Possibly due to memory problems)
Kindly help out in this issue
Regards
MohammedHello Mohammed,
Have you seen any error in your SM21 system log and developer trace of spool work process
during that time?
The maximum size when create spool is 2GB.Pls also check if you are creating a spool
larger than it.
Best Regards
Jie Bai -
Smartform internal_error when merging forms into 1 spool request
Hi,
I have 2 smartforms - a letter and a certificate. The user has the option to print either one of these forms or both, per employee. I'm using 1 spool request.
As soon as I call the second smartform there is an INTERNAL_ERROR. Why does this happen and how do I solve the problem?
Please refer to the code sample below:
loop at i380.
make sure the spool is not closed
control_parameters-no_open = 'X'.
control_parameters-no_close = 'X'.
AT FIRST.
control_parameters-no_open = ' '.
ENDAT.
AT LAST.
control_parameters-no_close = ' '.
ENDAT.
call smartform 1
call function 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZLETTER'
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
if sy-subrc <> 0.
WRITE: / 'ERROR 1'.
endif.
CALL FUNCTION FM_NAME
EXPORTING
CONTROL_PARAMETERS = control_parameters
OUTPUT_OPTIONS = output_options
USER_SETTINGS = ' '
pernr = i380-pernr
IMPORTING
JOB_OUTPUT_INFO = otf_info
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
IF SY-SUBRC <> 0.
endif.
second smartform - certificate
call function 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZCERTIFICATE'
IMPORTING
FM_NAME = FM_NAME2
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
if sy-subrc <> 0.
WRITE: / 'ERROR 1'.
endif.
CALL FUNCTION FM_NAME2
EXPORTING
CONTROL_PARAMETERS = control_parameters
OUTPUT_OPTIONS = output_options
USER_SETTINGS = ' '
pernr = i380-pernr
IMPORTING
JOB_OUTPUT_INFO = otf_info
EXCEPTIONS
FORMATTING_ERROR = 1
<b> INTERNAL_ERROR = 2</b> SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
IF SY-SUBRC <> 0.
ENDIF.
endloop.
I cleared output_parameters, output_options and otf_info when calling form ZCERTIFICATE but this does not solve the problem. When ZCERTIFICATE is called seperately, there is no problem. The forms should be printed directly without conversion to PDF.
Your help will be appreciated.Hi,
In the loop AT Last is in wrong place. May be that could be the reason for your problem. Then the second call to samrt from is will be working on a closed session.
regards
austin
Message was edited by: Joseph Austin Prabhu Paulthas -
Dear All,
When I am executing a report in background using tcode se38, I am not able to view the output of the report from the spool request .
When I try to view the contents of the spool request, It simply gives a message
as follows :
Request 74837 in system PRD : internal error
00000040/ in spooler.
Please advice me on this issue.
Thanks
Gauravhello Gaurav,
it is coming because the columns in spool is exceeding the SAP defined limit of 255. Either you need to create a device type with columns greater than 255 or else use the OSS note: 186603. It has a simple report <b>ZRSPOSHOWLIST</b> that you need to create in your system. I created this report and now whenever i have such errors I use it to view the spool.
regards.
Ruchit. -
Write the Error log from background Job to the Spool request
Hi ,
I have a situation where in i need to capture the error log of a Z program which runs as a background job and write that log into the spool request. My Z program calls runs RSEINB00 program using the SUBMIT statement. When this Job fails the error log can be seen in SM37. But i need this error log to be sent in to a spool.
I can read the error log using the BP_JOBLOG_READ FM and can also create a spool using the RSPO_SPOOL_OPEN FM.
The problem is, when the Submit statement executes, due to internal valdation in the RSEINB00 program the program terminates. Due to this it is not able to perform the SY-SUBRC Check and thus doesn't read the log.
Can anybody suggest me how to overcome this problem. I am attaching the code for your refernece.
SUBMIT RSEINB00
USING SELECTION-SET 'TEST2'
TO SAP-SPOOL
LIST NAME 'LOCL'
IMMEDIATELY space
KEEP IN SPOOL 'X'
AND RETURN.
<b>If sy-subrc <> 0.</b>
CALL FUNCTION 'BP_JOBLOG_READ'
EXPORTING
CLIENT = SY-MANDT
JOBCOUNT = i_tbtco-jobcount
JOBLOG = i_tbtco-joblog
JOBNAME = i_tbtco-jobname
TABLES
JOBLOGTBL = l_joblog
IF SY-SUBRC <> 0.
else.
message i002 with l_joblog-msgv1.
ENDIF.
<b>
ENDIF.</b>
Rgds,
Kewal
P.S. : any other approach to solve this problem will be appreciated too and the points will be rewarded suitably.If I select a job in SM37 and I click on "spool" I get a list with separate spool entries for each of the steps, e. g.
Programmname/Kommand Programmtyp Spoolliste
Z_MM_STAT_UPDATE_WERK ABAP 1707445
ZSLEEP Ext. Kommando
Z_MM_STAT_UPDATE_WERK ABAP 1707459
ZSLEEP Ext. Kommando
Z_MM_STAT_UPDATE_MARA ABAP 1721423
ZSLEEP Ext. Kommando
Z_MM_STAT_UPDATE_WERK ABAP 1721437
Z_MM_STAT_UPDATE_MARA ABAP 1721446
Z_MM_STAT_UPDATE_WERK ABAP 1721447
Z_MM_STAT_UPDATE_VKORG ABAP 1721471
ZSLEEP Ext. Kommando
Z_MM_STAT_UPDATE_VKORG ABAP 1721521
ZSLEEP Ext. Kommando
Z_MM_STAT_UPDATE_VKORG ABAP 1721816
It's in German but I'm sure you get the idea. For each Z_MM_STAT_UPDATE and variant I have a separate spool list that I can display.
Markus -
SM37 - Graphical display of spool request in Hebrew
Hello,
I'm running a report in background. When I look at the spool request display
the header display in hebrew from left to right instead right to left.
when I'm running online I don't have a problem. I enter the session in hebrew.
does anyone have any idea ?
thanks,
MichalUseful for background
http://www.sappoint.com/basis/bckprsng.pdf
http://help.sap.com/saphelp_nw04/helpdata/en/6f/08703713bf277ee10000009b38f8cf/frameset.htm
http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp?topic=/com.ibm.wbix_adapters.doc/doc/mysap4/sap4x41.htm
Maybe you are looking for
-
Hello, When I open an Image in Photoshop CC the image does not appear in my work space. The tab identifies that the image is opened, layers shows the image is open, however it is not on the screen. All tools, brushes etc work, but I can't see what th
-
A.CreationDate is null when trying to summarize comments in PRINT
I have a document that when I open in reader has multiple comments with some comments having multiple replies - when I go to print and click on summarize comments I get the a.CreationDate is null message. If I remove the comments that have multiple r
-
Open *.swf files local
Hi, with Macromedia flash paper, I created some swf-files. It is no problem to upload these files and watch it with Safari, but how is it possible to open a swf-file on my iBook directly, eg. with a double click? I tried to set Safari as the default
-
After a notice of a new update for Lightroom I downloaded and installed the new version, 5.7 [991162]. This new version is showing when clicking at the System Info bar in Lightroom. But every time I start Lightroom I get a pop-up that a new version 5
-
I am a doctor and use Pages for medical charting. I need to have all my "Auto-Correct" and Dictionaries to be the same for all the Macs. How do I get my settings from my laptop to another computer running Pages (Auto-correct data). Thanks.