Problem in printing SMARTFORM

Hello experts,
I am having problem in print preview when I am calling a SMARTFORM from a program where I have used selection screen. I don't know what I am doing wrong. Please help me out.
This is the code----
REPORT YL_CN_FI .
TABLES : BKPF,    "Accounting Header Data
         BSEG,    "Accounting Item Data
         SKAT,   "GL Text
         T001W,
         ADDR,
         YADDR,
         BSEC.
DATA : AMT_IN_WRD LIKE SPELL,
       AMT_LINE1 LIKE ADDR-LINE0,
       AMT_LINE2 LIKE ADDR-LINE0,
       GL1 LIKE BSEG-HKONT,
       GL2 LIKE BSEG-HKONT,
       GLDESC1 LIKE SKAT-TXT50,
       GLDESC2 LIKE SKAT-TXT50,
       AMT1    LIKE BSEG-WRBTR,
       AMT2    LIKE BSEG-WRBTR,
       ORD1    LIKE BSEG-AUFNR,
       ORD2    LIKE BSEG-AUFNR,
       CC1     LIKE BSEG-KOSTL,
       CC2     LIKE BSEG-KOSTL,
       W_IND,
       CNT    TYPE N,
       TAXCNT TYPE N,
       OFFICE LIKE YADDR-ADD6,
       TADR_NUM LIKE T001W-ADRNR,
       RADI .
--header text--
DATA BEGIN OF TLINES OCCURS  0.
        INCLUDE STRUCTURE TLINE.
DATA END OF TLINES.
DATA : HDTEXT LIKE THEAD-TDNAME,
       HLINE1 LIKE TLINE-TDLINE,
       HLINE2 LIKE TLINE-TDLINE,
       HLINE3 LIKE TLINE-TDLINE,
       HLINE4 LIKE TLINE-TDLINE,
       HLINE5 LIKE TLINE-TDLINE.
DATA : MTEXT LIKE THEAD-TDNAME,
       MLINE1 LIKE TLINE-TDLINE,
       MLINE2 LIKE TLINE-TDLINE,
       MLINE3 LIKE TLINE-TDLINE,
       MLINE4 LIKE TLINE-TDLINE,
       MLINE5 LIKE TLINE-TDLINE.
DATA: POST_DT     LIKE BKPF-BUDAT,
      FM_NAME     TYPE RS38L_FNAM,
      LF_FORMNAME TYPE TDSFNAME.
----   pricing   -
DATA BEGIN OF IT_BSEG OCCURS 0.
        INCLUDE STRUCTURE BSEG.
DATA END OF IT_BSEG.
DATA BEGIN OF IT_YADDR OCCURS 0.
        INCLUDE STRUCTURE YADDR.
DATA END OF IT_YADDR.
DATA BEGIN OF BR_YADDR OCCURS 0.
        INCLUDE STRUCTURE YADDR.
DATA END OF BR_YADDR.
--end of internal table declaration--
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS OPT_CN  RADIOBUTTON GROUP RADI .
PARAMETERS OPT_DN  RADIOBUTTON GROUP RADI .
SELECT-OPTIONS  DOCNO FOR BSEG-BELNR DEFAULT '0007100000'.
PARAMETERS      YEAR LIKE BSEG-GJAHR DEFAULT '2006' .
PARAMETERS      COMP LIKE BSEG-BUKRS DEFAULT 'FCL'.
SELECTION-SCREEN END OF BLOCK B1.
--main--
SELECT * FROM BSEG INTO TABLE IT_BSEG
WHERE BUKRS = COMP AND BELNR IN DOCNO
AND   GJAHR = YEAR AND KOART = 'D'.
LOOP AT IT_BSEG.
  CALL FUNCTION 'Y_ADDRESS'        " Customer Address
       EXPORTING
           VC_FLAG     = 'C'
            PARTY_CODE = IT_BSEG-KUNNR
       IMPORTING
           IT_YADDR   = IT_YADDR
       EXCEPTIONS
            OTHERS     = 1.
  IF IT_BSEG-KUNNR EQ '0000005001' .
    SELECT SINGLE * FROM BSEC WHERE BUKRS = IT_BSEG-BUKRS
    AND BELNR = IT_BSEG-BELNR AND GJAHR = IT_BSEG-GJAHR.
    IF SY-SUBRC EQ 0.
      IT_YADDR-ADD1 = BSEC-NAME1.
      IT_YADDR-ADD2 = BSEC-NAME2.
      IT_YADDR-ADD3 = BSEC-NAME3.
      IT_YADDR-ADD4 = BSEC-NAME4.
      IT_YADDR-ADD5 = BSEC-ORT01.
      IT_YADDR-ADD6 = BSEC-PSTLZ.
    ENDIF.
  ENDIF.
