Calling Transaction SP01 (Display spool requests) with parameters via URL
Hi,
I would like to be able to list all spool requests of a certain title via a URL.
Unfortunately ITS does not seem to work. A URL constructed like this
http://host:port/sap/bc/gui/sap/its/webgui/!?sap-system-login-basic_auth=X&sap-client=500&sap-language=EN&transaction=SP01&S_RQTITL-LOW=Testing123&okcode=CRET
causes a short dump that SP01 (Program RSOSP01NR) is a Module Pool.
I am therefore considering the following options:
1. BSP Program
2. Java WebDynpro
3. ABAP WebDynpro
Ideally, I want to be able to enter in my browser something like
http://host:port/<BSP_or_WebDynPro_stuff>&~title=Testing123
and for this to show in the browser a list of all spool requests that are named "Testing123".
Can someone advise whether any of the above options are preferable?
Also, whether such a program should call transaction SP01 with parameters (skipping first screen) or look to using the associated function modules.
Many thanks for any assistance.
Regards
Adrian
Solved myself. Thanks
Similar Messages
-
SP01 - display spool request, buffer too short
Dear all,
when trying to display spool request in transaction SP01, we are getting the error: internal error 0000000040/ 32 in spooler (buffer too short)
But the same request could be displayed via transaction SPO10.
R/3 4.6C.
Any idea ?
Thank you for the answer.
Pavol Simko
Edited by: Pavol Simko on Nov 3, 2009 3:18 AMIn SM37:
Goto>Display Requests>Settings...
Then in "Display area"-->"From page"
Set it to from page 1 - "no of pages" then try to display
the spool again. -
Pass procedure/function parameters via URL
how to pass procedure or function parameters via URL? External link processes payment, and returns some data. I have an example procedure that forms correct URL like:
http://www.website.lt:7777/apex/f?p=109:6:1512552728675996::::P23_LOGIN_ID:UTREEP7Q84FHG
but the other procedure returns with URL (and its wrong):
http://www.website.lt:7777/apex/nora.pay_cancel?token=EC-76F379209K155914F
the source of pay_cancel procedure:
create or replace procedure pay_cancel
(token in varchar2)
as
begin
owa_util.redirect_url('f?p='||'109'||':'||'5'); --some test page
end pay_cancel;
whats wrong with the return variable?Sorry, permission problems, everything is OK with +<schema>.<procedure>?<variable>=<value>+ syntax.
Execute sql: grant execute on pay_cancel to public; -
Spool request with more than 255 columns
Hi,
Please let me know what formatting type has to be used to have spool output with more than 255 lines.
X_24_80_JP L ANY 00024 00080 ABAP list HR Japan: At least 24 rows by 80 columns
X_44_120 L ANY 00044 00120 ABAP/4 list: At least 44 rows by 120 columns
X_51_140_JP L ANY 00051 00140 ABAP list HR Japan: At least 51 rows by 140 columns
X_58_170 L ANY 00058 00170 ABAP/4 list: At least 58 rows by 170 columns
X_60_80_JP L ANY 00060 00080 ABAP list HR Japan: At least 60 rows by 80 columns
X_65_1024/4 L ANY 00065 01024 ABAP List: At Least 65 Lines 4*256=1024 Columns Four-Sided (Only for SAPlpd)
X_65_132 L ANY 00065 00132 ABAP list: At least 65 rows by 132 columns
X_65_132-2 L ANY 00065 00132 ABAP List: 2-column 65 characters 132 columns (only for SAPLPD from 4.15)
X_65_200 L ANY 00065 00200 ABAP list: at least 65 lines with 200 columns (not for all device types)
X_65_255 L ANY 00065 00255 ABAP/4 list: At least 65 rows with a maximum number of columns
X_65_256/2 L ANY 00065 00256 ABAP list: At least 65 lines 2*128=256 double columns (SAPLPD only)
X_65_512/2 L ANY 00065 00512 ABAP List: At least 65 Lines 2*256=512 Columns 2-sided (Only for SAPlpd)
X_65_80 L ANY 00065 00080 ABAP/4 list: At least 65 rows by 80 columns
X_65_80-2 L ANY 00065 00080 ABAP List: 2-column 65 characters 80 columns (only for SAPLPD from 4.15)
X_65_80-4 L ANY 00065 00080 ABAP List: 4-column 65 characters 80 columns (only for SAPLPD from 4.15)
X_90_120 L ANY 00090 00120 ABAP list: At least 90 rows by 120 columns
X_PAPER L ANY 00010 00010 ABAP/4 list: Default list formatting
X_PAPER_NT L ANY 00001 00001 ABAP/4 list: Obsolete (do not use)
X_POSTSCRIPT L ANY 00001 00001 Pre-prepared PostScript
X_SPOOLERR L ANY 00001 00001 ABAP list: Spooler problem report
X_TELEX L TELEX 00001 00001 Telex: 69 characters wide, only as many lines as supported by TTU
ZABC_SAP L ANY 00065 00550 LCM Report Page Type
I have created a custom Format Type with 65*550 (ZABC_SAP) , but still the output gets truncated in the spool.
In sp01 . For the spool request ... If it displayed in Graphical layoout ... Output is getting truncated but when we see in Raw format .. i can see the entire output. But it is not at all formatted.
Thanks,
Tanuj
Message was edited by:
Tanuj Kumar BolisettyHello Tanuj,
You need to use a page format greater than 255 columns for sure. However still if it does not solve the issue then you may consider using the note 186603.
PS: I guess you are on a higher release than 4.6 C . For this release this note íIt has a text attachment for a report tat allows to display such spool requests.
Regards.
Ruchit. -
Dear experts ,
My requirement is ,displaying the spool requests according to user name ,date created ,and Title.for that i am using the following two function modules.
RSPO_RINIT_SPOOL_SP01
RSPO_RDISPLAY_SPOOLREQ
i appended the title of spool request to the internal table and passed that interanal table to RSPO_RINIT_SPOOL_SP01 ,up to now its working fine .but what my requirement is ,i should pass the username and date through selection screen.in the same way i have appended data from the selection screen to respective internal tables and passed through the internal table.if i give wrong 'username ' in selection screen it should not display any spool job.even though its showing spool requests based on title.what was wrong?please help me out.
Thanks and regards
naresh bammidiHi Naresh,
Use below report for your porpose.
TABLES : RQIDEN_T,RQOWNE_T,RQCRED_T,RQTITL_T.
SELECT-OPTIONS : s_spool for RQIDEN_T.
SELECT-OPTIONS : s_owner for RQOWNE_T.
SELECT-OPTIONS :s_date for RQCRED_T.
SELECT-OPTIONS : s_rqtitl for RQTITL_T.
type-POOLs : slis.
data : lt_SPORQ TYPE TABLE OF tsp01sys,
ws_SPORQ TYPE tsp01sys,
goto_sel.
data : lw_sel TYPE SLIS_SELFIELD.
data: lt_sysid type TABLE OF ALSYSID,
ws_sysid type ALSYSID.
ws_sysid-SYSID = SY-SYSID.
append ws_sysid to lt_sysid.
CALL FUNCTION 'RSPO_RINIT_SPOOL_SP01'
EXPORTING
SAVEFLAG = 'A'
SUMMARY = 'X'
LOCAL = 'X'
OWNER = ' '
CLIENT = ' '
RQNONE = 'X'
RQPROC = 'X'
RQSUCC = 'X'
RQERR = 'X'
PJPROC = 'X'
PJSUCC = 'X'
PJPROB = 'X'
PJERR = 'X'
TABLES
SYSLIST = lt_sysid
S_RQIDEN = s_spool
S_RQOWNE = s_owner
s_rqcred = s_date
s_rqtitl = s_rqtitl.
call function 'RSPO_RDISPLAY_SPOOLREQ'
exporting
use = ' '
importing
goto_sel = goto_sel
TABLES
SPORQ = lt_SPORQ
OUTRQ =
changing
rs_selfield = lw_sel
exceptions
others = 1.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
Thanks,
Vijay -
Hi All,
Here i have one issue with Spool requests. One of our user wants to display all teh spool requests belonging to his site. Please let me know how can we provide access to group of users.
Thnaks in Advance.One option has already been discussed u Julius i.e changing the attribute of the field SPOAUTH to Organization Level field.
But I hope it would be better to create a Custom TCode (say ZP01) for this purpose.
Also create a Custom Auth. Object (say.. ZSPO_AUTH) with Fields SPOAUTH, SPOACTION, SPODEVICE (optional - this will help you to select Site Specific device if any and also if the users are bound to use them as Local printer... you will know what is the access type).
While creating this, make SPOAUTH Organization Level.
Ask Developers to use this object in AUTHORITY-CHECK statement for enforcing a check against this.
Add this Object to ZP01 in SU24 as C/M.
Create a role (preferable and easy for maintenance to use ref-derive design if your SOP permits) and make copy for all site and assign to the Site Owners.
Remove SP01 from their user master.
Regards,
Dipanjan -
How to print the spool request with a given file name.
Dear Experts;
I used FM RSPO_OUTPUT_SPOOL_REQUEST to print spool request. And the device type is a local pdf printer. By default, the download file name will be the spool id. How can I change the download file name? Thanks!
Convert 'CutePrinter' to qualify the format.
CALL FUNCTION 'CONVERSION_EXIT_SPDEV_INPUT'
EXPORTING
input = 'CutePrinter'
IMPORTING
output = lv_device.
Downloading as pdf by printer
CALL FUNCTION 'RSPO_OUTPUT_SPOOL_REQUEST'
EXPORTING
device = lv_device
spool_request_id = pa_spool
EXCEPTIONS
archive_dest_invalid = 1
archive_dest_not_found = 2
archive_dest_no_right = 3
cannot_archive = 4
change_archdest_no_right = 5
change_copies_no_right = 6
change_dest_no_right = 7
change_devtype_no_right = 8
change_prio_no_right = 9
change_telenum_no_right = 10
change_title_no_right = 11
dest_invalid = 12
dest_not_found = 13
dest_no_right = 14
internal_problem = 15
invalid_fax_attribute = 16
invalid_parameters = 17
non_owner_no_right = 18
no_layout = 19
no_spool_request = 20
out_again_no_right = 21
spooler_problem = 22
OTHERS = 23SELECT SINGLE * FROM tsp01 into rq WHERE rqident = p_spool .
* To get attributes of spool request
CALL FUNCTION 'RSPO_GET_ATTRIBUTES_SPOOLJOB'
EXPORTING
rqident = p_spool "Spool Request Number
IMPORTING
rq = rq "Consists the Spool Document Type Details
TABLES
attributes = dummy
EXCEPTIONS
no_such_job = 1
OTHERS = 2.
IF sy-subrc <> 0.
ENDIF.
*Convert spool request into PDF, dependent on document type
IF rq-rqdoctype = 'OTF' OR rq-rqdoctype = 'SMART'. "Doc Type is of Sap Script or Smart form
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = p_spool "Spool Request Number
no_dialog = 'X'
pdf_destination = 'X'
no_background = 'X'
IMPORTING
pdf_bytecount = bin_size
bin_file = pdf_xstring "This fm will convert the spool data into
TABLES
pdf = it_pdf . "PDF Format in this importing string
ELSEIF rq-rqdoctype = 'LIST'. "Doc Type of List
* Convert spool to PDF
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = p_spool "Spool Request Number
no_dialog = ' '
dst_device = 'LOCL'
pdf_destination = 'X'
no_background = 'X'
IMPORTING
pdf_bytecount = bin_size
bin_file = pdf_xstring "This fm will convert the spool data into
"PDF Format in this importing string
TABLES
pdf = it_pdf.
ENDIF.
* Downloading file to p_file loation in PDF foramt
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
bin_filesize = bin_size
filename = w_filename "Custom File name
filetype = 'BIN'
TABLES
data_tab = it_pdf
Prabhudas -
SCOM2012 Web Transaction Monitor - Displaying the Request Status
I have successfully created a 'Web Application Transaction Monitor' using the SCOM 2012 R2 Console wizard. The monitor goes through several listed website URLs and completes.
What I'm interested in is how to display the 'Request' status objects. I use the MS-Visio plug-in to display various dashboards within Sharepoint and I would like to display the part of the Web Transaction which is showing an error.
I can see the individual requests under the Availability of the created 'Web Application Transaction Monitor'. I just need to capture those objects for displaying within a view or MS-Visio diagrams.
The email notifications show which of the URLs are having the issue, but I do not seem to find a view or object I can display.
Any ideas on what could be done would be appreciated. I was hoping NOT to create individual Web Txn Monitors for each URL, but that maybe the only solution.When I create a Dashboard View and add the Alert Widget, I can get the URL from Name Column.
Juke Chou
TechNet Community Support -
HT2404 in incoming calls how to display company name with name
Hello
How we can get display of company name along with name while receiving incoming calls in iphone 4.
Thanksactually according to this, t-mobile became the first carrier to offer the paid feature in 2011
http://www.geek.com/mobile/t-mobile-becomes-first-major-us-carrier-to-add-caller -id-feature-1402597/
i don't know if anything changed with verizon after 2011, but i don't see any such feature on their website. I know you can set/remove your own name that is displayed to others, with verizon. but i cant' specifically find this incoming name feature. -
Call Report Builder from Jdeveloper 10g with parameters
hello , how are you
i am in oracle forms for long , today i am work in jdeveloper 10g, i want some questions
1- how call oracle report builder from oracle jdeveloper 10g with parameters
2- if there aren't call from jdeveloper 10g, what is good report tools?
thanks.I'm assuming that what you want to do is actually run a report from a JDeveloper application.
To do this you can use the various ways that Reports offer to invoke reports with the report server - including URL & Web Service interfaces.
More information on these in the Oracle Reports - Publishing reports manual. -
Saving spool request with multiple Adobe PDF files to local directory
Hi,
I have a spool file with multiple Adobe PDF files in it. You can only save the spool content to local directory by opening and save each PDF files. Does anyone know whether there is a way to combine all the PDF files within a spool into one big PDF file?
ChuinAre you using any plugins, like PDFlyer?
-
Hi there, I've got a problem with sending via an URL. If I send and receive something I use a method called connect. This method works well, I construct a URL, connect and receive an ObjectStream.
But as I only want to set some values in another use case I do not want to receive anything,
But it doesn't work - my servlet does not receive any request.
Could anyone please help me to solve this?
Thank you.
Regards
Tarik
private synchronized static void connectOneWay(String data)
throws IOException, ClassNotFoundException {
try {
URLConnection connection = null;
URL testServlet = null;
Class classLock = ServletConnector.class;
while (locked)
classLock.wait();
locked = true;
testServlet = new URL(servletURL + data);
if (MMSCMSTree.debug)
System.out.println("Servlet URL: " + testServlet);
connection = testServlet.openConnection();
connection.setDoInput(false);
connection.connect();
locked = false;
classLock.notify();
} catch (InterruptedException e) {
e.printStackTrace();
}Hi
There was not a problem with this, the problem was on the server side, infinite loop ... :-)
Regards
Tarik -
How to call web page to search document with parameters?
Hi!
i need to call a web page with access parameters to search a document and display this in .pdf format (external system).
Example:
PARAMETERS:
license code = xxx
society code = yyy
nickname = ...
password = ...
fieldsearch = ....
valuefieldsearch = ...
with these parameters, i must access in a web page https://....
and open .pdf file.
how to do? Can i do from SAP R/3?
Do you suggest any idea?
Thanks & Regards
RaffaellaHi
Raffaella
you have to use Class cl_http_client to execute HTTP REQUEST (in your case using GET method)
Check this link
http://help.sap.com/saphelp_nw70ehp2/helpdata/EN/1f/93163f9959a808e10000000a114084/content.htm
You can also use the abap report RSICFCLTST01 for testing Abap http requests -
Calling me23n with parameters via ITS weblink?
Hi,
I'm currently working on a BSP page which links to a R/3 (ITS standalone) directly with tcode me23n. Now, I'm just wondering if it's possible to pass parameters to that transaction? I want to call the transaction directly with a material number.
Thanks in advance!No not with me23n (its because of the way me23n is built). you have to go for ME23 instead
this weblog may be of help to you
/people/durairaj.athavanraja/blog/2004/09/23/pass-parameter-to-its-url-upadated-21st-june-2008
Regards
Raja -
Call Plugin-Function with parameters via JavaScript
Hi!
I have following problem: I wrote a plugin for Illustrator CS2 in C++ and now I would like to call a function of the plugin from outside of illustrator (from a JavaScript).
This can be done with the Actionsuite. But how could I then give some parameters to my function?
For example:
In the plugin, I have a function "void myFun(char * test)" and I want to call this function in JavaScript with test="Hello World" for example.
The only possible way right now seems to write parameters into a file and open that file in the plugin to "receive" them.Hi,
Could you send your plugin coding.
Regards,
Maria
Maybe you are looking for
-
Frequent loss of connection to email server
Every few days, although not following any obvious useage pattern, one of my email accounts stops being able to connect to the mail server. To fix this, I have to delete the account, and then recreate it. I've tried every other suggestion or fix desc
-
Services Tab for PO on SRM 5.0
Hi all, I'm working on SRM 5.0 with an extended classic scenario. Now I'm trying to create a PO with an item of type "service", but I don't find a tab "Services" as in R3 system. Doesn't it exit, or I have to configure something? regards enzo
-
Blind link in EPM 11.1.2 "Installation Start Here" document
Hi there Oracle EPM people, in the "Installation Start Here" document there are several references (e.g.Table 1 Documentation That You Need) to this link: http://www.oracle.com/technology/software/products/ias/files/fusion_certification.html However
-
HOW DO I ASSIGN A CUTOM HOME PAGE?
I want to assign www.cardomain.com to be my Firefox Home Page. I have no clue how to do this beyond just making it a bookmark. I need help.
-
10.8.5 and Usenet Problems
Hi. I upgraded from 10.8.4 to 10.8.5 last week. I am now having a problem accessing Usenet servers, though the problem may be unrelated to updating to 10.8.5. However, I've already investigated other possible causes of the problem with no luck. I use