Smartforms data not printed

Hi,
      I was creating a smartform and it is printing the layout correctly..
But at the right end corner now i want to display the address from the db table.SAo i captured in the internal table and the values stored properly in inthernal table.
But  the value is not shown in the print preview while we see in the right end of the form..
But wheni type something there manually it is showing properly..
The value properly coming in internal table,but it is not shown in the print preview.Cananybody help me in this issue

Hi,
If the values are getting from the table or dynamic text it wont show on print preview...you have write a program for this and pass all your data to internal table and use that internal table in the smartform.
What ever you type manually that means static text will appear in the print preview.
So try to write a print program and check the output,data will appear in the output.
Thanks,
Sree.

Similar Messages

  • Page data not printed in smartform...

    I have a smartform in which I want to print some data in the last page. So after the NEXT Page, I inserted the following nodes
    1. Page node - LAST. Its next page is also set as LAST. The next page of NEXT page is also set as LAST.
    2. Page window. window type - main window.
    3. Program lines node. Here I fetch data from some tables a create an internal table with 2 columns of data. I am not able to debug this code during runtime and so I cannot confirm
    if data is being fetched here !!! How to do that ??
    4. Loop node - Here I loop thr the internal table populated in the program lines and store in a structure , say ST_TEMP.
    5. Under loop node I have the TEXT node where I display the data as:
       &ST_TEMP-COL1&        &ST_TEMP-COL2&
    Now the issue is data is not printed on this page. What could be wrong ? I tried inserting a hard break point in the program lines but control did not stop there.
    Is there any way I can figure out what can be wrong ?
    thnks

    >
    > Looks like the last page is not called !!! I can see data only on one page and it shows page 1 of 1.
    >
    > "make sure ST_TEMP is filled with data" how do I do this ?? My program line node has the data filled in the internal table it_temp and the loop node has the data transferred to st_temp for every row. How can I debug the program lines code ??
    > > Have a break <username> in the program lines. and check it_temp has data in it.
    > "use a command and call the last page at end of the loop on internal table"...how to do this ?
    > > like program lines there is a "command line" do a little search on SDN for more info on how to use command lines for next page.
    >

  • Find smartform error - not printing from transaction

    Hi
    I have a little problem with a smartform .. that I don't know which is .. this because when I try the print from SMARTFORMS transaction, it works, for some data works correctly and for some other data, the print is not shown. I think there is an error in that case (functional guys told me it's mine problem) but I don't know ho w to get the error message that occurred. can anybody help me please?
    I tried to search the forum before posting, because I think there should be a way for analyzing this kind of error, but probably I used wrong words, because I cannot find anything .. so sorry if the question has already been asked and answered (I hope)
    thanks
    gabriele

    Hi Gabriele,
    It is hard to give an answer which solves your problem.
    In most cases as the smartform sometimes with different forms the cause is that 1 or more fields are overfilled.
    Like a too long variable in a to small field.
    You must try to find out in which part of the smartform the problem occurs. One of the ways to do that is to shriinken the output part by part (with (output-)conditions) until you get a printed output. Then the problem is in the lastpart you have out-conditioned.
    I know it is not an easy job but for error finding iin smartforms is hard.
    success
    Gr., Frank

  • Smartform - text not printed bold

    Hey guys, hope anyone can shed some light on this.
    We have invoices with a smartstyle attached, using font Verdana.
    Some texts are marked as bold in the smartforms.
    Now, my problem:
    When printing from any environment (DEV, PRD) using one of the printers configured in SAP, text marked as bold is not printed in bold.
    When printing the same invoice using LOCL, and sending it to the exact same printer from windows, text marked as bold is printed in bold.
    So I guess it's not the form, it's not the style, it's not even the printer: just the printer settings in SAP.
    In many ways, it  is very similar to the issue addressed in this thread:
    [Printer Setting|Printer Setting] , except that when previewing the text doesn't show as bold.
    My question is two-fold:
    - How likely is it that this issue is related to the printer configuration (and thus, basis config)?
    - If yes to the above, how do I verify this? I need something solid, since the SAP basis guys aren't very cooperative and keep pointing out that it's either the smartform or the smartstyle - without researching themselves
    Thanks in advance.

    Hi,
    I think its the issue of the basis people,they need to make the settings. We had a similar problem here,we had to change the printer settings in SPAD,affter the basis peole had made the settings for us, for taking printout in hindi.
    Thanks.

  • Smartform is not printing in portal

    Hi Experts,
    I have developed one smartform. As soon as user execute one transaction, I am sending the samrtform to default printer without any print preveiw.
    This is working fine in SAP.
    The same transaction we are calling in portal. when user click on execute button in web prortal, document is not sending to printer. i mean no document is printed and SY-SUBRC showing other than zero of the smartform function module.
    Pls help me.
    Anything I need to do in portal...?
    Thanks in advance.
    Raghu

    Firt of all ... it is failing the function module. Because I am getting message as Failed. I check in SAP. It is working fine. I mean .. it is printing in SA. But not printing through portal.
    I have written the code like...
    After calling FM (Smartform FM)...
    IF SY-SUBRC EQ 0.
      MESSAGE XXX 'Success'.
    ELSE.
      MESSAGE XXX 'Failed'.
    ENDIF.
    Pls suggest me... Any OSS note we need to implement?
    Thanks

  • Smartforms lines not printed

    Hi,
        I am using 4.6c.I have designed a smartform using templates.I have choosed the frames patterns in templates.In print preview everthing is perfect,but when i try to print this,Its showing only the texts.The lines were not printed.Its a complex format,So i used templates to do that.
    Actually we dont know whether this an ABAPER problem or basis problem.
    Cany anyone help me with step by step procedure what to do this.Because this is urgent.I have taken a copy in laser printer,Dot Matrix printer too.
    But in no printers the lines are coming

    hai,
         i also faced the same problem.
         i think basic problem..
    anyway i will say how i managed,
    1. just create window (width of the window should be .04)
          in output option of window  -->in preview select the one sided line(right or left).
    2.create a text in that window with simple dot(.) in text editor (window will not appear without any content in it so to provide some text we have provided dot(.) ).
    3. place the window where u want line.
    shan.
    Edited by: shan palani on Sep 30, 2008 2:53 PM

  • Contact sheets-meta data not printing

    On contact sheets the meta data I choose to print (Apsect Ratio, Master Pixel Size, etc etc) only prints the begining of each line, and ends with an"..." For example I get "File Size 9..." or "Pixel Size 2048 x 225..."
    This happens despite the amount of rows, columns and print size of the images.
    I need to see the full data on my proof prints and contact sheets.
    Any ideas why it's not printing complete meta content? 
    Thanks
    bc

    I'm running a test wtih Arial. Pretty simple right? In the OS print preview I can see the full meta data, but when printed it's still cutting off Meta Data...Here's a sample of what I'm getting. I can't figure out Aperture's preference with what it will print and what it will ....

  • SmartForm Text not printing from SAP printer but prints on LOCL

    I have a smartform that looks great on the screen and if i print locally ( default printer). When i print it on an SAP printer the text is not readable. It looks like barcodes or that the text is stretched about 1 inch high. The data that doesnt print is only in the table sections. if i increase the font size to 10.0 it prints but is too large for the form. Any suggestions? I could send a PDF of the document if you wish.
    Dave Baxandall

    Hi,
    What is the printer model and what devce type is defined in the output device for the SAP printer? Perhaps the device type used doesn't support the font size. Check via SE73 -> Printer Fonts -> < Device type>.
    Regards,
    Aidan

  • Smartforms-Text not printing completely

    Hi!
    In my invoice printing one of the item columns which shows the text for the material description is getting trunctaed. Those ar elong texts but when we print it only 70 caharactrs appear and the rest gets cut and dosent show on the form . The text is stored in a variable g_kdmat whose associated type is TDLINE whose lenght is 132 but I dont understnd why only 70 characters appear in my invoice printing. Can anyone help me out with this please. Urgent please.
    Thanks

    My coding for extracting the text is as folows:
    data: l_werks like vbrp-werks,
          l_hlmat type ZHLMAT,
          l_kunnr like vbak-kunnr,
         l_vbeln like vbrp-vbeln,
         l_posnr like vbrp-posnr,
          l_product_key type TDOBNAME,
          lt_lines type table of tline,
          ls_lines  type tline.
    Get kdmat, not exist then get material sales text, not exists then Material
    description
    **get from kdmat
    fill g_hlmat
    if gs_gen_del-uepos = '000000'.   "BOM Main
       g_hlmat = gs_gen_del-material.
       l_hlmat = ' '.
    else.
       l_hlmat = g_hlmat.
    endif.
    get g_kdmat, g_kdmtx
    select single werks  into l_werks from vbrp
         where
         vbeln = gs_vbap-vbeln and
         posnr = gs_vbap-posnr.
    get sold to
    select single kunnr into l_kunnr from vbak where
        vbeln = gs_vbap-vbeln.
    select kdmat kdmtx into (g_kdmat, g_kdmtx) from zcustmat
        where
        parvw = ' ' and
        kunnr = l_kunnr and    "sold to
        matnr = gs_gen_del-material and
        werks = l_werks and
        hlmat = l_hlmat.
    endselect.
    check sy-subrc <> 0.
    get material sales text
    concatenate gs_gen_del-bil_number gs_gen_del-itm_number into l_product_key.
    call function 'READ_TEXT'
        exporting
          name = l_product_key
          object = 'VBBP'
          id = '0001'
          language = sy-langu
         tables
           lines = lt_lines
         exceptions
           not_found = 1
           ohters = 2.
    if sy-subrc = 0.
        read table lt_lines into ls_lines index 1.
           move ls_lines-tdline to g_kdmat.
    Remove sapscript special characters
           replace: '<(>' in g_kdmat with ' ',
                    '<)>' in g_kdmat with ' '.
           exit.
    endif.
    get Material description
    select single arktx into g_kdmat from vbrp where
         vbeln = gs_gen_del-bil_number and
         posnr = gs_gen_del-itm_number.
       vbeln = gs_vbap-vbeln and
       posnr = gs_vbap-posnr.
    if sy-subrc <> 0.
    g_kdmat = 'No Product service !!!!!'.
    endif.
    I fail to understand why the entire text is not coming , when the window size is ok and text has place to flow into subsequent lines. Is it something to do with the associated type in global data or somet8ing else.
    Thanks

  • Data not printing in adobe form

    Hi,
    I have copied standard interface PTRV_EXPENSE_FORM to Z interface and assigned the Z interface in my Z form. I have created an internal table  GT_HISTORY in Global data. I moved the data from existing table to Global internal table GT_HISTORY in initialization event. Input parameter is IT_HISTORY and ouput parameter is GT_HISTORY for Initializtion event.
    Data from GT_HISTORY is not getting printed.
    I kept breakpoint in FM generated by the form. Data is being moved to GT_HISTORY table but still it is not getting printed.
    I would like to know, do we need to assign this Z interface somewhere?
    Thanks in advance.
    Mohammed Ibrahim

    Hi Mohammed,
    as you explained, it seem you have done things rightly. I think you problem is not of configuration but some coding mistake..
    1.Just put break point after the place where you have populated data and check whether internal table has any data or not
    2. If you see data in that place then just check your binding of the table fields in layout design...Path... Palletes->object-> Binding...

  • SAPSCRIPT: Purchase Order Required Delivery Date Not printing

    We have a required delivery date in the PO in the field EEIND. But all of the SAP logic is pointing to doc-xpekko-EINDT. I am only aware of a couple of places the logic can look for EEIND in the PO and the date is there, but again  the SAP logc seems to look at EINDT. Anybody know where else in a PO the SAP logic could be grabbing the Req. Delivery date from?
                       Thank-You

    Hello Tom,
    It should work ,because you said that they are using standard print program.
    just use &PEKPO-EINDT& and see the results.
    Thanks
    Seshu

  • Unable to print chinese characters in Smartforms use Zebra printer

    Hi,all.
    My printer is Zebra ZM400 300dpi,I created a new output device 'TestDevice' and use the Lzeb3 Device type.
    In my smartofrms i used the Zebra command to rotated text.Now the smartforms counld not print chinese characters but '#' instead.(style font 'ANDALE_S')
    Anyone could help me....
    Thanks Advance.
    Andy Lee.

    Hello Andy,
    If you use the device type LZEBU3 with font ANDALE_S, then when you print then the SAP system
    send a print control for activating the ANDALE font installed on the printer, and the text should
    be outputed over this font.
    When you get # during print then this means that the device type or the SAP font don't support
    this character(this was the original problem), when you get a "space" then this means that the
    font which is used by the printer don't support this character.
    I think this can have 2 causes in your case:
    1. The SAP system use the print control SF000 when you use ANDALE_S, which contains
    the print control ^CI17^F8 in HEX form. This should activate the ANDALE font on your printer.
    (You can find this under tr. SE73 -> Printer Fonts -> LZEBU3 -> ANDALE_S)
    You should check wheter this is the correct print control. You should find on the printer an option
    which list you all installed fonts, and also the print control which can be used for activating it.
    Compare this print control from the printer with the above print control from the SAP system.
    If you see a differnce then change the print control in the SAP system.(Before you do that please
    copy the device type LZEBU3 into customer namespace, don't change the original SAP device type)
    2. The font installed on the printer don't support the character which you use. Contact Zebra to confirm this, and ask for a ANDALE font which supports the character.
    Best regards,
    Norbert

  • O/p style  for smartform changes with printer

    Hi,
    I have a smartform for which I see the print o/p in SP01.When I test with the test printer,o/p looks fine.However when I change the printer at runtime(or select some other printer in sel criteria),then when I see the o/p in SP01,the smartform data is printed in BOLD!
    Can ayone suggest what settings need to be done so that smartform o/p is uniform irrespective of the printer selection!
    I havent made any changes to the smartform smartstyle yet the o/ p is different as mentioned above.
    Thanks!
    Subodh.

    Hi,
    You can refer
    SMARTFORM style changes with printer
    Regards,
    Subramanian

  • Header Area of Table is not printing on Next Page in SMARTFORM

    Hi All,
    I am facing one problem while Developing a smartform for Delivery.
    I want the same data to be copied to the Next page which is coming on first page. I copied the Main window to Next page with all the details but the Header of the Table is not printing on the Next(Second) page.
    Please help me out regarding this...
    Thanks in advance for your help....
    Thanks & Regards,
    Digamber

    Hi,
    If you are talking about the table (which you created in the main window) and you want the header of the table to be printed on the next page. Is it because of overflowing that's why its printed to the next page?
    If yes, the header cannot be printout out.
    Just for your information. If you want a window in the first page to be copied to all subsequence pages, set the window type to be copies window.
    Hope it helps.

  • Smartforms main window is not printing

    Hi,
    I would like to ask what to do with this problem.
    The smartform main window is not printing in all the pages.  All the other windows, even the window with the total data is printing.  The only problem is the contents of the main window is not printing.
    Also, the problem only happens when the I've changed printer.
    When I use LOCL as printer, the smartform is OK but when I change the printer, the problem is encountered.
    This also happens when I change environment from development server to production server.  In production server, even the LOCL printer is encountering the problem.
    thanks.

    Hi Mike,
    Have you checked the device type in transaction SPAD? Try to click on Full Admininstration from application toolbar and select device types.
    Hope the above helps.
    Cheers,
    Patrick

Maybe you are looking for