----  Branch Address  -
  SELECT SINGLE * FROM T001W
             where werks = 'PCAB'.
  WHERE WERKS = IT_BSEG-GSBER .
  TADR_NUM = T001W-ADRNR.
  CALL FUNCTION 'Y_ADDRESS'
    EXPORTING
      VC_FLAG    = 'P'
      PARTY_CODE = TADR_NUM
    IMPORTING
      IT_YADDR   = BR_YADDR
    EXCEPTIONS
      OTHERS     = 1.
----  Branch Address  -
  SELECT BUDAT BLART INTO (BKPF-BUDAT, BKPF-BLART) FROM BKPF
  WHERE BUKRS = IT_BSEG-BUKRS
  AND   BELNR = IT_BSEG-BELNR AND GJAHR = IT_BSEG-GJAHR.
  ENDSELECT.
  POST_DT = BKPF-BUDAT.
  CASE BKPF-BLART.
    WHEN 'C1' OR 'D1'. OFFICE = '****'.
    WHEN 'C2' OR 'D2'. OFFICE = '*****'.
    WHEN 'C3' OR 'D3'. OFFICE = '*******'.
  ENDCASE.
  PERFORM READ_HEADER_TEXT.
  PERFORM GET_ITEM.
  CALL FUNCTION 'SPELL_AMOUNT'
    EXPORTING
      AMOUNT    = IT_BSEG-WRBTR
      CURRENCY  = 'INR'
      FILLER    = ' '
      LANGUAGE  = SY-LANGU
    IMPORTING
      IN_WORDS  = AMT_IN_WRD
    EXCEPTIONS
      NOT_FOUND = 1
      TOO_LARGE = 2
      OTHERS    = 3.
  CONCATENATE AMT_IN_WRD-WORD ' ONLY' INTO AMT_IN_WRD-WORD.
  CALL FUNCTION 'RKD_WORD_WRAP'
       EXPORTING
            TEXTLINE            = AMT_IN_WRD-WORD
             DELIMITER           = ' '
            OUTPUTLEN           = 70
       IMPORTING
            OUT_LINE1           = AMT_LINE1
            OUT_LINE2           = AMT_LINE2
             OUT_LINE3           =
        TABLE
             OUT_LINES           =
       EXCEPTIONS
            OUTPUTLEN_TOO_LARGE = 1
            OTHERS              = 2.
  IF OPT_CN = 'X'.
    PERFORM ITEM_PRINT_CN.
  ELSEIF OPT_DN = 'X'.
    PERFORM ITEM_PRINT_DN.
  ENDIF.
  PERFORM INITALIZE.
