Adding Space after ## in description

Hi
I have a requirement where for example-
     Text field has letter as ## in description -   material number is ##5This is ok.
     I have to change the above description as- material number is ##  5This is ok.
That is if there is no space after ## , we have to add a space in the description.
Please provide me ABAP code for that.
Regards
Deep

" do this first so that if there is a space it will not show double spaces
replace '## ' with '##' into maktx.
" then do this
replace '##' with '## ' into maktx.

Similar Messages

  • RH8 After conversion, added space after conditional tag phrase

    We just installed RoboHelp 8. After converting my 3 projects from RH7 to RH8, the system added spaces in between words of a condtional build phrase. That's great since it's much easier to see the words -- that was an improvement over version 7.
    However, it's also adding a space after the conditional build phrases, which is incorrect. It adds a space before a comma, adds a space before a period if the conditional build phrase occurs at the end of the sentence, etc. But it doesn't look like it does this in every case...I'm not sure why it did this, but it only happened after the conversion to 8.
    The generated help appears as in the example below. Note the space before the period in the first sentence and the space before the comma in the second sentence. It has done this on quite a few pages.
    Customer Definition Detail
    This page allows you to add a new customer or to edit an existing customer . If you are adding a customer , you must complete the detail information and then save it.
    Tried to upload the example of conditional build phrase, but it's not letting me.
    Thank you in advance for any help you can offer. This would be a lot to manually repair, so I'm hoping someone knows of a way to fix this using a setting.

    Thanks for your posts.
    After trying everything I could think of the only thing that resolved the issue was replacing any instance of back-to-back conditional text followed by any punctuation with two sentence exactly the same except for the conditional choice.
    For example, the original sentence (color indicates conditional build tag):
         For customersmembers, this field indicates transaction limits.
    would be changed to these two sentences:
         For customers, this field indicates transaction limits.
        For members, this field indicates transaction limits.
    I'll submit this as a RoboHelp 8 bug in the forums (if it hasn't already been submitted).

  • Xserve raid can not recongize added space after expansion

    My Xserve is Mac OS X server (ver 10.5.7), 2x2.8GHz Quad-core intel Xeon CPU. My Raid box is older (It is ordered with ours previous G5 Xserve), but work with Intel Xserve pretty good. It has 5 500GB disks on lower controller as Raid 5, I recently bought a new 500GB Apple disk drive module, and using Expansion function in RAID Admin to expand current raid, after that, the Raid admin correctly shows increased disk size, but in my system (or disk utility), it still shows the original (unchanged) disk size.
    Could you please tell me how to make system recognize the newly added space? Thanks

    Hi, after expansion you need to re-format to get the increased size. Don't forget to backup all that data first !!!

  • Spooling a file adding spaces after each line

    Hi
    I am spooling a result of an sql in a csv file in linux os. But the file generates lot of blank lines after each row. How this can be eliminated while spooling
    Thanks in advance
    Sas

    Thanks a lot for your reply. Is there any way to supress the display of query result. I dont want to see the result. I want just the output file.
    Thanks
    Sas
    Edited by: SasDutta on Mar 24, 2010 4:20 PM

  • Space after in one style affecting the style before it

    I have bit of text like this:
    Bold head
    regular body
    when I add space after to the regular body style, it has the effect of adding space after the Bold head, but when I directly apply space after using the Control bar, this doesn't happen!
    my regular body style has no space before.
    Can anyone see why space after in one style would appear to affect the previous style.
    when I say "previous" and "before" I mean in the order they appear relative to each other.
    thank you!
    John

    No, there are no manual overrides. I tested with a manual formatting just as an experiment, but then removed it immediately afterward.
    InDesign as with many other programs will indicate a modified style with a little "+"  None of my text shows this + sign next to their styles.
    Thank you!

  • UDf sample plz..adding spaces

    Hi experts,
    i need UDf code for filling the target field with spaces...
    proxy to file
    e.g:
    i am geeting 14 digit input field from proxy......
    some times the data will be 4 digits...
    i/p 0.00 then o/p should be "0.00          " like this...
    adding spaces after the field
    as i am using FCC on receiver side....
    plz help me out.

    Hi,
    int len = a.length();
    for(int i=0;i<14-len;i++){
    a=a+" ";
    return(a);
    I think this is what you expect.
    By varying the condition you can get the spaces howmuch ever you need.
    Regards,
    Sakthi

  • How to remove spaces after description.

    hi all,
    i need to supress spaces after writing material description and i want to keep comma after description.
    but it displays comma after field length (i e after  40 chars).But i need to keep comma after description it self.
    example like this.
    GR Number- 4900000400,
    Batch Number-            ,
    Material number- P0001016,
    Material description- Returnable Pallet,
    Vendor:            ,
    GR Date: 16.02.2010 ;
    Not Like this...
    GR Number- 4900000400 ,
    Batch Number-            ,
    Material number- P0001016           ,
    Material description- Returnable Pallet                        ,
    Vendor:            ,
    GR Date: 16.02.2010 ;
    after  posting message the comma comes after desc in both the cases...but it wont in SAP
    Appriciate your help.

    Hi,
       Use condense statement.
    Regards,
    Srini.

  • Issue in adding Space to the existing Virtual Machine from added repository

    Hi,
    I'm facing issue in adding Space to the existing Virtual Machine (Guest OS) from added repository.
    Environment details :
    VM Server : /OVS => 130GB
    /OVS/935970F2CC2D4B4391701397517F1001/ => 512 GB
    Things I have done :
    •     I created a VM (Guest OS) in the VM Server with 120 GB
    •     After creating the VM (Guest OS) , When I tried adding a VIRTUAL DISK of size 150 GB , I got an error “Maximum available Disk space is only 10GB”.
    My query :
    •     Will I be able to add space to Existing VM from the added Repository ( /OVS/935970F2CC2D4B4391701397517F1001/ ) , whose system.img is stored in path /OVS/running_pool/34_rhel/ .
    Kindly help me out in this.
    Thanks in advance.
    -- Sri

    Hi all,
    I checked with Oracle on the above and got the info currently , the we can utilise only the space available in the existing repo and cannot extend to additional repo.
    Work around is : Clone it to the other repo , or Use Symbolic link .
    Thanks,
    Sri.

  • How do I remove extra space after an image in an ePub created with InDesign?

    I've designed more than a dozen ebooks with InDesign and have recently been having problems with the spacing after images, both images that are anchored in the text or stand-alone and exported through the Articles Panel. Following are a few details:
    • In the Object Export Settings, I have the vertical spacing set to 0 both before and after the images and no breaks added.
    • In the Export panel, I do not have any vertical spacing applied to images.
    • I do not have any Object Style settings applied.
    • It doesn't seem to matter if I anchor the image into the text or have it as a stand-alone image in the Articles Panel with the caption after it in a separate text box, also in the Articles Panel.
    • I broke down the ePub into an html file and did not see any div or span classes that were different between images that are showing correctly vs. incorrectly.
    • Extra space appears in both iBooks on my computer, as well as on my iPad.
    • I converted to a mobi file for the Kindle and the space wasn't there.
    See attached screen shot. There shouldn't be that big gap between the image and the orange caption.
    Any help or suggestions anyone can provide would be greatly appreciated. I feel like I've tried everything I can think of with the same results over and over!

    Yes. That is the technique I traditionally use to drop an image into text. I even cut and pasted again as you suggested with the same result. Trust me, this is driving me nuts. I'm not doing anything different than before, but my results are different, even within the same document. I'll attach a few examples, all from this same document.
    How the space after my in-line image is supposed to look:
    And then a few of the pages with the mystery gap:

  • Creating Space after a Paragraph Style

    Okay, all, this may sound weird. All I want to do in CS4 is have an extra 4 pt of space after a particular paragraph style. Specifically, my paragraph style, Body Text, already has "space after" specified at 3 pt. Fine. But, for example, when I have three paragraphs of just this style, I want the three paragraphs separated by an additional 4 pt of space. (There is no consistency in documents when this situation occurs.)
    At first, I thought it might be possible to do this via a nested character style. Nope. Back in FrameMaker, I used to do this manually, whenever I wanted extra space. My trainers would add paragraph tags (ugh).
    Still a newbie...
    Thanks!
    Lizbeth

    Kenneth C. Benson wrote:
    Maybe I'm really missing your meaning here. When I override a style setting to get more space below, I add space below the *paragraph*. I don't adjust anything about the last line. This is no different in Framemaker. In Framemaker, you can add space above or below a paragraph, either as part of a style (what FM calls a "format") or as a style override. You don't "adjust the last line of a paragraph" in either program.
    There's one important difference between FrameMaker's paragraph
    spacing and most other DTP or WP tools: Space between FM paragraphs is
    NOT ADDITIVE. Space below a paragraph is not added to space above the
    following paragraph. In FM, the larger space wins. (I think Ventura
    has this feature also, or perhaps has the option for additive or
    larger-one-wins.)
    If the issue is to make inter-paragraph spacing work non-additively
    like FM, please file a feature request for this as an option, at:
    www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    EDIT: The forum was unavailable for a while, and my email response was bounced. By the time I discovered the rejected mail, I saw Lizbeth's mention of having used Based-on paragraph styles. Probably the based-on style caused the mysterious behavior. The based-on property style information is only visible in the define/modify style dialog box. I'm going to enter a feature request for an indicator for the based-on property that will appears wherever a style's name appears, and, if possible, displays the name of the based on paragraph, character, and object style. Master pages do show the based-on master letter on the page icons in the pages panel, but they lose their own letter. I'll also ask for this feature. 
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Too much space after form

    There is too much space after the form:
    http://zooop.net/birch_center/
    I can control the space by adding a height tag in this tag:
    <iframe src="
    http://www.birchcenter.com/OpenNewsletter/includethis.php"
    frameborder="0" width="170" scrolling=no style="border:0px;
    font:Verdana, Arial, Helvetica, sans-serif;
    color:#666666"></iframe>
    But when users enlarge their text either through their OS or
    their browser, the "Subscribe" buttons sinks behind the text after
    it, and is not functionlal.
    Does anyone know why there is so much space after the form
    and how I could get rid of it?
    Thanks very much,
    Emilie

    > Does anyone know why there is so much space after the
    form and how I could
    > get
    > rid of it?
    Many HTML tags have inherent margins, and <form> is one
    of them. Use CSS to
    control it -
    form { margin:0; padding:0; }
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "zzzeeep" <[email protected]> wrote in
    message
    news:f0900b$h4f$[email protected]..
    > There is too much space after the form:
    >
    >
    http://zooop.net/birch_center/
    >
    > I can control the space by adding a height tag in this
    tag:
    >
    > <iframe src="
    http://www.birchcenter.com/OpenNewsletter/includethis.php"
    > frameborder="0" width="170" scrolling=no
    style="border:0px; font:Verdana,
    > Arial, Helvetica, sans-serif;
    color:#666666"></iframe>
    >
    > But when users enlarge their text either through their
    OS or their
    > browser,
    > the "Subscribe" buttons sinks behind the text after it,
    and is not
    > functionlal.
    >
    > Does anyone know why there is so much space after the
    form and how I could
    > get
    > rid of it?
    >
    > Thanks very much,
    > Emilie
    >

  • Control space after the Drop Cap

    ID3, XP
    We character style drop caps. When the DC is a single character, we use the tracking in the character style to add space to the right of the dropped character. However, this method cannot be used when it is a two character drop, in this case, chapter numbers are dropped 2 lines. We want to adjust the space between the dropped number and the start of text, and keep that space equal on both lines.
    Any suggestions?
    Thanks

    The first issue is still that humbled wasn't able to add space after the drop caps and maintain alignment of the text. Bottom line is that  his method of using character spacing was a bad hack. I'm pointing out that the alternative solutions he tried (ex. post #4) didn't work because he wasn't using the correct value for the number of drop characters. And per his post #21, he is still assuming that 2 is the correct value to define a double digit drop cap. If he gets past that, solutions to other complications may come easier.<br /><br />In fact, unless he needs some specific sized space HIS WHOLE PROBLEM FROM START TO FINISH could be solved simply by selecting 3 as the number of characters for his drop caps rather than sticking with 2. That would have the effect of including the space after the chapter numbers as part of the drop cap making it larger and adding considerably more space.<br /><br />If he does need more space, then he is going to have to add another character. But that character still has to be included in the DC character count:<br /><br />12<space>Text (3 drop caps)<br />12<hardspace>Text (3 drop caps)<br />12<space><hardspace>Text (4 drop caps)<br /><br />He can even use a tab character for a specific indent if he wants. Just switch a tab for the hardspace above.<br /><br />P.S. The same logic holds true for in single drop caps. If you want extra space after, increase the drop cap count to 2 to include the space after.

  • BufferedReader Problem (inserting space after every character)

    (This is a message I sent to an Aglet forum, however I thought maybe someone here could help me with the BufferedReader problem...with the spacing...read below)
    -Blake
    ok here's what I'm attempting to do.
    I have a Master Aglet that creates a slave which is dispatched to a remote site. The Slave then opens a log file, reads it, and then is supposed to read the file line by line and send each line as a message back to the Master. As the master receives each line it appends the line to the window it created earlier.
    I don't know what the problem is...it won't display the log file in the master window.
    It does display each line on the console window.I added a println() function to make sure the String array was getting the information. There is a small problem with that as well because it inserts a space after EVERY character (BufferedReader problem??)...what is up with that? for example:
    If the log file looked like: This is a log file entry.
    the console looks like this when it is printed: T h i s i s a l o g f i l e e n t r y .
    .... I had done something in a similiar program...and it worked just fine. here's some source code:
    <b>Master:</b>
    else if (msg.sameKind("Log")) {
    try {
    //println for testing purposes
    System.out.println(msg.getArg());
    appendMessage(" " + msg.getArg() + "test \n");
    } catch (Exception e) {
    System.out.println(e.toString());
    <b>Slave: </b>
    File log = new File("C:\\Aglets2.0.2\\public\\WINDOWSUPDATE.log");
    FileReader fr = null;
    try{
    fr = new FileReader(log);
    } catch (FileNotFoundException e) {
    System.out.println(e);
    BufferedReader br = new BufferedReader(fr);
    //Get filename of log
    try {
    Message msg = new Message("FileName", log.getName());
    mProxy.sendOnewayMessage(msg);
    } catch (InvalidAgletException iae) {
    System.out.println(iae.toString());
    } catch (Exception e) {
    System.out.println(e.toString());
    //read each line of file and send back to Master as a message
    try{
    int i = 0;
    while ((s = br.readLine()) != null) {
    i++;
    count = i;
    for (int j = 0; j < count; j++)
    System.out.println(s[j]);
    //send message back to Master Aglet with log file information
    try {
    Message msg = new Message("Log", s[j]);
    mProxy.sendMessage(msg);
    } catch (InvalidAgletException iae) {
    System.out.println(iae.toString());
    } catch (Exception e) {
    System.out.println(e.toString());
    //close file reader
    fr.close();
    } catch (IOException e) {
    System.out.println(e.toString());
    }

    actually i did declare s, you just don't see it there because i only posted some of the code....
    I fixed the "spacey" problem by using a FileInputStream instead of a bufferedreader....
    like this (i'll post the whole code here:
    public class Slave extends BlindAglet {
        AgletProxy mProxy = null;
        boolean back = false;
            char[] c = new char[1000];
        BufferedReader br = null;
        int count;
        // Do some tasks when the aglet is created
        public void onCreation(Object init) {
            // Must make a note of the master here
            mProxy = (AgletProxy)init;       
            // Add our own listener and adapter
            addMobilityListener(
                new MobilityAdapter() {
                    // Using this as a safety check in case we get caught in a loop in the same host
                    public void onArrival(MobilityEvent event) {                   
                        try {
                            mProxy.sendMessage(new Message("NewSlaveProxy", getAgletContext().getAgletProxy(getAgletID())));                                                            
                        } catch (InvalidAgletException iae) {
                            System.out.println(iae);
                        } catch (NotHandledException ex) {
                            System.out.println(ex);
                        } catch (MessageException ex) {
                            System.out.println(ex);
                        //Are we back to origin?
                            if(back) {         
                                 back = false;     
                                try{
                                     FileWriter fw = new FileWriter("test.txt");                                                                  
                                 for (int i = 0; i < count; i += 2){ 
                                           fw.write(c);
                             fw.close();
                        } catch (IOException e) {
                                  System.out.println(e);
                                  dispose();
                             dispose();
    ); /* End of Adapter */
    public void run() {
         // Are we at home base?
    if (atHome()) {
    try {
    dispatch(new URL("atp://darklord:4434"));
    } catch (Exception e) {
    System.out.println(e.toString());
         try{
         File log = new File("C:\\Aglets2.0.2\\public\\WINDOWSUPDATE.log");
         FileInputStream f0 = new FileInputStream(log);
    //Get filename of log
    try {
         System.out.println(log.getName());
    Message msg = new Message("FileName", log.getName());
    mProxy.sendOnewayMessage(msg);
    } catch (InvalidAgletException iae) {
    System.out.println(iae.toString());
    } catch (Exception e) {
    System.out.println(e.toString());
              //read each line of file and send back to Master as a message
              try{               
         int size = f0.available();
         int i = 0;
         for (i = 0; i < size; i++) {
              c[i] = (char) f0.read();
    //send message back to Master Aglet with log file information
                             try {
                        Message msg = new Message("Log", c[i]);
                        mProxy.sendOnewayMessage(msg);
              } catch (InvalidAgletException iae) {
                             System.out.println(iae.toString());
                        } catch (Exception e) {
                             System.out.println(e.toString());
    count = i;
              } catch (IOException e) {
                   System.out.println(e.toString());
                   } catch (FileNotFoundException e) {
                   System.out.println(e);
         back = true;      
         returnHome();
    * Returns true if the current host is our origin
    public boolean atHome() {
    if (getAgletInfo().getOrigin().equals(getAgletContext().getHostingURL().toString()))
    return true;
    else
    return false;
    * Allows a slave to contact it's master and ask for a retraction.
    public void returnHome() {
    try {
    Message msg = new Message("RetractMe");
    msg.setArg("url", getAgletContext().getHostingURL());
    msg.setArg("id", getAgletID());
    mProxy.sendOnewayMessage(msg);
    } catch (InvalidAgletException iae) {
    System.out.println(iae.toString());
    } catch (Exception e) {
    System.out.println(e.toString());
    * Return a reference to our Master's proxy
    public AgletProxy getMasterProxy() {
    return mProxy;
    } /* End of Class

  • DG4ODBC adds black spaces after every character

    I am trying to set up HS using Oracle 10.2.0.5 on RHEL5 (64 bit), FreeTDS, and MS SQL Server.
    The ODBC Driver works fine:
    [oracle@phsbe1pr ~]$ isql sfasql_freetds_dsn sqlSinfoOne ***
    | Connected! |
    | |
    | sql-statement |
    | help [tablename] |
    | quit |
    | |
    SQL> select name, len( name ) from sys.objects where object_id < 20 ;
    ---------------------------------------------------------------------------------------------------------------------------------------------+
    | name | |
    ---------------------------------------------------------------------------------------------------------------------------------------------+
    | sysrscols | 9 |
    | sysrowsets | 10 |
    | sysallocunits | 13 |
    | sysfiles1 | 9 |
    | syspriorities | 13 |
    | sysfgfrag | 9 |
    ---------------------------------------------------------------------------------------------------------------------------------------------+
    SQLRowCount returns 6
    6 rows fetched
    SQL> quit
    [oracle@phsbe1pr ~]$
    [oracle@phsbe1pr ~]$ tsql -S SFASQL_FreeTDSName -U sqlSinfoOne -P ***
    locale is "en_US.UTF-8"
    locale charset is "UTF-8"
    using default charset "UTF-8"
    1> select name, len( name ) from sys.objects where object_id < 20
    2> order by 1
    3> go
    name
    sysallocunits 13
    sysfgfrag 9
    sysfiles1 9
    syspriorities 13
    sysrowsets 10
    sysrscols 9
    (6 rows affected)
    1> exit
    [oracle@phsbe1pr ~]$
    But when I use the dblink i got every string doubled with spaces after every char:
    [oracle@phsbe1pr ~]$ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.5.0 - Production on Mon Jul 23 17:22:25 2012
    Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> set linesize 120
    SQL> column name format a40
    SQL> select "name", length ( "name" )
    2 from sys.objects@sfasql_link
    3 where "object_id" < 20
    4 order by 1
    5 /
    name LENGTH("NAME")
    s y s a l l o c u n i t s 26
    s y s f g f r a g 18
    s y s f i l e s 1 18
    s y s p r i o r i t i e s 26
    s y s r o w s e t s 20
    s y s r s c o l s 18
    6 rows selected.
    SQL>
    What can I do ?
    Mi init.ora is:
    HS_FDS_CONNECT_INFO = SFASQL_DSN
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
    HS_FDS_TRACE_LEVEL = off
    HS_FDS_TRACE_FILE_NAME=/tmp/odbc_hs_sfa.trc
    HS_FDS_SQLLEN_INTERPRETATION = 32
    set ODBCINI=/etc/odbc.ini
    adn odbc.ini contains:
    [SFASQL_DSN]
    Description = sqlserver
    Driver = FreeTDS
    # Servername = SFASQL_FreeTDSName
    Server = phsspbe.perfumeholding.intra
    Address = 172.17.0.45
    Port = 1433
    Database = SFA_INTERSCAMBIO
    TDS_Version = 8.0
    Language = us_english
    TextSize = 1999
    PacketSize = 1470
    ClientCharset = ISO-8859-1
    DumpFile = /tmp/odbc_sfasql_dsn.log
    DumpFileAppend = Yes
    DebugFlags =
    Encryption = off
    #Trace = Yes
    #TraceFile = /tmp/odbc_sfasql_dsn.trc
    Thank you for every answer!
    Andrea

    1. Please add to the gateway init file HS_NLS_NCHAR=UCS2
    Then test again with a new SQL*Plus session.
    When it continues to fail, what's the character set of the Oracle database being used and how did you set the NLS_LANG in your environment?

  • Spaces after apostrophe

    Mail 8.0 ignore's the space after the letter following an apostrophe.  For example "it wasn'ta problem until recently"  I think this only appeared after updating to Yosemite but I'm not sure.  Only in Apple Mail, Microsoft Word is OK.

    It shouldn't do it so something is wrong.
    Have a look in the Preferences > Auto-correction if it is added that using the apostrophe generates also spaces.
    You can create a new account and use PAges and see if the problem still exist. If not it is something in you first account. Delete the com.apple.iwork.pages.plist in User > Library > Preferences
    May you've by mistake added it in the spelling list this "word".

Maybe you are looking for