Problem in address printing in sap script in Russian language

hi all
I am trying to get a PO output using a sap script. The problem is that the vendor address in not coming in the required Russian language. The language in PO is Russian and the logon langauge is also Russian.
The script uses ADDRESS ENDADDRESS statement to print the address in form. This statement
uses the function module ADDRESS_INTO_PRINTFORM to print the address. The address can be obtained in the required language from this function module but I want the address in Russian language uses the ADDRESS ENDADDRESS statement.
Please let me know if any body has faced this kind of problem earlier.
Thanks.

Hi,
pls check that u have provided the following parameters in ADDRESS ENDADDRESS.
/:address
/:COUNTRY recipient country [language code]
/: COUNTRY_IN_REC_LANG
/: LANG_FOR_COUNTRY language key
/:endaddress
language codes can be know in table T002.
Hopes this helps!!
thanks

Similar Messages

  • How to add field on into standard address window in SAP script

    Hello Exports,
            I want to add Vendor number field in between the Vendor name and vendor address in the address window in sap script.
    Address is written in standard Address and Entendres. I need to add the vendor number in thsi Address and Endaddress.
    Please guide in this.

    goto the Vendor Name field .
    Hit enter.
    A new line is created.
    Give your Vendor Num field there.
    Bhupal

  • Regarding Address EndAddress in SAP Script

    <i>Hi Abapers,
    I am having a problem while displaying the address in SAP Script through Address EndAddress.
    Problem is it is displaying the data correctly but it display the Region Code. Now the requirement is to display the Region Description instead of the Region Code.
    Can you please provide me any solution for this.
    I am sending the Address EndAddress which I have written in my code.</i>
    /:          ADDRESS DELIVERY PARAGRAPH ZC
    /:            NAME     &VBDKL-ZBTNAME1&, &VBDKL-ZBTNAME2&, &VBDKL-ZBTNAME3&, &VBDKL-
    /:            STREET   &VBDKL-ZBTSTRAS&
    /:            CITY     &VBDKL-ZBTORT01&, &VBDKL-ZBTORT02&
    /:            POSTCODE &VBDKL-ZBTPSTLZ&
    /:            COUNTRY  &VBDKL-ZBTSLAND&
    /:            REGION   &VBDKL-ZBTREGIO&
    /:            FROMCOUNTRY &VBDKL-ZBTLLAND&

    Hi
    ADDRESS and ENDADDRESS is used to specify the address which will
    be formatted according to the target country i.e the recipient country.
    e.g. /:ADDRESS sales PARAGRAPH C
    /:NAME &KNA1-NAME1&
    /:STREET &KNA1-STRAS&
    /:POSTCODE &KNA1-PSTLZ&
    /:CITY &KNA1-ORT01&
    /:COUNTRY &KNA1-LAND1&
    /:FROMCOUNTRY 'DE'
    formatting address
    http://help.sap.com/saphelp_46c/helpdata/en/d1/803238454211d189710000e8322d00/frameset.htm
    http://help.sap.com/saphelp_40b/helpdata/en/d1/803238454211d189710000e8322d00/content.htm
    <b>Reward if usefull</b>

  • Sticker printing through sap script

    I m priting specific stickers through sap script.
    An A4 size page contains 8 stickers, 4 in one line.
    No of stickers to be printed are generated dinamically.
    I have put 8 windows on the page. Now i want that if lets say the no of stickers to be printed are 5, then the program should not print the rest 3 stickers.
    So give some solution of hiding or unhiding the rest of the windows.

    call them in the loop..
    give the window name in layout as window1, window2,...window8.
    tkhen.. suppose u wnat 5 windows..
    do 5 times.
    v_num = sy-index.
    condence v_num.
    concatenate 'window' v_num to  v_window.
    call the window.
    enddo.
    Please Close this thread.. when u r problem is solved
    Reward if Helpful
    Regards
    Naresh Reddy K

  • Vertical Printing in SAP Script,

    Dear Friends,
    I have one requirement in SAP Script.
    I need to print Fixed Text in SAPScript but Vertical .
    Could anybody help me on this issue.
    Regrads
    Vijay

    hI
    PCL5 commands are specific to HP printers. So you need to find out the exact printer control language for your Datamax printer becoz even if you follow exactly the same as the steps below, you may not be able to get your desired output, becoz your printer may not understand PCL5 commmands.
    Note: The steps illustrated below are what I did for the HP printer that I used. Caution: If you try to use it on other printers, be prepared for cases like infinite loop- the printer may keep on churning out pages of unreadable characters. Also,you won't be able to see the effect in Print Preview because print commands will only be effected during the actual printing.
    I have used the PCL5 commands from this document: http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13210/bpl13210.pdf (refer to P79)
    1/ Go to T-code: SPAD > Full administration > Device Type tab > Display Print controls
    2/ Change to Edit mode > Click on Create icon > create a Print Control say ZR090, add the Comment > Check 'Use in SAPscript Drivers', 'Use by SAP' > Save it
    3/ Go to T-code: SPAD > Full administration > Device Type tab > Choose your Device Type: say HPLJ4 (it is recommended that you copy the Standard Device Type to a new Device Type ZHPLJ4 so that future upgrades will not affect your Device Type.) > Display. (Do select the Device Type of your printer, since I am using HP 4000 series, I chose HPLJ4)
    4/ Change to Edit Mode > Print Control tab > Click the Standard Print Controls button on the Application toolbar > Put cursor on the newly created Print Control name in Step 1 and hit the Choose icon on the Application toolbar. The name should appear right at the bottom of the Print Control list. For that Print Control name, select radiobutton for 'Direct', and 'Converted' and the control character sequence is: \e&a90P (if you need a 90 degrees rotation), \e&a0P (for 0 degree), \e&a180P (for 180 degrees), and \e&a270P (for 270 degrees) > Save it. (These are the PCL5 commands specific to HP prnters)
    5/ Note: You need to create another Print Control for a 0 degrees rotation to switch back to the normal printing orientation after printing your rotated text. So repeat Step 2 and Step 4 for a 0 degrees rotation
    6/ In your smartform, Create a Command before the Text you want to rotate (Right Click on the Node > Create > Flow Logic > Command > Under Generate Attributes tab > Output Options > Include Printer Control > click the Search Help and find the Print Control ZR090 which will rotate everything after this Command to 90 degrees.
    7/ After rotating the part of text, if you want to rotate it back to the normal printing direction, insert another Command as in Step 6, but choose the Print Control for the 0 degrees.
    8/ Print your smartform to see if that is your desired output.
    Note: from my trial-and-errors, exploration and testing, I feel in my opinion, it might not really be worth the while to work on this. Because it needs alot of trials-and-errors and print commands are very specific to the printers (so if client changes the printer, your smartform may be rendered useless unless it uses the same Printer Control Language). Further, I have another problem with this. Even if you manage to rotate the text successfully, the position of the text may not be want you want (becoz of what the command tries to do) . Then you have to take into account the position in the designing of the form.
    So here is what I suggest, if you really want to use Printer Controls, search the internet for equivalent Printer Control Language for your Datamax printer (Note that even if you find, the way to use may be different from the above Steps. For eg. for Zebra Printers, the way to rotate text is different as shown in OSS Note 750772).
    Alternatives:
    1/ Or you could create a bitmap picture with the rotated text, like wat many have suggested
    2/ Find a font type that is able to change the words into a vertical orientation (there are upside-down fonts for a 180 degrees rotation, so you might want to do a search for a font that meets your requirement) and then upload to SAP.
    3/ The last one which might be more viable is to use Adobe Interactive Forms. A colleague told me that one is able to change orientation of text in it (I have not tried it before) but you can do some exploration b4 commiting to using it. You don't have to output to PDF to use it. Normal printing is also possible. The T-Code for this is: SFP (type 'S*' for SAP examples, do an exploration on Layout tab, maybe it can provide a new alternative).

  • How to print BARCODE in DATAMAX Printer using SAP Script?

    Hi,
    Can anybody guide me how to print BARCODE using DATAMAX Printer?
    I need to develop a SAP Script, through which i need to print the BARCODE.
    Pls. let me know the parameters for Script and how to print using print program.....
    Regards,
    Hemant

    make one form in sapscript with one main window: like this
    /E           ETIKETT
    /*           Format = '57x19', Printer = 'Bradyprinter Model 1344'
    /           ~f350
    /           ~n
    /           ~M0500
    /           ~O0220
    /           ~SG
    /           ~s
    /           ~c0000
    /           ~e
    /           ^D
    /           ~L
    /           D11
    /           H20
    /           PC
    /           pC
    /           SC
    /           A2
    /           1911A1200400005&knmt-kdmat&
    /           1911A0800300005&knmt-postx&
    /           1911A0800100005VS-Nr   :         &KNMT-MATNR&
    /           1911A0800000005Datum   :         &date&
    /           Q0001
    /           E
    in this script   &mseg-matnr&    and    &mseg-charg&    are 2D Barcodes
    /E           ETIKETT
    /*           Format = '57x19', Printer = 'Bradyprinter Model 1344'
    /           ~f350
    /           ~n
    /           ~M0500
    /           ~O0220
    /           ~SG
    /           ~s
    /           ~c0000
    /           ~e
    /           ^D
    /           ~L
    /           D11
    /           H20
    /           PC
    /           pC
    /           SC
    /           A2
    /           1Wc99000001400082000012012&mseg-matnr&
    /           ySPM
    /           1911A1000380055&mseg-matnr&
    /           1Wc99000001501702000012012&mseg-charg&
    /           1911A0800260055&mkpf-budat&
    /           1911A0800140055&mseg-mblnr&
    /           1911A0600020008&makt-maktx&
    /           Q0001
    /           E
    then you need your own printprogram and everything is fine. with open_form ;  start_form ; write_form;  end_form
    you can communicate direct with the Datamax Programming Language  from SAPScript to the Barcode printer.
    i also have the datamax programmers manual as pdf if you want i could send it to you. let me know by PM.
    also have look into HW 490295  the bartender Solution works fine for me to create the SO10 text's
    greetz
    tony
    Edited by: Tony Wienhold on Jul 17, 2009 4:37 PM

  • Address -Endaddress in Sap Script

    Hi
    Requirement is to  add District field in new line in SAP Script.
    I am using Address End address :
    /:          ADDRESS
    /:            TITLE       &DKADR-ANRED&
    /:            NAME        &DKADR-NAME1&, &DKADR-NAME2&, &DKADR-NAME3&, &DKADR-NAME4&
    /:            STREET      &DKADR-STRAS&
    /:            POBOX       &DKADR-PFACH& CODE &DKADR-PSTL2&
    /:            CITY          &DKADR-ORT02& ,  &DKADR-ORT01&
    /:            POSTCODE    &DKADR-PSTLZ&
    /:            COUNTRY     &DKADR-LAND1&
    /:            REGION      &DKADR-REGIO&
    /:            FROMCOUNTRY &DKADR-INLND&
    /:          ENDADDRESS
    So basically I would like to put  &DKADR-ORT02& in new line.
    I cannot use District  field.If I use CITY field again it is not showing the value.
    How do we add this new field?

    Try like this not sure it will work or not.
    /: ADDRESS
    /: TITLE &DKADR-ANRED&
    /: NAME &DKADR-NAME1&, &DKADR-NAME2&, &DKADR-NAME3&, &DKADR-NAME4&
    /: STREET &DKADR-STRAS&
    /: POBOX &DKADR-PFACH& CODE &DKADR-PSTL2&
    <b>/: CITY &DKADR-ORT02&</b>
    <b>/: CITY &DKADR-ORT01&</b>
    /: POSTCODE &DKADR-PSTLZ&
    /: COUNTRY &DKADR-LAND1&
    /: REGION &DKADR-REGIO&
    /: FROMCOUNTRY &DKADR-INLND&
    /: ENDADDRESS
    Regards,
    SaiRam

  • Box printing in SAP script

    i want to display box in Window in SAP script.. n  in that box i want to habe Amout Rs Printed... please help mi with the same

    Text Elements
    You can define text elements (window texts) for each window. On the Form: Request screen, choose Edit ® Text elements.
    The print program accesses text elements by name, formats them and prints them in the respective window. That is, the program can decide which text elements should be printed in a particular window. It calls these text elements by name to print them. You must therefore change text element names in the print program if you make any changes to text element names in a form.
    In the layout of a text element, you can use only the paragraph and character formats defined in the form.
    Example of a text element in an order confirmation:
    /E ITEM_LINE
    IL &VBDPA-POSNR&,,&VBDPA-MATNR&,,&VBDPA-ARKTX&
    / &'Customerarticlenumber 'VBDPA-IDNKD' '&&'Position
    / 'VBDPA-POSEX&
    This example shows a section of a main window of a form, with an item line of an order confirmation. The /E in the tag column is used to identify the text as a text element, ITEM_LINE is the name of the text element.
    Default Text Element
    At the start of a window, you can define a text element without the /E command in the paragraph format column. This text is always printed at the start of the window. It is not necessary to insert this text explicitly via a print program.
    For more go to this link: Character formats and attributes
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/80318f454211d189710000e8322d00/frameset.htm
    Boxes:
    Use the following code
    /: BOX XPOS 1 MM YPOS 2 MM WIDTH 20 MM HEIGHT 40 MM FRAME 10 TW.
    Box is the command used for printing box in script.
    XPOS - x- axis position
    ypos - y axis position
    http://help.sap.com/saphelp_470/helpdata/en/d1/802ec5454211d189710000e8322d00/content.htm
    Check...
    http://www.revver.com/video/650256/abap-text-elemens
    http://www.revver.com/video/605386/create-a-text-box-from-existing-text
    http://sap.ittoolbox.com/groups/technical-functional/sap-abap/sap-script-printing-1753129
    http://www.revver.com/video/650256/abap-text-elemens
    Reward points if it is useful..

  • Problem in long text in SAP script editor

    Hi ,
    i am maintaining long text in SAP script editor , when i am trying to change the long text in SAP script that changes are not reflected in print preview ,for example when i am giving tabs in the script then in print preview of the PO these tabs are displayed as , , ( comma) , and underlines are not appearing in print preview.please help me on this.
    Thanks and regards.
    Rajeshwar.

    hi
    you have to install the correct printer which supports the displaying the drawings and objects/

  • Long Text printing in SAP SCRIPT

    Hi Experts,
    I have a requirement of printing long text in sapscript.
    There are 15 condition types for each item in sales order and one long text for each condition record.
    Each long text has multiple lines i.e. for one long text it may have 2 lines and other may have 1 or 3 lines or etc.
    My trials :
    I used read_text() function mudule in a routine which is being called from the sap script to get the whole long text which has 5 lines and is stored in an internal table.
    Now is there a way to transfer the whole internal_table data as a whole into the script i.e. is there a way to transfer the table from the routine to the sapscript.
    Thanks in advance.
    kalikonda.

    Hi
    In addition of my include solution.
    you ofcourse can use a perform statement if you havea maximum of lines which is possible.
    like (if you have a maximum of 5 lines
    define &line_1& := ' '
    define &line_2& := ' '
    define &line_3& := ' '
    define &line_4& := ' '
    define &line_5& := ' '
    Perform getsomedate in program abcxyz
    using orderno
    using itemno
    changing &line_1&
    changing &line_2&
    changing &line_3&
    changing &line_4&
    changing &line_5&
    Endperform
    when printing the data
    /: if &line_1& NE ' '
    IL &line_1&
    /: endif
    /: if &line_2& NE ' '
    IL &line_2&
    /: endif
    /: if &line_3& NE ' '
    IL &line_3&
    /: endif
    /: if &line_4& NE ' '
    IL &line_4&
    /: endif
    /: if &line_5& NE ' '
    IL &line_5&
    /: endif
    Gr., Frank

  • 4 Prints in SAP Script

    HI,
    I have a typical query in SAP Script.
    I am printing invoice and I want to have 4 printout sets of each invoice.
    While printing, I am stating the number of messages = 4 (NAST-ANZAL = 4)
    Here I am getting my invoice printed 4 times.
    But the requirement is.. The original should print as it is.
    The second should print as Duplicate as heading on invoice.
    similarly Triplicate and so on.
    Any idea?
    thanks in advance.
    pranu

    Hi pranu,
      May I know the current info of the layout? I assume that it is only a static text in your form. If so, then make it dynamic. Store the text in a variable. While looping, check the counter ( SY-index can be used). Depending on the value, pass to the variable the necessary text.
    DO NAST-ANZAL times.
    case sy-index.
    when 1.
       v_text = 'Original'
    when 2.
      v_text = 'Duplicate'
    when 3.
      v_text = 'XXX'
    when 4.
      v_text = 'XXX'
    when others.
    ENDDO.
    In the window where the text is displayed, if hardcoded, remove it and replace by &V_TEXT&.
    Reward points if useful.
    Regards,
    Dru

  • Date printing in SAP SCRIPT

    hi friends,
    I am workin in sap script, here i had used  
    PERFORM GET_DATE IN PROGRAM ZTEST
    USING &EKPO-EBELN&
    USING &EKPO-EBELP&
    CHANGING &DEL_DATE&
    ENDPERFORM
    AND in subroutine program i had writen logic to fetch date,
    but when I am printing date in my script, it is printed in format yyyymmdd, and i wan it in dd.mm.yyyy
    so is there any standard way i can do it?

    hi,
    CONVERSION_EXIT_PDATE_OUTPUT , use this function module
    or
    Write the below code in your subroutine
    DATA : wa_date(8) ,
           wa_date1(10).
    wa_date = sy-datum.
    CONCATENATE wa_date+6(2) WA_DATE+4(2) wa_date+0(4) INTO wa_date1 SEPARATED by '.'.
    WRITE wa_date1.
    Thanks & Regards
    Edited by: Always Learner on Dec 11, 2008 10:01 AM

  • Question on form printing in SAP scripts

    Hi,
    I would like to know whether it is possible to print color logos in forms using sap scripts or not ?
    If possible, please provide the steps for uploading a color logo into the form using a sap script.
    Is the color of the logo displayed only in the printout or can it seen in the print preview as well after uploading the logo?
    If anybody has good material on sap scripts, pls mail the same to my email id - [email protected] .
    Thanks & Regards,
    Vijay

    Hi,
    First you have to import the logo into SAP through TCode SE78 (if it is a BMP file) and using program RSTXLDMC (if it is of TIFF file).
    Go to SE78 -> Double click Graphics -> double click BMAP -> then go to Menu Graphic then select Import. Then give the name and description. Then choose whether it should be in colour or black and white. This completes the process of importing the logo into SAPscript.
    Then you can use the name of this object in SCRIPTS .IN Sap script, YOu can include text object(if you have uploaded the image using rstxldmc) or include graphic if you have used se78 in text elements section of the Page windows.
    SAPScripts
    http://esnips.com/doc/1ff9f8e8-0a4c-42a7-8819-6e3ff9e7ab44/sapscripts.pdf
    http://esnips.com/doc/1e487f0c-8009-4ae1-9f9c-c07bd953dbfa/script-command.pdf
    http://esnips.com/doc/64d4eccb-e09b-48e1-9be9-e2818d73f074/faqss.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
    SAP SCRIPT FIELDS
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/8033ea454211d189710000e8322d00/content.htm
    scripts easy material
    http://www.allsaplinks.com/sap_script_made_easy.html
    http://www.sappoint.com/abap/ssintro.pdf
    http://www.sappoint.com/abap/sscript.pdf
    http://www.sappoint.com/abap/sscript.pdf
    http://www.sappoint.com/abap/lsetssap.pdf
    http://www.sappoint.com/abap/sscrtpex1.pdf
    http://www.sap-img.com/sapscripts.htm
    http://www.thespot4sap.com/Articles/SAPscript_Introduction.asp
    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
    Other Links
    http://www.virtuosollc.com/PDF/Get_Reporter.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/da/6ada3889432f48e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/5b/d22cee43c611d182b30000e829fbfe/frameset.htm
    http://www.virtuosollc.com/PDF/Get_Reporter.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/da/6ada3889432f48e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/5b/d22cee43c611d182b30000e829fbfe/frameset.htm
    http://www.thespot4sap.com/Articles/Code_CostCentreReport.asp
    http://www.allsaplinks.com/dialog_programming.html
    http://help.sap.com/saphelp_webas630/helpdata/en/9f/db9cdc35c111d1829f0000e829fbfe/frameset.htm
    http://www.allsaplinks.com/files/using_table_in_screen.pdf
    http://www.geocities.com/ZSAPcHAT
    Regards,
    Priyanka.

  • How to determine realdy printed for SAP script?

    Dear all:
            When the data real printed through the printer(SAP script), then I how to knew it's printed?
            Because I need to control data printed or not. Please help.
            Thanks a lot!!

    Hi,
    You can check the NAST table entry with the document number.
    If already printed then there will be an entry.
    Regards,
    Ram

  • Arial unicode ms font printing in sap scripts

    Hi all
    I am supposed to use arial unicode ms font in my sap scripts.
    I am aware of uploading the font file available in control panel through SE73.
    All I wanted to know is the exact RTF format to be given for Arial unicode MS while uploading.
    Please advise.
    Best regards
    Nivetha.

    Hi,
    The procedure to get the correct RTF text is described in the following SAP note:
    130658 - SAPscript: New fonts in the PC Editor
    Regards,
    Aidan

Maybe you are looking for