ENDLOOP.
--end of main--
*&      Form  GET_ITEM
FORM GET_ITEM.
  NETVAL   = 0.
  MATVAL   = 0.
  DISVAL   = 0.
  BEDVAL   = 0.
  FGTURS   = 0.
  TAXABLE  = 0.
  FGTVAL   = 0.
  ENTRYTAX = 0.
  SALTAX   = 0.
  SURCHG   = 0.
  SALTOT   = 0.
  TAXCNT = 0.
  CNT = 1.
  SELECT HKONT WRBTR BSCHL AUFNR KOSTL
  INTO (BSEG-HKONT, BSEG-WRBTR, BSEG-BSCHL, BSEG-AUFNR, BSEG-KOSTL)
  FROM BSEG
  WHERE BUKRS = IT_BSEG-BUKRS
  AND   GJAHR = IT_BSEG-GJAHR
  AND   BELNR = IT_BSEG-BELNR
  AND   KOART NE 'D'.
    CASE BSEG-HKONT.
      WHEN '0000600000' OR '0000601000' OR '0000603000' OR
           '0000604000' OR '0000606000' OR '0000609000'.
        MATVAL = BSEG-WRBTR.
      WHEN '0000764100'.
        IF BSEG-BSCHL = '50'.
          DISVAL = BSEG-WRBTR.
        ELSE.
          PERFORM GLACC.
        ENDIF.
      WHEN '0000611000'.
        FGTVAL = FGTVAL + BSEG-WRBTR. "Changed on 24.08.2007
      WHEN '0000760003'.
        FGTURS = BSEG-WRBTR.
      WHEN  '0000570001' OR '0000570002' OR '0000570003' OR
            '0000570000' OR '0000570004' OR '0000570005' OR
            '0000570006' OR '0000570007' OR '0000570008' OR
            '0000570009' OR '0000570010' OR '0000570011' OR
            '0000570012' OR '0000570013' OR '0000570014' OR
            '0000570015' OR '0000570016' OR '0000570017' OR
            '0000570018' OR '0000570019' OR '0000570020'.
        TAXCNT = TAXCNT + 1.
        CASE TAXCNT.
          WHEN 1.  SALTAX = BSEG-WRBTR.
          WHEN 2.  SURCHG = BSEG-WRBTR.
          WHEN 3.  SALTOT = BSEG-WRBTR.
        ENDCASE.
      WHEN  '0000571001' OR '0000571002' OR '0000571003' OR
            '0000571000' OR '0000571004' OR '0000571005' OR
            '0000571006' OR '0000571007' OR '0000571008' OR
            '0000571009' OR '0000571010' OR '0000571011' OR
            '0000571012' OR '0000571013' OR '0000571014' OR
            '0000571015' OR '0000571016' OR '0000571017' OR
            '0000571018' OR '0000571019' OR '0000571020'.
        TAXCNT = TAXCNT + 1.
        CASE TAXCNT.
          WHEN 1.  SALTAX = BSEG-WRBTR.
          WHEN 2.  SURCHG = BSEG-WRBTR.
          WHEN 3.  SALTOT = BSEG-WRBTR.
        ENDCASE.
      WHEN '0000610000'.
        BEDVAL = BSEG-WRBTR.
      WHEN '0000491110'.
        ENTRYTAX = BSEG-WRBTR.
      WHEN '0000764500'.
        IF BSEG-BSCHL = '50'.
          NETVAL = NETVAL - BSEG-WRBTR.
        ELSE.
          NETVAL = NETVAL + BSEG-WRBTR.
        ENDIF.
      WHEN OTHERS.
        PERFORM GLACC.
    ENDCASE.
  ENDSELECT.
  IF ENTRYTAX EQ 0.
    W_IND = '0'.
  ELSE.
    W_IND = '1'.
  ENDIF.
  TAXABLE = MATVAL - DISVAL + BEDVAL + ENTRYTAX + FGTURS.
  NETVAL = NETVAL + IT_BSEG-WRBTR.
ENDFORM.                    " GET_ITEM
*&      Form  READ_HEADER_TEXT
FORM READ_HEADER_TEXT.
  CLEAR : HLINE1 ,HLINE2 ,HLINE3, HLINE4, HLINE5 , HDTEXT .
  CLEAR TLINES.
  REFRESH TLINES.
  CONCATENATE  IT_BSEG-BELNR IT_BSEG-GJAHR INTO HDTEXT.
  CONCATENATE  IT_BSEG-BUKRS HDTEXT INTO HDTEXT SEPARATED BY SPACE.
  CALL FUNCTION 'READ_TEXT'
       EXPORTING
        CLIENT                  = SY-MANDT
            ID                      = '0002'
            LANGUAGE                = SY-LANGU
            NAME                    =  HDTEXT
            OBJECT                  = 'BELEG'
        ARCHIVE_HANDLE          = 0
   IMPORTING
        HEADER                  =
       TABLES
            LINES                   = TLINES
       EXCEPTIONS
            ID                      = 1
            LANGUAGE                = 2
            NAME                    = 3
            NOT_FOUND               = 4
            OBJECT                  = 5
            REFERENCE_CHECK         = 6
            WRONG_ACCESS_TO_ARCHIVE = 7
            OTHERS                  = 8.
  LOOP AT TLINES.
    CASE SY-TABIX.
      WHEN 1.  HLINE1 = TLINES-TDLINE.
      WHEN 2.  HLINE2 = TLINES-TDLINE.
      WHEN 3.  HLINE3 = TLINES-TDLINE.
      WHEN 4.  HLINE4 = TLINES-TDLINE.
      WHEN 5.  HLINE5 = TLINES-TDLINE.
    ENDCASE.
  ENDLOOP.
