Problem regarding printing in first and last page of a form
I need to print a some text only in the first page and last page. I have defined a window to print this text. The number of pages that will be created is decided on run time. Can some body please help regarding this issue. I have tried to use SFSY-FORMPAGES to calculate total number of pages in the begining but it does not work
Edited by: subhajit bhadra on Feb 20, 2009 7:44 AM
Hi Badhra,
You can use conditions for that window or text element.
in conditions, tick 'only befor main window' forr header
and 'ONly after main window ' for footer.
Sunil
Similar Messages
-
How to print header in first and last page only in SAPSCRIPT
Hi!
How to print header in first and last page only in SAPSCRIPT,
in between pages, I need to print all line items in MAIN window only .
Thanks in anticipation!
Aki.Hi All,
Thanks for your early update...but my requirement here is
I have two pages (FIRST , NEXT ) First is having Header, Main and Footer
NEXT is having Main and Footer ..I am printing PO here..let us think that my PO is having 20lines items , let us assume that it takes five pages...
Now how application is printing is ..first set of data is printing in FIRST page and remainiang data distributed to 4 pages printing in NEXT page ..but what my requirement is , I need fifth page print on FIRST page, instead of NEXT page... Ultimately I need last set of data always print in FIRST ie out of 5 pages 1st print on FIRST 2nd 3rd 4th print on NEXT and 5th print again on FIRST .
hope you this will clear you.
Thanks! -
IDCS3 Print Booklet - Image across first and last page
Does anyone know how I could place an image to be wrapped around the cover of a booklet? No problem on inside pages because they show as two page spreads but the first and last pages don't display as a two page spread.
Place it on the cover and stretch it out across what would be the back
cover if it were there.
Copy to clipboard and scroll to the last page. Edit>copy in place. Crop
to fit on back cover and front cover.
Bob -
Looking to create first and last page for slideshow
Hi,
I want to create a first page that has "Happy 40th Wedding Anniversary to Bill and Judy". I also want to create a trailer page with a message typed from their children. How can I best create these two pages. I will take the photo album, create a slideshow from it and then export it to idvd.
Thanks for help. Are there templates I can use/look at for the imac where I can create these pages?
-RickI will use word processor, print to pdf and then import to iphoto.
-
How to report header and footers on first and last page only
Hi
We are trying to create a report that has a one data header on the first page and another header on subsequent pages then the data body then a footer section on the last page only. If we only have one page of data it works fine but when we move to multiple pages the data body section does not expand to fill the gap and we are left with second header but then a gap before the data.
We have tried to use anchors but are realy stuck. Any help would be greatly appreciated
IanSomething like:
LOOP AT t_output1.
WRITE:/1 vline,
2 t_output1-ktokd,
17 vline,
18 t_output1-kunnr,
29 vline,
30 t_output1-name1,
70 vline,
71 t_output1-katr1,
87 vline,
88 t_output1-land1,
96 vline,
97 t_output1-vkorg,
107 vline,
108 t_output1-kvgr1,
118 vline,
* DV4K934131-Start.
* 119 T_OUTPUT1-TTEXT,
120 t_output1-v_text,
* 150 VLINE.
255 vline.
* DV4K934131-End.
ENDLOOP.
WRITE:/1 sy-uline(255).
TOP-OF-PAGE.
IF p_upda = 'X'.
v_linsz = 255.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 vline,
2 text-h01, "'Sold to/Ship to'
17 vline,
18 text-h02, "'Customer#'
29 vline,
30 text-h03, "'Customer Name'
70 vline,
71 text-h04, "'Customer Status'
87 vline,
88 text-h05, "'Country'
96 vline,
97 text-h06, "'Sales Org.'
107 vline,
108 text-h07, "'EST Status',
118 vline,
119 text-h08, "'Change History',
* 150 VLINE.
255 vline.
FORMAT RESET.
WRITE:/1 sy-uline(255).
ENDIF.
Rob -
First and last pages on the wrong side?
Hi
I've gone on to inDesign CS6 for the first time in a month or so and for some bizarre reason my pages are backwards..
as you can see in the image page '1' is on the right hand side, and should be on the left. anyone got any ideas - sorry if its something simple i'm only a beginner! thanks a lot!
JoeGrab a book and open it. That should verify that what you see is correct.
Bob -
Print a text on last page of smartform rpt
Hi All
I want to print a text on first and last page of report created in smartforms
plz suggest..........Hi,
In a Smart Form, you can use a similar MAIN window approach. For a secondary window, you might wish to use a conditional event such as <b>'Only After End of Main Window'</b>.
Map page FIRST to NEXT and page NEXT to NEXT as you have done; page LAST does not need to be mapped to any other page. Make sure the MAIN window is contained on both page FIRST and page NEXT. Then add a command node within your MAIN window at the very end of this window (outside of any tables or loops). In its general attributes click on the 'Go to new page' and select the LAST page here.
During form output, regardless of whether the MAIN window is completed within page FIRST or NEXT, page LAST will be triggered as your final page.
Note: Any secondary windows on pages FIRST or NEXT with the condition 'only after end of MAIN window' may no longer print, as form output now will advance to the LAST page before this condition is satisfied.
Regards
Sudheer -
IPhoto 11 Book 1st and last page errors
When previewing my completed book, the 1st and last page have white lines going through them.
How can i fix this so I can buy it.
ThanksBoot into Safe Mode and preview the book. If the first and last page photos are OK order the book from the Safe Mode. It's a problem others are having and worked around it with the Safe Mode boot.
Be sure to report it to Apple via http://www.apple.com/feedback/iphoto.html.
OT -
Problems with envelope-printing in Address Book: First and Last names
New entries I make in Address Book are printing incorrectly, with Last name then First name. Most of my older entries print correctly as First name then Last name (though oddly I have a small batch of entries I imported ages ago which have always exhibited the same transposition problem).
I have prefs set to display entries by Last name. Problem entries WILL print correctly if I change this to 'display by First name'. (older entries print correctly regardless of 'display by..' pref).
I'm having the same problem if I create a new account, which made me suspect the app was corrupted, but not helped by deleting app and re-installing from Tiger DVD then running combo updater.Thank you for the suggestion.
However, it doesn't make sense for the LIST display-order to swap the first-and-last names on an ENVELOPE. Secondly, most of my entries DO print correctly: it's only NEW entries that transpose the first and last names. -
Different Footer on First page and last pages
Hi
I am trying to display Continue on first page and middle pages and Total Amount on last page on a multipage PO. I can display different footer page for first page and last page but the middle pages don't have a footer. How to do this if possible. There are so many threads here but not one gives the exact steps.
first page header footer
Add Page Break
2nd page header footer
Add Section Break => Next Page
<?start@last-page-first:body?><?end body?>
last page footer
Please help
ThanksDid you miss this ?
http://winrichman.blogspot.com/search/label/different%20page%20header
http://winrichman.blogspot.com/search/label/element%20in%20header
http://winrichman.blogspot.com/search/label/diff%20header -
Hi,
I am trying to create a document that is similar to a dictionary or an index of information.
I want the first and last word on each page to be displayed automatically at the top corner and bottom corner of each page, to make navigation in the document easier.
Is there a way to do this in InDesign?
(If it is not done automatically, then if there is any shift in the lines, everything will be off, so i would Iike to find a way to do this.)
ThanksThat can be done with text variables (only in CS3 and later, though).
Read http://help.adobe.com/en_US/InDesign/6.0/WS6A9BE096-77B2-4721-9736-797C4912B6C9a.html, the section called "Create variables for running headers and footers". -
How can I display the first and last name using a paramater as employee ID?
Hi SAP,
I have a parameter that is called {? Employee ID}. What I want to do is display the first and last name based on the employee ID value entered in {? Employee ID} in the page header of the report. Right now, when I put the following formula in the page header only some pages get the right result while other pages dont....
if table.employeeid = {? Employee ID} then
table.firstname" "table.lastname
It appears as though if the first record in the details section on the beginning of each page happens to be the employee under {? Employee ID} then it prints it correctly, if it isn't I get a null value in the page header.
Anyone have any ideas?
ZHi Try this,
Whileprintingrecords;
if ={?EmpID} then
Also check the option "Default values for null" in the formula editor.
Regards,
Vinay -
How to print the Terms and Condition page ine the sap-script
Hi experts,
i got the requirement that how to print the Terms and condition page in the script,i have the three pages, having the same main window, in the last of the main window(all three pages) i have called the hard coded text(i.e so10 text), but when i am displaying the output data get printed in the first page but i am getting the second page heading on the top of the terms and condiions page. In all the three pages i have the same main window, if i make change in any window i will affect all the other main windows. so please suggest me how i need to go.HOW TO GET GRID OF THE TEXT ON THE TOP OF THE SECOND PAGE OF THE TERMS AND CONDITONS.
like this i have called in the MAIN WINDOW
/E : LAST ( IN ALL THREE PAGES)
INCLUDE ZSD_INVOICE_TERMS TEXT OBJECT TEXT LANGUAGE EN.
IN THE TCODE SO10
NEW PAGE TERMS.
1) TERM MS AND CONDITONS TEXT.................................................
FIRST->NEXT, NEXT->NEXT,, TERMS--->TERMS.Hi,
1. Create a new page by Name : LAST
2. Identify the text element which will be the last element in the form in the debug mode.
Mostly Ex: SUM, TOTAL, LAST etc.,
3. the page linking should be
First --> Next
Next --> Next
4. In the Text element identified in the step 3.
Write the following code
/: NEW PAGE LAST
/: INCLUDE the standard text created for the terms and conditions in SO10
Check the syntax for the command but the logic will be the same.
It should resolve your problem. -
Message Mapping, First and last values in a CSV file
I'm having problems with a Message Mapping that requires me to take the values from the first line in a CSV and the last line to calculate other values...
The source message type in my mapping is as follow
<MT_Message>
<Header> 1..1
<ID>
<StartDate>
<EndDate>
<Records> 1...unbounded
<Interval>
<Number>
I need to take the first row/occurence of Records and use this to calculate the Startime. I also need to take the last occurence of Records to calculate the stop time
This is my CSV file content
H FORECASTS 20080101 20081231 17568
D 20080101 1 1 66.29283
D 20080101 1 2 61.1344
D 20080101 2 1 61.1344
In this case I need to take the values 1 1 for the StartTime and 2 1 for the StopTime.
How can this be done?Damien,
Do u have problem with mapping or content conversion. According to my understanding the problem is with content coversion. U can't take the first and last values in CSV file. Probably u can import all the values and during mapping u can seggregate the required structure alone.
Best regards,
raj. -
Display either ( first and second page ) or only second page on smart form
Hi All,
There is a requirement in which we get Program name and smart form name from table TNAPR.Now the smart form contains 2 pages.We have to check condition in the program and based on the condition we have to Display either ( first and second page ) or only second page of the smart form.
Can any one please tell how to solve this .
Tahnks in advance.SSFCOMPOP-SPONUMIV-->Number range number
SSFCOMPOP-TDPAGESLCT-->Pages selected for printing
Data: t_out type ssfcompop.
If COndition.
t_out-sponumiv = 'Number Range'. " 1-2 or 2
ESLE.
t_out-sponumiv = 'Number Range'.
ENDIF.
OR:
If COndition.
t_out-TDPAGESLCT = '2'. " Else Bot pages will print
ENDIF.
Pass T_out to the function module.
CALL FUNCTION 'FORM'
EXPORTING
* ARCHIVE_INDEX =
* ARCHIVE_INDEX_TAB =
* ARCHIVE_PARAMETERS =
* CONTROL_PARAMETERS =
* MAIL_APPL_OBJ =
* MAIL_RECIPIENT =
* MAIL_SENDER =
OUTPUT_OPTIONS = t_out
* USER_SETTINGS = 'X'.
Regards,
Gurpreet
Maybe you are looking for
-
After installation getting error(sapdp00: not reached)
Hi everyone, I installed the Netweaver sp12 ABAP trial version on my system. I have windows XP as OS. The installation was error free and I my system is not connected to any network. I created NSP local and configured as in the html file start.html.
-
HT201320 How do I make new folders in mail?
How do I make new folders in mail?
-
I have a gridview with a Usercontrol as its itemtemplate. In the Usercontrol I have a flyout attached to it using which the user can choose to delete the entry. After deletion how do I remove the entry from the gridview without redirecting to the sam
-
Have 'Web Named Colors' as default?
When opening GL CS2 the default color select is 'Recent Colors' when I click on a color well, is it possible to set that default to be 'Web Named Colors' instead? Thanks.
-
I am new to lab view and I am currently working on a project to design a Thermoelectric Refrigerator.I am well aware about the specifications of the project but I would like to design and Simulate the prototype first using Labview.I am not sure of th