Smart form printing same data in all the 10 pages for tcode va03
Hi Experts
with tcode va03 i am taking print preview of sales document when i go for print preview it is showing all the 10 pages
with line items but when i take print for all 10 pages it is displaying first page data in all the 10 pages
i had checked with basis consultant regarding print problem it is fine from their part
what can be the reason
Thanks & Regards
anu
Hi Anu,
Welcome to SDN.
In hope your Sales Document Print Preview is a Smartform. So, in the Smartform first page check for the next page assignement. Also, debug your Smartform for any issues with reference to the looping of data.
Regards,
Pranav.
Similar Messages
-
Firefox Welcome Page
Download Helper Extension Page
Google Shortcuts Extension Page
Download Status Bar Extension Page
This happens each and every time Firefox opens, whether there is a new update or not. I currently have these extensions disabled until I can resolve this issue.Open Firefox preferences/options. On the General tab you can specify what Firefox should do when it starts. I would guess that you have "Show my windows and tabs from last time" selected. Select "Show my home page" and set your home page in the text box.
-
I am trying to print a fillable form - - an application for a Chinese visa. It will not print and I get two error messages: "document could not be printed" and "there were no pages selected to print." The latter is not true. Won't print at all, the page I am on, nor any series of pages inserted.
Am using a MAC desktop and a Cannon PIXMA MX922 printer.
I need to print this form now that it is filled out? What can I do?Hello PW, I am having this problem and all suggestions haven't worked yet. Where is the Preferences|Documents you are referring to? I am on a PC and using Windows.
EDIT: I found it and did, but still not working. -
Date Modified & Date Created- All the same date
I have somehow caused all my "Date Modified and Date Created" to have the same date (Month-Day-Year & Time) for all the folders and every piece of work I have in them. How do I get all my files to read their original date created/ modified and saved back again. It's important for the work I do.
Thank you
Vietvet68I, too, have "date" problems on my MacBook (with operating system Mac OS X). We just got the computer this month and had the Genius Bar download much of our files from our old Dell computer. The problem is that every date is incorrect, from the Created date to the Modified Date. For instance, here are some interesting dates: "Created 2/6/40" or "Modified 1/18/38." Now, the computer SHOULD know that these dates are well into the future. I checked out Preferences, and the date setting is correct. But somehow the Mac system screwed up all the Created and Modified dates on ALL the files it copied from our Dell, and even the current dates (such as the Modified date noted above) have years into the future. If you cannot set the dates correctly in Preferences, where in heck CAN you set them--and why is the Mac making up such odd dates?? Thanks!
-
Smart Form printing witout dialog box
Hi Experts,
I want to print the smart form when i execute the print program witout any dialogbox asking for printer name or other details.
I am using the following code. By using this i am not getting any dialog box, but its not printing anything.
DATA wa_outputoption TYPE ssfcompop.
DATA wa_controlparameters TYPE ssfctrlop.
wa_outputoption-tddest = 'INFO' .
wa_outputoption-tdnoprev = 'x'.
wa_outputoption-tdimmed = 'X' .
wa_controlparameters-no_dialog = 'X' .
wa_controlparameters-no_open = 'X'.
wa_controlparameters-no_close = 'X'.
wa_controlparameters-device = 'PRINTER'.
CALL FUNCTION '/1BCDWB/SF00000116'
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
control_parameters = wa_controlparameters
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
output_options = wa_outputoption
USER_SETTINGS = 'X'
v_whno = 'WN1'
v_sttyp = 'ND1'
v_plant = 'WN01'
v_invrec = '1068'
v_page = '3'
v_invdt = sy-datlo
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
Please suggest a solution.hi pankaj,
it looks fine, u r passing correct parameters only but just try..
just pass these parameters:
DATA: ST_CONTROL_PARAMETERS TYPE SSFCTRLOP
st_control_parameters-device = 'PRINTER'. "Output device
st_control_parameters-no_dialog = 'X'. "SAP Smart Forms: General Indicator
I am using the same, it is working fine,
can u plese tell wht exactly happening.. is the dialogue is displaying or smethig else. r u calling this from only once or many time base on any conditions check once..r u passing right values..
call this FM before calling samrtform because u will face problems in PRD and Quality.. if u r already then ignore this.
c_formname = 'xxxx ut form name'.
v_fm_name is type rs38l_fnam.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = c_formname
IMPORTING
fm_name = v_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
CALL FUNCTION v_fm_name
EXPORTING
* ARCHIVE_INDEX =
* ARCHIVE_INDEX_TAB =
* ARCHIVE_PARAMETERS =
control_parameters = wa_controlparameters
* MAIL_APPL_OBJ =
* MAIL_RECIPIENT =
* MAIL_SENDER =
* output_options = wa_outputoption
* USER_SETTINGS = 'X'
v_whno = 'WN1'
v_sttyp = 'ND1'
v_plant = 'WN01'
v_invrec = '1068'
v_page = '3'
v_invdt = sy-datlo
* IMPORTING
* DOCUMENT_OUTPUT_INFO =
* JOB_OUTPUT_INFO =
* JOB_OUTPUT_OPTIONS =
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5 -
Print same output to all printers
i am using :
import java.awt.*;
import javax.swing.*;
import java.awt.print.*;
import java.awt.image.BufferedImage;
import java.awt.geom.Rectangle2D;
public class PrintUtilities extends Thread{
public static final double MM_TO_PAPER_UNITS = 1/25.4*72;
public static double widthA4 = 210*MM_TO_PAPER_UNITS;
public static double heightA4 = 297*MM_TO_PAPER_UNITS;
public static double leftMargin = 4.0*MM_TO_PAPER_UNITS;
public static double topMargin = 4.0*MM_TO_PAPER_UNITS;
public void run()
//setDaemon(true); // this thread will not keep the app alive
print();
private Component[] componentsToBePrinted;
public static void printComponent(Component c) {
new PrintUtilities(c).print();
public static void printComponents(Component[] c){
new PrintUtilities(c).print();
public PrintUtilities(Component componentToBePrinted) {
this(new Component[]{componentToBePrinted});
public PrintUtilities(Component[] components){
this.componentsToBePrinted = components;
public void print() {
PrinterJob job = PrinterJob.getPrinterJob();
PageFormat pf = job.defaultPage();
pf.setOrientation(PageFormat.PORTRAIT);
Paper paper = pf.getPaper();
paper.setSize(widthA4, heightA4);
paper.setImageableArea(leftMargin,topMargin,widthA4-2*leftMargin,heightA4-2*topMargin);
pf.setPaper(paper);
job.setCopies(1);
// job.setCopies(PrinterJob.getPrinterJob().getCopies());
Book bk = new Book();
for(int i=0;i<componentsToBePrinted.length;i++){
System.out.println("APPENDING THE FOLLOWING DOC NUMBER: "+i);
// disableDoubleBuffering(componentsToBePrinted);
bk.append((Printable)componentsToBePrinted[i],pf);
//enableDoubleBuffering(componentsToBePrinted[i]);
job.setPageable(bk);
//TODO pass an appropriate/specific name for the print job
job.setJobName("Mobile Report Print Forms");
if (job.printDialog()) {
try {
job.print();
} catch (PrinterException e) {
System.out.println(e);
/** The speed and quality of printing suffers dramatically if
* any of the containers have double buffering turned on.
* So this turns if off globally.
* @see enableDoubleBuffering
public static void disableDoubleBuffering(Component c) {
RepaintManager currentManager = RepaintManager.currentManager(c);
currentManager.setDoubleBufferingEnabled(false);
/** Re-enables double buffering globally. */
public static void enableDoubleBuffering(Component c) {
RepaintManager currentManager = RepaintManager.currentManager(c);
currentManager.setDoubleBufferingEnabled(true);
i am getting different output on different printers as well. I have classes defined as Printeable that draw forms, each form has 75 questions and they are all done using graphics2D some printer prints all the pages perfectly some other with different margin and on a laser printer i get only one box.
If it helps someone, for testing, i printed to file (.prn) and read the ouput through Red Titan it's free
it showed me one box out of 76
just the first one ????
possible solution that would help for margin
http://java.sun.com/developer/JDCTechTips/2004/tt0611.html
i used book and send printeable class and appended them into the book class
i am dying to solve this problem and wondering if there is better way for testing and how to make all pages
compatible for all printers. I want my program to send all forms to printer same format same size
is there any suggestion?? what am i doing wrong?
by the way
bk.append((Printable)componentsToBePrinted[i],pf);
componentsToBePrinted[] is an array of classes that implements Printeable and they all draw the forms correctly and sends to the printer. It is working mostly but i needed to work on alll printers no exceptions
I appreciate any help and i will issue all my duke starts im new to posting in the forum but i will give all my points for this tip
PLEASE HELPI want my program to send all forms to printer same format same size is there any suggestion??Produce a PDF... effectively delegating printing there-of to someone else. Problem solvered.
Your PDF options are (AFAIK) FOP or itext.
Cheers. Keith. -
How to convert Smart Form into PDF format and return the result in BAPI?
I want to convert a Smart Form into PDF format and return the result in BAPI.
can anyone tell me how it can be done with related example
regards
pranayhi,
smart form to pdf--
All you have to do is call your SF to get OTF and then concert it to PDF. Works like charm:
DATA: p_output_options TYPE ssfcompop,
p_control_parameters TYPE ssfctrlop.
p_control_parameters-no_dialog = 'X'.
p_control_parameters-getotf = 'X'.
CALL FUNCTION v_func_name "call your smartform
EXPORTING
output_options = p_output_options
control_parameters = p_control_parameters
IMPORTING
job_output_info = s_job_output_info.
call function 'CONVERT_OTF_2_PDF'
tables
otf = s_job_output_info-otfdata
lines = t_pdf
and if u need more u can check below links also
Check the below links..
Re: Smartforms to PDF
Re: smartform (otf) as pdf and sending as email-attachment
VISIT THIS LINK
Re: Smartforms to PDF
PLZ REWARD POINTS IF IT HELPS YOU
rgds
anver -
Regarding Smart Form Printing, Print Preview issues
Hi,
I have couple of issues regarding Smart Form Printing, Print Preview.
In my program i am passing below parameters to smart form function module:
t_control-device = c_printer.
t_control-no_dialog = space.
t_control-preview = space.
t_control-no_dialog = c_x.
t_output-tddest = g_spld.
t_output-tdimmed = c_x. " Print Immediately
t_output-tddelete = space. " Don't Release spool after output
g_user_settings = c_x.
Issue#1: Though i have set preview paramter to space, after executing program it is prompting for Preview Screen, There again i have to give printer name though i am passing printer name as above and i need to hit on print preview button to set Layout output.
Here how can i go directly to layout output without preview screen.
Issue#2: In some cases we need to Print the layout set output after executing program immediately without prompting for preview screen and then Layout set output should also be shown after printing the output.
How can i solve these issues!
Thanks in advance.
Thanks,
Deep.Hi,
In the SAP menu screen goto <b>System->User Profile->Own data</b>
There in the defaults tab, for the output device give the value you had maintained for <b>g_spld.</b> This will not prompt you a dialog screen, and if you want to print immediately select the checkbox as well. Then try to execute the smartform. Hope this solves ur issue.
Tushar -
related to smart form printing :
I have to print the data using template , but i dont want to fix the line in template ,
i want to take the data in template , and how much data is accessed that much space
must be occupied on the page, i dont want to fix the area in template
Hope you have got me.
Edited by: rihano7 mansoori on Jul 13, 2011 2:48 PM
Edited by: rihano7 mansoori on Jul 13, 2011 2:49 PM
Moderator message: please choose more descriptive subject lines for your posts.
Edited by: Thomas Zloch on Jul 13, 2011 3:53 PMHi,
Do you intend to say , that template cell size should vary depending on your data.
I doubt that is possible.
You should look for a workaround.
Why dont you be more specific in your exact requirment, so that an alternate soln can be found. -
Booklet won't let me because of multiple page sizes, even if I am using A4 for all the pages, this is the error message:
"The active document uses multiple page sizes Print Booklet works only with documents that use a consistent page size."
I am using Indesign CS6 (patches are up to date)
thank you
CeciliaDo you already see this when starting the Print Booklet dialog or later when finally putting out? If you can see the dialog windows, will the preview show all pages in same size?
-
All the Pages are Printed - Document Printing Sales Orders
When using the Document Printing option for Sales Orders, if I select multiple documents and select print I get a message after each document that says "All the Pages are Printed", then the next document comes for printing. I also get a prompt each time whether or not to print Sales Order only or Sales Order and Pick List.
I don't have the same issue if printing Invoices from Document Printing. It asks what to print and prints all records without additional prompts between each record. I don't see anything in Print Preferences that would cause the Order to act differently from the Invoice.
We are using B1 9.0 PL 06.
AlanHello there, linafrompereira.
The following portion of the online Pages Help for Mac provides information on grouping items in Pages:
Layer, group, and lock objects - Pages Help for Mac
http://help.apple.com/pages/mac/5.2/#/tan5eab46568
Group and ungroup objects
Shift-click to select multiple objects.
In the Arrange pane of the Format inspector, click Group (or choose Arrange > Group from the Arrange menu at the top of your computer screen).
To ungroup an object, select it, then click Ungroup or choose Arrange > Ungroup.
Tip: You can Control-click objects, then choose Group or Ungroup from the shortcut menu. You can also add these buttons to the toolbar: Group and Ungroup.
Thanks for reaching out to Apple Support Communities.
Cheers,
Pedro. -
How to print all the pages in wad
HI i am having a report with 3000 records when opened in wad, but when we print the Report, it is giving us records(60) on only first page, how do we print all the 3000 records from all the pages by clciking on print only once.
Thank You,
Kris.i am not able to print any pages after inserting the code, am i placing the code in the right place.
<HTML>
<!-- BW data source object tags -->
<object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="SET_DATA_PROVIDER"/>
<param name="NAME" value="DATAPROVIDER_2"/>
<param name="DATA_PROVIDER_ID" value=""/>
DATA_PROVIDER: DATAPROVIDER_2
</object>
<object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="SET_DATA_PROVIDER"/>
<param name="NAME" value="DATAPROVIDER_1"/>
<param name="QUERY" value="ZPARAMTEST"/>
<param name="INFOCUBE" value="ZEMPPRM"/>
DATA_PROVIDER: DATAPROVIDER_1
</object>
<object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="SET_PROPERTIES"/>
<param name="TEMPLATE_ID" value="ZEMPPARM"/>
TEMPLATE PROPERTIES
</object>
<td>
<table class="SAPBEXBtnStdBorder" cellspacing="0" cellpadding="0" border="0"><tr><td nowrap>
<table border="0" cellpadding="0" cellspacing="1"><tr><td nowrap class="SAPBEXBtnStdIe4">
<A class=SAPBEXBtnStd title="Print via Web Button" href="<SAP_BW_URL cmd="PROCESS_HELP_WINDOW" help_service="ZPRINTING" item="GR1Table">" target=_blank><nobr> Print</nobr> </A>
</td></tr></table>
</td></tr></table>
</td>
<td width="100%"> </td>
</tr></table>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft DHTML Editing Control">
<TITLE>BW Web Application</TITLE>
<link href="/sap/bw/Mime/BEx/StyleSheets/BWReports.css" type="text/css" rel="stylesheet"/>
</HEAD>
<BODY>
<P><object>
<param name="OWNER" value="SAP_BW"/>
<param name="CMD" value="GET_ITEM"/>
<param name="NAME" value="EMPLOYEE_TABLE"/>
<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
<param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
<param name="BLOCK_SIZE" value="5"/>
ITEM: EMPLOYEE_TABLE
</object></P>
</BODY>
</HTML> -
Hi, My printing has suddenly changed in adobe to a large scale, as in, what should be one page of print comes out as 24 pages? I havent changed anything, its happening on more than one document also, I have to stop my printer before all the pages spew out. I have tried printing 'one single page' and it does exactly the same? Help?
Is the Poster Print feature turned ON?
-
Dynamically pass the date to all the programs in a chain
Hi,
I have a requirement to pass the date to all the programs in the chain. The first step when the chain starts should be to calculate the next batch date from a oracle table, and then pass that date as an argument to all the programs.
For example,
This should be the sequence of steps once the chain has started.
1. Start Chain
2. Step1 - Calculate the next batch date from the oracle table.
3. Step2 - After the successful completion of Step1, run the program with the input parameter as date which is calculated from Step1.
4. End Chain
Please help.Hi,
The recommended way of doing this is to store tha data to be passed (in this case the date) in a table and have the other steps access it.
If you have many chains, or the same chain used several times, you can use the job name and owner as the primary key for the table. You can then pass the job name and owner into every program as metadata arguments (see define_metadata_argument) so every step knows what job is a part of and can select the data from the table.
Hope this helps,
Ravi. -
Select data from all the table names in the view
Hi,
"I have some tables with names T_SRI_MMYYYY in my database.
I created a view ,Say "Summary_View" for all the table names
with "T_SRI_%".
Now i want to select data from all the tables in the view
Summary_View.
How can i do that ? Please throw some light on the same?
Thanks and Regards
Srinivas CheboluSrinivas,
There are a couple of things that I am unsure of here.
Firstly, does your view definition say something like ...
Select ...
From "T_SRI_%"
If so, it is not valid. Oracle won't allow this.
The second thing is that your naming convention for the
tables suggests to me that each table is the same except
that they store data for different time periods. This would be
a very bad design methodology. You should have a single
table with an extra column to state what period is referred to,
although you can partition it into segments for each period if
appropriate.
Apologies if i am misinterpreting your question, but perhaps
you could post your view definition and table definitions
here.
Maybe you are looking for
-
Hey. I have received an iTunes gift card, so I was all excited, punching the code into the "redeem" option on iTunes on my iPad2; however, I kept on getting the alert, "This is not recognised as a valid code". It is very legible, though. How come?
-
I am creating a coditional query for one of my data blocks. What I need to do is build a where clause on the fly and pass that back to my block using the Set_BLock_Property built in. I am able to do this but I am having problems with the fact that I
-
Security Question - Departed Employees
Hi all, Quick question: Let's say a user is a member of couple of Native Groups in Shared Services. What happens when he leaves the company and his LAN ID is removed from the network? Will he be removed from the native groups automatically? Currently
-
Installing B1DE for SBO 8.8
Hi , Im a begginer with SDK , i downloaded the B1DE version 2.1 for SBO 8.8 an when i try to install it in my Laptop the installer complain about that i need to Install SAP Business One first , exist any way that i can get the assemblies in my Laptop
-
Can DPM share a remote SQL Instance with other System Centre Products?
Firstly, apologies if this has been answered elsewhere but I can't seem to find a definitive line on it. I am about to install and start implementing DPM 2012 R2 and have restricted access to SQL instances and the creation of. Can DPM share a SQL ins