EXTRACT TOWARDS TEXT ELEMENT
  MTEXT = '0061003423'.
  CALL FUNCTION 'READ_TEXT'
       EXPORTING
        CLIENT                  = SY-MANDT
            ID                      = '0004'
            LANGUAGE                = SY-LANGU
            NAME                    =  MTEXT
            OBJECT                  = 'VBBK'
        ARCHIVE_HANDLE          = 0
   IMPORTING
        HEADER                  =
       TABLES
            LINES                   = TLINES
       EXCEPTIONS
            ID                      = 1
            LANGUAGE                = 2
            NAME                    = 3
            NOT_FOUND               = 4
            OBJECT                  = 5
            REFERENCE_CHECK         = 6
            WRONG_ACCESS_TO_ARCHIVE = 7
            OTHERS                  = 8.
  LOOP AT TLINES.
    CASE SY-TABIX.
      WHEN 1.  MLINE1 = TLINES-TDLINE.
      WHEN 2.  MLINE2 = TLINES-TDLINE.
      WHEN 3.  MLINE3 = TLINES-TDLINE.
      WHEN 4.  MLINE4 = TLINES-TDLINE.
      WHEN 5.  MLINE5 = TLINES-TDLINE.
    ENDCASE.
  ENDLOOP.
ENDFORM.                    " READ_HEADER_TEXT
*&      Form  GET_GLDESC
      text
-->  p1        text
<--  p2        text
FORM GET_GLDESC USING P1 P2 .
  P2 = ''.
  SELECT TXT50 INTO (P2 ) FROM SKAT
  WHERE SPRAS = SY-LANGU
  AND   KTOPL = 'FCOA' AND SAKNR = P1.
  ENDSELECT.
ENDFORM.                    " GET_GLDESC
*&      Form  GLACC
      text
-->  p1        text
<--  p2        text
FORM GLACC.
  IF CNT EQ 1.
    GL1  = BSEG-HKONT.
    AMT1 = BSEG-WRBTR.
    ORD1 = BSEG-AUFNR.
    CC1  = BSEG-KOSTL.
    PERFORM GET_GLDESC CHANGING GL1 GLDESC1.
    CNT = CNT + 1.
  ELSE.
    GL2  = BSEG-HKONT.
    AMT2 = BSEG-WRBTR.
    ORD2 = BSEG-AUFNR.
    CC2  = BSEG-KOSTL.
    PERFORM GET_GLDESC CHANGING GL2 GLDESC2.
  ENDIF.
ENDFORM.                    " GLACC
*&      Form  INITALIZE
      text
-->  p1        text
<--  p2        text
FORM INITALIZE.
  CLEAR : HLINE1 ,HLINE2 ,HLINE3, HLINE4, HLINE5 , HDTEXT .
  IT_BSEG-KUNNR = ''.
  MATVAL = 0.
  DISVAL = 0.
  FGTVAL = 0.
  SALTAX = 0.
  GL1     = ''.   GL2     = ''.
  GLDESC1 = ''.   GLDESC2 = ''.
  CC1     = ''.   CC2     = ''.
  ORD1    = ''.   ORD2    = ''.
  AMT1    = 0.    AMT2    = 0.
ENDFORM.                    " INITALIZE
*&      Form  ITEM_PRINT
      text
-->  p1        text
<--  p2        text
FORM ITEM_PRINT_CN .
  LF_FORMNAME = 'YL_CN_FI'.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
             EXPORTING  FORMNAME           = LF_FORMNAME
                variant            = ' '
                direct_call        = ' '
             IMPORTING  FM_NAME            = FM_NAME
             EXCEPTIONS NO_FORM            = 1
                        NO_FUNCTION_MODULE = 2
                        OTHERS             = 3.
    IF SY-SUBRC <> 0.
  error handling
    ENDIF.
    CALL FUNCTION FM_NAME
ENDFORM.                    " ITEM_PRINT

