Smartforms - Margin Problem

Hi,
I have a big problem wich I try to solve, an smartforms was created and my requeriment is fixed this is almost finish but there is only one thing that I need so solve: There is a Main window with a table wich contains Header,  Main Area and Footer, my problem is on Main area where there are one row and three cells (Code, Desccription and Value) that left margin is 0,00 cm for Code but when smartforms is printed, the margin printed on the voucher is not correct.
Please I need a big help!!!
Thanks in advance, points regards
Tokio

Hi, thanks to all
I checked all thing you posted but my problem still there, this is an example of the data showed on smartforms
Normal Value must be:
<b>Code      Description     Value</b>
10003     Testing data     35.000,00
Real values printed (Smartforms):
<b>Code   Description     Value</b>
<------10003 Testing data     35.000,00
This space is my problem (<---)
Main window has :
    Left Margin      0,03 CM     Width  12,80 CM
    Upper margin 12,20 CM     Height   0,83 CM
Table (Output options)
    Style SMF_STYLE
Thanks
Tokio<b></b>

Similar Messages

  • HP 2600n's margin problem with driver 2.3

    After installing the new driver v2.3, my printer started to have a margin problem. Even if I setup any margin correctly (on any software...) the page printed has borders cut off and it is shifted on the left (or, left margin is less than the right). Obviously, this problem was found with files that previously were printed correctly.
    Only by reducing by more than one cm margins, the print is not cut, but the page continues to be shifted to the left.
    Any help?
    Thanks.

    Try downloading and re-installing the Snow Leopard drivers and seeing if that fixes anything.

  • Smartform upload problem (within same Version)

    i have download smartforms from 4.7 first and than uploading it in same 4.7 but error occurs as below:
    first:  "A serious error has occurred
    The transaction had to be terminated".
    than second: Internal error (illegal structure of data storage)
    Message no. SMARTFORMS002.
    i can uplodad smartform successfully than and check also successfully,
    but while i do final activation it causes above error.
    what can be problem, is due to smartforms style problem, but i tried removing all style of text elements, thought it creat that errors,
    if any can knhow how to upload smartform successfully and solve above error.
    regards,

    L.S.
    I just encounter a similar error when activating a smartforms. I had made some changes, maybe by copy nodes through memeory into another smartforms and/or deleting one %GRAPHICS1 and making another.... smartforms got confused somehow and gave me an abort error 002.
    I debugged the coding of activating smartforms and found out that ( in my case ) sap coding tries to insert duplicate entries in table stxfobjt.
    Here is the part of coding where you can put your breakpoint and adjust the internal table tobjt if you have the same problem.
    I made the line  insert stxfobjt from table t_objt.  BOLD ( in plain text with * : it s  not a remarked coding line )
    SAPLSTXBX                      / LSTXBXU36
    FUNCTION                       / SSF_SAVE_FORM      
    Speichern der Tabellen
      if i_active = space.                         " gesicherte Fassung
        export t_ntokens t_objt t_ltext t_noltext
               to database stxfconts(xx) id i_formname.
      else.                                        "     aktive Fassung
        delete from stxfobjt where formname = i_formname.
        try.
          insert stxfobjt from table t_objt.
        catch cx_sy_sql_error into l_exception.
          get reference of t_objt[] into l_dref.
          raise exception type cx_ssf_fb
                exporting textid     = cx_ssf_fb=>err_on_insert
                          table_dref = l_dref.
        endtry.
        perform save_ltext using i_formname t_ltext.
        export t_noltext t_ntokens unchecked = i_header-unchecked
               to database stxfcont(xx) id i_formname.
        delete from database stxfconts(xx) id i_formname.
      endif.
    Good luck all with debugging SAP's bugs
    Regards,
    Edwin Glaser
    doubleclickyourprogrammer [at] sap4u.nl

  • Smartform upload problem

    i have download smartforms from 4.7 first and than uploading it in same 4.7 but error occurs as below:
    first:  "A serious error has occurred
    The transaction had to be terminated".
    than second: Internal error (illegal structure of data storage)
    Message no. SMARTFORMS002.
    i can uplodad smartform successfully than and check also successfully,
    but while i do final activation it causes above error.
    what can be problem, is due to smartforms style problem, but i tried removing all style of text elements, thought it creat that errors,
    if any can knhow how to upload smartform successfully and solve above error.
    regards,

    i have tried deleting one by one elements and found that problem in address element,
    i have just delete it and active it that it got activated,
    and again after deletion i have put sam variable in address element for displaying adress dynamicaly and set length and width all same that it fot activated!
    than what the problem at first time activation?
    is there any runtime conflict or what?
    regards,

  • Printing - Terrible Margin Problem

    I have read all of the posts regarding margin problems.
    Ill tried creating the custom 'iCal' size in Safari but nothing works.
    When printing in week view all 4 margins spill over the edge.
    This occurs whether printing to paper or PDF.
    Any fixes to this or is it a bug?
    PowerBook   Mac OS X (10.4.4)  

    Hi,
    While playing with the values of ImageableArea I'm getting changes in printout
    but can't really find the correct combination of values because I'm just guessing
    what the values mean..ImageableArea provides the bounding box of the area in which the printer may print for the page size named mediaOption. There will be one statement for each named page size supported by the device. DefaultImageableArea provides the mediaOption name of the default imageable area. Since there can be only one default page size, this value should be the same as the value of DefaultPageSize, DefaultPageRegion, and DefaultPaperDimension.
    The syntax for defining imageable area is as follows:
    *ImageableArea mediaOption: "llx lly urx ury"
    *DefaultImageableArea: mediaOption | Unknown
    ll stands for lower left corner and ur for upper right corner. The bounding box value of ImageableArea is given as four real numbers, representing the x and y coordinates of the lower left and upper right corners of the region, respectively, in the PostScript language default user space coordinate system. The x and y axes of a given page size correspond to the x and y axes of that page size in the PaperDimension entry.
    Printing on UNIX with Oracle Reports
    http://download.oracle.com/docs/cd/B14099_11/bi.1012/b14048/pbr_uxprt.htm
    Regards,
    Hussein

  • Smartform output problem in dunning

    Hi
    I've done a search for this problem in the forums and found what I thought was the answer but it still doesn't work...
    My dunning FM passes paramter IS_SFPARAM to the smartform (which is a copy of the standard SAP form F150_DUNN_SF). the initialisation in the form then calls FM GET_SF_DUNN_DATA in order to populate all the data from the IS_SFPARAM parameter.
    However, as far as I can see, inside FM GET_SF_DUNN_DATA, a method is called to populate h_mhnk and use that to check that the parameters like gs_sf_mhnk are populated. If they are not, it raises exception no_parameters_found. I thought the FM set those parameters in the first place! How can I set parameters gs_sf_mhnk, gs_sf_fsabe and all the others in there? i am always getting the no_parameters_found exception at the moment!
    Any help appreciated.
    Jon

    use smartform_trace transaction to trace ur smartform for errors.
    also open ur smartform goto environment and get fm name now in the end some number wud be thr like this \...\SF000091 modify it and use it in se38 like this \...\LSF000091F01
    it will open the code insert session break points and now check by running the smartform
    кu03B1ятu03B9к

  • Crystal report - margins problem

    I have a problem with top and bottom margins in my report. In the designer view - File>Page Setup - I have the paper size (A4 210X297 cm). Both the top and bottom margins are set to 2 cm which, If I understand it correctly, printing should start exactly 2 cm from the top and end at 2 cm from the bottom of a page.
    However, no matter what I do, it starts printing 1.5 cm from the top and ends at 3 cm from the bottom of a page.
    I have the 'Dissociate Formatting page size and printer paper size turned off so that should not influence anything and even if it's turned on makes no difference.
    In Designer view when I look at the ruler the Report Header - it is exactly 25.5 cm in length. For some reason unknown to me I can't make it any longer. If I add even 1 or 2 mm to the length, the printing spills over to a new page.
    I'm printer to a HP laser printer - nothing fancy - other programs like Word prints to the same printer with no margin issues whatsoever.
    I will appreciate it so much if someone can point me in the right direction, please.
    Regards
    Danie

    Hi Danie,
    the problem is not inside CR, not your printer, but how SBO print engine handles paper sizeing and margin. (for just one simple thing: set the margin inside SBO, and you'll notice nothing changes).
    This is especially problematic with CR margins.
    On load the print engine gets the paper sizes from windows, and sticks to them. In my experience, it handles the margins as CR:
    fixed 2cm-s of any paper size ( this was my main problem, imagine it: printing on a 4,5*3,5 label, with 2cm margins =S, every other application did it right, from CR it was right, from CR to PDF to print it was right, from SBO PLD it was right, from SBO>CR>PDF>Print it was right, but no matter what i did, the SBO>CR>Print was using wrong margins).
    Try dissociating the papersize in CR and setting custom sizes/margins, sometimes, after many trial and error that works.
    I had made to date ~10 special sized/print scenario solution in CR (along many other standard sized reports), sometimes the above stated can achieved, but mostly i just add a corrected paper size to windows, set it as default and the ~100 trial and error falls back to ~15 rounds..
    I'm sorry to hear your disappointed in CR, sometimes i'm also feel like that, and i completely agree that it is overrated, but i think it is a great solution for things. It's not a miracle tool, but it handles well in most default situation, and you can construct insanely complex reports with relative ease (if you lear how to utilize SQL inside CR along with Crystalsyntax). But i agree, handling papersizes it is.. well.. you know.
    Lets hope will get the neat 2011 version someday to SBO..
    Regards,
    Daniel

  • Smartform Printing Problem in SAP ECC 6.0 with Ehp6

    Hi Sap Expert,
    Our Sap System has been upgraded from ECC 6.0 to ECC 6.6 ( Ehp6). now we are  facing  problem in to print smart forms .
    I have a smart form with one page and three copies are there.
    On first it was written ORIGINAL, on second DUPLICATE and third one is TRIPLICATE.
    When I see the print preview it shows all the three pages ( ORIGINAL,  DUPLICATE and  TRIPLICATE. ). but when i give the command to print.  it will only 3 copies
    ORIGINAL. and when i convert into PDF it shows only one page ORIGINAL.
    I want ORIGINAL,  DUPLICATE and  TRIPLICATE printout in single command.
    Note : Before Up gradation of sap system it worked fine.
    Guide me.........

    Hi Marques,
    Yes, my problem has solved,
    Write the code Driver Program:
    Declare Internal Table as:
    DATA : BEGIN OF ITAB OCCURS 0,
              I TYPE I,
              TEXT TYPE CHAR20,
              END OF ITAB.
    and Append 3 time this Itab with the no of copies of form ( Original, Duplicate and Triplicate ) as
        ITAB-I = 1.
       ITAB-TEXT = 'Original'.
       APPEND ITAB.
       CLEAR ITAB.
    Now,
    LOOP AT ITAB.
    call function module of smartforms as
    CALL FUNCTION fm_name
       EXPORTING
        CONTROL_PARAMETERS         = CO
        OUTPUT_OPTIONS             = OT
    *   USER_SETTINGS              = 'X'
         L_***                      =  L_***
         V_INDX                     = ITAB-I
    * IMPORTING
       TABLES
         IT                         = IT
    and modify the smart form as
    write the code in window
    IF V_INDX = '1'.
    v_text = 'Original'.
    ELSEIF V_INDX = '2'.
    v_text = 'Duplicate'.
    ELSEIF V_INDX = '3'.
    v_text = 'Triplicate'.
    ENDIF.

  • Smartform: Formatting Problem with QUAN-Field

    I want to print a smartform and get exception 1 (formatting error). With function SSF_READ_ERRORS I get an error table. There is on entry: errnumber = 020011, msgid = SSFCOMPOSER, msgty = E, msgno = 601, msgv1 = wa_outtab-menge.
    It seems to be a formatting problem with field WA_OUTTAB-MENGE. But in the structure this field is referenced correctly.
    Does anybody know a solution?

    I solve this kind of problem in my SmartForm.
    Try this:
    Go to "Global Definitions" Node, then "Current/Quant.Fields" tab and set these values:
    Field Name:      WA_OUTTAB-MENGE
    Reference Field: WA_OUTTAB-MEINS
    Data Type:       QUAN
    Best Regards,
    Eduardo Ribeiro.

  • Margins problem when printing to PDF (Pages '09 v4.0.3 build 766)

    Hi,
    I don't know if this is connected to the latest Mac OS X v10.6.4 update, but some of my machines exhibit a very curious behaviour.
    + multiple pages A4 document
    + choose File > Print, click on "Save as PDF", under the PDF button
    ++ set pages 6 & 7 to print
    ++ set 2 pages per spread, so as to have Pages shrink the A4 document to somewhat A5, and have the two pages side-by-side on the same sheet
    ++ save the PDF
    Then, when I open the PDF with Preview, the margins are all wrong (i.e. too big, there's too much white running around).
    And from Preview's inspector, I can tell that the Page Size is set to US Letter, although in Pages both the document size AND the Printing Format are set to A4.
    The most curious part of the story is that my MacPro, my work MacBook Pro 13 and a white MacBook exhibit the problem, whereas my personal iMac 27" DOES NOT.
    And they are all running Mac OS X v10.6.4, with ALL the most recent updates, and the exact same version of Pages!!!
    I suspect that something has been changed in a framework somewhere, but I cannot figure out what it is...
    Any idea is welcome!
    Thanks,
    K2r

    I can do the same in TextEdit (although it's even more painful to control the margins!!).
    My problem is not that Pages won't put pages on one sheet; It's that the generated PDF does not respect the sheet physical size (A4 vs. US Letter), thus adding wider margins all around the document.

  • Smartform style  problem

    Hello friends,
         I am getting problem in smartforms style. i had created my own style for one of my Tax invoice form because i want fonts in smaller and for heading i want to increase font size. But when i am applying my own style to paragraph the changes are not accepted after SAVE & ACTIVATION. If any one know solution for this problem than please give reply as soon as possible.
    Thanx & Regards,
    Rahul Talele

    Hi,
    Once I came across the problem as yours.
    This happens becoz certain properties of the fonts when applied will override other formats.
    For eg. If u have chosen bold character format before, but when u want to change it to normal it will not change at all.
    In that case, I have deleted the text as a whole and applied normal format at first. Then I applied bold character format
    whereever applicable.
    Which style u applied to the header in your form? Is it Paragraph format or Character Format.
    Could u give more clear description?
    Regards
    Vadi

  • BAR CODES in smartforms - conversion problems to PDF

    Hello,
    I have a problem. Have a look at the following points and see what I have done:
    1. I generated several different system bar codes using SM73
    2. I added those system bar codes to a smartformstyle
    3. and built a smartform using smartformstyle of system-bar codes.
    4. then I made some examples of bar codes in the smartform as text.
    5. next I sent this smartform via email as an pdf attachment using smartform mail functionality.
    6. shocking - all bar codes in the pdf-file are not readable. You can see that there is a barcode placed, but all barcodes looks like the same.
    Has somebody got a idea on what is going on here?
    I already had a look at OSS Notes 430887 and 645158.
    Greetings
    daniel

    Hi,
    Please can you have a look at Sap OSS Note 197177.
    Regards,
    Sudheer.

  • WHERE clause in a SMARTFORM loop, problems with parenthesis

    Hi all gurus,
    a simple question: I'm coding a LOOP in the form builder for a smartform ... this simple loop should bind text elements to every position of a purchase order. The WHERE clause should be as follows:
    WHERE GUID = WA_ITEM-GUID
    AND ( TDID EQ 'ZDES' OR TDID EQ 'ZDST' ).
    Anyway, in the Form Builder I didn't find a way to add parenthesis; I workarounded the problem with the following query:
    (conditions in lines are in AND conjunction)
    GUID EQ     WA_ITEM-GUID
    TDID      EQ   'ZDES'
    OR
    GUID EQ     WA_ITEM-GUID                                                                               
    TDID      EQ 'ZDST'.
    It's quite a 'bad' way, but it works. I wonder if there's a way to express "complex" WHERE clauses (with addiction of parenthesis) in Form Builder.
    Thanks in advance

    In this case, your solution is the one that works. However in more complex cases with more variables, this can proove difficult to make or mantain.
    What I usually do is use the first part of the condition in the where and then add a condition to the printing area with the rest of the formula. Just remember to document this so that you'll find it easy and it's way more amintainable.
    In this case the loop would contain WHERE GUID = WA_ITEM-GUID and the inside condition TDID EQ 'ZDES' OR TDID EQ 'ZDST. This creates the and between the two blocks.

  • Smartform : Printing Problem , Urgent Please

    Dear All,
    When I tried to print a smartform, I am Getting message 'Spool Request (number xxxxxx ) is created' .
    but It is not printing.
    I am facing this problem only with this form. I could print other forms / Scripts.
    What might be the error ? Please Let me Know ..
    Thanks & Regards
    Venkat
    Message was edited by: venkat Kumbham
    Message was edited by: venkat Kumbham

    Venkat,
    You can do that in two ways. Once is to set it in the USER DEFAULTS. Go to SU01 and you can see a tab for DEFAULTS.. There will be a check box for PRINT IMMEDIATELY.
    Or you can do that in the SMART Form parameters also. In the OUTPUT_OPTIONS parameters ther is a field TDIMMED. Set that to 'X'. That should print the form immediately.
    Regards,
    Ravi
    Note : Please close the thread, and mark the helpful answers if this solves your problem.

  • Smartform-Funny Problem

    Dear all,
    In an existing smartform I had to make the following changes:-
    1:-Include the Sec Education Cess @ 1 %   and display its value
    2:-For multiple line items the sales tax (@ some %)  value must be addition of both the line items sales tax value.
    3:-Finally in the grand total Sec Education Cess value will have to be included.
    Points 1 and 3 are fine.
    But in point 2,while in debugging altough i can see the addition of both the line items sales tax value (which I have taken in the v_sstax),in the output,i can see only the sales tax value of 1st line item.
    eg:-
    Sales Tax @ 4% for 1st line item is 152.59
    Sales Tax @ 4% for 2nd line item is 174.31.
    Desired output should be 152.59 + 174.31 = 326.9 (which I can see while debugging).This 326.9 is taken into consideration for the grand total and hence grand total is correctly displayed
    But i am getting only 152.59 in the output of salestax
    There is no other code involved in between 152.59 + 174.31 = 326.9 and its printing.
    Where might be the problem?Plz give me some suggestions.
    I have been at it since yesterday but have not yet found out a solution

    Hi,
       Have you written the sales tax text in loop. check it once if yes, then write the text separatly.
    Rgds,
    Bujji

Maybe you are looking for

  • Downloaded items not showing up in Purchased List

    I have found that often items that appear to have been downloaded do NOT show up in the purchased list. I will stop using this release. it *****. Plus one cannot view downloads, and one cannot easily sleect a song and see genius suggestions as before

  • G DRIVE won't mount! is Yosemite the issue?

    Hi all. So I'm trying to mount my 2TB thunderbolt g drive on my iMac 5k (OS X Yosemite), and it just won't mount. It doesn't even show up in disk utility. I know the drive probably is not the issue, because I tried it out on my macbook pro (OS X Mave

  • Dashboard & Mighty Mouse Scroll Ball

    I love the feature on my Mac that I can press the scroll ball down and my dashboard comes up instantly showing me the weather before I go to work. My mouse got dirty-the scroll ball wouldnt work going up, so I cleaned it. Rubbing alcohol and figure 8

  • Transport user error: invalid object name while starting CMS in CCM

    Hi Experts,         I'm not able to start the CMS in CCM.It was working fine. Suddenly it went down due to some data base access failure. After that Iu2019m not able to start the CMS. Kindly find the event viewer error and information. Error: The roo

  • Update COPA Sales Planning with LIS informations

    Dear all, I´d like to know if it´s possible to update the COPA planning with the information in the LIS tables. My company already introduced the Sales Planning in the LIS system and now it´s required to reply this information in COPA tables. Of cour