New Spool Request not generating
Dear All,
I have seen print preview of one PO and taken print which has created a spool request.
Another PO also I have seen the preview and taken print, but it has added to previous spool request as second page.
My problem is I need to generate new spool request for each PO. Where do I need to do setting for this. Pls guide.
Rgds
Srini
Hi Srinivasan,
In the print program, try setting the parameter TDNEWID to 'X'.
Following link can help you ..
Stop the combining of spool request to an existing one
Similar Messages
-
Spooling request not generated
hi gurus
i am facing a problem in po output, for my one document type spool request is not generated but for other document type spool request is generated . But i can do it maunally for same document type please help me in this issue ..
regards
Edited by: usmfarhan on Dec 16, 2008 12:53 PMHi
Tcode MN05 u2013 KEYcombinatin u2013 F8 u2013 communication Select print immediately
Switch for printing immediately. Printing is immediate if this switch is set. Otherwise the output is held in the spool.
Raju -
Spool request not generated in smartforms printing
Hii all,
I have smartform, which was printing properly in QA server and few days back when i tried to get print from Production Server, it is not generating spool request. and in QA also it is not having same as on date.
is there anythng to check from ABAP side or there is a problem of Basis.?
kindly give soln for points .
- Maharshihi Maharshi,
Gimme some what clear picture abt ur problem.
What exactly the problem in QA server.
I mean when it is working properly and when it is not?
and what Function Modules u have used ..?
and i wanna know is there any other print forms are working or not. if the other are working, it is not BASIS problem.
Regards,
Naveen -
Spool request not generated in SP01
Dear Experts,
I try to print the invoice and later check the Spool request in SPO1 i didn't find any spool request generated there
what would be the issues and how i will fix it ??
thanksDear All Friends,
Thanks a lot for your replies.
I found below part which solve my issue.
Goto VF02/03 >> Issue output >> Print options >>>> Tick mark for release after output here remove the tick mark you will see the spool request generated other wise immediately spool request will delete becaues of that tick mark. -
Spool Request Not being Generated.
HI,
when ever a PO is delivered as O/P spool request is not generated.
if we choose LP01 as printer Spool is being generated. if client printer or LOCAL printer is selected spool
is not generated. is there any settings to be done for generating the SPOOL request?
i need to get the O/P as well as i need to view the O/P in Spool also... please help me on this.
Regards,
Dinesh RHi,
go to SPAD-->check the spool setting generally for some outputs the if you check delete spool after output
then the spool will be deleted once the print is taken.
remove the setting ..
or go to t-code SU01 -->Under spool control -->remove the check mark for Delete after Ouput.
Regrds,
Prabhudas -
Always generation of new spool request when using message type WNAK
Hey!
I have one question regarding the printout of message type WNAK.
In SAP standard the print program RWBNASTV and entry routine ENTRY_ABR_NATRAB is used.
Now I want to ensure that at every printout generates a new spool request.
Problem is that when a user prints a purchase order and after that a Sett. Crdt Agrmt (WNAK) the second printout is attached to the previous spool.
How can I ensure that there is always a new spool file generated without copying the print program and the corresponding function modules before OPEN_FORM?
In the print conditions I only know the function "Immediately print" but that is no help if the printout is attached to the purchase order which was printed before.
Is there no flag which escpecially ensures that for this message type should be always be generated a new spool request?!?!
I hope you know something else.
With kind regards.
MarkI alreadey copied the print program and the function modules but I am still looking for another solution because I think that is not the best solution for the problem.
I changed following in include LWNPNFO0 (copied to LYWNPNFO0):
--- Konvertierung der Kommunikationsdaten: --
MOVE-CORRESPONDING pi_nast TO lvs_snast.
MOVE sy-repid TO lvf_program.
CALL FUNCTION 'CONVERT_COMM_TYPE_DATA'
EXPORTING
pi_comm_type = lvs_comm_type
pi_comm_values = lvs_comm_values
pi_screen = pi_screen
pi_newid = 'X'
pi_country = pi_tocountry
pi_repid = lvf_program
pi_snast = lvs_snast
IMPORTING
pe_itcpo = lvs_itcpo
pe_device = lvf_device
pe_mail_recipient = lvs_recipient
pe_mail_sender = lvs_sender
EXCEPTIONS
comm_type_not_supported = 1
recipient_creation_failed = 2
sender_creation_failed = 3
OTHERS = 4.
IF sy-subrc <> 0.
MOVE sy-subrc TO po_retcode.
PERFORM error_message_arrang_append_sy TABLES ptx_error_messages
USING pi_kona
dummy_vake.
ENDIF.
CHECK po_retcode = 0.
*--- Öffnen des Formulars:
CALL FUNCTION 'OPEN_FORM'
EXPORTING
archive_index = toa_dara
archive_params = arc_params
device = lvf_device
dialog = ' '
form = pi_formular
language = pi_nast-spras
OPTIONS = lvs_itcpo
mail_sender = lvs_sender
mail_recipient = lvs_recipient
EXCEPTIONS
canceled = 1
device = 2
form = 3
OPTIONS = 4
unclosed = 5
mail_options = 6
archive_error = 7
OTHERS = 8.
IF sy-subrc NE 0.
Edited by: Mark Müller on Jul 30, 2009 10:36 PM -
New Spool Request for each purchase order
Hi all,
Whenever i create Purchase Order, spool is generated. But when i create one more purcahse Order new spool is not getting generated.
It is goind inside the same pool.
I want the spool number, so i can generate the pdf for the PO form and send it through mail through workflow.
Kindly adivce me how to generate new spool evertime when new PO is created.
Regards,
Rahul.Hi,
Generated Spool request number is in table TSP01.
Retrieve that number and pass to function module CONVERT_ABAPSPOOLJOB_2_PDF to generate PDF.
SO_DOCUMENT_SEND_API1
This function module enables you send a new document including any existing attachments. The document and the attachments are transferred in the same table. They are created when sent and can also be placed in the sender's outbox.
Regards,
Supriya. -
Hi all,
Whenever i create Purchase Order, spool is generated. But when i create one more purcahse Order new spool is not getting generated.
It is goind inside the same pool.
I want the spool number, so i can generate the pdf for the PO form and send it through mail through workflow.
Kindly adivce me how to generate new spool evertime when new PO is created.
Regards,
Rahul.Hi,
Check the TDNEWID parameter while generating the spool.
Check this link : [http://help.sap.com/saphelp_nw04/helpdata/en/84/1f14b517aa11d5b67b006094192fe3/content.htm]
Please post this question in ABAP section.
Cheers,
Raja.D -
How to create new spool request in smartforms??????
hi all,
i have to ctreate a new spool request for a smartform...
The driver program for this smartform is a standard program.
when i run the transaction, the spool for standard sap-script gets created but not for my smartform.
the code is something like this:-
wa_ssfcompop-TDDEST = 'LOCL'.
wa_ssfcompop-TDIMMED = space.
wa_ssfcompop-TDNEWID = 'X'.
wa_ssfcompop-TDFINAL = 'X'.
*wa_ssfcompop-XSF = 'X'.
wa_SSFCTRLOP-no_dialog = 'X'.
CALL FUNCTION v_fm_name
EXPORTING
CONTROL_PARAMETERS = wa_SSFCTRLOP
OUTPUT_OPTIONS = wa_ssfcompop
wa_rldri = xrldri
wa_rldrp = xrldrp
wa_rldru = xrldru
wa_t329p = xt329p
wa_resb = xresb
wa_rldrc = xrldrc
wa_vblkk = xvblkk
wa_vblkp = xvblkp
wa_rldrh = xrldrh
wa_rlvek = xrlvek
wa_reftab = xreftab
wa_lthu = xlthu
v_date = v_date
v_time = v_time
v_label = v_label
v_bzeit = v_bzeit
v_name1 = v_name1
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
it_rldri = xrldri
it_rldrh = xrldrh
it_rldrc = xrldrc
it_vblkk = it_vblkk
it_vblkp = it_vblkp
it_rldrp = it_rldrp
it_rldru = it_rldru
it_t329p = it_t329p
it_resb = it_resb
it_rlvek = it_rlvek
it_reftab = it_reftab
it_lthu = it_lthu
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc NE 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Help would be greatly appreciated and definitely rewardedhi
good
Use the function module 'GET_PRINT_PARAMETERS'.
sample:
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
ARCHIVE_ID = C_CHAR_UNKNOWN
ARCHIVE_INFO = C_CHAR_UNKNOWN
ARCHIVE_MODE = C_CHAR_UNKNOWN
ARCHIVE_TEXT = C_CHAR_UNKNOWN
AR_OBJECT = C_CHAR_UNKNOWN
ARCHIVE_REPORT = C_CHAR_UNKNOWN
AUTHORITY = C_CHAR_UNKNOWN
copies = g_copies
COVER_PAGE = C_CHAR_UNKNOWN
DATA_SET = C_CHAR_UNKNOWN
department = ''
destination = g_destination
expiration = g_days
immediately = ' '
IN_ARCHIVE_PARAMETERS = ' '
IN_PARAMETERS = ' '
layout = 'X_65_200'
line_count = 65
line_size = 200
list_name = g_listname
list_text = g_listtext
MODE = ' '
new_list_id = 'X'
PROTECT_LIST = C_CHAR_UNKNOWN
no_dialog = 'X'
receiver = 'SAP*'
release = ' '
REPORT = C_CHAR_UNKNOWN
sap_cover_page = 'X'
HOST_COVER_PAGE = C_CHAR_UNKNOWN
PRIORITY = C_NUM1_UNKNOWN
SAP_OBJECT = C_CHAR_UNKNOWN
TYPE = C_CHAR_UNKNOWN
USER = SY-UNAME
USE_OLD_LAYOUT = ' '
UC_DISPLAY_MODE = C_CHAR_UNKNOWN
DRAFT = C_CHAR_UNKNOWN
ABAP_LIST = ' '
USE_ARCHIVENAME_DEF = ' '
DEFAULT_SPOOL_SIZE = C_CHAR_UNKNOWN
PO_FAX_STORE = ' '
NO_FRAMES = C_CHAR_UNKNOWN
IMPORTING
OUT_ARCHIVE_PARAMETERS =
out_parameters = g_params
valid = g_valid.
IF g_valid <> space.
NEW-PAGE PRINT ON PARAMETERS g_params NO DIALOG.
IF NOT tb_output3[] IS INITIAL.
LOOP AT tb_output3 INTO wa_output3.
PERFORM write_summary.
ENDLOOP.
ENDIF.
Reward if useful...
thanks
mrutyun^ -
Number of pages in new spool request
Hello.
I use FM RSPO_RETURN_ABAP_SPOOLJOB to extract lines from a given spool. Then I open a new spool with FM RSPO_SR_OPEN. Each line of the table coming out of RSPO_RETURN_ABAP_SPOOLJOB is written to the new spool. Afterwards i close the new spool with FM RSPO_SR_CLOSE.
So far so good. This works fine.
My problem is that when i take a look into transaction SP01 the old spool has a certain number of pages. SP01 maintains that the new spool has 0 pages.
How does that come? How can I solve this?
Thx in advance
MikeThank you all.
My problem was that during the process of data extraction (old spool -> internal table) the NEW-PAGE-tags are deleted or at least they were not transferred into the table. And so the could not have been written into the new spool.
Solution:
Every 65 lines, that are written into the new spool request, I call RSPO_SR_PAGE_BREAK.
Thank you anyway.
MIKE -
Spool no. not generating for the same shipement number
Hi,
I am working on shipment related forms. When i give the print of one shipment no., all the forms are going to one spool number. But my problem is when i take the same shipment number from second time onwards then all the forms are getting appended to the same spool number instead of creating a new spool number.
For example my shipment no.:- 1277489 contains 8 pages, when i take the same shipment no. for second time all the 8 pages getting appended and total 16 pages are going to that same spoll no. For third time 24 pages and 4th time 32 pages and so on... in the same spool request.
I have debugged the driver program, but i din't get any solution for that. So can any one suggest me of how to resolve this issue.
Thanks & Regards,
RamanaHi,
After selecting the print option, the print pop window appears. In that select the option New Spool Request.
Then give the print, it will come on new page.
You can also pass this option in the print program also. Pass TDNEWID = 'X' in parameter OUTPUT_OPTIONS.
Regards,
Vinod -
Background job spool is not generated
Hi Guys,
I am facing the problem with when i execute the program in background,spool is not generated.
if execute it in foreground output is displaying.
Please help me on this issue.
Thanks,
BalaHi soumya,
after call transaction i have used write statement and submit the report in the BDC program.
BDC report is displaying the IM52 update budget orders in the output of the report.
Thanks,
Bala -
Afer background job finished, spool was not generated
hi all
Afer background job finished, spool was not generated but all background jobs is not
soem background jobs was created spool.
even if same user and same backgorund job, sometime generated spool or not.
how can I solve??
thanksHi,
Spool will be generated only spool specification wil be defined for that job.
Select the job go to steps spool specification you can see the device assigned to it.
Regards
Ashok -
Printer spooler is not generated while output command
Dear All,
I am facing problem in where the printer is installed in that system .when the user is giving print the
Printer spooler is not generated while output command successfully coming in sap
Please suggest how to sol
Regard
KumarHello,
Not very strong with Linux, but i think that, maybe you need to set a graphic emulator to compile ?
Francois -
Which one request not generated in configuration
hi
plz tell in configuration which one request not generated and which one will create work bench request.
plz tell me list
thank u
sowmyaHi,
The answer is ambiguous: sometimes it really depends on the specific attributes of SAP objects. Generally, any direct intervention to SAP data tables and programs will create WB change request.
Regards,
Eli
Maybe you are looking for
-
I just did some DV shooting, and the footage came out very underexposed. I know that the scope read from 0-80, and both during recording and playback the shots all looked fine. Is there some exposure-related camera setting that isn't reflected in the
-
Is there a way for me to send a fax without a phone line? I have cable
macbook Mac OS X (10.4.8)
-
Using only 3.8-9 ish GB ram of 8 GB available [GE70 2OE-011NE]
Hello, Recently i have noticed some problems with lag in some games and windows saying that it needs to close applications to free RAM. This has been worrying me for some time since i was wondering what the hell was using so much ram. So i fired up t
-
Mac won't recognize my Sony DRX-830UL-T DVD burner
Hi, I have successfully used this burner in the past, but for some reason now my computer won't recognize the existence of my burner. When I go to Toast and attempt to burn movies, it only recognizes the DVD machine that comes with the computer, whic
-
Data base conversition utility
Hi all, what is the data base conversition utility ? Thanks in advance Sri...