I did that...actually It was not coming in that page because of the character limitation. The program is not executing. why??
  CALL FUNCTION FM_NAME
    EXPORTING
  ARCHIVE_INDEX              =
  ARCHIVE_INDEX_TAB          =
  ARCHIVE_PARAMETERS         =
   CONTROL_PARAMETERS        = ''
  MAIL_APPL_OBJ              =
  MAIL_RECIPIENT             =
  MAIL_SENDER                =
  OUTPUT_OPTIONS             =
   USER_SETTINGS             = 'X'
      POST_DT                    = POST_DT
      OFFICE                     = OFFICE
      HLINE1                     = HLINE1
      HLINE2                     = HLINE2
      HLINE3                     = HLINE3
      HLINE4                     = HLINE4
      HLINE5                     = HLINE5
      MLINE1                     = MLINE1
      MLINE2                     = MLINE2
      W_IND                      = W_IND
      MATVAL                     = MATVAL
      NETVAL                     = NETVAL
      DISVAL                     = DISVAL
      BEDVAL                     = DISVAL
      FGTURS                     = FGTURS
      TAXABLE                    = TAXABLE
      FGTVAL                     = FGTVAL
      ENTRYTAX                   = ENTRYTAX
      SALTAX                     = SALTAX
      SURCHG                     = SURCHG
      SALTOT                     = SALTOT
      AMT_LINE1                  = AMT_LINE1
      AMT_LINE2                  = AMT_LINE2
      GL1                        = GL1
      GL2                        = GL2
      GLDESC1                    = GLDESC1
      GLDESC2                    = GLDESC2
      AMT1                       = AMT1
      AMT2                       = AMT2
      ORD1                       = ORD1
      ORD2                       = ORD2
      CC1                        = CC1
      CC2                        = CC2
IMPORTING
  DOCUMENT_OUTPUT_INFO       =
  JOB_OUTPUT_INFO            =
  JOB_OUTPUT_OPTIONS         =
    TABLES
      IT_YADDR                   = IT_YADDR
      IT_BSEG                    = IT_BSEG
      BR_YADDR                   = BR_YADDR
  EXCEPTIONS
    FORMATTING_ERROR           = 1
    INTERNAL_ERROR             = 2
    SEND_ERROR                 = 3
    USER_CANCELED              = 4
    OTHERS                     = 5
IF SY-SUBRC <> 0.
ENDIF.

