Link between spool request & abap program
Hi all,
I m looking for the link table between a spool request and the corresponding job and abap program.
I want to select all spool requests generated via een job via een abap program.
Some suggestions?
Thanks in advance,
Hi,
Spool request is a document for which a print function has been selected. However, it has not yet been output to a printer or another device. The output data for the print document is stored partly formatted in a data store until an output request is created, that is, until it is sent to a particular output device.
The spool system uses a spool request to store the print data temporarily and to access it. The data is stored in a temporary format. You can also display the print document. The system automatically assigns a 10-digit ID number to a spool request.
Spool requests can be viewed via tcode SP01, the number will be there, programatiically it is sometimes populated in the system field SY-SPONO.
It will take input parameters through the selection screen variants and process the code normally as foreground when we are writing the output to list it will generate the spool.
Reward Points if found helpfull..
Cheers,
Chandra Sekhar.
Similar Messages
-
Print an existing spool in ABAP program.
Hi Experts,
I have a problem to print an existing spool.
I need print many an existing spools in ABAP program
- I used the SHDB and call transaction with BDC data but work only for 1st.
- I tried use the RSPO_RPRINT_SPOOLREQ function but don't work.I resolved my own problem.
I use the function RSPO_OUTPUT_SPOOL_REQUEST...
The only parameters to this functions was spool_request_id - ID spool.
Thanks for help! -
Link between Transport Request no and UrgentChangeNo
what is the Link between Transport Request no and UrgentChangeNo ?
thank you.
Edited by: ankusaru on Oct 6, 2009 5:33 PMhi,
I hope you can use the EKBE for fetching the good reciept data for those purchase orders.
regards,
Veeresh -
How to create Spool through ABAP program
How to create spool request for Smartforms through program. So I can go in TCODE SP01 and see the output of my smartforms.
Include the below code in ur program .......
DATA: PRINT_PARAMETERS TYPE PRI_PARAMS,
VALID_FLAG TYPE C LENGTH 1.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
IMMEDIATELY = 'X' "C_IMMEDIATELY
*LAYOUT = 'Z_48_144'
*LINE_COUNT = '48'
LINE_SIZE = '255'
*NEW_LIST_ID = C_NEW_LIST_ID
NO_DIALOG = 'X'
RELEASE = 'X'
IMPORTING
OUT_PARAMETERS = PRINT_PARAMETERS
VALID = VALID_FLAG
EXCEPTIONS
ARCHIVE_INFO_NOT_FOUND = 1
INVALID_PRINT_PARAMS = 2
INVALID_ARCHIVE_PARAMS = 3
OTHERS = 4 .
G_PDEST = PRINT_PARAMETERS-PDEST.
NEW-PAGE PRINT ON PARAMETERS PRINT_PARAMETERS
NO DIALOG.
List of write statements to be output.......
NEW-PAGE PRINT OFF.
Reward if useful.............. -
Link between Appropritation Request and its Workflow log.
Hello All,
I am very new to the workflow related work.
We have configured a workflow for the approval of Appropriation request. For printing of Appropriation request we have developed a smart form where we need to show the status of the respective workflow item.
Now the question is how do i link the particular task id or workflow id to the particular Appropriation request.
I searched a lot, but may be i was making mistake somewhere in finding the same.
Kindly let me know the link between the same.
Thank you,
Vinod.Hi,
If you want find the corresponding workflow log for a given appropriation request programmatically, yes you can use SAP_WAPI_WORKITEMS_TO_OBJECT. Object Type for Appropriation Request is BUS2104. Use this as Object Type and give your appropriation request number as Object Key.
If you want to have a look at the workflow for a given Appropriation Request, you can go to IMA3N and give your appropriation request number and go to Service for Objects -> Workflow ->
Hope this helps you !!
Regards
Krishna Mohan -
Exclude spool requests from program RSPO0041
Hi
We have a request to keep the spools and logs for certain jobs. If we set the Spool Retention period to 'Do not Delete' in the Print Specifications of the job (via SM37) would this mean that these spools will not be deleted when the SAP_REORG_SPOOL (Program RSPO0041) job is run?
ThanksHi,
Welcome to SDN
Note 64333 - Change default value for spool retention period
FYI , even though you select DO NOT DELETE this it will delete the spool if JOB RSPO* runs .
May refer this inetresting thread
How to set the spool retention period till 30 days(Printer Properties).
running RSPO1041 can help , more selection options are available.
Regards,
Edited by: Gagan Deep Kaushal on Nov 9, 2010 10:45 PM -
Communicate link between Java and ABAP Stack for https
I have configured https in both the java and abap stacks (we have a double stack configuration). Due to our future configuration I have changed the hostnames to fully qualified hostnames per SAP instructions.
The question I have is does anyone know what RFC destinations or JCo settings I need to change to make https complete?
I have the problem where when I fire off the Integration Builder from within the ABAP stack (SXMB_IFR) I get a straight hostname (no domain name). Where is this configured? Any help is appreciated..Check the exchange profile (Administratio tab in /rep/start/index.jsp page; you will have to enter it manually since it is throwing error from SXMB_IFR).
Regards,
Henrique. -
Wht is a spool request explain me in detail?
Hi I want t know what is a spool request and wht is a spool request number
explan me thanking u
cheersHi,
Spool request is a document for which a print function has been selected. However, it has not yet been output to a printer or another device. The output data for the print document is stored partly formatted in a data store until an output request is created, that is, until it is sent to a particular output device.
The spool system uses a spool request to store the print data temporarily and to access it. The data is stored in a temporary format. You can also display the print document. The system automatically assigns a 10-digit ID number to a spool request.
Output request: From the point of view of the SAP spool system, an output request outputs the print data of a spool request to a particular output device.
Multiple output requests may exist for a single spool request. Each represents an instance of the output of the same spool request. Each of these output requests may have different attributes, such as the target printer or number of copies.
By differentiating between spool request and output requests, the spool system provides a means of storing the data temporarily.
Please check this link for more information.
http://help.sap.com/saphelp_erp2004/helpdata/en/64/c6c13b48c37855e10000000a114084/frameset.htm
Regards,
Ferry Lianto -
How to Revoke an older request of an ABAP program
Dear All,
I wish an older version (before the last three modifications) of my ABAP program to be revoked on the production server. In other words I wish an older request of my current program to overwrite the current request, in between these two requests there are three more requests.
Please tell how to go about it.
Regards,
Alok.Hi...
You can get back the Older Version....
If your program is deleted, but a version of it still exists.....
then go to <b>Utilities---->Versions----->Version Management</b>
There you can find all the Versions of your deleted program....of which choose any one version you want to retrieve....( check that checkbox ) and click on the retrieve pushbutton.. You will get a pop window....
Indicating that
The current version of the program
will be overwritten by an older version
This only applies to source code
Before it is overwritten, a temporary
version will be created.
So you just press enter on this window.....
Go back to SE38 and give the Program Name, an Inactive Version is retained...
You can now activate that and use it.....
This is the way how you can revert the changes made by you.....
Generally the concept of Version Management is very helpful whenever you go for Upgradation say for example from 4.6c to ECC 6.
Hope this solves your problem....
Reward if it helps you..... -
How to exchange data between wda program and abap program?
Dear guru,
the situation is:
we have a abap program , which uses
CALL FUNCTION 'WDY_EXECUTE_IN_PLACE'
EXPORTING
PROTOCOL =
INTERNALMODE = 'X'
SMARTCLIENT =
application = 'YHREFM_WD_APPROVE2'
CONTAINER_NAME =
PARAMETERS = lt_parameters
SUPPRESS_OUTPUT =
IMPORTING
OUT_URL =
CHANGING
VIEWER =
EXCEPTIONS
invalid_application = 1
browser_not_started = 2
action_cancelled = 3
OTHERS = 4
to call a wda application inside sapgui, and we want to get data return by the wda application in the program.
we tried to use EXPORT/IMPORT TO/FROM MEMORY, but failed.
could you please tell me how to do that?
br
zjFor integration between SAPGUI and WDA, the only supported solution is to have two iViews within the same portal page. As mentioned in the linked thread, this function module is not released for customer usage. You could setup a parameter transaction around WDYID and launch the WDA application from a SAPGUI transaction.
For communicaiton of data, I wouldn't suggest anything that relies on memory communication. In a multiple application server envinroment, there is no way to know if the two sessions will be on the same application server due to load balancing. Therefore you should fall back to communications at the database level. Write data into a temporary database table. Consider using Server Cookies. -
How to see all the columns in the spool output of an ABAP program
I have an ABAP program which displays all the columns when I run it manually. (by scrolling to the right using right arrows). When I run that report in the scheduler and when I see the output in the spool in transaction SP01, it does allow me to go to the right to see all columns.
thanks
RamCheck OSS Note 409339 - Spool requests with ABAP lists with more than 255 columns.
Summary
Symptom
As of Release 4.6x, the ABAP list processor can create spool requests for ABAP lists with a width of more
than 255 columns. However, when you print using the SAP spool, only the start of the list lines is printed,
the rest of the line is truncated at the end of the page.
Other terms
ABAP, lists, print parameter, LINE-SIZE
Reason and Prerequisites
Creating "wide" lists on the screen (in other words, lists in the SAPGUI with more than 255 columns) was
already introduced by the ABAP list processor for Release 4.0B. However, before Release 4.6 these lists
cannot be printed out in the width used on screen.
In older releases (for example, 4.0B, 4.5B), you were not able to generate spool requests for lists with a
width of more than 255 columns:
The system issues error message PT 026: "No. of columns > 255, no standard print-out possible".
Therefore, we did not have the problem described here of non-existing device-type support in 4.0/4.5 for
printing out "wide" lists.
Up to and including 4.6C there are no SAP device types that support print formats for lists with a width of
more than 255 characters). Since Release 3.0A, all SAP device types support a maximum list width of 255
characters with device format X_65_255.
Solution
When you create the spool request and a print dialog box appears, enter a column width of maximum 255
in the "Number of columns" field.
As of Release 4.6D, you have the option of using device type SWIN with the new format X_65_1024/4 when
printing with Windows (see Note 213382). -
Name of the program generating the spool request
Hi,
i want to know the name of the program due to which a particular
spool request has been generated
thanksHi Anirudh,
Is this what you are looking for:
Re: Finding the Background job name from Spool request number
Regards,
Swarna Munukoti -
How to compare all ABAP Programs (Workbench) between system?
Hi BASIS Guru,
Please kindly guide me How to compare all ABAP Programs (Workbench) between system?
I have copy client (Export/Import) from PRD to DEV but I have some error about abap programs does not exist.
For example COPA workbench object (Table and ABAP Program).
Please kindly help.
Thank you very much.
Best Regards,
SaiyaHi,
You can use SE39 to compare your programs.
Regards,
Vijay -
Link in ABAP program documentation
Hi !
Can anybody tell me how to insert link in ABAP program documentation.
e.g. i want to insert a link 'Information on the form layout' in documentation.
When some one click on this it opens the documentation for 'Form Layout' in same window
Regards,
-HarkamalHello Harkamal,
I doubt about getting the documentation of the form layout thourgh link. We can get link of tcode, abap syntex, etc.
eg.
Link to tcode:
<DS:TRAN.MM03>MM03</>.
To insert link,
GO to documenation ... Insert > Link ...
select the document class from the dropdown help, give the keyword and name in the document.
regards,
Naimesh -
All transport requests of an ABAP program.
Hi,
I want all the transport request numbers created and released for a particular ABAP program.
Thanks in advance,
Rajesh GuptaHello,
Get all the Transport request numbers from the Version management of the program
- Create a Transport of Copies within SE09 or SE10
- Include all the Transport request numbers which u colelcted from the version management of the priogram and transport the Transport of copies .
Ensure the Transports were included in the correct order (ascending Order) within the Transport of copies.
Regards
Maybe you are looking for
-
Unable to get dataset while creating request
Hi All, I am using OIM 11g. I want to provide resource attribute details during provision request. I have created a GTC with DBAT connector and I import the dataset xml successfully (varified by exporting the same). But while creating request I am no
-
Read only custom field for particular user
Hi, I have requirement to few enterprise custom field should be edited by only top management,Project manager and team member can only read the same field. Like i have one custom enterprise baseline finish date,which need to update by only IT GM,and
-
Where is groove templates in Logic 9
I've looked under options as I used to do in Logic 8 but it seems to have completely disappeared in Logic 9. Jason
-
Can we create an APEX Form based on Table which has no Primary Key
Hi, I have a requirement. I need to create a FORM based on a table having no Primary Key but it is having Unique Key . I can use Unique Key as an alternate of Primary Key. but When I tried to create a Form, I got the following message. Source tables
-
Dv7-1270us will not power up.
My wife was using her laptop and when she was done, she just closed the lid. That is the last we saw any sign of life. There were not any power surges and she did nothing any different then the other time she was done and closed the lid. The only sig