on 04-07-2009 7:09 AM
Dear Friends,
Signature - getting printed on last page without any item
can it be possible to check for the no of lines available on the page. If the no of lines available are not sufficient for signature, then take the last item line to next page.
can this kind of requirement be dont?
if possible please help me..
Hello ,
Please try the following,
1. You must be having a main area within which you created the row type for your line items.
2. In this main area, create a folder.
3. Copy your row type created for items and paste it into this folder.
4. In the folder options , tick Page protection
5. In the Header section of your main window, create a program lines.
describe table i_items[] lines v_lines.
variable v_lines is created in global parameter section of smartform, type sy-tabix.
in the program lines, place v_lines in both input and output parameter
6. Variable v_lines will contain the total number of records (items) in your table.
7. create a new row with no text in the main area and place it before your items row. this should contain no text element and no condition, MUST BE PLACE BEFORE items row
8. In this new row, create a program lines
v_counter = v_counter + 1.
variable v_counter is created in global parameter section of smartform, type sy-tabix, with a default value of 0
in the program lines, place v_counter in both input and output parameter
9. On the row you created for items , in tab conditions, place the following condition
v_counter < v_lines
10. On the condition tab for the folder created, which contains a copy of the items row, place teh following condition
v_counter = v_lines
11. Shift the row containing the signature in the folder.
The page protection will always ensure that the contents of the folder ,last row and the sigmature, are displayed on the same page.
If ever any questions or clarifications, kindly do inform, i hope this will help you.
Kind regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
try this
put ur signature in the footer of table.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Restrict no of line items per page.
Hope it helps!!
Regards,
Pavan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Sumen,
Try to print the signature based on condition i.e in the text node of the signature sin the condition tab check the check box only after end of the main window..this prints at the end of all the items.
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.