Similar Messages

  • Problem while printing smartform in dot matrix printer

    Hi Experts,
    When i am printing smartform using dot matrix printer only the last page prints but all the pages displays in print privew.
    For example suppose there are three pages to be print 1/3, 2/3 , 3/3 , i get all the three pages in print privew as well as when i take its printout in laser printer i get all three pages as print, but when i am using dot matrix printer i get only the last page ie 3/3 as print.
    Regards
    Varun Sharma

    Hai Varun,
    If things are coming properly then its no more ABAP issue.
    Need to check out with the BASIS team along with the IT / hardware department.
    Just try to take print out on a other dotmatrix printer, if its somewhere close to you as usually they are heavy and large in size can't be moved.
    Hope this helps,
    Cheers,
    Suvendu

  • Problem during printing smartforms

    Hi,
    We are using Epson 9 pin printer for printing. We have custom page layout used in our sap script and smartforms with size 12 inch / 9 inch (80 column dot matrix printing).
    We are using SWIN (windows default printing) driver. Problem we are facing are -
    1. The second page doesnt start properly from scond page. It starts at the end og first page only.
    2. If there are more than one page, then a blank page is printed after each page.
    Please suggest how to contrl this and do printing setting in SAP.
    RR

    Hi,
    Do you use a custom page format for the 12 x 9 inch page size? if so check the thread below.
    Re: Correct preview, but wrong print out.
    You probably also need to create the default windows page format.
    Regards,
    Aidan

  • Problem in Printing

    Hi Experts,
    I have small problem in printing smartforms,my print preview is ok but while taking print it is it is getting cut at right side and bottom of the page.Page size is same(A4) as I have specified in my smart form(DINA4).What might be the problem?
    In printer settings also same page format is selected(A4).
    What might be the problem?
    here are the pics,see the difference in preview and actual print.
    Actual Print :
    http://i35.tinypic.com/wvzx2t.jpg
    Print Preview :
    http://i35.tinypic.com/awx9up.jpg
    Every helpful answer will be rewarded.
    Thanks & Regards,
    Rock.
    (Request for Moderators : Please don't lock this thread,I know this is wrong section I had already posted this in the correct section,i.e 'Form Printing' but could not get the answer)

    Hi
    I hope you should adjust the window according to the print.please convert the form into PDF format and see the print preview.
    I had seen the print preview there is very small gap at the right side corner of the page increase the gap.
    while printing A4 printer will take some default spaces in all the corners may be you are not maintaing that space or  see  the printer if paper is inserted in proper manner.
    Better you correct the layout according to the print.
    Thanks
    Rasheed
    Edited by: Rasheed salman on Nov 21, 2008 7:32 AM

  • Problem with Print of Smartforms

    Hi Experts,
    I am facing problem with the Smartforms related to purchase order and Request for Quotation.
    when i see the print preview of these two forms the preview was coming correctly. But when i give the print the data in the footer  was Truncted. I changed thepage from Letter to A4. Even then also i am facing the issue.
    So can any one tell me where would be th problem.
    Thanks & Regards,
    Ramana

    Dear Ramana,
    there is no big issue in this just you have to
    check the window at footer in which window(output option )
    tick must be there at lines with
    and always draw boxes and shading.
    tamplet paramets must match to the window.
    do this if still problem is there keep in touch
    and send me the error of output.
    pls keep in touch.
    REWARDS expected.
    vivek srivastava

  • [smartforms] Problem when printing on distant printer

    Hi,
    I'me facing a printing problem with a smartform : it's OK when it's printed on LOCL printer, but KO when printed on other printer.
    In this case, I obtain some gaps on colomn and differences in font size.
    Would someone have an idea that could help me to solve that problem?
    Thank you by advance.
    AR

    Usually we print our forms in SAP configured printers, so always try to design your forms according to printer configured in SAP.
    now, coming back to your question, this is the problem why it is picking the wrong font... the font family that is used in your smartform(check smart style) with specified size may not be loaded into SAP system... check the font families that are available in SAP system in SE73 tcode and modify your smartform accordingly...
    If you are using LOCL as your printer it picks the fonts from your local machine.. since the font exists in your local machine it may be displaying correctly...
    Close the thread once your question is answered.
    Regards,
    SaiRam

  • Error while printing smartforms

    Hi Friends,
      I am getting error "<b>Invalid value for parameter ARCHDEST</b>" while printing smartforms. This is happening only in IDES server. In Development the same smartform is working normally. I have checked in transaction SU53, to see whether all the authorisations have been given for IDES server. There is no problem in authorisation also. So what might be the reason for this. Please give me the solution to solve this problem.
    Thanks & Regards,
    Ranjith

    Hi Beginner,
    In the layout you have taken window or layout taken the big width in that case only you will get this type error syntatically it shows correct when you exicute the smart from try to give the print or see the print preview you will get this error (suggestion is better to check the window sizes)
    Thanks
    Ashok

  • Problem in Printing of mutiple form on single click

    Hi all
    I m wrking on AFS and i had created a page for printing multiple invoice print on single click.
    A range of invoice is given as input and get out in the form of print preivew or print wat v choose .
    I mean a print pop is open for multiple invoice in a single click.
    Problem in printing of multiple form is speed .its going to be slow when click for printing .OR
    v can say that creation of multiple page in printing gets more time .Is ther  any way to solve  this .
    Plz suggest me some solution for that .
    Regards,
    Ravi

    Hi
    Check if Note 353518 - Selection of outputs takes much time and Note 910976 - Selection of output from billing (VF31) are relevants.
    Other suggestion. Do a trace with ST05 and check if you have any bottleneck in the coding that you can have in your Smartform or in your SAPscript, so check in tcode V/40 what form you are using . Also see Note 185530 - Performance: Customer developments in SD.
    I hope this helps you
    Regards
    Eduardo

  • 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 by printing in background

    Hi experts,
    we have a problem by printing a smartform. The problem is in authority check of an object. When we run only the print preview, everything is working fine. But when we run the direct print it looks like, that the authority check is skiped. The direct print is running in background in update task.
    Do you know where is the problem?
    Thanks,
    Pavol.

    The problem may be with the location of the code for authority check written.
    Write it just before calling the FORM.
    Or try to debug to know the reason of skipping the code.
    Regds,
    Anil

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

  • How to print Smartform in Draft mode.

    HI all,
    we are using Wipro LQ DSI 5232 printer, our problem is while printing smartform , its coming in Roman but it should come in Draft Mode.
    When it goes to Roman mode the printing become very slow.
    How to set in default Draft mode.
    Regards,
    Rahul.

    Hi,
    there is an SBO setting inside
    Administation>System Init>Print preferences>Print Draft Watermark on Draft
    Then a "DRAFT" watermark will appear if it's printed before adding.
    In CR use a stored proc to get data back according to the Objectid@.
    Then if its the object id of a draft then add a CR watermark.
    Hope this helps.
    Regards,
    D

  • Problem in Print Out of Excise register RG1

    Dear all,
    We have a business scenario as follows:
    1.Production Order Confirmation-101, 261 for receipt
    2. Scrap Receipt-262.
    For Scrap Sales:
    The entry in RG1 should be Scrap receipt (262) and then despatch of scrap i.e issue(601).
    During updation we do the following:
    We receive  scrap in RG1 register through RMA classification. Then we issue the scrap in RG1 register through IDH Classification. The register also get updated and extracted successfully.
    Problem: While printing of RG1 register there is no entry for  Receipt (262) and issue(601) of scrap.
    Regards,

    Can anyone pls suggest how to capture Scrap sale in RG1.

  • Problem with printing in character mode

    Hi
    I got a genuine problem in printing continous payslips using character mode with a TALLY6050 printer.
    I guess there is a problem with the page setup when i try to print via windows. using different sizes of paper (Letter, A4, A3), the printed data is shifting from one page to another but the shift is following a same trend.
    i tried to put one payslip per page using page breaks, but in vain. Three payslips are being printed on one page when viewed in the print perview.
    Can anyone suggest any help or tips so that i can solve this problem?
    Thanks for your help
    Bhavish

    Thanks for your response.  I went ahead and filed a Correction Action Request for your orignal issue, since I was able to reproduce the same behavior when I ran your VI.  The solution of printing the front panel of a subVI displaying the same graph is a workaround for this problem. Please look at the following KnowledgeBase for more details on how to do this.  Hope this helps!
    How Do I Print a Single Control from the Front Panel (for example, a Graph)?

  • Date problem in printing

    Hi frnds ,
    I in my mail i am having problem to print the date .
    i dont know but some times it is displaying as
    2008//0/4 instead of 2008/04/13
    or sometimes for some other documents
    it is printing the currect date
    I am also having problem to print a char variable . It is getting truncated . like only rohit istead of rohit gupta .
    Plz Help

    Rohit,
    I guess you have chosen wrong forum.
    Well provide some info:
    1. how you are accessing the mail is it send mail activity or FM
    2. How data is getting populated into mail.
    If you are using send mail activity then check that how you are passing date to it, It might be possible that it is wrong binding happening between containers.
    In case of FM you gotta debug it.
    Cheers
    Jai

Maybe you are looking for

  • Jaggies in Ken Burns effect

    My Photos with Ken Burns effect usually have jaggies to one degree or another. I had same problem with windows programs (Roxio EMC 8, Adobe Premier and Studio Media by Pinnacle). I just bought an iMac because all of those programs would crash too oft

  • Negative Color on Apple 17" DVI to ADC Box

    Hello all, I would like to get any help with my 17" Apple LCDs. I have a G5 2.0 with a ATI 9600 Pro 64 megs video card, one ADC and one DVI port. I have the Apple converter DVI to ADC with both USB and DVI cable. It adds power to the Monitors also. I

  • How to transfer large transactional tables from RFC to background ABAP?

    Which is preferrable to use ABAP memory, SHARED MEMORY/BUFFER or SHARED ABAP OBJECTS in my scenario:  I have an external application sending two tables to an RFC.  The tables are made up of transaction data and can approach 1 GB in size. The RFC time

  • What's the best way to transfer an old 15" MacBook Pro to a new MacBook?

    Hello. My client will be buying a new MacBook soon (don't know which model yet) from his university. We are currently researching and planning ahead to minimize problems and prepare. I noticed there are multiple ways to transfer data from his old 15"

  • Can not install Adobe Air on Win XP pro

    I have tried everything mentioned in the forums.  Nothing has worked.  I get this message " Sorry, an error has occurred. while installing Adobe Air, contact your administratorl I am the administrator. Here is the log [2010-09-09:17:30:49] Performing