Smart form page protection problem
Hello gurus,
I am having two line types for the header. To make them page protected, i have created a folder and put them into the folder and activated page protection check box.
But the problem it is printing awkwardly, line types are printing in the bottom of the page, whenever page break is happening.
if i remove page protection check box, it is printing nicely.
Kindly let me know how to rectify this.
Regards
Rajesh
Hi again,
Actually, within the Main part of table node, grouping several rows under page-break protected folder works just fine... It is just that when one starts putting the page-break protected folders in Header part the things go awry. I don't believe the fix for that will be easy at all.
But since your HEADER_TABLE1 does not really need a header part to achieve same layout, I'd try as follows:
1) create page-break protected folder under Main part of HEADER_TABLE1; add an empty column of required width for %ROW2 and drag it under folder; create a new row type to hold %TEXT9 (just one column for the whole table width and no borders) and insert it before %ROW2; disable Header and Footer part for the table; re-position the table so its aligned to data table;
2) group the SAFETY_ITEM_ROW1 and MPO_DATA_ROW1 under page-break protected folder...
Then, is there actually a reason the HEADER_TABLE1 is split off in a separate sort event? If it could go into DATA_TABLE1 main part, all elements could be protected together. Even if there is reason, you still should be able to move the contents of HEADER_TABLE1 to DATA_TABLE1, and control their output using flag set via code nodes in DOKNR_TOP event and footer of DATA_TABLE and reset each time header rows have been output.
True, you'd have to add that empty column to the table. But that inconvenience pales in comparison to having to extricate the remaining height of Main window out of Composer innards via implicit enhancement, and the pain of having to calculate output height of dynamic layout elements in form itself and doing explicit page-breaks.
Just make sure to disable all (unnecessary) table headers and footers.
Attached form illustrates protecting the header table and Data table separately, and I've been unable to break the layout no matter what I tried . Or did you try the folders in the Main part and did not succeed?
cheers
Jānis
Message was edited by: Jānis B
Similar Messages
-
Hi,
i have problem with smart form reporting.
page number up 10 is non displayed it is *
before 10 it is ok . 1 of 12
2 of 12
3 of 12
9 of *
is this sap system bug?Page &SFSY-PAGE& / &SFSY-FORMPAGES&
tried to define some data :
data: w_page type numc2.
move SFSY-FORMPAGES to w_page.
Page &SFSY-PAGE& / &w_page&
take a look at this note
sap note: 779492 -
Smartforms - page protection problem
Hi,
I have made an invoice form with smartforms. To protect the positions of page breakes, I have made all position nodes in one folder note and set the page protection flag for that folder. Because in tables the page protection option is not working, I have made it all with paragraphs...
This is my problem now:
If the form has more than one page, I have to show the sum of all positions of the first page on the bottom of the page and one the top of the next page. Therefore I have calculated the sum inside the loop of the positions (at the end of the loop).
This is normaly working... But if I have two pages and only <b>ONE</b> position does not fit on the first page, the calculated sum contains the sum of <b>ALL</b> positions, although the last position is shown on the next page!
Any ideas, how I can only calculate the positions that fit on one page <b>FOR REAL</b>?
Thank You very much!
Cheers ArneHi,
I encountered a similar problem as ur doing.In dat scenario what i did was that I created a <b>Loop</b> instead of a table and secondly based on the page size please create a style with proper an appropriate tab and use this through out while displaying the line items.
Using a tab will ensure equal spacing everywhere and the data will not overflow from any line and where ur writing a variable place an addition (C) at the end of that variables between the &. This also ensures that the data doesnt overflow and confines to the space.
Hope this will help.
Varun -
Deer all.
When I pint smart form in print preview , if it is 2 page, it is printed just one page.
so I have tested to change print machine. but I can see still same result.
what is the solution. If know that, Please answer me.
thank you.
1page.
box lot numer quantiey
AB 123A 123
AB 123A 123
AB 123A 123
AB 123A 123
2page.
box lot numer quantiey
AB 123A 123
AB 123A 123
AB 123A 123
AB 123A 123
total : 1772
total in outer box: 1772Press down arrow in your keyboard and check .
Still if you cannot see check if you are printing your line items table in a main window.
Incase you are printing your table main window you will be surely able to see pages flowing with your data. Increase your main window size and check it.
If still you cannot see the pages then right click on mouse go to create->flow logic->command here check go to next page put second page name there.
Create second page with a main window and window's height must be exactly of your first page main window size.
Try all these options and if still you cannot see pages revert with problem you are facing. -
Smart forms Print preview problem
Hi
Experts,
I am working in CRM2007. I am creating number of different type Smart forms for our client requirement. All Smart Forms working fine in WEB GUI. In Web GUI there have two buttons; one is print buttons and another one is Print Preview buttons. When we press print buttons it is directly go to printer for printing service order or service invoice or sales order or sales invoice whatever user is selected. Means working fine print buttons. And in case when we press print preview button it is open selected forms in PDF format; it is also work fine in our desire. But problem is here PDF format front size; which is very small. And after looking the PDF format if we select for print out of this PDF form; the print out orientation is Landscape and front size is very small. Now my question to all of experts u2026u2026u2026.How I change PDF front size and orientation? u2026u2026u2026u2026u2026u2026any type of BSP Enhancement or functional setting is required? Please Experts help meu2026u2026u2026u2026u2026u2026u2026u2026..
Regards
Tarapada D.please CRM Experts give me some answer!!!!!!!!!!!!!!!
-
Hi experts,
I copied one smart form and did some modifications in that form and this form
included in the same program.The form is syntacically correct and it is activated.
When execute the program the o/p is not displaying.There are no errors in the program or in form.
What is the problem.Hi,
Debug the driver program and put brk point on ssf_function_module _name and give the new smartform name when it comes to this point,so it will take this form and generate the output.
Regards,
Amruta
Edited by: amruta1 on Feb 26, 2010 8:30 AM
Edited by: amruta1 on Feb 26, 2010 8:32 AM -
Smart Form - Paragraph Protection
Hi,
I have a requirement in the SmartForm where the required output is to printed as follows.
itab1-line1
itab1-line1
itab2-line1
itab2-line2
itab2-line3
itab1-line2
itab1-line2
itab2-line4
itab2-line5
itab2-line6
itab1-line3
itab1-line3
itab2-line7
itab2-line8
itab2-line9
My Logic is as follows.
Loop at itab1 to wa_tab1 --> in the form
write the itab1-line1 - Header 1st Line
itab1-line1 - Header 2nd Line
Loop at itab2 to wa_itab2 ---> in the form
write the itab2-line1 - Item 1st Line
itab2-line2 - Item 2nd Line
Can you please suggest me how to protect the Paragraph in this Scenario?
Thanks,
Kannan.Hi,
Try to use page protection in the Folder.
Create a Folder in the Main Area of the table and check the Page Protection Option. Include all your Line types (Row types) in this folder.
It will avoid page break and display the records in a set.
Reward if useful........ -
Smart Form Language Print Problem
Hi ,
i want to ask that in PO smart form if i am taking print preview. then vendor & Shipping Address are not coming in print preview...another fields are coming like tele & Fax No these are store in numeric value but these name1 and street store in taiwan Lang..
then data fetch from ARDC table but ARDC-name1 and ADRC-street store data in taiwan lang..so these two fields data is not displaying in taiwan lang during print preview but some other format is displaying like squrae shape.....
so plz send me solution...ASAP...
Thanks
Amit NigamHi,
Pick up the Address using user log on language instead of adrc-spras Or the language which user wants to display on the form.
Alternatively u can also code the driver program in such a way so that, if the the sy-langu is EN pick the address in EN or pick the address in Taiwan language.
ADRC-Nation is set in such case.
Another solution is the master data for the vendor has to be first maintained in English and then international versions have to be maintained in various languages.
Thanks,
Rashmi -
Hi,
I am having a small problem in smartforms .My form consist of two pages and i created two pages but it is showing only one page i.e, first page only but it is not showing second page y? I maintained page attributes like next page is page 2 and incrementing counter radio button is checked all had been done but it is not showing second page.WHY?
Regards
Pavan Kumarhi Pavan
your second will only be visible if the contents in your first page are exceeding the page,but if you want to see the two pages irrespective of the data in it then you have to create a COMMAND node inside the main window and check the box named <b>Go to new Page</b> and there you will have to specify your second page name.
This way you can see your second page aslo.
reward points if helpful.
Regards
Zarina -
Understanding Margins in Smart Forms/Page Formats
Okay I have completed all my forms by rendering out all the data and now need to adjust the style to my liking. One issue that I am having is understanding the margins of a smartform and how they are defined? From what I have researched, the page formats are defined in T-code SPAD where the width and height of the page is set. However, I don't understand where the margins are determined.
I have placed a window that contains a table at x-position 0 with the width of the window and table the full page width (DINA4 = 210mm). In print preview, the document renders out fine with the table row stretching from end to end, but when I actually print it there is a 7mm left margin and a 10mm right margin, which cuts off the end of my table row.
So my question is, where are these margins set? Or is this because I have not/did not configure my printer settings correctly to communicate with the printer correctly? Once again I would like to reiterate that my print preview works correctly but the print output does not.Okay from what you just said, translated to simple terms is pretty much: You cannot set the margins of the ACTUAL printout.
Here are my current settings:
Page format = LETTER
Left margin of all windows = 0.0
Window width = 21.00cm
device type = LX4039 (Lexmark Optra T616)
On the print preview The tables are left justified with no left margin, and there is a right margin that appears to be 8mm wide. This is great if it actually printed this.
When I actually print it though, I get this output:
Left margin of all windows = 7mm
Right margin of all windows = 5mm
All windows that were on the right side of my document are cut off early and the tables only have a width of about 20.7cm.
I could shrink my tables to make them fit but then they will not look centered, and I am trying to make every aspect of this form as professional as possible since our customers will see them. Can anyone fix or acknowledge that there is no setting I can alter to fix this? -
Hi,
I have a Created smartforms with 10 PURCHASE ORDER and i Want TO PRINT ONLY 5 IN EACH PAGE.. I WANT TO CREATE a page break .
how to do it..? , Give me the Sample Code .
Regards
VelHi,
check this wiki to meet your requirement
[Page Break in smartforms|https://wiki.sdn.sap.com/wiki/x/dAHDB]
in that wiki just change the command window condition with a local variable say
w_count = 5
in the program lines window
increase the counter.
w_count = w_count + 1.
if w_count > 5.
w_count = 1.
endif.
this will definitely solve the poroblem
regards
sarves -
Smart form page format.
Daer All,
A very good morning to all of you......
I want to know that If I have dot matrix printer. Then which page format do i need to select to print data in smartforms. As I need in urgent. Plz give me the answer.
Thanks & regards.....Hi
We use DINA4 page format for most of the times.
check with that format and see.I think page format doesn't have much effect on the printer.
Check the print out on 2 to 3 printers and see.
Reward points if useful
Regards
Anji -
Smart form template size problem!!!
Hi Experts,
Now I met a pronlem about smartforms template. the cell in the template is set to 16CM width(which is enough) and height is only 3.5MM.
and I define the sytle with font is 8pt.
I input the text for the template and all check is fine. but the text cannot display when i test it. even i change the style font to 6pt, 5pt, 4pt, 3pt, 2pt... the text still cannot display.
but when i change the template cell from 3.5MM to 4.5MM, it works fine and displayed the text.
it seems the min hight of temlpate cell should be 4.5MM.
doed anyone knows it? or give me some offical explanations? Thanks!hi,
maybe you can check the lines per inch in the style. Mostly it is set to 6 lpi.
Increase to 8.
Hope it works.
Gr., Frank -
Smart form number display problem
Hi Guys,
I want to display output in following mannner in smartforms.
eg : 10.4
minus sign should be display above the decimal place of number.
Please help!!
Thank you,
Bhaskar.Hi,
Thanks for the reply.
I have tried it and it put the sign infront of the number,however I want sign to be display at the head of the number.
e.q : _
10.31
ok man thanks for this reply!!!!
Thanks & Regards,
Bhaskar. -
How to creat 2nd page in smart forms
hi
in smart forms iam facing problem i'e if i gave 10 material's it was comming fine if i give 30 materials it was going to 2nd page in that again from starting it was comming like Header delivery adress.
what i want is if materials increase than main window should increase size & rest of thing(footer )should comes in 2nd window
regards
A K reddyHi,
For the header details not to print on the second page:
-> Go to Conditions tab of the window in which u r printing Header delivery address and check the condition 'Only on first Page'
This will solve ur problem.
thanks,
Anon
Maybe you are looking for
-
Screen flicker and trackpad issues on macbook pro 8 2
Hi I have a macbook pro (8,2) 15 inch with a high rez anti glare display. The display stared to flicker after living my computer open in arch for about 30 min. I tried rebooting and it even started happening in the boot screen and in mac os x. The
-
What is your order status saying? On the premier site it says my order was placed on the 1th and is processing but on AT&T order site it says that it was ordered on the 18th and is backordered?!
-
Hallo, i have developed a client-server application requesting html information from oracle through servlet technology.Until now i am inserting text in the text area of the html form i use to submit requests.Now i want to change the html form, removi
-
Create /change classification of a batch
HI, I run in some trouble by using the 'BAPI_OBJCL_CREATE'. What I try to do: - I have a material M1 and one batch B1 (as batch of material M1) both are assigned to class "C_A". - I read the classification data of Material and Batch from class C_A an
-
11.0.09 mac crash
I'm using Adobe Acrobat Reader 11.0.09 on Mac 10.7. It crashes too frequently recently. I feel it's related to how many files i open at one time - crashes seem to happen when i have more than 2 files open. any idea how to fix this? thanks!