Space coming while using address- end address

hi abapers,
i m using address and endaddress to display address and while preview a space-line coming in address.
please tell me how to remove this space.
thanks,

hai    Sandeep,
For Compressing Leading Spaces Use C Option.
Syntax:
&symbol(C)&
Hope this Will Solve U r Problem.
Regards.
Eshwar.

Similar Messages

  • Address end address commant...

    hi
    i want to knwo from whre the address is determined once we get the adressnumber from program into thte following code in sap script?
    how the name1 name2 stree etc comes from once we get adrnr in the below command?
    1) we get some number from program say 23456 and this address number adrnr is coming to this address end address command now what does internally happens or what is the process or can i debug that from where the fulll address is shown in the print output lkne name1 name2 street etc as here only adrnr is being populated not individuyal variables ...
    2) And what does bolded portion signifies accurately for the below code
    pls explain
    regards
    Rinku
    ADDRESS DELIVERY PARAGRAPH AD
       ADDRESSNUMBER &ADRNR(K)&
       FROMCOUNTRY   &COUNTRY&
    <b>   NO_UPPERCASE_FOR_CITY 'X'</b>
    <b>   LANG_FOR_COUNTRY &SHIPTO_CTRY_LANGU&</b>
    ENDADDRESS

    Hi nishant,
    The SAPscript address command makes an internal call to the function module ADDRESS_INTO_PRINTFORM, but I'm not sure if you can debug it from the SAPscript debugger.  You can however run the function module from se37 to test how the logic is working for your parameters.  The online help <a href="http://help.sap.com/saphelp_47x200/helpdata/en/d2/cb3d07455611d189710000e8322d00/frameset.htm">http://help.sap.com/saphelp_47x200/helpdata/en/d2/cb3d07455611d189710000e8322d00/frameset.htm</a>
    has some useful information as well as the function module documentation.
    Your SAPscript
    ADDRESS DELIVERY PARAGRAPH AD
    ADDRESSNUMBER &ADRNR(K)&
    FROMCOUNTRY &COUNTRY&
    NO_UPPERCASE_FOR_CITY 'X'
    LANG_FOR_COUNTRY &SHIPTO_CTRY_LANGU&
    ENDADDRESS
    is the equvalent of
    CALL FUNCTION 'ADDRESS_INTO_PRINTFORM'
    EXPORTING
       ADDRESS_NUMBER                       = &ADRNR(K)&
       SENDER_COUNTRY                       = &COUNTRY&
       LANGUAGE_FOR_COUNTRY_NAME            = &SHIPTO_CTRY_LANGU&
       NO_UPPER_CASE_FOR_CITY               = 'X'
    IMPORTING
       ADDRESS_PRINTFORM                    = (address lines returned to the form)
    You can get the SAPscript variables from the debugger and test the module in se37.
    Regards,
    Nick

  • Address & end address in script

    Hi Experts,
    In address I hv been tryin to print street 2,3 & 4 using address & end address .. but isnt appearing in the window..
    Code used by me is:
    /:   ADDRESS PARAGRAPH AS
    /:   TITLE       &REGUH-ANRED&
    /:   NAME        &REGUH-NAME1&, &REGUH-NAME2&, &REGUH-NAME3&, &REGUH-NAME4&
    /:   STREET      &REGUH-STRAS&
    /:   POBOX       &REGUH-PFACH&
    /:   CITY        &REGUH-ORT01(C)&
    /:   POSTCODE    &REGUH-PSTLZ&
    /:   COUNTRY     &REGUH-LAND1&
    /:   FROMCOUNTRY &T001-LAND1&
    /:   ENDADDRESS
    KIndly guide me..if smthing wrong in this..
    Thanks In advance..
    Edited by: Himayan Das on Jan 10, 2008 10:38 AM
    Edited by: Himayan Das on Jan 10, 2008 10:39 AM
    Edited by: Himayan Das on Jan 10, 2008 10:40 AM

    Hi Himayan,
                       Try specifying the Number of lines..
    ADDRESS [DELIVERY] [TYPE] [PARAGRAPH] [PRIORITY] [LINES]
    ENDADDRESS
    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.
    Reward points if helpful..
    Regards,
    Goutham.

  • Address-end address

    hi,
    how can i print country specific addresses unsing Address and End Address
    in sap-script.

    Hi Manish,
         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'
                      /:ENDADDRESS

  • "Not enough space" DatabaseException while using DatabaseEnvironment

    I want to create some database in a DatabaseEnvironment which will be store a large data, such as 10TB. But I always get an DatabaseException with message "Not enough space",  of course there are enough space to store these data in the driver. It throws a database exception while put data and the database size reach a size(or 125% size) specified by CacheInfo, even though I close and then reopen the database environment and database. In addition,  it will throw an exception when I give the param "gbytes" a value larger than 1 in CacheInfo,  such as  "new CacheInfo(2, 0, 1)". The OS is windows 8. Why?
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.IO;
    using System.Diagnostics;
    using BerkeleyDB;
    namespace TestDatabaseEnvironment
        class Program
            static void Main(string[] args)
                string Dir = @"D:\Temp2\";
                string Name = "TestEnv";
                if (Directory.Exists(Dir))
                    Directory.Delete(Dir, true);
                DatabaseEnvironmentConfig envConfig = new DatabaseEnvironmentConfig();
                envConfig.Create = true;
                envConfig.DataDirs.Add(Dir);
                envConfig.CreationDir = Dir;
                envConfig.MPoolSystemCfg = new MPoolConfig();
                //envConfig.MPoolSystemCfg.CacheSize = new CacheInfo(2, 0, 1);
                envConfig.MPoolSystemCfg.CacheSize = new CacheInfo((uint)0, (uint)64 * 1024 * 1024, 1);
                Console.WriteLine("CacheSize:" +
                    envConfig.MPoolSystemCfg.CacheSize.Gigabytes.ToString() + "GB and " +
                    envConfig.MPoolSystemCfg.CacheSize.Bytes.ToString() + "Bytes");
                envConfig.UseMPool = true;
                envConfig.ErrorPrefix = Name;
                if (!Directory.Exists(Dir))
                    Directory.CreateDirectory(Dir);
                DatabaseEnvironment Env = DatabaseEnvironment.Open(Dir, envConfig);
                HashDatabaseConfig cfg = new HashDatabaseConfig();
                cfg.Env = Env;
                cfg.Creation = CreatePolicy.IF_NEEDED;
                HashDatabase database1 = HashDatabase.Open(null, "db1", cfg);
                HashDatabase database2 = HashDatabase.Open(null, "db2", cfg);
                Stopwatch sw = new Stopwatch();
                sw.Start();
                for (int i = 0; i < 100000000; i++)
                    DatabaseEntry dbKey = new DatabaseEntry(BitConverter.GetBytes(i));
                    DatabaseEntry dbValue = new DatabaseEntry(Encoding.UTF8.GetBytes(new string('A', 10 * 1024) + i.ToString()));
                    database1.Put(dbKey, dbValue);
                    database2.Put(dbKey, dbValue);
                    if (i % 100 == 0)
                        Console.WriteLine(i.ToString() + ":" + sw.Elapsed.TotalSeconds.ToString());
                Console.WriteLine("TimeSpan:" + sw.Elapsed.TotalSeconds.ToString());
                database1.Close();
                database2.Close();
                Env.Close();

    Hi,
    I have run your program on both 32 and 64 bit Windows, but there is no error of "Not enough space". The program is able to inserts the records until it fills up the disk. I have tried running it with CacheInfo(0, 64 * 1024 * 1024, 1) and CacheInfo(1, 64 * 1024 * 1024, 1).
    For the cachesize problem, I can reproduce the failure when the program requests a single 2GB cache. But this is normal.
    32-bit Windows hardly ever has a 2GB contiguous free region in its address map. There are .DLLs and data segments mapped scattered all over the address space, include just below 2GB. Since the most data that a 32-bit application can possibly have is 3 GB (and even that is unusual), there is no single 2GB space for a mapping.
    This is not a BDB bug. If you really need 2GB cache, you could try several smaller regions to get closer to 2GB.
    Moreover, if you pass the null db file name to HashDatabase.Open(). The database will be created in-memory. That means the database stays inside the environment cache only. So if the database grows bigger than the cache, it will return the "Not enough space" error.
    If there is any question, please let me know.
    Regards,
    Cindy Zeng

  • Exclude Title in Address End Address in Sap Script

    Hi All,
    We are using below code to print address of payer in check form
    but its printing the title also in address, Say Company etc.
    We donot need this. Is there any addition to this statement to remove this.
    ADDRESS PARAGRAPH E1
    NAME        &REGUH-ZNME1&, &REGUH-ZNME2&, &REGUH-ZNME3&, &REGUH-ZNME4&
    STREET      &REGUH-ZSTRA&
    POBOX       &REGUH-ZPFAC&  CODE &REGUH-ZPST2& CITY &REGUH-ZPFOR&
    POSTCODE    &REGUH-ZPSTL&
    REGION      &REGUH-ZREGI&
    CITY        &REGUH-ZORT1&, &REGUH-ZORT2&
    COUNTRY     &REGUH-ZLAND&
    FROMCOUNTRY &T001-LAND1&
    ADDRESSNUMBER &REGUH-ZADNR&
    ENDADDRESS
    Regards
    Ujwal

    Brian, I understand your frustration.
    Just a note. I use QuickSilver a lot, and its Safari plugin module has some form of bookmark and history searching involving page titles. I don't use it myself, but I know that it's available. I understand it's not what you're looking for exactly, but it might be a viable workaround if you care to explore it more than I have.
    Yang

  • Extra Space coming while looping through Hash Set in JSP: URGENT

    Hi,
    I have to loop through the Hash Set in jsp, and display the contents with a comma seperated list.
    I am able to display the values withing the set, however.. after every value,
    i am getting an extra space and then a comma. How do i get rid of this extra space?
    Below is the code snippet
    <% Set tagSet = new HashSet();
         tagSet = (Set)request.getAttribute(PhotoConstants.REQ_RELATED_TAGS);     
         Iterator i = tagSet.iterator();     
         while(i.hasNext()){
         String tagName=(String)i.next();
    %>
    <a href="/outlook/photo/keywords?keywords=<%=URLEncoder.encode(tagName)%>"><%=tagName%></a>
    <%if(i.hasNext()==true){%>,<%}%>
    <%}%>
    I am getting following output:
    NY , sky , Sports & Recreation , clouds , New York City , New York
    Expected Output:
    NY, sky, Sports & Recreation, clouds, New York City, New York
    I want space after a comma, not befor comma...
    Any help is really appreciated..
    Thanks
    Deepti

    <% while(i.hasNext()) {
        String tagName=(String)i.next(); %>
        <a href="/outlook/photo/keywords?keywords=<%=URLEncoder.encode(tagName)
        %>"><%=tagName%></a><%if(i.hasNext()==true){ %>,<% } %>
    <% } %>I think this is an html whitespace thing... try moving your code around to look like what's above (ie move the end of line to inside your scriptlet tag)
    Code looks OK...

  • Search help is not coming while using select-options?

    Hi All,
    I am using select options in my selection screen, i used wdr_select_options, also i coded some parameter values also
    ( non select-options ). For that field i am not getting search help. If i create as normal i am getting? Suggestions pelase?
    Thanks,
    Venkat.

    HI
    what kind of search help is associated with the field.
    ADD_SELECTION_FIELD method has some specific parametrs for value_help
    give the input there and try again.
    these parameters are
    I_VALUE_HELP_TYPE
    I_VALUE_HELP_ID
    I_VALUE_HELP_MODE
    I_VALUE_HELP_STRUCTURE
    thanks
    sarbjeet dingh

  • Service account being used in Availability Address Space

    We are A.com and have availabilityaddressspace created with a partner company B.com. Both A.com and B.com use Exch 2007.
    F/B sharing works great. No issues at all, has been working for many years.
    I am trying to find out the service account which we used while configuring the availability address space.
    Get-availabilityaddresspace | fl reveals that serviceaccount is beign used but it does not talk about the service account being used. I checked properties of availabilityaddress space in ADSIEDIT and nothing reveals about the service account being used.
    There is an account revalidation happening and i need to find out which service account is being used to mke sure its not deleted in both the companies.. any help on this will be appreciated.
    Thanks,
    Sivaram

    Hi,
    I recommend you refer to the following articles:
    http://technet.microsoft.com/en-us/library/bb629601(v=exchg.80).aspx
    Use the Get-AvailabilityConfig cmdlet to retrieve the accounts that are trusted in cross-forest exchange of free/busy information.
    The Get-AvailabilityConfig cmdlet lists the accounts that have permissions to issue proxy availability service requests on an organizational or per-user basis.
    http://technet.microsoft.com/en-us/library/bb125182(v=exchg.141).aspx
    Use the Shell to configure trusted cross-forest availability with a service account
    Hope this helps!
    Thanks.
    Niko Cheng
    TechNet Community Support

  • Itunes will not play a number of songs in my library as they were purchased a long while ago using an email address and ISP that I no longer use. Any ideas?

    Itunes will not play a number of songs in my library as they were purchased a long while ago using an email address and ISP that I no longer use. When I try and play them I get the message "this computer is not authorised to play this song, authorise your computer now".  Any ideas?

    Hello, quckvic. 
    Thank you for visiting Apple Support Communities. 
    You will need to reset your Apple ID password via the steps in the first article below.  Take a look at the option that refers to answering the security questions.  Since you do not have access to the email account and if you are unable to answer the security questions, see the second article. 
    If you forgot your Apple ID password
    http://support.apple.com/en-us/HT201487
    Contact Apple for help with Apple ID account security
    http://support.apple.com/kb/HT5699
    Cheers,
    Jason H.

  • Using Address..End Address Command in Script ?

    Using Address........End Address Command in Script , Is it possible to print without Name filed ? I have tried but w/o name field it is not printing   ..
    I liket to print like this
    Address paragraph Z3
    Street ...........................
    PoBox.........................
    City........................
    End Address
    can any1 suggest me?

    Hi,
    If you want to print country specific then use
    /:           ADDRESS PARAGRAPH AS
    /:             ADDRESSNUMBER &EKKO-ADRNR(K)&
    /:             FROMCOUNTRY &T001-LAND1&
    /:           ENDADDRESS
    Reward if useful.
    Regards,
    Nageswar

  • Using  Address..End Address in Script

    Using Address........End Address Command in Script , Is it possible to print without Name filed ? I have tried but w/o name field it is not printing   ..
    I liket to print like this
    Address paragraph Z3
    Street ...........................
    PoBox.........................
    City........................
    End Address
    can any1 suggest me?

    Hi,
    If you want to print country specific then use
    /:           ADDRESS PARAGRAPH AS
    /:             ADDRESSNUMBER &EKKO-ADRNR(K)&
    /:             FROMCOUNTRY &T001-LAND1&
    /:           ENDADDRESS
    Reward if useful.
    Regards,
    Nageswar

  • Lookup not coming while writing email address

    In my Blackberry 8520, when I am typing email address in corporate email, it's not showing the loopup option. Earlier, when I used to type 2 or 3 characters, it used to show addresses from my contact list + show a lookup option. This is not coming since last some time. I had installed LinkedIn for BB, not sure whether due to that it went away or some other reason. I have uninstalled LinkedIn but it's still not showing. Can someone help in getting over this issue as email sending has become very tedious in the absence of it. 

    Hi and Welcome to the Forums!
    As a BES user, you need to go see your BES admins for support...they control, well, everything. They may want to wipe and re-activate your BB.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Getting error while accessing a webpage by using link local address of ipv6

    Hello,
    I want to access my login.jsp by using ipv6 address.
    when i am accessing my web page by using loop back or localhost6(like the following) it is working.
    http://[::1]:8080/test/login.jsp //for loopback
    http://localhost6:8080/test/login.jsp
    But when i am accessing my webpage by using link local address as following i am not getting my web page.
    http://[fe80::201:6cff:fe0f:d7ae%eth0]:8080/test
    or
    http://[fe80::201:6cff:fe0f:d7ae]:8080/test
    For the above case is there any solutions????

    Whatever i have mentioned these are correct. My ipv6 address is also correct.From browser only i am accessing.>
    Not a Java issue, then. Your problem I'm afraid.
    But how do you know they're correct? Given that one of them isn't working, I'd triple check it if I were you.

  • Axis Problem while using Quick Address

    Hi all,
    we are developing  a JSPDynPage using a code developed by us using a third part JAR file of Quick Address to use the Quick Address Pro Web tool. Without entering to describe the functionality. The same Java lines used in a Java standalone program with a main method works fine without problems and by inserting the same lines into a JSPDynPage code we had the next error:
    [email protected]: Bad envelope tag:  html #
         at com.qas.proweb.QasException.createFrom(Unknown Source)#
         at com.qas.proweb.QuickAddress.mapRemoteExeption(Unknown Source)#
         at com.qas.proweb.QuickAddress.search(Unknown Source)#
         at com.qas.proweb.QuickAddress.search(Unknown Source)#
         at com.qas.proweb.QuickAddress.search(Unknown Source)#
         at com.qa.mycompany.qas.QasTest$QasTestDynPage.returnAddresses(QasTest.java:142)#
         at com.qa.mycompany.qas.QasTest$QasTestDynPage.doInitialization(QasTest.java:74)#
         at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:105)#
         at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)#
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)#
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)#
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)#
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)#
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)#
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)#
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)#
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)#
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)#
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)#
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)#
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:232)#
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)#
         at java.security.AccessController.doPrivileged(Native Method)#
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)#
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)#
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:153)#
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)#
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)#
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)#
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)#
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)#
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)#
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)#
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)#
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)#
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)#
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)#
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)#
         at java.security.AccessController.doPrivileged(Native Method)#
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)#
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)#
    The qas.proweb package is a third party code in a jar file imported in the Project developed in Netweaver and it compiles and executes fine but this is the error it gives us in the log, showing some problem with the connexion. This qas.proweb runs by using SOAP and probably the problem will be some compatibility issue with this in the Portal.
    The code used in the JSPDynPAge to acces qas.proweb is the same as the one working in a Java program with a main method requesting data against the same machine.
    It could be some issue with axis and the SAP Portal.
    What do you think about this error??
    Thank you in advance.
    Regards,
    Raúl.

    I solved the problem by installing only the JAva part, without the ABAP part.

