How to download the Contents of Spool Requests as one line into Local File
Hello All,
I am running a report (Tcode- MC40)in background and i want to download the output from Spool list .
but the issue with me is, in spool the contents are displaying in 2 rows, where as i want to downlod the details in 1 row by filtering some fields as per my need. There is no option to download SINGLE LINE / DOUBLE LINE as like if i run in foreground .
If i run it In Foreground , there is option to see the ouput in SINGLE LINE/DOUBLE LINE ... Same way i want to downaload the spool in background , as the report takes much time , so it has to run in back ground...
anyone please suggest any idea ??
Thanks all.
try :
CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
EXPORTING
rqident = i_spools-rqident
first_line = 1
last_line = 0
desired_type = ' '
IMPORTING
real_type = real_type
sp_lang = sp_lang
TABLES
buffer = so_ali
EXCEPTIONS
no_such_job = 1
job_contains_no_data = 2
selection_empty = 3
no_permission = 4
can_not_access = 5
read_error = 6
type_no_match = 7
OTHERS = 8.
Similar Messages
-
How to list the contents of an OSX directory, and output to text file?
hello there any hints with any known program that does following
I have recorded my music directory to DVD and now i would like to make an .txt file what the dvd contains...cos its way of hand to write all 100xx files by hand...
How to list the contents of an OSX directory, and output to text file?
any prog that does that? any hints?
best regardsThis script makes a hierarchical file listing all files in a folder and subfolder:
Click here to launch Script Editor.
choose folder with prompt "Choose a folder to process..." returning theFolder
set theName to name of (info for theFolder)
set thepath to quoted form of POSIX path of theFolder
set currentIndex to theFolder as string
do shell script "ls -R " & thepath returning theDir
set theDirList to every paragraph of theDir
set newList to {"Contents of folder \"" & theName & "\"" & return & thepath & return & return}
set theFilePrefix to ""
repeat with i from 1 to count of theDirList
set theLine to item i of theDirList
set my text item delimiters to "/"
set theMarker to count of text items of thepath
set theCount to count of text items of theLine
set currentFolder to text item -1 of theLine
set theFolderPrefix to ""
if theCount is greater than theMarker then
set theNestIndex to theCount - theMarker
set theTally to -1
set theFilePrefix to ""
set theSuffix to ""
repeat theNestIndex times
set theFolderPrefix to theFolderPrefix & tab
set theFilePrefix to theFilePrefix & tab
if theTally is -1 then
set theSuffix to text item theTally of theLine & theSuffix
else
set theSuffix to text item theTally of theLine & ":" & theSuffix
end if
set currentIndex to "" & theFolder & theSuffix
set theTally to theTally - 1
end repeat
end if
set my text item delimiters to ""
if theLine is not "" then
if word 1 of theLine is "Volumes" then
set end of newList to theFolderPrefix & "Folder: > " & currentFolder & return
else
try
if not folder of (info for alias (currentIndex & theLine & ":")) then
set end of newList to theFilePrefix & tab & tab & tab & "> " & theLine & return
end if
end try
end if
end if
end repeat
open for access file ((path to desktop as string) & "Contents of folder- " & theName & ".txt") ¬
with write permission returning theFile
write (newList as string) to theFile
close access theFile -
How to DOWNLOAD WWI reports(EH&S, Product Safety, Reports) to a local file
Hi All
Could you please help me out for the below requirement:
How to DOWNLOAD WWI reports(EH&S, Product Safety, Reports) to a local file or server. The purpose of this requirement is to download all the WWI reports(Specification) of each and every Specification type to a local server. Please help me out with your valuable suggestions.
Thanks,
VenkatHi Arvind,
Thanks for your reply, could you please provide me more information(Transaction..etc..,) for the process to download reports as you mentioned.
Thanks,
Venkat -
How to download the content to a PDF source file.
Hi All,
I am using FileDownload UI element in the ADOBE interactive to download the content to a PDF file.
Please help me how to download content to a PDF file.
Thanks,
Archana.hi Archana,
you will get the byte format of the pdf form the pdf source attribute , create a resource using that byte data of type pdf as following
IWDResource iwdResource = WDResourceFactory.createResource(wdcontext.currentContextElement().getPdfSource(), "resource name", WDWebResourceType.PDF);
create a context element say fileresource of type iwdresource.
set it's value as following.
wdContext.currentContextElement().setFileResource(iwdResource);
and do the following code on the action of the download button.
public void downloadFile( )
//@@begin createExternalPopup()
// get the resource from the context
IWDResource resource = wdContext.currentContextElement().getFileResource();
//create an external window. A download dialog should appear
IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(resource.getUrl(WDFileDownloadBehaviour.AUTO.ordinal()) ,"Title");
//@@end
with regards
shanto aloor -
How to edit the contents of spools generated by smartforms
Hi All,
I am developing a print form using print work bench & smartforms.
There is a requirement to generate both preprinted forms (contains only datas) and Non-preprinted forms (contains u2026 data + layout + colors + picturesu2026etc) using a single smartform.In which the non-preprinted part should only get converted into pdf & preprinted should only be get printed.
For this I am making a replica of the first two pages of non-preprinted into preprinted format in the same smartform(total 4 pages).
Here I am able to extract & save the non-preprinted part from the spool into PDF.
After the above process, I want to edit the spool content, & then sent to printer.
But clueless about editing the spool content...
( for eg:- delete the first two pages of content in the spool & print the rest)
So my question is u2026.
-Is it possible to edit the contents of spool generated by smartforms u2026 ?
(Is it possible to copy the content of existing spool ,edit, save it into new spool and delete the old one. )
Any solutions / suggestions u2026 ?
Thank you for your attention.
With Regards,
santhHi Niki,
Thank you for your time & suggestions....
>
Niki wrote:
>
> try to control it in smartform itself.....(above idea will not work).
>
> try this ...
> from ur driver program pass a variable to identify o/p is preprinted forms or non-preprinted forms
Yes, I got your point... I even tried this option also.
First of all the user want both(preprinted-hardcopy & non-preprinted pdf) form in a single process, so that data integrity is maintained both in hardcopy & soft copy.
Even if I negotiate tha above requirement....
The problem is , I am using Print WorkBench , not an user-defined driver program.Inside printworkbench , the smartform is mentioned.
The process is as follows...
ea40/ea60(isu billing transaction) -> Printworkbench ->smartforms -> spool -> printer(preprint part) / pdf(non - preprint).
Hope u understand my limitations....
Still expecting a solution...
Regards,
santh -
How to move the contents of an itab from one class to another...
Hello Experts,
How can I move the contents of an internal table for a given class to another class.
I want to transfer the contents of my internal table lt_vbak to another class
which is lcl_get_docflow. Below is my code:
REPORT zsd_orderstage
NO STANDARD PAGE HEADING.
* Data Dictionary Table/s *
TABLES: vbak.
* Global Structure/s *
TYPES: BEGIN OF t_output,
salesgroup type vbak-vkgrp,
salesorder TYPE vbak-vbeln,
custcode TYPE vbak-kunnr,
shipto TYPE likp-kunnr,
creation_date TYPE vbak-erdat,
created_by TYPE vbak-ernam,
delorder TYPE likp-vbeln,
invnumber TYPE vbrk-vbeln,
END OF t_output.
* Global Internal Table/s *
DATA: gt_output TYPE STANDARD TABLE OF t_output.
* SELECTION-SCREEN *
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: p_kunnr TYPE vbak-kunnr OBLIGATORY.
SELECT-OPTIONS: s_group for vbak-vkgrp,
s_auart FOR vbak-auart,
s_erdat FOR vbak-erdat OBLIGATORY,
s_ernam FOR vbak-ernam.
SELECTION-SCREEN END OF BLOCK b1.
* CLASS lcl_main DEFINITION
CLASS lcl_main DEFINITION ABSTRACT.
PUBLIC SECTION.
TYPES: BEGIN OF t_vbak,
vbeln TYPE vbak-vbeln,
erdat TYPE vbak-erdat,
ernam TYPE vbak-ernam,
auart TYPE vbak-auart,
kunnr TYPE vbak-kunnr,
vkgrp type vbak-vkgrp,
END OF t_vbak.
TYPES: BEGIN OF t_vbfa,
vbelv TYPE vbfa-vbelv,
vbeln TYPE vbfa-vbeln,
vbtyp_n TYPE vbfa-vbtyp_n,
END OF t_vbfa.
TYPES: BEGIN OF t_likp,
vbeln TYPE likp-vbeln,
kunnr TYPE likp-kunnr,
END OF t_likp.
TYPES: BEGIN OF t_vbrk,
vbeln TYPE vbrk-vbeln,
END OF t_vbrk.
DATA: gt_vbfa TYPE STANDARD TABLE OF t_vbfa,
gt_likp TYPE HASHED TABLE OF t_likp
WITH UNIQUE KEY vbeln,
gt_vbrk TYPE HASHED TABLE OF t_vbrk
WITH UNIQUE KEY vbeln,
gt_delivery TYPE STANDARD TABLE OF t_vbfa,
gt_invoice TYPE STANDARD TABLE OF t_vbfa.
ENDCLASS. "lcl_main DEFINITION
* CLASS lcl_get_so DEFINITION
CLASS lcl_get_so DEFINITION INHERITING FROM lcl_main.
PUBLIC SECTION.
DATA: lt_vbak TYPE STANDARD TABLE OF t_vbak.
METHODS: get_sales_orders
RETURNING
value(re_vbak) TYPE t_vbak.
ENDCLASS. "lcl_get_so DEFINITION
* CLASS lcl_get_so IMPLEMENTATION
CLASS lcl_get_so IMPLEMENTATION.
METHOD get_sales_orders.
SELECT vbeln erdat ernam auart kunnr vkgrp
FROM vbak
INTO TABLE lt_vbak
WHERE erdat IN s_erdat
AND ernam IN s_ernam
AND auart IN s_auart
AND kunnr = p_kunnr.
ENDMETHOD. "get_sales_orders
ENDCLASS. "lcl_get_so IMPLEMENTATION
* CLASS lcl_get_docflow DEFINITION
CLASS lcl_get_docflow DEFINITION INHERITING FROM lcl_main.
PUBLIC SECTION.
DATA: lt_vbfa TYPE STANDARD TABLE OF t_vbfa.
METHODS: get_subsequent_docs
IMPORTING
value(im_vbak) TYPE t_vbak
EXPORTING
ex_vbfa TYPE t_vbfa.
ENDCLASS. "get_docflow INHERITING FRO
* CLASS lcl_get_docflow IMPLEMENTATION
CLASS lcl_get_docflow IMPLEMENTATION.
METHOD get_subsequent_docs.
ENDMETHOD. "get_subsequent_docs
ENDCLASS. "get_docflow IMPLEMENTATION
* Global Internal Table/s *
START-OF-SELECTION.
DATA: o_get_so TYPE REF TO lcl_get_so,
o_get_docflow TYPE REF TO lcl_get_docflow.
CREATE OBJECT: o_get_so,
o_get_docflow.
CALL METHOD o_get_so->get_sales_orders.
What I want is to pass the records of lt_vbak to method get_subsequent_docs. How do I do this guys?Thank you and take care!.
-
How to upload the data from two sheets in one excel into SAP
Hi experts,
My requirement is to upload the data from two sheets in an excel into an internal table.How can this be achieved.Is some OLE application has to be used?
Thanks
AbhishekHi
see this program will upload excel file to application.
*& Report ZSD_EXCEL2
REPORT ZSD_EXCEL2.
types: begin of ttab ,
fld1(30) type c,
fld2(30) type c,
fld3(30) type c,
fld4(30) type c,
fld5(30) type c,
end of ttab.
data: itab type table of ttab with header line.
selection-screen skip 1.
parameters: p_file type localfile default
'C:\test.xls'.
selection-screen skip 1.
at selection-screen on value-request for p_file.
call function 'KD_GET_FILENAME_ON_F4'
exporting
static = 'X'
changing
file_name = p_file.
start-of-selection.
clear itab. refresh itab.
perform upload_data.
loop at itab.
write:/ itab-fld1, itab-fld2, itab-fld3, itab-fld4, itab-fld5.
endloop.
* Upload_Data
form upload_data.
data: file type rlgrap-filename.
data: xcel type table of alsmex_tabline with header line.
file = p_file.
call function 'ALSM_EXCEL_TO_INTERNAL_TABLE'
exporting
filename = file
i_begin_col = '1'
i_begin_row = '1'
i_end_col = '200'
i_end_row = '5000'
tables
intern = xcel
exceptions
inconsistent_parameters = 1
upload_ole = 2
others = 3.
loop at xcel.
case xcel-col.
when '0001'.
itab-fld1 = xcel-value.
when '0002'.
itab-fld2 = xcel-value.
when '0003'.
itab-fld3 = xcel-value.
when '0004'.
itab-fld4 = xcel-value.
when '0005'.
itab-fld5 = xcel-value.
endcase.
at end of row.
append itab.
clear itab.
endat.
endloop.
endform. -
Help... Why did the dvd to ipod converter split one movie into 2 files?
I have a 80GB Video Ipod and I'm confused on why when I ripped a dvd using the dvd to ipod converter for mac program it split the dvd into 2 files.. Is there a way I can merge the files together so it is 1 file?.. I would apprciate any help or suggestions...
G3 Ibook.. 15, 40 and 80GB Video Ipods... G4 PowerMac Mac OS X (10.4.2)Go to their support forum and ask-you will get a better answer from people who actually use the program.
It's not a paid for program is it?
A totally free program that rips and converts DVD's for Macs can be found here: http://handbrake.m0k.org/
Why would anyone on a Mac pay for a DVD rip program? -
How to display the contents of servlet request using the swing component.
I am trying using the servlet to receive the request of the J2ME client. When the request will be there, this should be automatically displayed by the swing User Interface. Again, that component should display the previous requests made alongwith this request.
Shriprasad wrote:
I am trying using the servlet to receive the request of the J2ME client. When the request will be there, this should be automatically displayed by the swing User Interface. Again, that component should display the previous requests made alongwith this request.This makes no sense. Either there's a lot you're leaving out (maybe you're receiving requests on a server, then storing data, and you want to expose the data later via a console of some kind implemented in Swing?), or you don't understand what you're talking about. -
How to download the attachment text to local file.
Hi Xperts,
My requirement is at the time of workitem execution, Approver can write the attachment with the reason for Rejection.
Now, I need to down load that attachment content to local file and then that content needs to be updated in the PO Header changes.
I can able to get the attachment files' title, size and everything from the DB Table SOOD. But there is no Attachment's content is getting updated in that table.
Will you pls let me know how to download the content of the attachment to a local file from the sap.
ThanX in ADvance.
Krish.HI Arghadip Kar,
By using the Function Module SAP_WAPI_GET_ATTACHMENTS, we can get the Object id of the attachment, but not the content of the Attachment.
But, my requirement is to get the content of the attachment.
Best Regards,
Krishna. -
How to download the ALV output with colors into the excel sheet
Hi,
I'm having an ALV Grid report output where each and every row has some colors in it. When i download it to an excel sheet whatever the colors that comes on the output of the report the same should come in the excel sheet. When i download the output to an excel sheet using List --> Export -->Local file . If i open the excel files no colors are coming in the excel sheet.
can anyone tell how to get the colors in the excel sheet also. thanks...
Regards,
Rose.Hi Camila,
Use the OLE concept.
Check the below threads:
Colors in Excel Sheet
colors in alv
Regards,
Soumya. -
How to download the values to excel from spool sap abap
Dear All,
I am facing a problem in downloading the Zreport to excel file ( where it consists of 95 fields) ,
1.if am running the report in foreground and downlaod to excel file , the all 95 fields are upadting in excel file .
2.if i am schecduling the programe in background and saving inspool, then form spool , i am download to excel file , at that time some of the fields are overllapning ,
for this i want to download t o excel file without overlapping fields,
can any one suggest , how to do same procedue.
regards,
manoranjanHi,
whenever you click on Excel download option select spreadsheet instead of unconverted
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 <sid><spool#>.
or use fm RSPO_DOWNLOAD_SPOOLJOB.
Download in Background in Excel Format
How to download the data in excel format directly while executing in background mode?
If you will execute it in bacground with ws_download or download, it will be aoutomatically cancel. so what is the procedure to do this. How is can directly read the spool from program?
Download from background is possible, if you could setup the environment
1. create a custom table first
Table : Y001
Displayed fields: 4 of 4 Fixed columns:
MANDT BNAME Y_SITE Y_PATH
010 <userid> <site> cd <novell_path>
2. rewrite ws_download to z_download (light modification required, see attachment)
3. ask your basis team to make a copy of command FTP and CHMOD to ZFTP and ZCHMOD resp., make the setting according to your environment.
Moderator message - Please respect the 5,000 character maximum when posting. Post only the relevant portions of code
Hope this will will helps you,
Thanks and Regards,
Manjunath M
Edited by: manjunath4sap on Dec 23, 2010 6:20 PM
Edited by: Rob Burbank on Dec 23, 2010 9:02 PM -
I am doing a project for internet control using Java,PHP and MySql.All sites should go through the proxy server only.If the HTTP header contains Content-Length,am getting the content length as below:
public class HTTPResponseReader extends HTTPMessageReader
String statusCode;
public HTTPResponseReader(InputStream istream) throws IOException, NoSuchElementException
BufferedInputStream distream = new BufferedInputStream(istream);
retrieveHeader(distream);
StringTokenizer st = new StringTokenizer(new String(HTTPMessageReader.toArray(header)));
versionProtocol = st.nextToken();
statusCode = st.nextToken();
String s;
while (st.hasMoreTokens())
s = st.nextToken();
if (s.equals("Transfer-Encoding:"))
transferEncoding = new String(st.nextToken());
if (s.equals("Content-Length:"))
contentLength = Integer.parseInt(st.nextToken());
if (s.equals("Connection:"))
connection = new String(st.nextToken());
if (connection.equals("keep-alive")) mustCloseConnection = false;
retrieveBody(distream);
}After getting the Content-Length,i used read method to read the content upto that content length.Then i concatenated the HTTP header and body and the requested site was opened.But some sites dont have Content-Length.Instead of that,Transfer-Encoding is used.I got the HTTP Response header as "Transfer-Encoding:chunked" for some sites.If this encoding is used how to get the length of the message body and how to read the content.
Can anybody help me.
Thanks in advance...
Message was edited by:
VeeraLakshmiWhy don't you use HttpUrlConnection class to retrieve data from HTTP server? This class already supports chunked encoding...
If you want to do anything by yourself then you need to read HTTP RFC and find all required information. Well in two words you may reject advanced encoding by specifying HTTP 1.0 in your request or download chunked answer manually. Read RFC anyway :) -
How to display the content of a BLOB column in a ADF/BC pages ?
How to display the content of a BLOB column in a ADF/BC pages ?
There is some image in database table blog column. And we want to display image on the screeen.
There is some example about upload and dowload blog columns.
(steve not yet document example page etc...)
But We want to display blog picture in a image component...
is there any basic way to do it ?
Thanks a lot...Ali,
You could just download the sample app... but... here is the servlet code from the demo (look at it just for technique - you'll obviously have to change it for your needs)...
John
package oracle.fodemo.storefront.servlet;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import javax.servlet.*;
import javax.servlet.http.*;
import oracle.jbo.ApplicationModule;
import oracle.jbo.Key;
import oracle.jbo.Row;
import oracle.jbo.ViewObject;
import oracle.jbo.client.Configuration;
import oracle.jbo.domain.BlobDomain;
import oracle.jbo.domain.DBSequence;
import oracle.jbo.domain.Number;
import oracle.jbo.server.ViewObjectImpl;
public class ImageServlet
extends HttpServlet
private static final String CONTENT_TYPE =
"image/jpg; charset=windows-1252";
public void init(ServletConfig config)
throws ServletException
super.init(config);
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException, IOException
response.setContentType(CONTENT_TYPE);
response.setContentType(CONTENT_TYPE);
String detailProductId = request.getParameter("detail");
String thumbnailProductId = request.getParameter("thumbnail");
boolean thumbnail = true;
String productId = null;
OutputStream os = response.getOutputStream();
String amDef = "oracle.fodemo.storefront.store.service.StoreServiceAM";
String config = "StoreServiceAMLocal";
ApplicationModule am =
Configuration.createRootApplicationModule(amDef, config);
ViewObjectImpl vo =
(ViewObjectImpl) am.findViewObject("ProductImages"); // get view object (the same as used in the table)
if (detailProductId != null)
productId = detailProductId;
thumbnail = false;
else
productId = thumbnailProductId;
vo.defineNamedWhereClauseParam("paramThumbnail", null, null);
vo.defineNamedWhereClauseParam("paramProductId", null, null);
vo.setWhereClause("DEFAULT_VIEW_FLAG = :paramThumbnail AND PRODUCT_ID = :paramProductId");
vo.setNamedWhereClauseParam("paramThumbnail", (thumbnail? "Y": "N"));
vo.setNamedWhereClauseParam("paramProductId", productId);
vo.executeQuery();
Row product = vo.first();
BlobDomain image = (BlobDomain) product.getAttribute("Image");
InputStream is = image.getInputStream();
// copy blob to output
byte[] buffer = new byte[10 * 1024];
int nread;
while ((nread = is.read(buffer)) != -1)
os.write(buffer, 0, nread);
os.close();
vo.setWhereClause(null);
vo.removeNamedWhereClauseParam("paramProductId");
vo.removeNamedWhereClauseParam("paramThumbnail");
Configuration.releaseRootApplicationModule(am, false);
} -
How do you preview using a spool request number
How do you preview using a spool request number?
I have an application in which I have accumulated the results from several smartforms into one spool request. I have the spool request number, and am printing it using function RSPO_RPRINT_SPOOLREQ.
I need to be able to preview the contents of the spool request before printing. I can not preview when generating the smartforms, as that involves several previews, and I need to preview once only per spool request.
I have been trying to use RSPO_RDISPLAY_OUTREQ but it dumps immediately (line 47) with field symbol <FTSP01> not assigned.
Suggestions?*With no faction module "COM_SE_SPOOL_DISPLAY", try this simple code, you can display the form *type spool (you also can put the code in a function module):
REPORT ypl_test_display_spool MESSAGE-ID zm_print.
PARAMETERS: rqident LIKE tsp01-rqident,
rqdocty LIKE tsp01-rqdoctype.
*--- there may be more types need to separate..., so use case...
CASE rqdocty.
WHEN 'OTF' OR 'SMART'.
PERFORM display_form.
WHEN OTHERS.
PERFORM display_others.
ENDCASE.
*& Form DISPLAY_FORM
display form type spool...
FORM display_form.
DATA: wstr_otf_control TYPE itcpp.
DATA: wtbl_buffer TYPE TABLE OF soli WITH HEADER LINE.
DATA: wtbl_otf TYPE TABLE OF itcoo WITH HEADER LINE.
DATA: wstr_retcode LIKE itcpp.
*--- return spool raw data
CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
EXPORTING
rqident = rqident
TABLES
buffer = wtbl_buffer
EXCEPTIONS
no_such_job = 1
job_contains_no_data = 2
selection_empty = 3
no_permission = 4
can_not_access = 5
read_error = 6
type_no_match = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE s013 WITH text-001.
EXIT.
ENDIF.
LOOP AT wtbl_buffer .
wtbl_otf-tdprintcom = wtbl_buffer(2).
wtbl_otf-tdprintpar = wtbl_buffer+2.
APPEND wtbl_otf.
ENDLOOP.
*--- some data to pass to this parameter, may not need...from SP01...
wstr_otf_control-tdcopies = 1.
wstr_otf_control-tdappl = 'TX'.
wstr_otf_control-tddest = 'LOCL'.
wstr_otf_control-tdpages = 0.
wstr_otf_control-tdnoprint = 'X'.
CALL FUNCTION 'DISPLAY_OTF'
EXPORTING
control = wstr_otf_control
IMPORTING
RESULT = wstr_retcode
TABLES
otf = wtbl_otf.
IF wstr_retcode IS INITIAL.
*--- message...
ENDIF.
ENDFORM. "DISPLAY_FORM
*& Form display_others
display other types, may more types needed to separate...
you can refer current version of SAP report RSPOLST2
FORM display_others.
CALL FUNCTION 'RSPO_DISPLAY_SPOOLJOB'
EXPORTING
rqident = rqident
EXCEPTIONS
no_such_job = 1
job_contains_no_data = 2
selection_empty = 3
no_permission = 4
can_not_access = 5
read_error = 6
OTHERS = 7.
IF sy-subrc <> 0.
MESSAGE s013 WITH text-001.
ENDIF.
ENDFORM. "display_others
Maybe you are looking for
-
I have been using Isight with Ichat for over 3 years with no problem. Suddenly my computer no longer 'sees' my camera in either Ichat or Skype. It also does not see my buddies cameras although they are connected and we can even do a oneway video chat
-
Tax codes - can you set up default value for rows and freight? HELP!
Hello - I have two issues with tax codes: 1. When adding a sales order if any of the rows do not have a value for "Tax Code" I will get an error "Row without tax was found". - How can I get all rows on my sales orders, documents, etc to default to
-
Continuing the conversation from XE new releases? Seems not! :( ...(and my apologies to OP for the hijacked thread) So far we have Nicolas, Fredrik and myself getting together for wine and (perhaps non-hole-y) cheese at the next Open World ... possib
-
New Message type for Sales orders
Hi, We have the message type is ORDSRP(ORDERS05) and Function module IDOC_OUTPUT_ORDRSP for the sales orders. We have lot of custom fields to be added to the IDoc. Can any one suggst if it is better extending the current message of create a new one.
-
Is it possible to import Reports in BAM Active Studio?
Hi, i exported (saved as) a Report in BAM Active Studio as a .mht file. Now i'm searching for a possibility to import this Report on another Server. There seems to be no way to import it directly. Even on the file system is no folder where it can be