Is it possible to print layout/sapscript in background ?
hello
i need to print some form ( layout/sapscript ) in background
is it possible to print it immediately in background ?
i dont want to keep it in the spool .
This is the following code of my.
submit ****
SUBMIT YMM_VERIFICATION_BCK_GRND
VIA JOB JOBNAME NUMBER JOBCOUNT
with SL_BELNR in TB_BELNR
with SL_GJAHR in TB_GJAHR
with SL_BUKRS in TB_BUKRS
TO SAP-SPOOL IMMEDIATELY ' '
DESTINATION 'LOCL'
KEEP IN SPOOL ' '
AND RETURN.
print ************
itcpo-tdimmed = 'X'.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
APPLICATION = 'TX'
ARCHIVE_INDEX =
ARCHIVE_PARAMS =
DEVICE = 'PRINTER'
DIALOG = 'X'
FORM = 'YMM_VERIFICATION'
LANGUAGE = SY-LANGU
OPTIONS = ITCPO
DATA: number TYPE tbtcjob-jobcount,
name TYPE tbtcjob-jobname VALUE 'JOB_TEST',
print_parameters TYPE pri_params.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = name
IMPORTING
jobcount = number
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc = 0.
SUBMIT submitable TO SAP-SPOOL
SPOOL PARAMETERS print_parameters
WITHOUT SPOOL DYNPRO
VIA JOB name NUMBER number
AND RETURN.
IF sy-subrc = 0.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = number
jobname = name
strtimmed = 'X'
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
IF sy-subrc <> 0.
ENDIF.
CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'.
ENDIF.
ENDIF.
Similar Messages
-
Logos not printing in SAPScript in background
Hi all,
Company logo is part of check printing, which is developed using SAPSCript.
The printed checks have the logo, if the job is run from foreground.
But, when check printing is scheduled, it is not getting printed. Ideally, check printing will be a scheduled process only.
Also, this issue happens with certain users only. Can anybody help me in identifying the auth object that relates to logos?
Request the experts to provide input on these.
Regards,
Sridevi
Edited by: Sridevi on Jul 2, 2008 10:39 AMHi,
I ran ST01 and found S_BDS_DS object missing.
Regards,
Sridevi -
SAPScript: Is it possible to print text on an angle?
Hello,
Is it possible to print text from the lower left corner to the upper right corner using SAPScript?
Thx.
Andy JacobsHi Andrews,
it is possible to print by placing each characters in different line.
for example:
A
N
G
L
E
P
R
I
N
T
by using tabs and each character will be placed in an angular fashion using tabs
Cheers
VJ
Message was edited by: Vijayendra Rao -
Hello,
I have a PowerPoint presentation that I would like to disseminate as slides AND as a booklet. I used the Slides Master to format the slides, and I used Notes Master to create the booklet. In PowerPoint, I can, by default, print the slides. I can also print the booklet by changing the layout to Notes Pages, and everything looks great.
Now on to PDF.
I can, by default, create a PDF of the presentation with Print > Print Layout > Full Page Slides (default).
But Acrobat XI Pro ignores my attempt to create a PDF of the Notes Page View (the booklet) with Print > Print Layout >Notes Pages.
Has anyone succeeded in getting a PDF of anything other than the standard PowerPoint slide view?
Thank you for any tricks, tweaks, & wisdom on this!I found an alternative but circuitous way of achieving the desired result. In PowerPoint I opened, then I printed the PPT presentationto a PDF selecting the Notes Page option instead of Full Slide. By then using a PDF converter to convert it back to PPT I was able to insert the PPT as is. In other words it "looks" just like the PPT Notes Page view, which is exactly what I wanted. The code snippet and notes were intact.
-
Query Print Layout / Query Manager
Hopefully some one here can help me out ...
I have created a handful of Query Print Layouts. How or is there a way when I make a change to the underlying query, to reassociate it with the report? Now when I change the query, I have to create a new report. I am currently on SAP B1 2007 PL11. When I upgraded from PL06 to PL11, the queries handle prompted dates differently, causing me to have to make a simple syntax change to my query which does not change the data being passed to the report.
Thanks in advance
DanaDana,
This is the short-coming of the Query PLD. Once you change the Query, you will need to redo the template all over again.
Therefore, it is a good practise to always finalize the query and then design the layout.
Re-assigning the revised query to QPLD is not possible
Suda -
Hi
I am designing Print Layout for Query Based report in that i have a parameter for generating report which is date range parameter
Now When we designed PLD for Query based report we are getting display of parameter as
A/R Invoice Posting Date xx/yy/zz
A/R Invoice Posting Date pp/qq/rr note (this is just ex )
now i am ok with display of A/R Invoice now can we adjust in PLD so that we can Display
A/R Invoice From Posting Date xx/yy/zz
A/R Invoice To Posting Date pp/qq/rr
can we add those fields of from date and too posting dateHi,
It not possible to edit yr parameter, when u r passing a value...
SAP don't support that editable view.
else
create UDT > emp and UDF > dt (date to) give description like "From Posting Date"
just bit code
declare @dt datetime
declare @df datetime
set @dt= (select @emp.U_dt from @emp where U_dt=[%0])
set @df= (select @emp.U_dt from @emp where U_dt=[%1])
pass @dt n @df value in SAP query
That only d way
Thanks
Kevin
Edited by: Kevin Shah on Oct 15, 2009 10:37 AM -
Print Layout Desigener print date
Dear all,
In our Balance Report we want to fill in the Print Layout the Print Date.
is there a possibility for filling this?
The path of balance report is :
Financials__ Financial Reports__ Financial__ Trial Balance
Thank you and best regards to all!!
SerkanHi Nat,
thank you for your fast and helpfull support.
it works
regards
Serkan -
Hi
Please help me to get a way to load the TIN number (already entered in - BusinessPartner master Data Form and saved in -CRD7 database table for customers) into the PLD Report as customers TIN number (means in the Report creation using Print Layout Designer). Here I want to access the CRD7 table in the PrintLayoutDesigner>Properties>Content-->Database.Is this Possible?Dear
The workaround could be that creating UDF and FMS to get
those information , and thus in PLD.
Best Regards,
Xiaodan AN -
Dear All,
In the Print layout of Customer Receivables Aging Report i.e Collection Report (System) of SAP B1 8.8 Version Patch 14, all the field areas are given as free text at the document level. Can anyone please let me know, how is it possible?
Thanks & Regards,
SunithaHai Rahul & Gordon,
Thank you for your Information.
Rahul,
I tried using system variable, but still i couldn't do it.
Actually in the Collection Report (Customer Receiveables - Aging) i would like to add a column of original amount in the document level of PLD, even when i define it as system variable,i am not getting the output.
Thanks & Regards,
Sunitha -
Transaction Journal Report - Print Layout Design
Hi all
Is it possible to add Journal Entry Project Codes to this Transaction Journal Report (Print Layout Design)?
I tried to add Journal Entry Project Codes to this system PLD but the result still not showing any Project Code.
KedaleneHi Kedalene Chong
ou don't need a list of variables to use them. Simply go to View -> System Information so whenever you hover around a field with the cursor, in the left bottom corner of the screen you will see the details of that screen along with the variable number if it is a variable.
So you will see something like:
[Form=139 Item=29 Pane=0 Variable=91]
-> in this case the variable number is 91 - use it in Print Layout Designer.
So you can just use the variable specified in these details. When creating the print layout, just go back to your form, stand on a field with your mouse and you will see what variable to use.
Also Check with the PLD Variables Note No 867048...
Symptom
Using system variables when designing a print template for the General Ledger report.
Please note that variable numbers might change when upgrading to a higher version.
Cause
FAQ
Solution
Field Name
Variable Number
Posting Date
62
Due Date
63
Document Date
112
Series
140
Document Number
141
Transaction Number
65
Journal Voucher
66
Reference 1
67
Reference 2
68
Reference 3
69
Details
70
Transaction Code
71
Project Code
72
Costing Code
73
Offsetting Account
74
Indicator
137
Total (LC)
75
Debit (LC)
96
Credit (LC)
95
Balance (LC)
76
Total (SC)
77
Debit (SC)
98
Credit (SC)
97
Balance (SC)
78
Total (FC)
79
Debit (FC)
100
Credit (FC)
99
Balance (FC)
80
Creator
138
Internal Reconciliation
131
External Reconciliation
132
System variables from the Business Partner Master Data window available for use in the General Ledger report:
Phone
117
Fax
118
Contact Name
119
Address
120
Sales Employee
133
Remarks
134
Full Address
135
Hope Hepful
Regards
Kennedy -
Hi Experts,
I'm using SSF_OPEN and SSF_CLOSE, to print multiple smartforms. In between SSF_OPEN and SSF_CLOSE, there is a loop at a smartform. The output prints each smartform in different pages. Is it possible to print the second smartform in the first page since there is still space for printing there?
Thanks in Advanced,
JackHi Jack,
As per my knowledge,
you can't print two smartform in single page because smart form having own page-size.
If your layout page is A4 size then first layout print in A4 page and next layout will be go-to next print page. but if you have different kind of page size for both layout then you can control from printer side then that case both page will be printed in single print page.
Regards,
Prasenjit -
Add a new table to an existing Print Layout Designer report
Is it possible to add a new table to an existing Print Layout Designer report? For example, in the Production Order there is a Sales Order field (which is displayed on the report), I would like to display some information from UDFs found on the Sales Order, but when I add a Database Field to the report the Sales Order tables does not appear in the list (OWOR).
Hi
It is possible provided there is a relationship which exists between two tables.
You can add a Database field. Goto the Properties and selct Content Tab.
Now in the Table dropdown, hold the Alt Key and click. This displays all the tables in B1. After selecting the Table, you can select the related Column.
Remember there should be a relationship which exists between this column and existing columns.
Because PLD works completely on Joins to my understanding -
Duplicate printing In SAPScript form
In SAPScript form, is it possible to print the same page twice in one go without creating the same window twice?
There is a specific requirement that we need to print the same content twice.
Thanks for your kind help.
AshishIn the OPEN_Form function module you can pass the no. of copies OPTIONS-TDCOPIES.
-
Rounding up values in Print Layout Designer
The customer has a database field in print layout designer and this is bringing back a value such as 0.25. They would like to create another field which shows this value rounded up to the nearest whole number, ie in the case of 0.25 they would like to see 1.
They have created a formulae field and used the round function, however this rounds the value down to the nearest whole number as per the general rounding rule i.e. round it down if it is below .5 and up to the nearest whole number when it is above .5
Is there anyway to achieve this using Print Layout Designer in SAP Business One 2007 A?Hi Samantha,
Apologies for the delay.
Yes, its possible to do this. Firstly, you will need to use the fields from my earlier post. However you will also need to add some more formula fields
The first formula field will work out what the numbers are to the right of the decimal point:
DecimalRight(Field_101)
Field_101 in your case will be the field ID for the quantity field and the field ID for the above formula field will be Field_102.
The second formula field will work out if the quantity is a whole number, here the field id will be Field_103:
Field_102==' '
The third formula field will work out if the quantity is not a whole number, here the field id will be Field_104:
Field_102!=' '
You can now use the Link To functionality to link the original quantity rounded field to Field_103 and you can link the quantity plus 0.5 rounded field to Field_104.
Kind regards,
Adrian -
Print layout design (PLD) - Incoming Payment
Hi All,
Under incoming payment, can i have the details in terms of line by line? Somehow rather, the design that was produced by the 'system', they details of my payment is gather together in one box. How can i have it to be line by line? It looks more nicer to be given to my customer as an official receipt.
Anyone has come across on this?
Need your experts urgently.
Thanks.
HarithHi Harith,
The requirment what you are asking is not possible through PLD but the format what you have asked is possible through Query Print Layout Design.
here you will create the Query which fetchs the required value the design the PLD for that in the Query Print Layout.
As we had faced similar situation we resolved it by using Query Print Layout Designer.
hope this helps you out.
Regards,
Shreyas
Maybe you are looking for
-
Video upside down???
Hi, i recorded some .mov clips using the sims 2, and whenever i go into iMovie to try and edit and create a video, the clips are ok but the preview is upside down, and when i rotate the clips, it mirrors so everything is on the opposite side.. how do
-
Erro ORA-01882: timezone region not found
my oracle jdeveloper version is 11.1.1.5.0 when i am runing AppModule the error message box shown with this text : " timezone region not found" i reinstall the jdeveloper but this error don't solved
-
Why is iMessage not working with iOS 7?
I have reset my network settings, reset all settings, called AT&T and even called Apple but my iMessage STILL says "waiting for activiation" after 2 whole days. Any suggestions on how to fix this problem? Every tried restoring it on my computer...
-
hi for some reason type text are in after effects the text will become pixalted does anyone know how to fix this problem? thanks andy
-
I just purchased CC and downloaded to my Mac Book Pro running Mavericks. The icon at the top of the screen is grayed out and when I roll my cursor over it, I get a spinning wheel. Any thoughts? Restart?