Problem in print preview of smartform

hi all,
when i transport my smartform from dev system to production system. In the print preview , the numeric values are getting reduced to *.
i.e *99 where as the correct value wa 267542399.
where as the print priview of the same smartform on dev is working fine.
kindly let me knw how to solve this problem.
expecting your answer!!
rgds

Hi,
You need to take the long field than the current field, in the DEV system the length is sufficient for the value but in the Test system the value is coming more then the Field length, so take the same length of that field so that that will work in every system
Regards
Sudheer

Similar Messages

  • I had a problem with print preview of billing document.

    HI all,
    I had a problem with print preview of billing document which contains two output types ZR1 ZR2..
    For the footer text of billing document I maintained the font size as 7,5 pts, But when i go for print preview from output type ZR1 the font size of footer text is very small and looks good for output type ZR2.
    If i change the print options-->logical destination of output type ZR1 same as Output type ZR2, the footer text looks good.
    I think there is some issue with logical destination in print options for the output type ZR1, how can i resolve  it.

    hi,
    for both the output types , r u using same sapscript or smartform?
    if yes then, u can control it in output options of smartform and also in sapscript , you can control through if condition.
    and if differect sapscript or smartform then you should not get such problem.
    you can check the sapscript or smartfrom in TNAPR table.

  • Problems with Print Preview in PO.

    Hi Experts, I need your help!!
    I have problems with print preview in purchase order, if the PO has moviments ( GR or Invoice ) I cant see the form of PO in Print Preview...Anybody has idea about happen?
    I can see the form before i make the movements after i cant see anymore..This is right?
    There is the document explain the problem
    [http://www.easy-share.com/1903543233/PO_PROBLEM1.doc]
    Thanks

    Hi,
    What is the particular error message which prevented you from print preview?  I have not seen such case before in many systems.
    Cheers,
    HT

  • Problem in print preview

    Hi all,
    I am working on sap scripts. i have problem in print preview,
    1. I have 2 pages in my layout ,but only one page is displyed in the preview, iam able to view 2 pages in other test program , i have compared all the atrubutes  with test program , it's same for both.
    2.  Iam getting  border lines for all the windows on the layout which i don't want  on the page, when printed
    It would be appreciated if  anybody could  give me suggestion or sollution.
    Regards,
    Sre.
    Title Edited by: Alvaro Tejada Galindo on Jan 11, 2008 4:13 PM

    Hi sayak,
    Thanks for your reply, I have followed as u suggested but it's not working. still iam getting only single page .
    I think in the second page we give next page as the same i.e page2 as if there is no other page after page2.
    please suggest me in other way.
    Regards,
    Sre.

  • Error while displaying print preview of smartform in VL03n

    Hi all,
    i created one smartform & print program . i assigned this in NACE tcode for ZD05 output type.
    Then i am trying to see the print preview in VL03n  while doing issue delivery output.
    But i am getting error like ' Output could not be issued'. Please suggest where i am doing mistake. Thanks.
    Regards
    sumitra

    Hi,
    Follow below Steps:
    1) Double Check your program and smartform names where you are attached in nace  transaction.
    2)check your templates and tables having formatting issues.
    3)Finally create dummy of your smartform. then delete one by one window in smartform check it and trace out in which window error is existing.
    even i faced same problem.
    in my case i gave wrong line and column numbers under the template node texts. it won't show the error in smart form but while executing transaction out put could not issued.
    Thanks,
    Satheesh.

  • Problem with printing logo in smartforms

    Hi guys,
    we have a logo in a window, its working fine in print preview, however when printing the document its all black. The logo does not display, instead the window is blackened.
    Please advise.

    Hi freishz ,
    When u r sayin 'document its all black' do u mean that the background of image is appearing black or it is completely black nothing is displayed?
    I had faced similar problem in smartform,where i was gettin grey background of the logo...
    For this, you need to edit the logo image first. open the logo image in ms paintbrush and save it as 256 color bitmap image. now upload this bitmap in sap using tcode se78.
    Now use this logo......

  • Print Preview of smartform  with device type EPESCP9

    Hi all,
    I have created a z smartform to print commercial invoice.
    I am using dot matrix print Epson FX-2170 to print invoice.
    For this printer the device type is EPESCP9.
    So I created an output device having device type EPESCP9.
    I have assigned the required Format type to the device type and the page format which is assigned in the smarform to the Format type.
    But I am not getting any print preview of the invoice when  I select this output device.
    I am only able to get print preview when I select an ouput device having device type SAPWIN.
    Please provide solution to get preview in device type EPESCP9.
    Edited by: Vinod Iyer on Apr 24, 2008 6:08 PM

    Hi,
    1.I think You are assigned the Printer details in SPAD.
      2.The page format and Printer settings are correctly done ,then it will come.But,the main problem is ,the page format is not supposed to match.Please check that page format in smrtform and Printer settings.
    3.If posible see those settings in I18n also.
    Regards,
    Shiva.

  • Problem in Print preview of smart forms in different servers.

    Print preview is different in different systems(development and Quality) for the same smartform, though everything is same.
    both are seen on print preview of locl printer, and I have checked the settings of locl in spad also and this also has no difference, there is absolutely no difference in smartform ,style paragraph format or character format.
    Can anyone please let me know what could be the problem.
    Help is appreciated.

    Hi,
    check this link it might solve ur problem.
    Re: Smartforms Print Preview Problem
    it might be the same issue which u r facing with..
    Regards,
    Sana.
    reward poitns if found helpful..

  • Updation of table after Print and Print-Preview in smartform

    Hi,
    I am having a requirement where i need to print multiple deliveries with the sales order data each delivery on a new page using smartform.
    Now , i am using SSF_OPEN, SSF_CLOSE Fm's for the same. I need to update a Z table after the user clicks on PRINT from the pop-up or print from the print preview screen.
    I tried using the output_info parameter in the smartform where i read from a post that the OUTPUTDONE parameter becomes "X" in the job_output_info when the user clicks print wither in the two ways said before.
    This does not work out in case if the FM'S SSF_OPEN and SSF_CLOSE are used.
    Kindly help me on the same.
    Thanks in advance

    yes i tried that..using the AT new event for a Delivery and then a command to go to the NEW PAGE, but somehow when i execuet the form, i could not see the layout..so in the debug i saw the subrc after the FM is run..it says SUBRC = 2 i.e. internal error. I am not able to figure that out.
    So i had to use these open and close, nowi just want to update a z table if the user clicks on the print button (print preview screen) after using the print preview .
    Kindly suggest.
    Thanks.

  • Problem while print preview purchase order for new document type

    Dear Experts,
    I have got the problem as below and need your helps.
    I created a new purchasing document type and then created a new PO with this document type. PO was created successfully in the system. I added a message to print out PO with the followed parameters as NEU output type, 1.Print Out medium , VN partner function, dispatch time is 3 ( Send with application own transaction).
    Then, I clicked Print Preview button on the ME23n screen, the error message bellowed was shown
    "The combination of  document type
    and Purchasing organization is invalid.
    please check the document and change it.
    unable to print the form"
    I really want to print the PO with new purchasing document type on the existed purchasing organization, Could you please help me identify the problem and solution for this issue?
    Appreciate for your responses.
    Thanks,
    Tinh Vo Trung
    Edited by: Tinh Vo Trung on Sep 23, 2011 7:43 AM

    Dear All,
    Many thanks for your responses.
    Regarding to maintain the condition record in MN04, I already done for that but the problem was not resolved.
    Could you please come with the other posible causes and solutions for this issue?
    Dear Bijay Kumar Barik,
    Please let me know why we check the new document type in Program, Routine and From of NEU output type?
    p/s: I compared the version the program, FORM and routine of NEU output type and found that there is no the differences btw DEV server and QAs server. However, An PO created susscessfully in QAs server, but the error was happend in DEV server.
    Could you please come with the other posible causes and solutions for this issue?
    Thanks,
    Tinh Vo Trung

  • Problem with printing logo in smartform.

    Hi guys,
    We have a logo in a window, its working fine in print preview, however while printing the page data ,other than logo is comming fine on printout , but logo is not comming fine. Logo is comming like one black vertical strip on left side of page. Even if i used standard Logo like ENJOY , same problem is comming. Please please give solution.
    Regards,
    Pradip

    Hello Pawar,
    The the problem is with printer drivers thats what i think....Please ask you SAP Basis guys to work on it..Tell them logos are not printed correctly....Please do the config and install the driver for the same.
    Regards,
    Nabheet Madan

  • Problem with Print Preview and Print events

    Hello Experts,
    We have developed a program, in which, I m trying to display the % values in the Sub Totals and Grand Total lines, The logic and program functionality is performing very well. The report is displaying the output the way end user is willing to see.
    The main problem is, the entire % values are going to a toss when we click the Print Preview or trying to print the report, which is not supposed to go that  way. I have even tried to debug the program where the problem is evolving in the code, but it is not raised from the code.
    Please refer to the screen shots.Before clicking the Print Preview and after clicking the print preview.
    Do anybody face the same kind of problem ever?
    If so please let me know what could be the best possible solution.
    Thanks & Regards
    Harish Kumar MK

    Hi Harish,
    I have use the below code but not for percentage... I think for percentage you just have to calculate the normal percentage and replace it with a subtotal value.
    This is not your complete code it will be better if you mail your complete code so that i can debug and check.
       TABLES: vbak.
    TYPE-POOLS: slis.                      " ALV Global types
    SELECT-OPTIONS :
      s_vkorg FOR vbak-vkorg,              " Sales organization
      s_kunnr FOR vbak-kunnr,              " Sold-to party
      s_vbeln FOR vbak-vbeln.              " Sales document
    SELECTION-SCREEN :
      SKIP, BEGIN OF LINE,COMMENT 5(27) v_1 FOR FIELD p_max.
    PARAMETERS p_max(2) TYPE n DEFAULT '20' OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    DATA:
      BEGIN OF gt_vbak OCCURS 0,
        vkorg LIKE vbak-vkorg,             " Sales organization
        kunnr LIKE vbak-kunnr,             " Sold-to party
        vbeln LIKE vbak-vbeln,             " Sales document
        netwr LIKE vbak-netwr,             " Net Value of the Sales Order
        waerk LIKE vbak-waerk,             " Document currency
      END OF gt_vbak.
    INITIALIZATION.
      v_1 = 'Maximum of records to read'.
    START-OF-SELECTION.
      PERFORM f_read_data.
      PERFORM f_display_data.
    *      Form  f_read_data
    FORM f_read_data.
      SELECT * INTO CORRESPONDING FIELDS OF TABLE gt_vbak
               FROM vbak
                 UP TO p_max ROWS
              WHERE kunnr IN s_kunnr
                AND vbeln IN s_vbeln
                AND vkorg IN s_vkorg.
    ENDFORM.                               " F_READ_DATA
    *      Form  f_display_data
    FORM f_display_data.
      DEFINE m_fieldcat.
        add 1 to ls_fieldcat-col_pos.
        ls_fieldcat-fieldname   = &1.
        ls_fieldcat-ref_tabname = 'VBAK'.
        ls_fieldcat-do_sum      = &2.
        ls_fieldcat-cfieldname  = &3.
        append ls_fieldcat to lt_fieldcat.
      END-OF-DEFINITION.
      DEFINE m_sort.
        add 1 to ls_sort-spos.
        ls_sort-fieldname = &1.
        ls_sort-up        = 'X'.
        ls_sort-subtot    = &2.
        append ls_sort to lt_sort.
      END-OF-DEFINITION.
      DATA:
        ls_fieldcat TYPE slis_fieldcat_alv,
        lt_fieldcat TYPE slis_t_fieldcat_alv,
        lt_sort     TYPE slis_t_sortinfo_alv,
        ls_sort     TYPE slis_sortinfo_alv,
        ls_layout   TYPE slis_layout_alv.
      m_fieldcat 'VKORG' ''  ''.
      m_fieldcat 'KUNNR' ''  ''.
      m_fieldcat 'VBELN' ''  ''.
      m_fieldcat 'NETWR' 'X' 'WAERK'.
      m_fieldcat 'WAERK' ''  ''.
      m_sort 'VKORG' 'X'.                  " Sort by vkorg and subtotal
      m_sort 'KUNNR' 'X'.                  " Sort by kunnr and subtotal
      m_sort 'VBELN' ''.                   " Sort by vbeln
      ls_layout-cell_merge = 'X'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          is_layout   = ls_layout
          it_fieldcat = lt_fieldcat
          it_sort     = lt_sort
        TABLES
          t_outtab    = gt_vbak.
    ENDFORM.                               " F_DISPLAY_DATA
    BR
    Sumeet

  • Problem with Print Preview  Urgent!

    Hello BW Experts,
    1.I am trying to use the Print functionality for web printing.In the print preveiew i see all the text in black and white.It is completely different from the page that is displayed in the browser.
    --I tried using the same print stylesheet but it does not work.
    2.In the print preview how do i change the default header line height to some other value.
    3.If i select file>print preview in internet explorer it is treating the logo as a different page,so the logo is printing in seperate page followed by the text.
    I appreciate all your help.
    Thank you all!
    Raj

    Thanks deepak for the reply.
    I am using the stylesheet and media = print but i still have the problem.
    This is the javascript function i am using
    <head>
    <link href="/sap/bw/Mime/BCT/StyleSheets/ServicePortalBWReports.css" type="text/css" rel="stylesheet"/>
    <script>
    <script language=javascript>
    function callPrintHelpService(parameter, cell_type, filter, parameter1, parameter2, item, dataprovider, x, y) {
    var print_service = "Z_PRINT_HELP_SERVICE"
    <!--if ( parameter == "inches") print_service = "Z_PRINT_HELP_SERVICE_IMP";
    var cmd = url + "&DATA_PROVIDER=DP&HELP_SERVICE_CLASS=" + print_service;--->
    SAP_BW_URL_Get();
    if( dataprovider == "DP") window.open(url, "Print", "width=800, height=600, menubar=yes, toolbar=no, scrollbars=yes, resizable=yes"); }
    </script>
    <!-- Query description in the window title bar --->
    <title>
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TITLE"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="ELEMENT_TYPE_1" value="COMMON"/>
             <param name="ELEMENT_NAME_1" value="REPTXTLG"/>
             <param name="ONLY_VALUES" value="X"/>
             <param name="ELEMENT_NAME" value="REPTXTLG"/>
             ITEM:            TITLE
    </object>
    </title>
          <link href="/sap/bw/Mime/BEx/StyleSheets/ServicePortalBWReports.css" type="text/css" rel="stylesheet" media="print"/>
    </head>
    1.---can you please be more specific where i need to change the default header height value.
    2.In the print preview of the report it looks fine but when i say file>print preview from internet explorer it is considering the logo as seperate page .Do i need to make any settings somewhere.
    3.In the print preview it remains same eventhough i use the same stylesheet as that of the report.
    Please advice.
    Thank you,
    Raja

  • Printout is different then print preview in smartforms

    hi all,
    i had created one smartform, but when i check the print preview it is showing desire output but when i print the form second page data is coming in BOLD,
    can someone please help me in this.??
    points will be rewarded as per the solution.
    thansk in advance.

    Hi,
    Try to create the style and assign that style in the output options of that particular text and also select the text mentioned in the general attributes and assign the character type fo thtat text.In order to create the stly so to smarform tcode select style radio button mention your style name zxyz (etc) now press create you will fine paragraph and character format folders.Now right click on character format folder and select create node now give your format name  description for the character format now slect font tab and mention the font name and size(this is what you have use in general attributes text selection) this created character format will be found once you mention your style name in the output options(ZXYZ).Hope i am clear.
    Reward if helpful.
    Regards,
    Harini.S

  • Problem with print preview in alv grid

    Hello all,
    I have to display base unit of measure(meins) in alv grid output. i am using a conversion routine to convert it from ST TO PC before display.After executing the report i am getting the correct data. the problem is when i select the print preview
    alv list is displayed. in that the unit of measure pc is not displayed, it is comming as '*******. what i came to know is the same conversion routine is triggered in the standard program for the display. so it canot convert that.
    so please help me out in solving this.
    Thanks in advance,
    Sarat

    hi sarath,
        this is an example code try using the statement before displaying, i think it works.
    *example cdoe.
    LOOP AT i_grp1 INTO wa_grp1.
    AT NEW tknum.
    READ TABLE i_grp1 intto wa_grp1 index sy-tabix.
    SUM.
    MOVE-CORRESPONDING wa_grp1 TO wa_grp2.
    APPEND wa_grp2 TO i_grp2.
    ENDAT.
    ENDLOOP.

Maybe you are looking for