How to bring each lable in each page in smartform output
Hello Experts,
I have a requirement to develope a smartforms based on tcode LM55 ,So think is there after executing that smartform driver program it will generate storage bin number with barcode but my requirement is if multiple storage bin number is there then it should come each storage bin in each page.So any one can help me for this.
Thanks.
Hi Ram,
You can add you coding in command.
Similar Messages
-
How can i move to a new page in smartform?
hi friends
i hav a smartform with two pages.
the fist page contains the Main window and 3 Secondary windows.
in the 1st page i'm displaying some line items and in the main window i gave the command to
go to Page 2.
the 2nd page contains only one Secondary Window.
in that i want to display a table with many line items.
if it contains only 20 line items its works fine; becoz of the window size.
how can i move to a new page if it contains more line items?Hi,
You need to create main Window on second page also.
And in Form Attributes..there is an option for Next page.
So there you mention the next page name.
This will solve the problem.
Thanks.
Swati. -
How to bring up the apex home page. .
hello all,
I have just installed a fresh Oracle 9.2.0.8 home with apache listening on port 9999
and I have also installed apex 3.1 . my servername is abc.software.com ..and when i try to call the link http://abc.software.com:9999/pls/htmldb/htmldb_admin its getting errored out .. how do i proceed .. ? did I missed something .. ?
Please help ...Sai,
you don't have to upgrade your htmldb 1.6 just because you are upgrading your database version.
But in case you want, just install APEX 3.0.1 it will take care that your existing HTMLDB schema which contains your application gets upgraded to the new version. You don't have to do anything special. The installation instructions for Oracle APEX contain the necessary steps what you have to do with the existing images/... on the application server.
Patrick
My APEX Blog: http://inside-apex.blogspot.com
The ApexLib Framework: http://apexlib.sourceforge.net
The APEX Builder Plugin: http://apexplugin.sourceforge.net New -
How to carry forward subtotal to other page in smartforms
Hi all,
My requirement is to calculate the subtotal of a particular page and to print that subtotal
at the end of each page.And this subtotal has to be carry forwarded as the first item of the next page(say page2).
And again at the end of this page(page2) I have to print the subtotal and needs to carry forward this subtotal again on to
the first item of the page3..
My problem is I am doing it in a table.I am calculating the subtotal and displaying the subtotal at the footer of the table..
In the footer again I am redefining table work area values with the text 'Subtotal' and subtotal Amount so that thinking
that it would print as first line item on the next new page....
But the problem is I am getting subtotal as 2'nd line item on each new page instead of first line item of each page.........
Can anyone resolve this issue.........
I dont want this subtotal to be printed on the last page since I am getting Total of all these subtotals.....
Below is my required structure
Page 1.
Desc Amount
x 100
y 200
Subtotal 300
Page2.(Required page2)
Desc Amount
a 100
b 200
Subtotal 600
Page2.(But getting as below,which I dont require )
Desc Amount
a 100
Subtotal 300
b 200
Subtotal 600
Page3.(Required page3)( I dont require Subtotal here on the last page)
Desc Amount
a 100
b 200
Total 900
Any suggestions pls
This is in Smartform
Thanks,
ChinnuHi ,
First define the global variable for subtotal & grand total
In the first page display the table data normally and if you dont want to print the headers of the table check the condition in the header AT START OF TABLE
calculate the grand totals (Ex. g_tot = g_tot + wa_vbap-kwmeng)
Ex. page1 layout (Note : next page as page2)
Header window
main window
final window
In the final window create an alternative node (in flow logic )
for alternative node put the condition as
sfsy-page = sfsy-formpages
if true
print the data as TOTAL &g_tot&
else (False node)
print the data as SUBTOTAL &g_tot&
Out put will be
page1 o/p
sales order material orderqty
1 M10 10
2 M11 20
3 M12 30
sub total 60 (g_tot value )
page2 onwards o/p
4 M13 30
5 M14 20
6 M15 15
Total 125 (g_tot value )
Let me know if any concerns ......... -
How To Delete The Extra Page In Smartform Output
Hi Friends,
I am working wih Smarform..which displays P.O Details (Header and Item ) .
Header Details in Template and Item Details in Table..
I am trying to print 10 P.O ..for every P.O i kept New page command.
So..finally i have to get 10 pages in output...instead i am getting 11 pages...
How to delete the extra page ? Y i am getting this..
please give helpful answers...
Points will be given after get the answer.
Thanks,
LaxmiHi,
as someone else said. put the newpage command at the start.
However with a condition that that it not happens at the first page.
or
Determine how many P.O.
use a counter.
If this counter is equal to number of P.O, then no newpage command.
success.
Gr., Frank -
How to print 2 copy of same page in smartform
Hi,
I have a form having one page which contains Main and few other windows. I have a template in Main window. My requirement is to print two copy of this page whenever print pgm gets executed. I tried by copying FIRST page as DUPLICPAGE and put this as NExt page to FIRST page but it is not working. Can anybody please suggest how to achieve this.
Rgds
SidHi,
One way without Coading...
1. Go to txn. NACE... select your application (for Ex. "EF")... then click on "Condition Records" button
2. Select your Output Types...(ex. NEU)....
3. Go to Change condtion Record Screen. Select ur condtion then click on "communication" button..
4. Under Print Output Check the field "Number of Message" here maintain 2...
Regards
GK -
How to bring Job Posting tab page in Requisition Maintenance?
Hi All,
I want to know how to bring the Job Posting tab page in Requisition Maintenance? As SAP help document says, before creating Job Posting you should create the corresponding requisition. I can able to create the requisition as a requisition manager and i can able to approve the particular requisition as a Recruiter.
The next process is Job Posting. As with the expert forums, i checked with the sequence table and role assignments. Everything is fine but still i couldn't able to see the Job Posting tab page. So please help me to sort out this problem. Am facing it for the past one week.
Thanks in advance,
Magesh S.Hi Christine,
As you said i check with the "Modify Container Sequences" and i found that there is no entry for any container sequence. But i check with the table T77RCF_CS_SEQ, whereas i can able to see the entries for Job Posting assignment to all the relevant elements.
And one more thing is none of the table entries(container sequence) are having context. Whether i have to give all the entries in the IMG "Modify Container Sequences" so as to assign the context value to all the container sequence. If so can u let me know what entry i have to give in the context field?
Thanks,
Magesh S. -
Bring the bottom of the page to margin
How to bring the bottom of the page to margin(double headed arrow)?
after creating the layout in the report bulider and click the print previw button in the form. i get the preview in internet explorer,then click the page preview i get the output screenshot i mentioned below. even i have adjust the height of the page still i getting the same no increase of height. i cant bring down the bottom to that margin.
below link show screenshot of the page
http://imageshack.us/photo/my-images/864/newbitmapimagewgj.png/
i set page height as *11*.
how to do this pls help.
skud.Go to the margins and drill it down.
-
How to print multiple footers for each page in RTF template xml report.
Hi,
How to print multiple footers for each page in RTF template xml report.
i am able to print ( two sets ) ...
up to last page ( one template ) and for last page ( another template).
i want to change the footer information based on the group value printed in the report ( it might be 5 to 6) In every report run.. can you please check and let me know do we have any feasibility to achieve this.
Thanks in advance.
Regards,
KAP.You can remove all other logic, like last page only contents (start@last-page:body), etc and section breaks if any you have inserted manually.
Just have for-each@section logic.
It would be difficult for me to guess what you have done without looking at your RTF or describing here. -
How do I format a document in Pages 5.2 so that each sentence automatically starts with capital letter?
If you installed the Devon Technologies (Freeware) WordService Service package, there is an item that will enable you to fix selected content to show initial capitals in sentences. You may need to enable this feature in the System Preferences > Keyboard > Shortcuts > Services selections. This only works in Pages v5.2 (and maybe later releases).
-
How do we print multiple components each in a different page?
hello
I would like to print multiple JPanels (lets say an array) each in a different page.
The question I ask is about the following code
printerJob.setPrintable(printTable.getInstance(), pageFormat);
try
if (printerJob.printDialog())
printerJob.print();
}Lets say that we have the following code. How do we modify it?
* This example is from the book "Java Foundation Classes in a Nutshell".
* Written by David Flanagan. Copyright (c) 1999 by O'Reilly & Associates.
* You may distribute this source code for non-commercial purposes only.
* You may study, modify, and use this example for any purpose, as long as
* this notice is retained. Note that this example is provided "as is",
* WITHOUT WARRANTY of any kind either expressed or implied.
import java.awt.*;
import java.awt.print.*;
import java.io.*;
import java.util.Vector;
public class PageableText implements Pageable, Printable {
// Constants for font name, size, style and line spacing
public static String FONTFAMILY = "Monospaced";
public static int FONTSIZE = 10;
public static int FONTSTYLE = Font.PLAIN;
public static float LINESPACEFACTOR = 1.1f;
PageFormat format; // The page size, margins, and orientation
Vector lines; // The text to be printed, broken into lines
Font font; // The font to print with
int linespacing; // How much space between lines
int linesPerPage; // How many lines fit on a page
int numPages; // How many pages required to print all lines
int baseline = -1; // The baseline position of the font.
/** Create a PageableText object for a string of text */
public PageableText(String text, PageFormat format) throws IOException {
this(new StringReader(text), format);
/** Create a PageableText object for a file of text */
public PageableText(File file, PageFormat format) throws IOException {
this(new FileReader(file), format);
/** Create a PageableText object for a stream of text */
public PageableText(Reader stream, PageFormat format) throws IOException {
this.format = format;
// First, read all the text, breaking it into lines.
// This code ignores tabs, and does not wrap long lines.
BufferedReader in = new BufferedReader(stream);
lines = new Vector();
String line;
while((line = in.readLine()) != null)
lines.addElement(line);
// Create the font we will use, and compute spacing between lines
font = new Font(FONTFAMILY, FONTSTYLE, FONTSIZE);
linespacing = (int) (FONTSIZE * LINESPACEFACTOR);
// Figure out how many lines per page, and how many pages
linesPerPage = (int)Math.floor(format.getImageableHeight()/linespacing);
numPages = (lines.size()-1)/linesPerPage + 1;
// These are the methods of the Pageable interface.
// Note that the getPrintable() method returns this object, which means
// that this class must also implement the Printable interface.
public int getNumberOfPages() { return numPages; }
public PageFormat getPageFormat(int pagenum) { return format; }
public Printable getPrintable(int pagenum) { return this; }
* This is the print() method of the Printable interface.
* It does most of the printing work.
public int print(Graphics g, PageFormat format, int pagenum) {
// Tell the PrinterJob if the page number is not a legal one.
if ((pagenum < 0) | (pagenum >= numPages))
return NO_SUCH_PAGE;
// First time we're called, figure out the baseline for our font.
// We couldn't do this earlier because we needed a Graphics object
if (baseline == -1) {
FontMetrics fm = g.getFontMetrics(font);
baseline = fm.getAscent();
// Clear the background to white. This shouldn't be necessary, but is
// required on some systems to workaround an implementation bug
g.setColor(Color.white);
g.fillRect((int)format.getImageableX(), (int)format.getImageableY(),
(int)format.getImageableWidth(),
(int)format.getImageableHeight());
// Set the font and the color we will be drawing with.
// Note that you cannot assume that black is the default color!
g.setFont(font);
g.setColor(Color.black);
// Figure out which lines of text we will print on this page
int startLine = pagenum * linesPerPage;
int endLine = startLine + linesPerPage - 1;
if (endLine >= lines.size())
endLine = lines.size()-1;
// Compute the position on the page of the first line.
int x0 = (int) format.getImageableX();
int y0 = (int) format.getImageableY() + baseline;
// Loop through the lines, drawing them all to the page.
for(int i=startLine; i <= endLine; i++) {
// Get the line
String line = (String)lines.elementAt(i);
// Draw the line.
// We use the integer version of drawString(), not the Java 2D
// version that uses floating-point coordinates. A bug in early
// Java2 implementations prevents the Java 2D version from working.
if (line.length() > 0)
g.drawString(line, x0, y0);
// Move down the page for the next line.
y0 += linespacing;
// Tell the PrinterJob that we successfully printed the page.
return PAGE_EXISTS;
* This is a test program that demonstrates the use of PageableText
public static void main(String[] args) throws IOException, PrinterException {
// Get the PrinterJob object that coordinates everything
PrinterJob job = PrinterJob.getPrinterJob();
// Get the default page format, then ask the user to customize it.
PageFormat format = job.pageDialog(job.defaultPage());
// Create PageableText object, and tell the PrinterJob about it
job.setPageable(new PageableText(new File("file.txt"), format));
// Ask the user to select a printer, etc., and if not canceled, print!
if (job.printDialog())
job.print();
}thank you in advance -
How to display each record on a new page on Smartforms layout
Hi,
I need to know how "each time a new record is displayed..it should be displayed on a new page in Smartforms". How much ever I try using the COMMAND inside the LOOP, it is always printing the records in the loop continiously in a single page with the remaining records moving to the next page only once the first page is full. But what i need is to print first record in the first page, second record in the second page...
Please let me know the exact steps how to use the COMMAND or any other options to acheive this.
Thanks!
Edited by: sap123 on Nov 2, 2008 11:55 AMhi,
create a command just before the main windows display and in its general attributes check the check box go to new page and in its conditions tab..set Falg = X.
now inbetween the loop of ut table or templet, crete program lines and write the code as below.
data : lv_lines type i.
describe table i_vbak lines lv_lines.
clear flag.
if sy-tabix LT lv_lines.
flag = 'X'.
endif.
remember that these program lines must be after command...
Try this, -
How to make each bookmark start with page 1 of total in bookmark when merging word files in X
Trying to combine word files so that each bookmark starts with page 1 of <total in bookmark>. I keep getting total pages of entire pdf created. Using word 2010 and acrobat x. Could do this in acrobat 8 by making a book. Is a simple thing but what is required of the legal documents we produce. Cannot find the "Book" command in acrobat x.
As I said in your other thread, themes (AKA lightweight themes, personas) only change the background of toolbars. You need a complete theme if you want to change the background of menus, or the appearance of buttons.
* [https://addons.mozilla.org/firefox/addon/ft-deepdark/ FT DeepDark]
* [https://addons.mozilla.org/firefox/addon/blackfox-v1/ BlackFox]
* [https://addons.mozilla.org/firefox/complete-themes/?sort=updated All recently updated complete themes]
As for alternatives to Noia 4, Noia Fox and Nuvola FF are available, but neither is a dark theme.
* [https://addons.mozilla.org/firefox/addon/noia-fox/ Noia Fox]
* [https://addons.mozilla.org/firefox/addon/nuvola-ff/ Nuvola FF]
Original answer:
* https://support.mozilla.org/questions/1002369#answer-579608 -
How to insert more items for each tab in WAD 7.0
Hello to everyone,
My problem is confined to the WAD 7.0
I would like to insert 4 different queries into a new Web Template.
Two of them have to stay in one page and the others in one page each; therefore, the result would be a Web Template with three tabs.
Unfortunately the system creates automatically four different tabs with one query each.
Anybody knows how to insert more items in one page/tab?
Thank you very much
Savino PompaHi Savino
In the WAD bring up the properites of the tabstrip_container web item, under the Internal Display group in the Tab Panel List, create 3 tabs, then drag 3 contatiner_layout web items into the tab web item.
In each conatiner item drag the analysis web item, 2 in the first container, then 1 each for the others, then point each analysis web item at a dataprovider(query).
Setup the contatiners so that the analysis items displays, to do this in the container properties create a row then on the following screen a column and then set the Subordinate web item to the analysis item, these web items control layout and are useful for dealing with multiple web items, for the first tab with 2 queries you will need to play with the layout, either 1 row 2 column or 2 row 1 column.
For each tab you created add the corresponding contatiner as the Subordinate Web Item in the Tab Panel parameters for each tab.
Hope this helps
Josh -
How i can give date in each input for applying the exchange rate in Query.
Hi Gurus,
We have a requirement to create some currency conversion queries. In the selection screen user should be able to give four inputs. Like given below
Input 1. a) key figures
b) Fiscal Year
c) Fiscal Period
d) Exchange Rate Type
e) Date (Exchange rate will be applied which is applicable on the given date)
Input 2. a) key figures
b) Fiscal Year
c) Fiscal Period
d) Exchange Rate Type
e) Date (Exchange rate will be applied which is applicable on the given date)
Input 3. a) key figures
b) Fiscal Year
c) Fiscal Period
d) Exchange Rate Type
e) Date (Exchange rate will be applied which is applicable on the given date)
Input 4. a) key figures
b) Fiscal Year
c) Fiscal Period
d) Exchange Rate Type
e) Date (Exchange rate will be applied which is applicable on the given date)
So we will have 4 key figures in the query results with the exchange rate applied on the given date.
I will make four restricted key figures and make the query. I do not know how i can give date in each input for applying the exchange rate.
Please give your suggestions to resolve my problem.
Many thaks in advance.You can not bring the key figures in the selection screen for the currency translation. Instead you can apply a currency translation type to respective key figures in the query definition.
The currency translation type can be defined in RSCUR transaction, where you can maintain the parameters like Exchange Rate Type, Exchange Rate Date etc.
You can refer one of my article on this at
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/600157ec-44e5-2b10-abb0-dc9d06ba6c2f
Hope this helps.
Regards,
Yogesh
Maybe you are looking for
-
Print multiple pdf from web site
Hello everyone!!, I need print multiple pdf from web site (web page) to the local printer o client printer. I have investigated : cfexecuted, java code, javascript, but i can't do it. The idea is don´t open printer dialog box for to print. Thanks.
-
HP Officejet Pro 8000 Wireless Printer - A809n.says it's out of ink but has new cartridge
about 6 monhs ago the printer stopped printing stating it was a out of ink (black) after i replaced the cartridge it stopped again after about 10 days. i contacted HP and they basically told me to get a new printer. i decided to try a new cartridge a
-
How to get the changed lines in POWL
Hi Experts, I need your help on POWL. In the project I have set some fields as input field and they are editable. But I cannot get the lines which i have changed, and the method handl_action wasn't triggered after i pressing 'Enter' key. How can I so
-
Crazy I know, but what is the best way to PREVENT a report portlet from running ?
I know this sounds a very weird question. On a page I have a html form (that I use as search criteria for my report) as well as an actual report published as a portlet. On certain situations, such as when going to the page initially, I require that t
-
I had a meeting request set up in ical.IE the request was emailed to me from another party and I accepted it. I have cancelled the request as it was an ongoing event.IE I can no longer see the event in my ical but it is still reminding me of the eve