Alignment issues in smartform for ASCIIPRI printer

Hi all,
I am developing an Invoice layout for ASCIIPRI printer. In the main window there are two tables. Both the tables are of equal width, the same as of the main window. Also, the alignment of last column of both the tables is RIGHT-ALIGNED, and the value it carries is a numeric one. The width of the last column of the tables is also the same, ie 4 cm.
Yet when i view the print preview, the alignment of those two values in the last columns of the tables are not the same. The value that is displayed in the latter table is 5-6 chars to the left side to the value above it.
I tried to figure out the reason but haven't achieved nay breakthroughs yet. Any help in this regard will be highly appreciated. Is this anomaly has something to do with the ASCIIPRI printer??
Regards,
Varsha

hi
  then try to use &field(CIZ)& .
if it not work  then     FIELD(No.)     {No.  -
> means  minimum  character  required to display data   }
tell me the TABLE and FIELD  name also
revart.
Edited by: sachin sharma on Jan 10, 2008 12:19 PM

Similar Messages

  • Standard SMARTFORM  for Check Printing/ Payment Advice

    Hi All,
      I have one important question...
    Standard <b>Script</b> Check Print Program =  <b>RFFOUS_C</b>
    Standart Script Layout Name  = F110_PRENUM_CHCK
                                &  F110_D_AVIS
    We have to modify it as per client requirment.
        But I want to know the <b>Standard SMARTFORM & Standard Smartform driver Program for CHECH printing & payment advice ?????????????</b>
    Is there no Smartform for check printing or if exist then please guide me?????????????????

    hi umesh,
    1)anyone can help me,while extending idoc,i added one segment to idoc by extending debmas.that segment has two fields.while populating data to idoc,i am getting problem like VSV0001.exit is not allowing me to write the code.
    plz anyone can help me on this issue.if you did't understand this problem plz tell me how to extend the idoc.more concentration on while populating the data in to idoc.like which function module i have to use.in customer master idoc.debmas.i am new to this environment.plz help me.like complet work till completion of task.
    2)and my next assignment is in smartforms.plz let me know .i was created the screen.according to that screen.i have to make print program.plz tell me how to give the text elements.
    like we have given in scripts, page window and then F9 to give the text elements.and make the program.like that any one can tell me clearly.how to make the complete smartforms programs.
    plz this requirement is very very urgent,plz could you send it for my [email protected]
    advance thanks for your help.
    thansk&regards,
    radhiks.

  • Standard Smartform for label printing for packages - pls advice

    Hi All,
    I need help in changing a print program ie Standard Smartform for label printing for packages ?
    Standard Driver program: SDPACKDR
    Please provide me with the detailed steps for editing the Std Smartform according to any requirement.
    Points will be rewarded promptly.
    Thanks.

    hi,
    1. The smartform name is SD_PACK_ETIK.
    2.Just copy the standard program into Zprogram and make chanes and assign in NACE with the form.
    3.But,in smartform lable printing is not possible.
    4.you can print barcodes.
    Regards,
    Kumar(Reward if helpful).

  • Use ZBBP_PO smartform for PO printing in SUS

    Hi Gurus,
    Is it possible to use the SRM PO smartform for output in SUS?
    That is, if the vendor prints the PO form in SUS, is it possible to call the smartform ZBBP_PO instead of ZBBP_SUSPO?
    Would really appreciate any help.
    Regards,
    Kezia

    Hi,
    For SUS for any Output you can use the BADI BBP_SUS_DOWNLD_FILES for printing.
    Just check following help
    Use
    You can use this Business Add-in (BAdI) to specify file names and folders that differ from those used in the standard system for downloading documents. You can also specify the XSLT program the system uses for converting from XML to CSV, as well as the form the system uses for printing documents.
    Standard settings
    SAP does not deliver a standard implementation for this BAdI. If there is no active implementation, the system uses the following:
    • File name for:
    o Purchase order: PO_<purchase order number>
    o Confirmation: CONF_<Confirmation number>
    o Shipping notification: ASN_<shipping notification number>
    o Invoice: INV_<invoice number>
    • XSLT program for:
    o Purchase order: BBP_SUS_XML2CSV_ORDER
    o Confirmation: BBP_SUS_XML2CSV_CONF
    o Shipping notification: BBP_SUS_XML2CSV_ASN
    o Invoice: BBP_SUS_XML2CSV_INV
    • Output form for:
    o Purchase order: BBP_SUSPO
    o Confirmation: BBP_SUSCONF
    o Shipping notification: BBP_SUSASN
    o Invoice: BBP_SUSINV
    The BAdI provides the FILES_MODIFY method with the following parameters:
    Importing
    IV_OBJTYPE Document type (purchase order or invoice)
    IV_OBJID Document number
    Changing
    EV_XML_FNAME XML file name
    EV_CSV_FNAME CSV file name
    EV_PDF_FNAME PDF file name
    EV_REL_DIR relative folder
    EV_XSLT_PNAME XSLT program
    EV_SMARTFORM output form
    Activities
    If you want to use file names or forms that differ from the standard system, implement the BAdI and activate the implementation.
    Example
    include BBP_PD_CON_CL.
    CASE iv_objtype.
    Order
    WHEN c_suspo.
    ev_xslt_pname = 'YOUR_ENTRY'.
    ev_xml_fname = 'YOUR_ENTRY'.
    ASN
    WHEN c_susasn.
    ev_xslt_pname = 'YOUR_ENTRY'
    INVOICE
    WHEN c_susinv.
    ev_smartform = 'YOUR_ENTRY'.
    CONFIRMATION
    WHEN c_suscf.
    ev_xslt_pname = 'YOUR_ENTRY'.
    ENDCASE.
    See these related threads:
    Smartform for SUS PO
    Re: MODIFICATION IN OUT PUT (pdf) OF SUS PO
    You need to implement the above mentioned BADI to call another Form(other then the std ).
    BR,
    Deepti..

  • Printing issue in smartforms (Bullets are printed as #)

    Hi Guys,
    I've an issue in printing one of the forms. I'm using bullets in the form and when I see the print preview, i can see the bullets.
    But when I print the document, instead of bullets, I see '#'. Is it something to do with the printer drivers or anything I can do and prevent it.
    Thanks in advance.

    Hi,
    Infact it is a printer issue.
    Please contact the printer incharge to configure the printer so as to print the bullets properly.
    Regards,
    Ram

  • Smartform for mass printing

    Hi,
    Exepets I have one requirement for smartform i want to print smartform bulk with same layout .Please give me advise

    data: copies like ssfcompop-tdcopies.
    start-of-selection.
    copies = 5.
    call function 'SSF_FUNCTION_MODULE_NAME'
      exporting
           FORMNAME                 = 'ZAPP_FOAM'
      IMPORTING
           FM_NAME                  = fm_name
      EXCEPTIONS
           NO_FORM                  = 1
           NO_FUNCTION_MODULE       = 2
           OTHERS                   = 3
        if SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        endif.
    call function fm_name
    exporting
      OUTPUT_OPTIONS = copies
      TABLES
         ITAB = ITAB
         T_ADRS = T_ADRS
      EXCEPTIONS
        FORMATTING_ERROR           = 1
        INTERNAL_ERROR             = 2
        SEND_ERROR                 = 3
        USER_CANCELED              = 4
        OTHERS                     = 5           .
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    thanks
    saurabh

  • Goods Issue output condition for extra prints

    Hi All
    How can i increase the standard number of GI slips for the output document.
    The output is a SAP standard form (Y002)
    I only need 2 output copies for a particular movement type (351)
    How can i link 2 output copies for movement type 351 only
    Regards
    Darren

    Hi,
    When you define the message conditions in MN21 / MN22(Change), In communication page where we enter the Logical destination there you have number of copies there you give the number and save.
    Number of messages (original + copies)
    Total number of copies of a message sent.
    Thanks & regards,
    Kiran

  • PR Smartform for getting Approver name

    Hi Abap Expects,
    i am new to abap, i have developed Smartform for PR print out.
    In that i need to print level of Approver Name with Approval Date, Actually i am getting all the Approver Name correctly.
    but the problem is, i need to print name and date like this
    Approver1    Kavitha   date
    Approver2    Gokul   
    Approver3    Seetha  
    but now i am getting, name like below
    Approver1    Kavitha   date
    Approver2        
    Approver3       
    Approver1    Gokul   date
    Approver2      
    Approver3     
    Approver1    Seetha  date
    Approver2       
    Approver3      
    And i have declared internal in Loop.
    can any one Please help me to slove this Issue
    Thanks
    S.Kavitha

    Hi ,
    For one PR number 5 level of Approval is their, so I need the Print only one time. i will send the Screen shot of my Current output and how i declared it in Smartform loop. please find that one

  • Smartform for purchase order.

    Hello friends,
        I am creating the smartform for purchase order printing whih is attached to output type ZNEU and that output type is used in ME23N.
        But at the time of creating versions in PO in ME22N it is giving error messages of diffrant types like form routine not present.
      Now  I want your opinion in deciding whether to go for new smartform for PO printing or I shoud procede with script MEDRUCK. If anyone have developed smartform for PO which supports versions, please suggest the wayout.
    Rgds,
    Madan

    Hello,
    You have to write form routines in the Driver program to trigger the form.
    Please Reward if helpful.
    Srujan.

  • SAP script printout alignment issue

    Hi Experts,
    I have facing one Script Printout Alignment issue.
    SAP Script Form printing some Values in Table format.
    While debugging( in debug mode ), I am getting the correct Alignment ( Proper table format with values ).
    But in printout the Alignment( The vertical and horizontal lines are not printed properly ) is not correct.
    Thanks in Advance.

    HI Glen Anthony,
    I am not using any printer details.
    from the Spol (SP01) I am checking the print priview.
    Success in debug mode but not in Print.
    Please suggest.
    Thanks

  • Smartforms for FI

    Dear Friends,
    I am working on FI forms. The requirement is like that i have to develop Smartforms for Cheque Printing, Payment Advice, Customer Statement. Client doent need Sap Scripts. Can we use smartforms for these?? If we can ? What are the standard forms? Where can we attach them as i can see in FI Customizing that Only PDF or Sapscripts can be used.
    Thanks a lot

    Hi Sandeep,
    i dont think FI will support SF  for Cheque Printing, Payment Advice, for Customer Master  what u can do is u can enhance Driver Programs .
    lets wait for Experts replies on this , i havent seen SF for FI so far.
    regards
    Prabhu

  • Alignment issues in my smartform

    Hi Gurus,
    I am facing alignment issues in my smartform .
    My Output with LP01differs from that of Logica Printer LOCAL.Kindly throw some light on the same.
    Deepak

    Hello,
    Please check with the basis that FONT that you are using are installed in both the printers.
    This situation happens most when you have imported a new font into SAP system, as a printer is not configured for that Font output differs.
    Thanks,
    Jayant

  • Barcode pritner issue in smartform printing

    Dear Experts,
    I have problem with barcode printing. I have only one page in my smartform and there is table in that. I need to print delivery number as barcode. I have writtern logic for that and its working fine. But when I print my output in BARCODING printer, the delivery number is printing as barcode properly but rest of all characters also printing as barcode. Every thing in the output is appearing as all barcodes. I can not see any data in the output all are barcodes only.
    Could you please help me on this issues.
    Thanks for your time,
    Regards,
    J.P

    Solved myself

  • Total pages printed issue in Smartforms

    Hi,
    I have small issues in Smartforms,
    I wm working for Check Printing in Smartforms. Here after printed the various checks i am printing the summary report, here i printede the details of total transactions and total printed pages.
    If  i have more than once page in single check (like overflow pages) that also need to be calculted in the count.
    In the forms i declared &SFSY-FORMPAGES& but its not calculating overflow pages.
    Please guide me about this issue.
    Thanks.
    VJ.

    Hi Florian,
    Thanks for your response and O/P management info.
    My req is after printing the cheque pages, i am printing seperate page for summary report, here i am displaying total no of transactions, amount and total pages printed.
    Code Ref:
       CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = lf_formname_s
        IMPORTING
          fm_name            = lf_fm_name_s
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc <> 0.
    * Implement suitable error handling here
      ENDIF.
      CALL FUNCTION lf_fm_name_s
        EXPORTING
          control_parameters = ls_control_param
          output_options     = ls_composer_param
          user_settings      = ' '
          v_file_name        = v_smart_name
         t_t_processed      = t_t_processed                             " for total processed
          t_check_amount     = t_check_amount_t
          t_tot_rec          =               v_tot_rec          "    REQUIRED FIELD..?????
    IMPORTING
          job_output_options = v_output_options
        EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          OTHERS             = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Here i am getting total transactions is printed properly.. also i want to print total no of pages. (if single transaction more that one page).
    Thanks in advance,..

  • Command to move content left/right in Smartform label for zebra printer

    Issue : Command to move print content left/right in Smartform label for zebra printer.
    Requirement : If you changed the printer setting top position and left position, Print should start from a specific (X,Y) position.
    I am facing an issue while printing a smartfroms in different zebra printer.  We had tried all
    S_LZPL_SETUP_X  (Where X is LH/SPD/MD/PM/FT )
    But these command are not working in smartforms.
    We had used ZPL II printer command like u2018LH X,Yu2019  and u2018FT,X,Yu2019  in main window as well as in subsequent windows. But that also not working.
    Please advice.
    dinesh.

    Hi,
    If you follow notes #750002 and #750772 and use a smartforms and device type LZEB2, then the you cn just adjust the position of the text in the smartform. e.g. Use tab-stops, spaces or adjust the position of the window. There is no need to use ZPL2 commands directly.
    Regards,
    Aidan

Maybe you are looking for

  • I want to edit individual frames in FCE

    I am getting into some special effects, so I want to be able to take individual video frames and edit them in a program like Photoshop. Then put them back into FCE. How do I do this?

  • Regards the issue on the db13 error is like SXPG_COMMAND_EXECUTE failed

    dear all, we are using os: windows 2003 databse :oracle  10.2.0.4 sap version: ecc 6.0 & on the production system is on the cluster environment the issue is when ever i am firing any thing from the db13 it is throwing an error like SXPG_COMMAND_EXECU

  • Problem with my classpath

    Hi, I have a jdk, and a jre on my machine, in folders, jdk1.5.0_02 jre1.5.0_02 and I put all my dependent jars here: jdk1.5.0_02\jre\lib\ext and my JAVA_HOME=jdk1.5.0_02, and my PATH=%JAVA_HOME%\bin. Now my problem is when I try to run my application

  • Academic eligibility

    I purchased Acrobat Pro XI through the Academic Superstore as a higher education teacher. They approved my eligibility. How do I send in my eligibility documents to Adobe to obtain a serial number for the product? I have a Faculty ID, a website at th

  • Reentrant Execution gets slower.... (DATABASE TOOLKIT)

    Hi All I am LabVIEW 2009. Application is typically running on Windows XP. I have a sub VI which is inserting data in MS SQL server. This vi is using database toolkit for inserting data into database. I made this VI reentrant, and my toplevel is dynam