Gap between two characters in SAP Script Address EndAddress.

Hi Abapers,
I have one query regarding Address - EndAddress in SAPScript.
I am putting the code :
/: ADDRESS TYPE '1' PARAGRAPH ZI PRIORITY 'APL43' LINES 6
/:ADDRESSNUMBER &ZPOLGORT-ADRNR&
/:ENDADDRESS
and  I am getting the output in this form
<b><i>ABC Soft c/o JSI Hong Kon g
c/o RS Logistics (Shenzhen) Limited
6/F., DZ Zhong Tian Yuan Logistics Ctr.
126/Xia Road, Futian Free Zone,
Shenzhen
China</i></b>
But the problem is there is a gap between character "n" and 'g" in first line in word Kong.
Can anybody suggest me how to solve this issue. Or is there any other issues to sort it out this problem.

Hi,
Its not the problem with Address / End Address.
It could be probably maintained that way.
Please check the entry in the table where it is maintained.
reagrds,

Similar Messages

  • How to print Special Characters in Sap-Scripts

    How to print Special Characters in Sap-Scripts
    Thanks,
    Ravi

    Hi
    if u want print special characters we can use hot codes i.e '  '  (single inverted commas). in between these hot codes insert u r special characters.
    write    '    !@#$%^&*( )  '.
    for the above write statement output is
    output is   !@#$%^&*( )

  • Blank line in SAP-Script Address

    Hi all,
    I'm desparatly seaching for a way to leave a blank line in a SAP-Script Address (sender Germany, address Germany) between the street (or PO-BOX) and the postcode - town line.
    I'm using the SAP-Script address command:
    /: ADDRESS
    /: ENDADDRESS
    In OY01 address-format for Germay is "015".
    Everything I tried leaves to:
    "Name
    Straße
    PLZ Ort"
    but my customer wants:
    "Name
    Straße
    PLZ Ort"
    Help is appreciated.
    Thanks.

    Hi Norman,
    Ok. I got it . It is my mistake I though you need blank lines.
    OK, in ADDRESS formating .
    Please try command "/" or 'add a default paragraph Example : TD "  between your entries.
    Lanka

  • Need to add special characters in sap scripts

    Hi All,
       I need to add special characters in sap script.
    I have used them as it is my script,but in the print preview i am able to see '#' instead of those special characters.Can anybody please tell me the way in which we can add special characters in the scripts.
    eg. 'Shlesha' i.e. name in inverted colons.
    Thanks

    Hi
    If # is coming means, that is the problem with the printer. I think u might have used your local printer to see the print preview.
    Don't use LOCL or LP01. Our local printer won't recognize those characters.
    Just change the printer name to client printer name. It will work.

  • Gap Between Two Dates

    Can Anyone tell me how to find out the gap between two dates. Specifically Without counting Saturday and Sunday.

    corlettk wrote:
    <intercession>
    Has anyone written a DateMath class?... it would be handy... the amount (and ugliness) of the code required to do elementary date mathematics with the raw Calendar is appaling.<recess>
    Isn't Java 7 supposed to cure all this headache?
    </recess>

  • SAP Script   ADDRESS....ENDADDRESS

    Hi,
    I have the following code in one window of my SAP Script
    /: ADDRESS
    /: NAME &SHIPINV-S2NAME1&, &SHIPINV-S2NAME2&, &SHIPINV-S2NAME3&
    All other address nodes
    /: ENDADDRESS
    All the 3 names are printed successfully.
    Now i want to add &SHIPINV-S2NAME4& to NAME node of ADDRESS. Since the length of the line in editor window is occupied by first 3 name fields I had to put my 4th field in next line.
    /: ADDRESS
    /: NAME &SHIPINV-S2NAME1&, &SHIPINV-S2NAME2&, &SHIPINV-S2NAME3&
    <b>/: &SHIPINV-S2NAME4&</b> <i>is this correct ??</i>
    All other address nodes
    /: ENDADDRESS
    But its not at all printing the 4th value (In debugger i checked the value s available in &SHIPINV-S2NAME4&). I am not sure about the syntax for next line in NAME node & also notation to use like /: or /( or space, or /= and so on. I tried many combinations but cudn't get thru it. So i am confused with NAME node of ADDRESS...ENDADDRESS
    Please help me out in this case.
    Thanks,
    Sail

    Hello if things don't work as suggested.
    Try this simple solution:
    /: DEFINE &NAME1& = &SHIPINV-S2NAME1&
    /: DEFINE &NAME2& = &SHIPINV-S2NAME2&
    /: DEFINE &NAME3& = &SHIPINV-S2NAME3&
    /: DEFINE &NAME4& = &SHIPINV-S2NAME4&
    /: ADDRESS
    /: NAME &NAME1& &NAME2& &NAME3& &NAME4&
    By the way Have you tried with this also:
    /: NAME &SHIPINV-S2NAME1& &SHIPINV-S2NAME2& ....S2NAME3& =       &SHIPINV-S2NAME4&
    Enjoy !!
    Message was edited by:
            Amarjit Singh

  • Text is broken in two pages is sap script

    hi all,
    the text is broken in two pages is sap script also total is also breaking. how to fix the problem?
    sanjay

    Hi,
    First in your window goto the text elements. There choose goto->change editor. Now you will be getting a line editor. Here you have to specify protect endprotect and write your code within it.
    Regards,
    Deepthi.

  • Find gap between two dates from table

    Hello All,
    I want to find gap between two dates ,if there is no gap between two dates then it should return min(eff_dt) and max(end_dt) value
    suppose below data in my item table
    item_id    eff_dt           end_dt
    10         20-jun-2012     25-jun-2012
    10         26-jun-2012     28-jun-2012 There is no gap between two rows for item 10 then it should return rows like
    item_id eff_dt end_dt
    10 20-jun-2012 28-jun-2012
    item_id    eff_dt           end_dt
    12         20-jun-2012     25-jun-2012
    12         27-jun-2012     28-jun-2012 There is gap between two rows for item 12 then it should return like
    item_id eff_dt end_dt
    12 20-jun-2012 25-jun-2012
    12 27-jun-2012 28-jun-2012
    I hv tried using below query but it giv null value for last row
    SELECT   item_id, eff_dt, end_dt, end_dt + 1 AS newd,
             LEAD (eff_dt) OVER (PARTITION BY ctry_code, co_code, item_id ORDER BY ctry_code,
              co_code, item_id) AS LEAD,
             (CASE
                 WHEN (end_dt + 1) =
                        LEAD (eff_dt) OVER (PARTITION BY ctry_code, co_code, item_id ORDER BY ctry_code,
                         co_code, item_id, eff_dt)
                    THEN '1'
                 ELSE '2'
              END
             ) AS new_num
      FROM item
       WHERE TRIM (item_id) = '802'
    ORDER BY ctry_code, co_code, item_id, eff_dtI m using oracle 10g.
    please any help is appreciate.
    Thanks.

    Use start of group method:
    with sample_table as (
                          select 10 item_id,date '2012-6-20' start_dt,date '2012-6-25' end_dt from dual union all
                          select 10,date '2012-6-26',date '2012-6-26' from dual
    select  item_id,
            min(start_dt) start_dt,
            max(end_dt) end_dt
      from  (
             select  item_id,
                     start_dt,
                     end_dt,
                     sum(start_of_group) over(partition by item_id order by start_dt) grp
               from  (
                      select  item_id,
                              start_dt,
                              end_dt,
                              case lag(end_dt) over(partition by item_id order by start_dt)
                                when start_dt - 1 then 0
                                else 1
                              end start_of_group
                        from  sample_table
      group by item_id,
               grp
      order by item_id,
               grp
       ITEM_ID START_DT  END_DT
            10 20-JUN-12 26-JUN-12
    SQL> SY.

  • How to Calculate the Space between two Characters in GDI + ?

    I am Drawing the set of characters in Graphics, by Calculating the points using GraphicsPath for each Character. I Need to know how to calculate the distance should be given between the two characters?
    I am using this code to generate points
    PointF [] pnts;
    var p=new GraphicsPath();
    path.AddString("A","Arial",(int)FontStyle.Regular,50,new pointF(0f,0f),StringFormat.GenericDefault);
    Matrix m=new Matric(1,0,0,1,0,0);
    path.Flatten(m,1,0f);
    pnts=path.pathpoints;
    i am getting the points for all characters using the above code.
    Now i am combining the two character Using the points generated by the above code.  Eg "AB"
    Help me to calculate the the character space should be given between two characters?
    Thanks in Advance...

    Hi,
    this link can assist you:>
    Professional C# - Graphics with GDI+ 
    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

  • Horizontal gap between two items

    How can I increase a gap between two items for ex. between 2 textfields?

    Hello,
    Try to add something like style="height:50px" in the HTML Table Cell Attributes of the item's label section. Within this cell height, you can "fine tune" the position of the labels and elements, using the Horizontal / Vertical Alignment options.
    Regards,
    Arie.

  • Unable to print special characters in SAP script.

    Hi,
      There is an address which needs to be hardcoded in a SAP Script form.
    It looks like:
    Česká republika s.r.o
    Karla Engliu0161e 3219/4
    Česká republika
    IČO:  25635972
    The letters which has got a tilde and sign above them are appearing as a hash '#' in print. I have tried uploading it as an image and as standard text. But still not working. Can someone help please?
    Thanks in advance,
    Anita

    Hi Anita,
    Please search in SDN,, similar issues were answered before many times...
    Regards,
    Aditya

  • Why a " # " is coming while printing chinese characters from SAP script?

    Hi All,
    Facing one issue.
    We have a SAP script for printing delivery note thru T-code VL03N. The script has chinese characters in it.
    When I print this form the chinese characters that are hardcoded in the script can be seen in the print out but the ones which are coming from the table cannot be seen instead they are repalced by " # ".
    Strangely, when a debug the script or see a print preview on the screen they can be seen as it is with no problem.
    Only when I print it, on the paper print they are seen as # but the characters that are hardcoded in the script can be seen clearly on paper.
    Secondly, in Transaction FB03 which is for display of list of documents it too has some chinese characters and when I print this directly from the t-code doing Shift-F1 ( no SAP script or form is involved in this case) then the same case is there the chinese characters get replaced by a " # ".
    Any inputs or views are welcome.
    Please suggest.
    Thanks.
    Cordially,
    Saurabh.

    Hi,
    You need to set your activate multibyte functions to support.
    Long on to SAP --->right side right corner (Customized local layout) --> click --->Select options --->select tab (l18N)
    -->Check Activate multibyefunctions to support.
    log off you SAP Gui then re-log in...you can able to view multi language characters.
    Thanks,
    Nelson

  • PRoblem in SAP Script Address Comand

    HI Frnds,
    I am using Address command to display Vendor Address in SAP Script.
    But I am facing problem like that vendor's post code is display first rather then City name and after PO code.
    I have change alignment to display format for City and PO Code display. But it also gives same error.
    Kindly Help me out for this problem.
    Regards,
    PRiyank

    I am using same format.. then also gives such display in output as: First City then POstal code
    my code:
    /:   ADDRESS DELIVERY PARAGRAPH AN                      
    /:   NAME    &LFA1-NAME2&, &LFA1-NAME3&, &LFA1-NAME4&   
    /:   STREET   &LFA1-STRAS&                              
    /:   CITY     &LFA1-ORT01&, &LFA1-ORT02&                
    /:   POSTCODE &LFA1-PSTLZ&                              
    /:   COUNTRY  &LFA1-LAND1&                              
    /:   REGION   &LFA1-REGIO&                              
    /:   ENDADDRESS

  • Horizontal 'gap' between two level tabs SOLVED

    I’ve got a stange problem:
    I’ve got several pages and a two level tabs. Everything worked before a collegue of mine switched the theme into a self created one. Now the design of the two level tabs depends on what page you are on. Sometimes there is a ‘gap’ between the parent tabs and the horizontal bar and the tabs below that bar.
    On some pages this gap is small and it looks like it should:
    http://img90.imageshack.us/my.php?image=tabs01lq6.jpg
    But sometimes there is a lot of space above and below that bar:
    http://img91.imageshack.us/my.php?image=tabs02fa9.jpg
    Can anyone help me? Please!!!

    Hi Carl,
    thanks for your answer!
    I also thougt it coud be an issue with the CSS and I've searched the whole CSS-Stylesheet. In the part of the Tab Classes I searched for every margin-top and margin-bottom and set it to 0px but it had no effect.
    Here you can see the part of my CSS-Stylesheet containing the attributes of the tabs:
    /* Tab Classes */
    /* .t4Tabs{text-align:center;padding:10px 0 2px 0;} */
    .t4Tabs{text-align:right;padding:10px 0 2px 0;margin-bottom:0px;margin-top:0px;}
    .t4standardtabcurrent{vertical-align:middle;padding:2px 5px 2px 5px;margin 0px 3px 0px 3px;background-color:#CCCCCC;color:#111111;border:2px solid #111111;border-bottom:0;text-decoration:none;font-weight:bold;}
    .t4standardtab{vertical-align:middle;padding:2px 5px 2px 5px;background-color:#777777;color:#ffffff;margin:0px 3px 0px 3px;border:2px solid #111111;border-bottom:0;text-decoration:none;font-weight:bold;}
    .t4standardtab:hover{background-color:#CCCCCC;color:#000000;text-decoration:none;}
    .t4ChildTabs{text-align:center;background-color:#FFFFFF;padding-bottom:4px;margin-top:0px;margin-bottom:0px;}
    .t4childtabcurrent{margin-left:3px;margin-right:3px;font-weight:bold;background-color:#DDDDDD;padding:2px;border:2px solid #000000;border-top:none;text-decoration:none;}
    .t4childtab{margin-left:3px;margin-right:3px;padding:2px;border:2px solid #000000;border-top:none;text-decoration:none;font-weight:bold;}
    But the strange is that this horizontal space is not equal on every page. On some pages it is quite small and like I want it to be and when I select the tab "Reports" for example there is a huge gap.
    When I change the margin in the CSS-Stylesheet shouldn't it be for all pages? Shouldn't the margin be the same whatever page I am on?
    Greetings,
    Sofie

  • How to minimize the gap between two regions in a page

    Hi All,
    How to minimize two regions in a page ? I have two regions in page but I need to minimize the (default) space gap between these regions as it looks too large.
    Thanks for the answer.
    Jeffry

    Jeffry,
    You may want to check the tutorial [Achieving Pixel-Perfect Page Design with HTML Templates|http://www.oracle.com/technology/obe/obe1014portal/html_templates/html_templat.htm] on OTN.
    Thanks,
    EJ

Maybe you are looking for