Maybe you are looking for

  • Black bars when AirPlay Mirroring

    I have an LH 55" TV that I've connected my 3rd Gen AppleTV to via HDMI. I have the resolution set at "Auto" which sets it to full 1080p - 60hz. When I view anything on the AppleTV it takes up the full screen real estate. However, when I mirror almost

  • How to login as root in mountain lion?

    i've already enabled the root function in directory utility. i CANT find how to login as root user. in login window there's just the one for my admin account. please help, i want to change the name of my home folder.. [p/s: i've done this previously

  • Elements 11 and Lighroom 4.3

    I just installed Elements 11 and am unable to open it in the develop module in Lightroom 4.3. I am running Windows 8.

  • P.Pro 1.5 - Losing quality in AVI/MPEG to DVD conversion

    Hi, everyone. Is my first time in Adobe forums and my english isn't certainly the best, so excuse me for something I'll possibly make wrong :-) This is my problem: I edit a lot of videos (holidays, weddings, karting, ...) from Mini-DV tapes. No probl

  • Triggers no fire on SuSe80 Linux

    My platform is SuSe Linux 80 and Developer Suite 9i. My forms compile fine, but triggers no fire. When I make : unset NLS_LANG - everything is fine - triggers fire. Where is problem ? NLS_LANG is my national setting, not AMERICAN_AMERICA...