What about spool workprocess?
hi gurus,
any one plz explain what is spool workprocess and how it would works on.and also what are the support Tcodes.plz help me.
regards.
balaram
Spool Work Process
The spool work process passes sequential datasets to a printer or to optical archiving. Each application server may contain several spool work process.
The services offered by an application server are determined by the types of its work processes. One application server may, of course, have more than one function. For example, it may be both a dialog server and the enqueue server, if it has several dialog work processes and an enqueue work process.
You can use the system administration functions to switch a work process between dialog and background modes while the system is still running. This allows you, for example, to switch an R/3 System between day and night operation, where you have more dialog than background work processes during the day, and the other way around during the night.
For further info chk the following link:
http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a991a51ea11d189570000e829fbbd/frameset.htm
Regards
AK
Similar Messages
-
Hello
I have a question about spool and how to use it, because what I understood from Spool it generates a file in the current folder.
For example I wish to generate a file like that
spool ./cheminlinux/nom.txt
select * from mytable where mytable.fields="clause";
spool off.
If I write like that It run very well
spool ./nom.txt
select * from mytable where mytable.fields="clause";
spool off.
It deposites nom.txt in the current folder, where my sql file is, I wish to generate in another folder, in fact another road. I don't know wether with Oracle Spool is possible.
Thanks for any help.My script is :
spool ./cheminlinux/myfile.txt
select * from mytable where mytable.champs1="clause";
spool off.
cheminlinux is /exec/application/MyProfile/MyApplication/tmp/
As I said Iam inside Linux environnement as Server Linux Redhat, where I install my database server, but the spool does not generate the file.txt. I do not know if it is because Spool does not run, or I have not enough rights to allow the sqlplus' execution.
I will check towards this last direction, maybe the problem comes from here. -
hi,
can you explain about sap-printer? what are things an abaper should know about the printer ? what is spool request?
in sap script after writing the code what are things an abaper should do?
pls explainHi
There are some Standard Sap Scripts in SAP. We cant directly execute them in scripts we have to use some T-codes and by giving some input to the required fields we can see the output printform.
I will show one example. There are some Standard Sap Scripts such as MEDRUCK which is a standard Sap Script for Purchase Order and RVINVOICE01 for billing and so on...
To see oupt of MEDRUCK go to T-code ME9F give purchase order number and execute select one number and click on dislplay messages button on application tool bar you can find the print form of MEDRUCK.
You cannot change the Standard Sap Scripts but you can use Standard Sap Scripts and Copy them to userdefined Script and can make changes to them and replace standard Sap Script with usedefind script.
Ex: Go to SE71,
on menu bar u find Utilities->copy from Client. click on it u ll find new screen showing
Form name:
Source Clinet:
Target Form:
give Form name as usedefined form name EX: ZFORM1
Source client as 000 and
Target form as MEDRUCK.
execute.
Now, the standard from MEDRUCK is copyied to your form ZFORM1.
NOW, go to SE71 and give form name as ZFORM1 and do some changes to the form such as adding logo any thing. save and Activate.
Now, you have done changes to the Form ZFORM1 and u have to replace your form with standard SAP Script.
Go to NACE Transaction.
on Applications select EF for purchase order and click Output types button on application tool bar.
now select NEU as output types dobule click on Processing Routines.
now click on Change option on application tool bar and on right side u find MEDRUCK in form place replace MEDRUCK with ZFORM1 and SAVE.
go back twice and now go to T-code ME9F give the purchase order number and execute and select one option and click on display messges button .
you will find the changes that you have done in ZFORM1. so we cant chage the standard Sap Scripts by copying the Standard Sap Scripts we can chage and replace with our forms.
Structure of a print program
OPEN_FORM function
CLOSE_FORM function
WRITE_FORM
START_FORM function
END_FORM function
CONTROL_FORM function
The print program is used to print forms. The program retieves the necesary data from datbase tables, defines the order of in which text elements are printed, chooses a form for printing and selects an output device and print options.
Function modules in a printprogram:
When you print a form you must used the staments OPEN_FORM and CLOSE_FORM. To combine forms into a single spool request use START_FORM and END_FORM.
To print textelements in a form use WRITE_FORM. The order in which the textelements are printed, is determined by the order of the WRITE_FORM statements. Note: for printing lines in the body, you can also use the WRITE_FORM_LINES function module.
To transfer control command to a form use CONTROL_FORM.
Structure of a print program
Read data
Tables: xxx.
SELECT *
FROM xxx.
Open form printing - Must be called before working with any of the other form function modules.
Must be ended with function module CLOSE FORM
call function 'OPEN_FORM'.....
To begin several indentical forms containing different data within a single spool request, begin each form using START_FORM, and end it using END_FORM
call funtion 'START_FORM'.....
Write text elements to a window of the form
call function 'WRITE_FORM'.....
Ends spool request started with START_FORM
call funtion 'END_FORM'.....
Closes form printing
call function 'CLOSE_FORM'...
OPEN_FORM function
Syntax:
CALL FUNCTION 'OPEN_FORM'
EXPORTING
APPLICATION = 'TX'
ARCHIVE_INDEX =
ARCHIVE_PARAMS =
DEVICE = 'PRINTER'
DIALOG = 'X'
FORM = ' '
LANGUAGE = SY-LANGU
OPTIONS =
MAIL_SENDER =
MAIL_RECIPIENT =
MAIL_APPL_OBJECT =
RAW_DATA_INTERFACE = '*'
IMPORTING
LANGUAGE =
NEW_ARCHIVE_PARAMS =
RESULT =
EXCEPTIONS
CANCELED = 1
DEVICE = 2
FORM = 3
OPTIONS = 4
UNCLOSED = 5
MAIL_OPTIONS = 6
ARCHIVE_ERROR = 7
INVALID_FAX_NUMBER = 8
MORE_PARAMS_NEEDED_IN_BATCH = 9
SPOOL_ERROR = 10
OTHERS = 11
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Some important parameters:
FORM Name of the form
DEVICE PRINTER : Print output using spool
TELEFAX: Fax output
SCREEN: Output to screen
OPTIONS Used to control attrubutes for printing or faxing (Number of copies, immediate output....
The input for the parameter is structure ITCPO.
CLOSE_FORM function
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
RESULT =
RDI_RESULT =
TABLES
OTFDATA =
EXCEPTIONS
UNOPENED = 1
BAD_PAGEFORMAT_FOR_PRINT = 2
SEND_ERROR = 3
SPOOL_ERROR = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Paramerters:
RESULT Returns status information and print/fax parameters after the form has been printed. RESULT is of structure ITCPP.
WRITE_FORM function
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = ' '
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
IMPORTING
PENDING_LINES =
EXCEPTIONS
ELEMENT = 1
FUNCTION = 2
TYPE = 3
UNOPENED = 4
UNSTARTED = 5
WINDOW = 6
BAD_PAGEFORMAT_FOR_PRINT = 7
SPOOL_ERROR = 8
OTHERS = 9
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Some important parameters:
ELEMENT Specifies which textelement is printed
WINDOW Specifies which window is printed
TYPE Specifies the output area of the main window. This can be:
TOP - Used for headers
BODY
BOTTOM - Used for footers
FUNCTION Specifies whether text is to be appended, replaced or added
Example of how to use the WRITE_FORM function module together with a script.
Form layout of the MAIN window
/E INTRODUCTION
Dear Customer
/E ITEM_HEADER
IH Carrier, Departure
/E ITEM_LINE
IL &SBOOK-CARRID&, &SPFLI-DEPTIME&
/E CLOSING_REMARK
The print program
Writing INTRODUCTION
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'INTRODUCTION'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
EXCEPTIONS
OTHERS = 8
Writing ITEM_HEADER
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'ITEM_HEADER'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
EXCEPTIONS
OTHERS = 8
Set ITEM_HEADER into TOP area of main window for subsequent pages
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'ITEM_HEADER'
FUNCTION = 'SET'
TYPE = 'TOP'
WINDOW = 'MAIN'
EXCEPTIONS
OTHERS = 8
Write ITEM_LINE
LOOP AT .....
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'ITEM_LINE'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
EXCEPTIONS
OTHERS = 8.
ENDLOOP.
Delete ITEM_HEADER from TOP area of main window
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'ITEM_HEADER'
FUNCTION = 'DELETE'
TYPE = 'TOP'
WINDOW = 'MAIN'
EXCEPTIONS
OTHERS = 8
Print CLOSING_REMARK
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'CLOSING_REMARK'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
EXCEPTIONS
OTHERS = 8
START_FORM function
CALL FUNCTION 'START_FORM'
EXPORTING
ARCHIVE_INDEX =
FORM = ' '
LANGUAGE = ' '
STARTPAGE = ' '
PROGRAM = ' '
MAIL_APPL_OBJECT =
IMPORTING
LANGUAGE =
EXCEPTIONS
FORM = 1
FORMAT = 2
UNENDED = 3
UNOPENED = 4
UNUSED = 5
SPOOL_ERROR = 6
OTHERS = 7
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
END_FORM function
CALL FUNCTION 'END_FORM'
IMPORTING
RESULT =
EXCEPTIONS
UNOPENED = 1
BAD_PAGEFORMAT_FOR_PRINT = 2
SPOOL_ERROR = 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.
CONTROL_FORM function
The CONTROL_FORM function module alows you to create SapScript control statements from within an APAB program.
Syntax:
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
command =
EXCEPTIONS
UNOPENED = 1
UNSTARTED = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Example:
Protecting the text element ITEM_LINE
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
COMMAND = 'PROTECT'.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
TEXELEMENT = 'ITEM_LINE'.
CALL FUNCTION 'CONTROL_FORM'
EXPORTING
COMMAND = 'ENDPROTECT'.
NACE is the Tcode used to link the Application type, Output Types and its processing Routines like ( Driver programs and attached Script forms or Smartforms).
You should know the Application of a document first Like:
for PO it is EF, for sales Doc's it is V1, for Delivery docs it is V2, for billing Doc's it is V3 etc.
so first select the Application type (ex: EF) for PO and press OUtput types
then a list will come in that you should know the related output type for PO.
in this case it is NEU,
select that and click on the processing Routines button on the left side
it will display the Medium, Driver Program and the Script form or smartform related to that document..
after designing the script and assigning it in NACE
you define the output type in application doc alongwith the partner,medium,language and assign the printer etc
and save
and execute the output from the Transaction code of that application
<b>Reward points for useful Answers</b>
Regards
Anji -
Spotlight lists items and shows preview images. BUT what about showing the path/location address of an item in my computer.
Especially important if I've put the item in the wrong folder and what to locate it without multi-steps. iMac OS X 10.5 was more useful.
Old OSX Spotlight function automatically displayed path/location within the machine: e.g. desktop/folder/sub-folder/item.
Can I make Spotlight show the path?Press option-command and the path is displayed at the bottom of the little preview window. Press command-return and the enclosing folder opens.
-
Is it possible to call a locally installed ibook from a hyperlink? What about to a bookmarked page?
I have 2 questions..
1. Can I send a link via email that when launched will open an ibook that has already been downloaded to the bookshelf?
2. If question 1 is possible, can I take it a step further and call a bookmark, i.e. chapter 3.
Our company has it's own appstore and I want to send out links to sections of the ibooks using bookmarks or at the very least take them to the start of the ibook.
I don't need to give them a link to install the ibook as they already have it installed.
Any help would be much appreciated.
Chris.That would be cool, but it's not possible. The ibook is not accessible by URL in the user's bookshelf.
-
My kids now each have an itouch, should we all have different apple ids even if I am paying for all itunes and app store purchases? what about icloud? I would like to share itunes and app purchases, but not necessarily photos...help please!
The recommended solution for most families is to share the same Apple ID for iTunes and App Store purchases, so you can share your purchases, but us different IDs for iMessage, FaceTime and iCloud. With this arrangement, each person can automatically download purchases made on the shared ID (by turning this feature on in Settings>iTunes & App Stores), while keeping their FaceTime calls, text messages and iCloud data (including photo stream) separated. There is no requirement that the ID you use for purchasing be the same as the ID you use for these other services.
This article: http://www.macstories.net/stories/ios-5-icloud-tips-sharing-an-apple-id-with-you r-family/. -
Lots of info about one user using multiple computers. What about multiple users with separate Apple IDs using same computer? Having problems getting my wifes new iPhone talking to her apple account on the computer we share (2 users)
You need to create a user account for your wife (or yourself depending on who has the current user account). When syncing, each of you should sign in as a separate user, login to iTunes and then sync. I had this problem when my sister got an iPhone. When we did her initial sync, everything on my iPhone showed up on hers. Apple gave me this solution.
-
My wife and I own an iMac (April 2011) and just recently got iPhones. We share one iTunes account (mainly for our uploaded music from CD). Do we each need to have our own iTunes account? What about iCloud? We want to utilize the same Calendar/Contacts
JoeyV325 wrote:
Is there a way to move music/apps from one ID to a new ID?
No.
One of you create a new AppleID and one use the existing AppleID.
But you can still use the items in each iTunes library.
Create separate computer logins for each of you.
This will give you each your own data. Contacts, calendars, photos, etc. (and your own iTunes library). -
Can you put purchased DVD movies that you have on your ipod? what about recorded DVD's that you have? and if you can, how? ex) i bought the DVD Tangeled for my daughter and wanted to put it on the ipod.. also she has a disney DVD movie Brother Bear, which was not bought at a store but it is recorded onto a DVD. can we put that on ipod?
and if so..... how????
Thanks in advance for your help.
NaeNae'"Can you put purchased DVD movies that you have on your ipod? "
No. breaking the encryption in order to copy them illegal.
" what about recorded DVD's that you have? "
Add them to itunes.
http://support.apple.com/kb/HT1473 -
Can i resize Boot Camp Partition,what about a second partitiion?
Ok
i had 40 GB left on my macbook
i boot camped a new Partition at 10 GB and put Windows XP SP2 on it
i got 2 new questions
1.Can i change the 10GB to 20 GB and if so HOW
2.Can i do yet Another Partition so my macbook can have OS10/Xp/Vista in 3 seperate partitions?
what about Linux
is there a way to open Both Partitions at the same time to view OS10 and XP side by side on the same computer ?
thanks in advanceSounds like you didn't plan enough space. Not w/o destroying (backup) your current partitioning to install each natively.
Maybe Parallels would fit your needs.
http://forums.parallels.com
Triple boot
http://macapper.com/forums/showthread.php?t=134 -
WHAT ABOUT FACE TIME? I'D LIKE TO KNOW IF YOU NEED A PHONE NUMBER FOR YOURSELF TO USE IT TO CALL FROM YOUR COMPUTER
Do you have iMessage? I think as long as that person has iMessage you can use Face Time to call each other.
-
I want to use a video projector with powerpoint can I use my mac to drive it- and what about sound?
Hi Scott,
You should be able to. If the projector has a speaker with acceptable sound, that's one option, otherwise powered speakers or a surround system.
What connections does the projector have?
Exactly which MBP do you have? -
What about upgrading apps on your IPhone? I can't do that from where I live w/o connecting directly to my laptop. With Apple's new Itunes page, I don't see how I can navigate successfully now to acheive the same result as before. Hmmm. I would appreciate some quick guidance. Thanks.
With iTunes 11 you can enable the left-hand sidebar that used to show on previous versions of iTunes via option-command-S on a Mac, control-S on a PC. You can then select the Apps part of your iTunes library on that sidebar and on the right-hand side of iTunes click the Check For Updates button at the bottom to see if any of your apps have updates available. Then connect your phone and select it on the sidebar, and on the Apps tab on the right-hand side click the Sync button at the bottom of it to copy the updates over
-
I get kernel paic upon boot. I did that hard drive cleanup and reinstalled Lion. What about memory? Anyone think I need to upgrade my memory? I have 8 G of upgraded RAM. (20 inch iMac core 2 duo)
If you're able to boot, launch the Console application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Console in the page that opens.
Select the most recent panic log under System Diagnostic Reports. Post the contents — the text, please, not a screenshot. For privacy’s sake, I suggest you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header and body of the report, if it’s present (it may not be.) Please don't post "shutdownStall" or "hang" reports.
If you can't boot in the usual way, try a safe boot. The instructions provided by Apple are as follows:
Be sure your Mac is shut down.
Press the power button.
Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
During startup, you’ll see a progress bar, and then the login screen, which appears even if you normally log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
Safe mode is slower than normal, and some things won’t work at all.
Note: If FileVault is enabled under Mac OS X 10.7 or later, you can’t boot in safe mode. -
Hardware diagnostic shows me a problem about charging battery. What about it ?
Hi.
I bought a MacBook Pro retina 13', mid 14. on last december, and after almost a month I did the hardware test of apple as the Technic support says, and this hardware test shows me a problem about charging battery, so, I wanna know what about it, is it normal ? or is it a battery problem or is it a problem about the Current adaptador ? Thank your for your answers.Could be battery, could be adaptor, could be the computer itself. You will have to take it in for testing. Fortunately, you are still under warranty.
Maybe you are looking for
-
Hey everyone, I'm a high school English teacher, and recently my PC at home died after only two years. I'm really wanting to switch over to Apple products, but I'm not sure about the combination of machines to buy and I'm concerned about how easily
-
My microphone on the macbook pro13 always recording the fan sound on bootcamp. So what can i do?
-
SQL Developer Unable to see Chinese characters embedded in Package
Dear sir, Please kindly help. I am running a DB with 'AMERICAN_AMERICA.UTF8'. My local NLS_LANG for the Oracle Home (regedit) are also set as 'AMERICAN_AMERICA.UTF8'. I am not quite sure what to set for the SQL Developer NLS_LAN (E.g. from Menu bar T
-
Annoying error message prevents me from re-opening projects in Premiere CC 2014
This is the error message I get every time I re-open an old project in Adobe Premeire: 'This project contained a sequence that could not be opened. No sequence preview preset file or codec could be associated with this sequence type.' I'm on a Creati
-
Remembering directories when importing photos
When I do "Import Photos", "Copy Photos to a new location and Import", and I click on the "Choose" buttons, I would like the browser that opens to remember the last directory I used, and start browsing from there. Currently it starts from the Desktop