MICR printing in Sapscript

Hi ,
I am designing a custom layout for Check form . I have to print MICR portion
Check number and router number and Bank account number
I have defined a paragraph format for the tab position as below with Font as OCRA .
,,C&REGUD-CHECT&C,,A&REGUH-UBNKY&A,,&REGUH-UBKNT&C
It prints correctly as per the specifications from the bank for 4 account numbers .
But shifts a bit to the left or right on other account numbers thus not satisfying the bank requirements for the position of these numbers .
How is this possible that it prints good for few account , check and routing numbers but not for others ?
The paragraph format is MT all defined as CM and LEFT justified .
Please advise.
Teresa

Hi Teresa,
Even i have the same problem.
For me..everything is printing fine. They are asking me to move the MICR line to move the 4 position left  and 2 positions down.
What i need to do? Do i need to change the window position..so that it wil come from left and bottom ..if i move the window.
Or do i need to change the paragraph format settings
Or do i need to use the position command to place the command
    C&REGUD-CHECT&C,,A&REGUH-UBNKY&A,,&REGUH-UBKNT&C
Please help me..
Regards,
Sajana.

Similar Messages

  • MICR printing problem using the Crystal ReportDocument object in C# app

    We developed a small C# windows program 6 months ago that reads a bank draft record and uses a Crystal Report form to print the draft (using ReportDocument() object and the PrintToPrinter() method).  This has been working fine for 6 months. (using .Net 2.0 Framework and Crystal Reports .Net plugin included with VS 2005 on client machine - CRRedist2005_X64.msi)
    Now the requirements have changed to put a MICR line at the bottom ot the draft check and print.  We have updated a similar Crystal draft report form and printed from Crystal Viewer - this works fine.  But when we update the Crystal report form used in the C# application, with the same MICR commands, using the same MICR printer, and the same user trying the print, it does not work.  The MICR commands are printed on the draft just like regular text, instead of being interpreted by the printer as MICR commands.  Must be something within the Crystal Reports .Net redistributable that is causing it to work incorrectly because it works correctly from the same users PC using Report Viewer.
    Note:  The MICR field on the Crystal Report contains the following chars:
           &%STHPASSWORD$&%SMD' MICR '$&%STQ$
    When we print, the above chars just print out like text
    Can anybody help with any suggestions ?
    Are they any hotfixes that address this issue of PCL commands not recognized on printer?

    The app that is working is a C++ vendor app, however the Crystal piece is seperate piece that uses the Crystal Report Viewer to pull up the draft report. The print button is then hit within Crystal Report Viewer and the draft prints correctly.
    - so the above app is using the Report Designer Component (craxdrt.dll) and as such it is not using the .NET assemblies...
    For the app that is not working, we are not using Crystal Report Viewer, but are using the ReportDocument object, from the Crystal .Net Redistributable (referenced above), embeded into our C# app. The app executes a PrintToPrint command against the identical Crystal report, however, running it this way, the MICR command that is embeded into the report is not recognized by the MICR printer. The output seems to jumble the MICR command that I posted earlier in the thread and does not keep the command in a readable format for the MICR printer.
    - the above is not using the Report Designer Component (craxdrt.dll). It is using the .NET assemblies and thus the .NET framework.
    Have you been able to get .NET to recognize / see the fonts in that label I mentioned on  6/27/08?
    Ludek

  • MICR Printing  for Cheques

    Hi all,
        IIam having Problem printing the MICR font on the Cheques . I searched many responses  , but  cudnt    get the solution yet.
    We have installed   MICR font  on the Cheque printer.
    I have created  character format MI  which has family  MICR_E and font  10.0 pt ,  coz  only 10  or blank is available.
    In the Script the code i have written  is
          <MI>"C"&REGUD-CHECT&"C"</>   -----> For 1st one
         For the 2nd one
          <MI>"A"&REGUH-UBNKL&"A"</> 
         For the 3 rd one
          <MI>&REGUH-UBKNT&"C"</> 
    The  Output  what iam getting in Normal printer is
    "C"00069207    "A"000123456  0002220005678
    Why is   "C"   and "A"  getting printed ,  it must get converted  to MICR font  right?
                 or
    When  i check it in MICR printer   does this come properly.  The Problem is The MICR printer  is  at client place  and  i cant check it each and every time.
    Please do let me  know    the " "  what iam using  is right or wrong?
    the MICR_E  what i have taken is right ?
    Please  do let me know.
    Regards,
    Shuja

    Dear Friend,
    Please Try this...
    For 1st one
    <MI>&REGUD-CHECT&"C"</>
    For the 2nd one
    <MI>&REGUH-UBNKL&"A"</>
    For the 3 rd one
    <MI>&REGUH-UBKNT&"C"</>

  • Printing character dash on MICR printer

    Hi,
    C&REGUD-CHECT&C A&REGUH-UBNKL&A    &REGUH-UBKNT&C
    I am Using the above code to print the check number and...  On MICR printer.
    Above the value of REGUH-UBNKL is 60020-002 on printer it is printing
    60020 002   but I want to print this 60020’’’002
    I mean in between 60020 and 002 I want to print the character dash on printer.
    For this what code changes I need to do in C&REGUD-CHECT&C A&REGUH-UBNKL&A &REGUH-UBKNT&C.
    Thanks a lot.

    Unfortunately, the zebra printer I have cannot print beyond 4 Inch width. I used to get this error initially but when I have created a custom device type which was copied from lb_zeb2 and included the page format ZBGLBL which is the page size of 2 1/2 X 4 1/2 I started getting this new error.
    I am not sure, if this is the right way to handle this. Also do we need do some special coding using ZPL4 if yes where and what are those commands
    Thanks
    Venkat

  • Double side printing from SAPScript, last page missing

    Hello all,
    I try to setup double side printing from SAPScript, but have a problem and hope that somebody might help me.
    In my form I have two pages with main window (FIRST and NEXT) which have print mode set to 'D' and next page set to 'TANDC'. Page 'TANDC' has only one VAR window which contains terms and conditions text.
    Now, everything works fine except that T&C text isn't printed after last page (ie. after last 'NEXT' page). Is there a way to force printing of last (back side) page?
    PS: Calling 'WRITE_FORM' from the print program at the end didn't help either.
    Thanks in advance.
    Grigor

    Hi Vinod,
    this has a same effect as calling NEW-PAGE from form.
    Again, window 'FOOTER' is printed on a new page instead bellow 'MAIN' window and there are no T&C on the last sheet. I also tried to explicitly call text element in window 'FOOTER' before calling 'CONTROL_FORM', like this:
    CALL FUNCTION 'WRITE_FORM' "last element in 'MAIN' window
           EXPORTING
                element = 'LAST'
           EXCEPTIONS
                OTHERS  = 01.
      CLEAR sy-subrc.
    CALL FUNCTION 'WRITE_FORM'
           EXPORTING
                element = 'FOOTER'
                window = 'FOOTER'
           EXCEPTIONS
                OTHERS  = 01.
      CLEAR sy-subrc.
    CALL FUNCTION 'CONTROL_FORM'
           EXPORTING
                 COMMAND = 'NEW-PAGE'
           EXCEPTIONS
                 UNOPENED = 01
                 UNSTARTED = 02.
    It looks like the 'FOOTER' window is under control of SAPScript, not of print program.
    Note: 'CONTROL_FORM' call is placed immediatelly before 'CLOSE_FORM', so at the last possible place.
    Kind regards,
    Grigor

  • MICR printer configuration

    Hi All,
    I am trying to configure my check printer to print MICR characters.
    Thr printer which we are using is HP Laser Jet P2015 printer.
    The configurations are done as per Note: 94233.
    Following are the inputs which are given by me in SPAD transaction.
    DEvice Type: ZTROYMIC : TROY MIC Printer
    Access Method: G
    Host Printer :
    <Network Pah of Printer>
    Please do help me and let me know if there is anything else that is pending from my end.
    Regards,
    Nitin

    Nitin,
    SAP does not support printer P2015 for printing MICR characters.Following are the only printer models you can use with the device type TROYMICR.
    Printer model:      TROY MICR printer   TROY MICR fonts+toner
    HP LaserJet 4P                          X
    HP LaserJet 4        TROY 508            X
    HP LaserJet 4 Plus   TROY 512            X
    HP LaserJet 4 V                          X
    HP LaserJet 4 SI                        X
    HP LaserJet 5P                          X
    HP LaserJet 5        TROY 512 Plus       X
    HP LaserJet 5 SI                        X
    HP LaserJet 5SI (mopier)                X
    HP LaserJet 6P                          X
    HP LaserJet 1000                        X
    HP LaserJet 1100     TROY 1100          X
    HP LaserJet 1200     TROY 1200          X
    HP LaserJet 2100     TROY 2100          X
    HP LaserJet 2200     TROY 2200          X
    HP LaserJet 4000     TROY 617            X
    HP LaserJet 4050     TROY 4050          X
    HP LaserJet 4100     TROY 4100          X
    HP LaserJet 4200     TROY 4200          X
    Hope this is clear to you now.

  • How to print the MICR symbols in sapscript for Cheque printing

    Hello All,
    I am working on the cheque printing. I want to display check number with MICR symbols like in the original cheque we have at the footer level the symbols.
    How to print the MICR symbols in the SAP Script. Could anybody please help me out in this issue.
    Thanks

    Hi,
    In This case your Printer should support the E-13B  Charecters.
    Create a ParaGraph with Font family as MICR_E.
    use C for ON-US SYMBOL which is printed at the beginig and end of the Check Number
    ie C&CHECK_NUMBER&C
    then use A for TRANSIT NUMBER  and
    Use D for DASH SYMBOL  in your check.
    then while Printing the check  the original check number will be printed .
    Note: Your Printer should support the E-13B charecters
    Thanks.
    UmaS.

  • Image not printed in SapScript, only after page break

    Hi,
    I have a problem in printing an image (stored as text) in a sapscript. The image was uploaded correctly from a TIF file in tcode SE78. The image contains a signature and I need to print it at variable positions within the form. That is I need to print it in the MAIN window. The image does not get printed when a page break occurs when outputing the text element containing the picture. If the page break occurs when outputing any (other) text, the image is printed correctly (after that text).
    Has anybody else encountered this problem? Could it be a sapscript bug?
    Thx in advance.
    Claudiu

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

  • Text printing in SapScript

    Hi Abapers,
    I am chaniging an existing SapScript that was not working properly. Client wants to print "Item Text" in output which is of 3 to 4 page. where as there is only one line item in PO. Also there is "Header Text"  of 1 page. Client wants to display all line items then "Item Text" should displayed. and at last the "eader Text". The Format is Like as Follows:-
    PO No.                           12.12.2006
    Vendor Name
    Country
       S.No.     Mat. Desc.                          Qty. ...............and so on..........
       1            abc                                    11 .....................
    Item Text starts from here........................
    Problem is here
    This text is of 3 page (say).
    So text starts from here and est of text goes to next page.
    Only 4 Lines are printed properly and rest of lines are not printed.
    I also checked in debuging mode.
    so attachibng the code for reference kindly go through this.
    Header Text Starts from here
       Total amt.  in words......
    FORM READ_TEXTSLO1 TABLES IN_TAB200  STRUCTURE ITCSY
                           OUT_TAB200 STRUCTURE ITCSY.
      READ TABLE IN_TAB200 INDEX 1.
      EBELN1 = IN_TAB200-VALUE.
      READ TABLE IN_TAB200 INDEX 2.
      EBELP = IN_TAB200-VALUE.
      CONCATENATE EBELN1 EBELP INTO OBJNAME.
      CLEAR WRK_IT1.
      CLEAR WRK_IT2.
      CLEAR WRK_IT3.
      CLEAR WRK_IT4.
      CLEAR WRK_IT5.
      Repeated Code
      SELECT SINGLE TDNAME INTO WRK_TDNAME FROM STXH
        WHERE TDOBJECT = 'EKPO'
        AND TDNAME = OBJNAME
        AND TDID EQ 'F01'.
      IF SY-SUBRC = 0.
        CALL FUNCTION 'READ_TEXT'
          EXPORTING
            CLIENT   = SY-MANDT
            ID       = 'F01'
            LANGUAGE = 'E'
            NAME     = OBJNAME
            OBJECT   = 'EKPO'
          TABLES
            LINES    = IT_LINE.
        IF SY-SUBRC = 0.
         delete it_line where tdline EQ ' '.
    BREAK ABAP7.
         DESCRIBE TABLE it_line LINES wrk_lines1.
          LOOP AT IT_LINE.
            CLEAR WRK_TABIX.
            WRK_TABIX = SY-TABIX.
            IF WRK_TDLINE EQ ' '.
              WRK_TDLINE = IT_LINE-TDLINE.
            ELSE.
              CONCATENATE  WRK_TDLINE IT_LINE-TDLINE INTO  WRK_TDLINE
              SEPARATED BY SPACE.
            ENDIF.
            Y = STRLEN( WRK_TDLINE ).
            CALL FUNCTION 'RKD_WORD_WRAP'
                   EXPORTING
                     TEXTLINE                  = WRK_TDLINE
                     DELIMITER                 = ' '
                     OUTPUTLEN                 = 100
                  IMPORTING
                    OUT_LINE1                 = OUT_LINE1
                    OUT_LINE2                 = OUT_LINE2
                    OUT_LINE3                 = OUT_LINE3
              OUT_LINE3                 =
            TABLES
              OUT_LINES                 =
            EXCEPTIONS
              OUTPUTLEN_TOO_LARGE       = 1
              OTHERS                    = 2
            IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            ENDIF.
    *break abap7.
            CASE WRK_TABIX.
              WHEN 1 .
                WRK_IT1 = OUT_LINE1.
              WHEN 2 .
                WRK_IT2 = OUT_LINE1.
              WHEN 3 .
                WRK_IT3 = OUT_LINE1.
              WHEN 4 .
                WRK_IT4 = OUT_LINE1.
            ENDCASE.
            IF OUT_LINE3 EQ ' '.
              WRK_TDLINE = OUT_LINE2.
            ELSE.
              CONCATENATE OUT_LINE2 OUT_LINE3 INTO WRK_TDLINE
              SEPARATED BY SPACE.
            ENDIF.
          ENDLOOP.
          IF WRK_IT4 NE ' '.
            Y = STRLEN( WRK_TDLINE ).
            IF Y GT 50.
              CALL FUNCTION 'RKD_WORD_WRAP'
                       EXPORTING
                         TEXTLINE                  = WRK_TDLINE
                         DELIMITER                 = ' '
                         OUTPUTLEN                 = 50
                      IMPORTING
                        OUT_LINE1                 = OUT_LINE1
                        OUT_LINE2                 = OUT_LINE2
                        OUT_LINE3                 = OUT_LINE3
              OUT_LINE3                 =
            TABLES
              OUT_LINES                 =
            EXCEPTIONS
              OUTPUTLEN_TOO_LARGE       = 1
              OTHERS                    = 2
              IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
              ENDIF.
              wrk_it4 = out_line1.              " Change Uncommented"
              WRK_ITA = OUT_LINE1.
              WRK_ITA4 = OUT_LINE2.
            ELSE.
              WRK_ITA = WRK_TDLINE.
            ENDIF.
          ENDIF.
        ENDIF.
        CLEAR WRK_TDLINE.
        CLEAR OUT_LINE1.
        CLEAR OUT_LINE2.
        CLEAR OUT_LINE3.
        OUT_TAB200-VALUE = WRK_IT1.
        MODIFY OUT_TAB200 INDEX 1 TRANSPORTING VALUE.
        OUT_TAB200-VALUE = WRK_IT2.
        MODIFY OUT_TAB200 INDEX 2 TRANSPORTING VALUE.
        OUT_TAB200-VALUE = WRK_IT3.
        MODIFY OUT_TAB200 INDEX 3 TRANSPORTING VALUE.
        OUT_TAB200-VALUE = WRK_IT4.
        MODIFY OUT_TAB200 INDEX 4 TRANSPORTING VALUE.
      ENDIF.
    *****************************************************************Repeated code
    Again the same code is repeated but now the TDID eq F02 in Select Query and also in READ_TEXT  Fun. Module. and now in the CASE statement next 4 lines coded as
    WHEN 1 .
                WRK_IT5 = OUT_LINE1.
              WHEN 2 .
                WRK_IT6 = OUT_LINE1.
              WHEN 3 .
                WRK_IT7 = OUT_LINE1.
              WHEN 4 .
                WRK_IT8 = OUT_LINE1.
    and also these 4 rows modified as follows
    OUT_TAB200-VALUE = WRK_IT5.
          MODIFY OUT_TAB200 INDEX 5 TRANSPORTING VALUE.
    Now each time 4 - 4 rows coded as like as above.
    upto TDID = F05
    So there are total of 20 lines.
    Now the text is of 4 to 5 page then its not printed. even 5th line is not printed. control not goes to 2nd Select Query cause the OBJECTNAME does not exist.
    <b>for more information write your Email ID . So that i can explain more.</b>
    So kindly review this and let me know what should i do ?
    Helpful answer rewarded.
    Regards
    Robin

    hi,
    <b>SAP SCRIPTS TUTORIALS</b>
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/SAPSCRIPTS_tutorial.html
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRPROG/BCSRVSCRPROG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRRDI/BCSRVSCRRDI.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCREDIT/BCSRVSCREDIT.pdf
    http://www.sappoint.com/abap/sscrtpex1.pdf
    http://www.sap-img.com/sapscripts.htm
    http://www.esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
    SAP Script From the Scratch
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/SAPSCRIPTS_tutorial.html
    http://www.sap-img.com/sapscripts.htm
    http://sappoint.com/abap/
    http://www.henrikfrank.dk/abapexamples/SapScript/sapscript.htm
    http://www.henrikfrank.dk/abapexamples/SapScript/symbols.htm
    http://sapbrain.com/TUTORIALS/TECHNICAL/SAPSCRIPTS_tutorial.html
    http://www.esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
    http://www.esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
    http://www.esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
    http://www.esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
    http://www.esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm
    http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.pdf
    http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
    http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf.
    http://esnips.com/doc/cb7e39b4-3161-437f-bfc6-21e6a50e1b39/sscript.pdf
    http://esnips.com/doc/fced4d36-ba52-4df9-ab35-b3d194830bbf/symbols-in-scripts.pdf
    http://esnips.com/doc/b57e8989-ccf0-40d0-8992-8183be831030/sapscript-how-to-calculate-totals-and-subtotals.htm
    Rgds
    Anver
    <b><i>if hlped pls mark points</i></b>

  • Is it possible to print layout/sapscript in background  ?

    hello
    i need to print some form ( layout/sapscript ) in background
    is it possible to print it immediately in background   ?
    i don’t want to keep it in the spool .
    This is the following code of my.
    submit   ****
            SUBMIT YMM_VERIFICATION_BCK_GRND
            VIA JOB JOBNAME NUMBER  JOBCOUNT
            with SL_BELNR in TB_BELNR
            with SL_GJAHR in TB_GJAHR
            with SL_BUKRS in TB_BUKRS
            TO SAP-SPOOL  IMMEDIATELY ' '
            DESTINATION    'LOCL'
            KEEP IN SPOOL  ' '
            AND RETURN.
    print ************
    itcpo-tdimmed   = 'X'.
      CALL FUNCTION 'OPEN_FORM'
       EXPORTING
              APPLICATION                       = 'TX'
              ARCHIVE_INDEX                     =
              ARCHIVE_PARAMS                    =
              DEVICE                            = 'PRINTER'
               DIALOG                            = 'X'
              FORM                              = 'YMM_VERIFICATION'
              LANGUAGE                          = SY-LANGU
              OPTIONS                           = ITCPO

    DATA: number           TYPE tbtcjob-jobcount,
          name             TYPE tbtcjob-jobname VALUE 'JOB_TEST',
          print_parameters TYPE pri_params.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = name
      IMPORTING
        jobcount         = number
      EXCEPTIONS
        cant_create_job  = 1
        invalid_job_data = 2
        jobname_missing  = 3
        OTHERS           = 4.
    IF sy-subrc = 0.
      SUBMIT submitable TO SAP-SPOOL
                        SPOOL PARAMETERS print_parameters
                        WITHOUT SPOOL DYNPRO
                        VIA JOB name NUMBER number
                        AND RETURN.
      IF sy-subrc = 0.
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount             = number
            jobname              = name
            strtimmed            = 'X'
          EXCEPTIONS
            cant_start_immediate = 1
            invalid_startdate    = 2
            jobname_missing      = 3
            job_close_failed     = 4
            job_nosteps          = 5
            job_notex            = 6
            lock_failed          = 7
            OTHERS               = 8.
        IF sy-subrc <> 0.
        ENDIF.
    CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'.
      ENDIF.
    ENDIF.

  • REGION is not shown in Address to be printed in SAPSCRIPT

    Hi,
           I am trying to print the address within a sapscript .Everything is being displayed except the 'regio' ie region field. but when i replace the label region with city or something else followed by the field name it prints fine.
    The code is as follows:
    ADDRESS DELIVERY PARAGRAPH L
      TITLE    &VBDKL-KUNWE&
      NAME     &VBDKL-NAME1&, &VBDKL-NAME2&, &VBDKL-NAME3&,&VBDKL-NAME4&
      STREET   &VBDKL-STRAS&
      CITY     &VBDKL-ORT01&
      POSTCODE &VBDKL-PSTLZ&
      REGION   &VBDKL-REGIO&
      COUNTRY  &VBDKL-LAND1&
      FROMCOUNTRY 'FR '
    ENDADDRESS

    Check this out once -
    Formatting Addresses: ADDRESS
    The ADDRESS - ENDADDRESS control command formats an address according to the postal convention of the recipient country defined in the COUNTRY parameter. The reference fields are described in the structures ADRS1, ADRS2, or ADRS3, depending on the type of address. Either direct values or symbols may be assigned to the parameters.
    Syntax:
    /: ADDRESS [DELIVERY] [TYPE t] [PARAGRAPH a] [PRIORITY p] [LINES l]
    /: TITLE title
    /: NAME name1[,name2[,name3[,name4]]]
    /: PERSON name of natural person [TITLE form of address]
    /: PERSONNUMBER number of the personen
    /: DEPARTMENT department
    /: STREET street name HOUSE house number
    /: LOCATION additional location information
    /: POBOX po box [CODE post code / zip code] [CITY city]
    /: POSTCODE post code / zip_code
    /: CITY city1[,city2]
    /: NO_UPPERCASE_FOR_CITY
    /: REGION county / state
    /: COUNTRY recipient country [LANGUAGE language code]
    /: COUNTRY_IN_REC_LANG
    /: LANG_FOR_COUNTRY language key
    /: FROMCOUNTRY sender country
    /: ADDRESSNUMBER address number
    /: ENDADDRESS
    The parameter values contain both formatting and address information. The address data are formatted for output according to the data in the following parameters:
    TYPE
    FROMCOUNTRY
    COUNTRY
    LANGUAGE
    PRIORITY
    DELIVERY
    LINES
    For more information, see the documentation for the SAP function module ADDRESS_INTO_PRINTFORM.
    If DELIVERY is not specified and if a POBOX is specified, then the POBOX is used in an address instead of a STREET.
    Parameters
    DELIVERY
    Means that the address should be formatted as a complete delivery address, using the street name and number rather than the P.O. Box.
    TYPE
    Specifies the type of address. The following types are possible:
    1.     Normal address (ADRS1). This is the address of a company or organization. It corresponds to the address structure that is expected in most SAP applications.
    2.     Private or personal address (ADRS2). This is the address of a natural person, a private or home address.
    3.     Company addressDienstadresse (ADRS3) with contact person. This is the address of a colleague or contact within a company or organization. The company name should be specified in the TITLE and NAME fields; the ATTN: contact person should be named in PERSON and TITLE.
    Should you enter another address type or leave the field blank, then type 1 is used for formatting.
    PARAGRAPH
    Specifies the paragraph format to be used for outputting the address. If this parameter is not given, the address will be output using the default paragraph format.
    PRIORITY
    Specifies which of the address lines may be omitted should this be necessary. Any combination of the following codes may be specified. The order in which you list the codes determines the order in which address lines are left out.
    The codes are as follows:
    A Title
    P Mandatory empty line
    4 Name4
    3 Name3
    R Region
    T Neighborhood, administrative section of a city (CITY2)l
    D Department
    L Country name
    C Post code or zip code
    2 Name2
    B P.O. Box (Japan only)
    S Street name and number or P.O. Box, depending upon DELIVERY parameter
    N Name and form of address of natural person (PERSON and TITLE)
    I Location information in LOCATION
    O City
    LINES
    Specifies how many lines may be used for formatting the address. If there are too few lines available to allow all the address data to be formatted, then the data specified in the PRIORITY parameter are omitted. If there is no LINES parameter and if this command is in a form window of a type other than MAIN, then the number of lines available for formatting the address are automatically calculated based on the current output position and the size of the window.
    TITLE
    Title or form of address. Used only with addresses of types 1 and 3.
    NAME
    Up to four names may be given, separated by commas. Used only with addresses of types 1 and 3.
    PERSON
    Name of the addressee. Used only for addresses of type 2 (private or personal address) or type 3 (company contact address). In type 3 addresses, use PERSON for the name of your contact person: ‘Attn: Mr. Jeffries’. The name fields should be used for the company address.
    PERSONNUMBER
    Personal number. Can be used only for address types 2 or 3 (private or personal address).
    TITLE (with PERSON)
    Title of the addressee. Can be used only for address types 2 or type 3 (private or personal address).
    DEPARTMENT
    Department of the addressee. Can be used only for address type 3 (company address).
    STREET
    Street name.
    HOUSE
    House number for the corresponding street.
    LOCATION
    Additional location information, such as the building, "Upstairs Apartment" and so on. Appears on its own line in the address.
    POBOX
    P. O. Box
    CODE
    The post code / zip code of the P. O. Box if this differs from the post code / zip code of the recipient.
    CITY
    The city in which the destination P.O. Box is located if this differs from the city of the recipient.
    POSTCODE
    Post code / zip code of the recipient.
    CITY
    Addressee’s city. city1 is expected to be the city; city2 is the neighborhood or administrative section, if required.
    NO_UPPERCASE_FOR_CITY
    Default = NO_UPPERCASE_FOR_CITY ‘ ‘
    Usually, the system prints the city and country names of foreign addresses in uppercase ( NO_UPPERCASE_FOR_CITY ‘ ‘ ).
    You can use this parameter to force the system to output city and country name unchanged (uppercase/lowercase).
    ( NO_UPPERCASE_FOR_CITY ‘X’ )
    REGION
    This allows an administrative region, county, province, or state etc. to be specified.
    COUNTRY
    Specifies the recipient country, i.e. the country according to whose postal conventions the address is to be formatted.
    COUNTRY_IN_REC_LANG
    This flag tells the system to use the recipient language for the country name.
    ( COUNTRY_IN_REC_LANG ‘X‘ )
    ( Default: Recipient language is not used: COUNTRY_IN_REC_LANG ‘ ‘ )
    LANG_FOR_COUNTRY
    Default = Space
    Use this parameter to explicitly set the language in which to print the country name of a foreign address. By default, the system uses the language of the sending country.
    LANGUAGE
    Language code of the language of the recipient country, if it differs from that of the recipient COUNTRY. Example: addresses in Switzerland. Standard SAP language codes are used; you can display these in the initial SAPscript text processing screen or in table T002.
    FROMCOUNTRY
    Specifies the language to be used for formatting the name of the recipient country. For most European countries, the recipient country is specified by placing the international car registration letters in front of the post code and separating them from the post code with a hyphen. You must always specify the sender country.
    ADDRESSNUMBER
    The number is used to index a central address file, from which the desired address is read instead of using the set of the above fields. You can find more information on this facility in the documentation for the function module ADDRESS_INTO_PRINTFORM.
    You use this one parameter instead of the set of parameters described before.
    /: ADDRESS
    /: TITLE 'Firma'
    /: NAME 'Schneider & Co', 'Finanzberatung'
    /: STREET 'Kapitalgasse 33'
    /: POBOX '12345' CODE '68499'
    /: POSTCODE '68309'
    /: CITY 'Mannheim'
    /: COUNTRY 'DE'
    /: FROMCOUNTRY 'DE'
    /: ENDADDRESS
    This produces the following output address:
    Firma
    Schneider & Co
    Finanzberatung
    Postfach 12345
    68499 Mannheim
    If the DELIVERY parameter is specified on the ADDRESS command, then the street name and number will appear in the address in place of the P. O. Box number.
    Firma
    Schneider & Co
    Finanzberatung
    Kapitalgasse 33
    68309 Mannheim
    SAPscript makes an internal call to the ADDRESS_INTO_PRINTFORM function module for formatting the address. If the result is not as expected, you should check the settings for this function module (see the function module documentation).

  • Logos not printing in SAPScript in background

    Hi all,
    Company logo is part of check printing, which is developed using SAPSCript.
    The printed checks have the logo, if the job is run from foreground.
    But, when check printing is scheduled, it is not getting printed.  Ideally, check printing will be a scheduled process only.
    Also, this issue happens with certain users only.  Can anybody help me in identifying the auth object that relates to logos?
    Request the experts to provide input on these.
    Regards,
    Sridevi
    Edited by: Sridevi on Jul 2, 2008 10:39 AM

    Hi,
    I ran ST01 and found S_BDS_DS object missing.
    Regards,
    Sridevi

  • Duplicate printing In SAPScript form

    In SAPScript form, is it possible to print the same page twice in one go without creating the same window twice?
    There is a specific requirement that we need to print the same content twice.
    Thanks for your kind help.
    Ashish

    In the OPEN_Form function module you can pass the no. of copies OPTIONS-TDCOPIES.

  • Label Printing in SAPScript

    Hi All,
    I am facing a problem in Printing a Label in SAPScript.
    Kindly find the following code snippet.
    Request to give the explaination of the below code.
    FO40,37A0N,30,35FRFDSHIP FROM:^FS
    FO40,87A0N,30,35FRFD&SHIP_POINT-LINE1&^FS
    FO40,137A0N,30,35FRFD&SHIP_POINT-LINE2&^FS
    FO40,187A0N,30,35FRFD&SHIP_POINT-LINE3&^FS
    FO40,237A0N,30,35FRFD&SHIP_POINT-LINE4&^FS
    FO40,287A0N,30,35FRFD&SHIP_POINT-LINE5&^FS
    Points Assured.
    Regards.

    I have already replied to this in another forum, however ...
    You have to check the lines SHIP_POINT-LINE1/SHIP_POINT-LINE2/SHIP_POINT-LINE3/SHIP_POINT-LINE4/SHIP_POINT-LINE5. These have to be replaced by internal table fields coming from your print program inorder to display the text on the label.
    FO40,37A0N,30,35FRFDSHIP FROM:^FS
    FO40,87A0N,30,35FRFD&SHIP_POINT-LINE1&^FS
    FO40,137A0N,30,35FRFD&SHIP_POINT-LINE2&^FS
    FO40,187A0N,30,35FRFD&SHIP_POINT-LINE3&^FS
    FO40,237A0N,30,35FRFD&SHIP_POINT-LINE4&^FS
    FO40,287A0N,30,35FRFD&SHIP_POINT-LINE5&^FS
    Try this. Hope it will help.

  • Excise invoice printing by sapscript

    Hi All,
    Can anyone provide me the details of  step by step how to display the sales excise invoice  by sapscript?
    I had gone to VF02 and then enter the Billing document Number whose excise invoice has already developed. I went to header > output>output type is J1I0 for output type.When I am going to Print preview by ISSUE OUTPUT TYPE no preview is coming...
    Hope Connection between driver program and sapscript is not done..
    Else if I go V1IP and entering excise invoice number and then tell me how print preview will come with value...
    Please do help..Urgently..Go live is forthcoming soon...I remain grateful for the same....
    Sikha.

    Hi,
      Please  do this....
    1.Check the SAP Script : OPEN_FORM should have the option DIALOG = 'X'.Then only the dialog will be appearing.
    If this is ok, then go to 2.
    2.Go to SE11 and Display the entries of TNAPR by giving the Output Type, Application Type and Print Medium( 1).
    If the configuration is done correctly, then the form details are shown.Else, the configuration is not done.
    If configuration is not done, then go to NACE.
    Select Corresponding application Type and click on output types.All the output will be appearing.Then select the output which you want and click on Processing Routines (on Left hand side).
    Then You will get a screen where you need to enter the Subroutine, Form Name etc.
    Thanks & Regards,
    Vamsi.

Maybe you are looking for

  • Regarding Digital Signatures and Seed Values

    Hi First let me explain my scenario i had done so far and then i will explain the problem i am facing. Scenario I had created an intercative form with 4 Text Fields along with two signature fields(So that the form has to be signed by two persons let

  • Can not perform system backup

    i got a funny problem.  when i tried to perform a system back, i got an error message about not enough free space on one of the partitions that i would like to back up. any idea about the solution for this problem? W500 T9900 8GB + TBs imageries

  • [SOLVED] Pacman -Syu, Download Only

    Hello, I've searched the man page but found nothing about this. My ISP has traffic limits and has HappyHours at night, so I'd like to download the possible upgrades with a cronjob but pacman doesn't seem to have a flag for that, like --download-only

  • Alerts Display problem

    Hi,   I have done alert configuration and everything is fine Alerts are getting triggerrd properly..    but the problem is in alert mail its not displaying the Container variables information. Ex sender party,Error code, interface name. these informa

  • SelectOneChoice value getting reset

    Hi All, My page has 4 conditional selectOneChoice components. 1.State 2.City 3.Area 4.Zipcode I have partialtriggers for all components.When i select "State" my valueChangeListener gets called and values for "City" comes but the value for "State" sel