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

Similar Messages

  • 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.

  • 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

  • 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 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.

  • 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

  • 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

  • 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

  • Purchase Order Changes not printing in Smartform

    Hi friends,
    first time whenever i create PO smartform printing after if i change quantity and save smartform is not prinitng with the lastest changes?
    please help me

    thanks for your reply
    first time when i create PO smartform is printted and also i ma bale to see in messages tab with green color entry..
    after PO changing in ME22n there is no scond entry in messages tab and not printted.
    i have maintained condition record, and i am able to create printout when i create a new PO.
    but chnages its not happening please help.

  • 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

  • Smartform Printing - TableLine Border not printing

    Dear All,
               I tried smartform for PO printing. Once I completed all the code and configured for my dot matrix printer ie., Epson 9 Pin,
    When I take printout, the tableline borders are not printed. I tried with framed pattern also.
    Kindly provide a solution for this issue.
    Note: When I used PDF printer for PDF conversion, everything was fine with PDF format.
    Regards,
    S.Sridhar

    Hi,
         while printing with dot matrix the lines of template and tables ,some times will not printed because the dot matrix printer will   not capture the lines with low width so you just increase width of line to 20 TW and then there will be pattren in tables tab select upper frame and lower frame for line which is not printing . this will solve your issue
    Best Wishes
       Pavan

  • Firefox does not print the target frame in PeopleSoft Enterprise or Campus Soultions Portals

    When using PeopleSoft Enterprise Portal or Campus Solutions Portal Firefox does not print the target frame. PeopleSoft utilizes iframes and has indicated this is the technology path they will follow. On each page is a header, footer, and left menu. Content is displayed in the target after it is selected from the left menu. This issue prevents users from using the standard print preview or print functionality.

    We need the standard print and print preview functionality that all of our end users are already familiar with to work. We have a large end user group that is frustrated this functionality is available in IE and Chrome, but not Firefox.

  • Smartforms table border lines not printing (URGENT)

    HI,
    I am trying to print samrtform table border lines on Epson dot matrix printer, in print preview it showing table borders as thick black lines, while printing it not printing lines. It is printing data correctly. Can any one suggest the soution, it is very urgent.
    Regards,
    MAHESH
    Edited by: MAHESH FADNAVIS on Apr 7, 2008 11:53 AM

    Can you try to print in a different printer, if the error persists then the problem is in the smartform, otherwise raise a note to SAP regarding this. I think that there is problem is with the page format in which u are taking the printout.
    OR
    Can you check if you have selected the framed border in the table border select pattern.
    Hope That Helps
    Anirban M.

  • Not printing the Second Page in SMARTFORM

    Hi,
    I am working on Purchasing Smartform... I have created a layout with 2 Pages.. In 1st page I have the Data and in 2nd PAge i am having Terms & Conditions.. But in the output 2ndpage is not printing.. Please help me regarding this issue...
    Thanks in Advance
    Muralikrishna

    >
    muralipsharma wrote:
    > Hi Arul,
    >
    > I did what ever you said in previous message, but still i am not printing the Page2... you said that go to COMMAND node, for which window I have to create COMMAND node.. I have created a COMMAND node for MAIN window in FIRST page.. but still its not displaying...
    > Actually in my First page I am having the data and in second page I am having Terms and Conditions in MAIN window..
    > Thanks in Advance,
    >
    > Regards,
    > Muralikrishna
    >
    > Edited by: muralipsharma on Jul 30, 2010 3:05 PM
    is the first page completely filled with data or do you always want to print the second page no matter if there is an overflow or not ?
    so you have defined a new page like 'NEXT' .
    then in the 'FIRST' page create an event and a command and check next page.

Maybe you are looking for