Page number in smartforms
HI guys,
How can I put the page number of smartforms?
Thanks!
Hi
current page / total number of pages
&SFSY-PAGE& / &SFSY-JOBPAGES&
Go through the link given below :
http://help.sap.com/saphelp_nw04/helpdata/en/fa/0c145cd30111d3b568006094192fe3/frameset.htm
With Regards
Nikunj Shah
Similar Messages
-
Reset Page number in Smartforms
Hi,
I have a smartform with a page break when ever the ship to party of the line item changes. In the output I have page counter (e.g. Page 1 of 10). Currently the total number of pages is same as the total number of pages in the spool and is supposed to happen like that. But what I need is, for each ship to party the total number of pages must be calculated separately. For example, for the first ship to party if there are 3 pages, the page counter should be 1 of 1 to 1 of 3, irrespective of the total spool pages. For the next ship to party it should repeat the same.
Can somebody help me on this please?
Thanks
VinodHi ,
Please find the link below
How to set Page Break/ Page Reset in Smartforms using EventsHow to set Page Break/ Page Reset in Smartforms using Events
Hope this would help. -
Displaying Page Number in Smartforms
Hi,
I'm doing a page break in smartforms by date. In my output, the page number displays Page 1 of * (instead of Page 1 of 11) but when it displays 2 digits for the field SFSY-PAGE, it displays the total number of pages. (e.g. Page 10 of 11). I used the system fields (Page sfsy-page of sfsy-formpages). I just want to ask if any of you has an idea or have experienced this kind of error. Your help is highly much appreciated. Thanks!Hi
current page / total number of pages
&SFSY-PAGE& / &SFSY-JOBPAGES&
Go through the link given below :
http://help.sap.com/saphelp_nw04/helpdata/en/fa/0c145cd30111d3b568006094192fe3/frameset.htm
With Regards
Nikunj Shah -
Hi,
My requirment is - suppose i have given 1 to 3 invoice in my selection screen , so in smartform layout, In first page 1-invoice will be print, in second page 2-invoice will be print and the 3 page 3-invoice will be print. so i want the page no for all page should be
1 instead of SFSY-page.If suppose any invoice line item print in next page then page no will be 2,3.etc.
but for every new invoice page number should be 1.
please help me on this.Hi,
I suppose you need to distinguish in some way when new invoice has started. Thus, I would recommend using two extra variables: one to store current page of every invoice, one to store how many pages have already been printed for all previous invoices.
The algorithm will look something like that:
1. if new invoice: all_prev_pages = sysf-page. else: skip step.
2. current_invoice_page = sysf-page - all_prev_pages + 1.
3. print current_invoice_page.
Regards,
MC -
Regarding Page number printing in smartform
Hi All,
I have a requirement wher i should print multiple PO in smartform. It is done..a small issue regarding printing of page numbers. Lets say i am printing three PO
first PO has 20 items
second has 2 items
third has 1 item.
Now the forst Po can have multiple pages it should print as
Page 1
page 2
page 3.
Now after the end of first PO second PO is printed on new page and numbered as Page 1..and so on.
So how can i do this.....
Thanks,
Regards,
Narsimha Kulkarni.Hi,
Create a paragraph format with dynamic page numbers.
Smartstyles>numbering and outline->select numbering type from list dropdown.
use this paragraph format for displaying the page number with any code.
and before processing your logic create a COMMAND in your smartform and in the reset paragraph numbering give your paragraph name so that it refreshes page numbers every new PO's. (you have place this according to your code).
Thanks,
Sree. -
Current line number in smartform
Hi All,
I need to know is there anyway that i can know the current line number in smartforms.
My requirement is:
I have 1 header item and its 3 line items, if there is no space in main area to display all the header and its line items , then it sould be printed in next page,
Eg: PAGE 1
HD Line
A 01
02
03
B 01
02
03 PAGE 2.
if this is the case then whole B 01-03 should be printed in next page.Hi,
Please search SDN for Page Protection in Smartform Table
You will get lot of info.
Regards,
Vishal
Edited by: Vishal Jadhav on Nov 5, 2008 12:36 PM -
New Page COmmand in Smartforms
Hi,
My requirement is as follows,
Whenever the item number changes it has to generate a new page with the header
Whenever an item overflows it should come in a new page without the header details.
So for this I have two pages in my smartform.
Page1 - Header with item details
Page2 - Only item details without the header
I have given Page1's next page as Page2. And I have given a command whenever the item no changes it should go to Page1.
But whats happening now is whenever a new page is generated only Page 2 is coming and not the Page 1.
Any ideas??Hi ,
u want like this right ...
assume that table data
item item desc qty
10 10item descripotion 23
for material
20 20item descripotion 33
for material
O/P Like This u want
*page1
item item desc qty
10 10item descripotion 23
page2 (dont want want headers only remainning data of the line item)
for material
For this simply u can put your header in the main area of the table (leave header as blank)
Let me know if any concerns........
Regards,
Lokesh. -
RDF_1 passes last page number to RDF_2
Hi,
Scenario
=======
User runs Report 1 which is immediately followed by Report 2 (but this appears to the user as only one report).
Requirement
==========
We need to continue page numbering on Report 2 so that it appears to be one Report.
Environment
==========
Forms/Reports 11g/ Fusion Middleware/Weblogic.
Initial Thoughts
=============
Somehow record total number of pages of Report 1 then pass this as a parameter when running Report 2?
Any ideas appreciated.
Thanks!For Smarforms
Use SFSY-FORMPAGES to display the total number of pages in the Smartforms
&SFSY-PAGE& Current page number
&SFSY-FORMPAGE& Total number of pages in the currently formatted layout set
&SFSY-JOBPAGE& Total number of pages in the currently formatted print request
&SFSY-COPYCOUNT& Original-1,1st copy-2
&SFSY-DATE& Date
&SFSY-TIME& Time
&SFSY-USERNAME& Username
I'm using the variable SFSY-FORMPAGES, I get a star "*" instead of the total number of pages.
There may not be enough space in the window to display the variable, either increase the window dimensions or condense the spaces using &SFSY-FORMPAGES(C)&
For Sapscript
SAPscript: Total number of pages
Description
From Release 3.0, SAPscript allows you to output the total number of pages on any output page:
2 new system symbols (note upper case) were therefore introduced:
&SAPSCRIPT-FORMPAGES&
Total page number based on the current output layout set:
&SAPSCRIPT-JOBPAGES&
Total page number based on all output layout sets created with the function modules OPEN_FORM, START_FORM .. ENDFORM, START_FORM .. END_FORM, ..., CLOSE_FORM
Examples:
Page &PAGE& of &SAPSCRIPT-FORMPAGES(C)&
Specifies the current page number and total page number. The additional specification (C) outputs the symbol in a compressed form, that is the leading blanks are omitted in the 4-character output (default).
Number of all output pages: &SAPSCRIPT-JOBPAGES(C)&
Outputs the total number of output pages. Caution: When using this symbol, all output pages must be held in the main storage so that the total page number can be inserted at the end of the output. Larger outputs can affect performance. -
Getting * in place of page number
Hi all,
In my Smartform i am unable to print the total no of pages .
I have written the code as follows.
&SFSY-PAGE& OF &SFSY-FORMPAGES&.
But in the output i am getting like this
Page 1 of * , page 2 of *...... but for last page i am getting correct
format.i.e page 10 of 10.
So, how do i get the page number in place of *.
Thanks in advance
KrupaliBy default Smartforms reserve a length equal to that of &SFSY-PAGE& (so 1 character before page 10.) so you may use a syntax like &SFSY-FORMPAGES(2)&.
If this solution does not agree to you, look at OSS [Note 588352 - '*' when you output the total number of pages|https://service.sap.com/sap/support/notes/588352] to implement a "late" processing of the window containing the total number of pages.
Regards -
Problem with Page number priting
Hi All,
Thanks in advance for all, who are going to help me in this below issue.
I am using the code '&SYSF-PAGE&/&SYSF-FORMPAGES&' in smartforms to print the page number on each page as 1/10..2/10...10/10.
But it was printing 1/...2/ till 9/* and after that it was priting correctly like 10/20..11/20...
Can any one please let me know whats wrong with that, and why it was showing * till 10th page.
Thanks
Jayajaya
try this...
&SFSY-PAGE& of &SFSY-FORMPAGES(3Z)&
or &SFSY-PAGE& / &SFSY-FORMPAGES(3Z)&
~~Guduri -
Remove page number from PALT text
Hi,
I'm using transaction SO10 to create a PALT text (Applicant correspondence) and I would like to remove the page number of the header of the document. Do you have any idea of how to do it?
Thanks,
MFormanGoto SE71-> Utilities-> Copy from client->Give form name-SYSTEM, source client-000, target form ZSYSTEM than the form ZSYSTEM will create.
Again goto SE71 -> ZSYSTEM->change->goto header window, remove the page on the window text element.
Now goto SO10 give the standard text name and change -> goto Format->change form-> Assign ZSYSTEM.
Now your problem will resolve.
Every form related thing you need paragraph format, character format and layout.
For SAP-script there in build paragraph format and character format and for smartforms we need to create styles otherwise default style will assign.
For SAP standard texts you need to create both in different way i.e sap-sctipt style and sap-script form assign both to in SAP standard text
Thanks
Chinni
Edited by: Tirumula Rao Chinni on Mar 9, 2010 9:56 AM -
Hi All,
I have to print like Page 1 of n and so on .
where n is the total no of pages .
How can i do that in smartform.
Regards
Mohithi,
&SFSY-PAGE&
Inserts the number of the current print page into the text. You determine the format of the page number (for example, Arabic, numeric) in the page node.
or
when u double click on the page u will get page counter in that page numbers option will be there if u check those u will get the page numbers. -
Hi,
I want to display the page number in my smartform . How to approach it?
Regards,
Ram.In smartforms u will find FIELD LIST ON/OFF in application tool bar click that u will get FEILD NAME below in that SYSTEM FIELDS -> SFSY ->PAGE or FORMPAGE or JOBPAGE as per ur requirement.
regards,
prabhu
reward if it is helpful -
Hi,
please let me know how can I remove the extra page being printed at the end of the smartform, which I have used on change of some field using an event,.
suppose the data is getting actually printed in 3 pages, it is showing total of 4 page and 4th page is blank in all cases , i just need to remove this extra blank page,
thanks in advance
Rohanhi,
total pages used are 2 , one for main page and then NEXT PAGE
suppose i gave input as EBELN OF 4500000128 to 4500000129
it shows output as
pages 1 of 4 on the intial page.
4500000128 comprises of 2 pages in all it has 20 details
4500000129 comprises of 1 page worth data contains 2 detail
now in all 3 page shows all the data required..
but the 4th page is shown and it displays a blank window [no data] fills the header though of next page but since no data is there, it shows blank main window
the same case is repeated in all the cases, just the page number changes, but in every case extra blank page at end is shown.
i want to remove the last page being shown
i hope you are clear with the output i am getting -
Reseting page number in Word RTF template for BI Publisher PDF generation
Hi!
Apex 4.0.2, Oracle 10.2.0.4, BIP 10.2
Bills are created based on Word RTF file with BI Publisher. Reszulting file is one big PDF file, which has many pages.
Word RTF template is grouped on BILLS.ID field with page break option. So one BILLS.ID may have one or many pages (according data).
How to create RTF template (for PDF BI Publisher generation) with reseting page numbers when grouping value change.
Page numbers are in footer in format
curr_group_page/total_group_pages
where:
curr_group_page is current page number in group (defined with BILLS.ID field),
total_group_pages is total page number of pages in group (defined with BILLS.ID field).
I need to reset numbering whenever BILLS.ID (group) change.
Example:
ID=1 (4 pages)
1/4, 2/4, 3/4, 4/4
ID=2 (1 pages)
1/1
ID=3 (2 pages)
1/2, 2/2
ID=4 (3 pages)
1/3, 2/3, 3/3
etc.
How to achieve that kind of numbering?
Any help appreciated.
Regards,
Damir Vadas
Edited by: Damir Vadas on May 16, 2011 12:49 PMSimple question.. Does your posting deal with an APEX issue or a BI Publisher issue? The posting you have deals with the RTF add-on for Word that builds report layouts for BI Publisher. I suggested in my response that you move it to a more relevant forum..
If you feel that me alerting you to the fact your are VIOLATING forum policy is an issue, please feel free to ask others their view.. (posting to a 3 year old closed thread, creating MULTIPLE threads for a single issue..) You do NOT seem to get the idea that posting this in the Bi Publisher support forum would probably get you a BETTER response than here.. Asking pl/sql questions here will also get people to refer your questions to the PL/Sql Support forum..
Also, here is a POSSIBLE answer from the BI Publisher Forum: http://forums.oracle.com/forums/thread.jspa?threadID=594805
This Is The APEX SUPPORT forum, we deal with SUPPORT questions on APEX (Application Express)..
Thank you,
Tony Miller
Webster, TX
You know, I used to think that it was awful that life was so unfair. Then I thought, wouldn't it be much worse if life were fair, and all the terrible things that happen to us come because we actually deserve them? So, now I take great comfort in the general hostility and unfairness of the universe.
If this question is answered, please mark the thread as closed and assign points where earned..
Maybe you are looking for
-
How can I have 2 address books?
Am new to Mac after microsoft. How can I have 2 address books, can it be done without opening another account? thanks.
-
How to make a java browser to execute java-applets
Hi all! I' ve recently build (according to examples that I came accross) a java browser that successfully loads HTM, HTML and JSP pages, but it doesn 't load any of my java applets. What could be wrong? Does anyone have an idea? Thank you, in advance
-
Error in asset fiscal year change
Hi, Experts, Here i have an issue regarding asset fiscal year close, Here system gone live in nov 2006 after that they are not perform period end and year end activities. right know they came out to do all period end activities and year end activi
-
Synchronisation des Contacts entre PC Windows 8 et iPad
Je dispose depuis peu d'un iPad # DMRJNSCXDFHW. Je rencontre une difficulté pour synchroniser les contact de ma messagerie installée sur un PC sous Windows 8. La messagerie est Windows Life Mail, le fichier Contacts associé est du format WAB, nommé C
-
Export and Upload problems You Tube
Hello, I started using Final Cut Pro X recently and, after finishing some projects I decided to upload one of them on You Tube. The first time go so fine but there were some problems in the finally movie on youtube, like sounds and some white square.