Adding Spaces in the variable.

Hi All,
the problem scenario is :
I have a varaible of type c and length 10, and its filled with only 6 characters. Further there is another Variable of type c and size 4 , both need to concatenated .
The problem is when I concatenate both variables they come up joined. I need to have the 4 characters space between both variables.

Hello,
CONCATENATE is not going to be of any help.
Try like this:
DATA:
V_STR1 TYPE CHAR10 VALUE '123456',
V_STR2 TYPE CHAR4 VALUE '1234',
V_STR TYPE STRING.
MOVE V_STR1 TO V_STR.
V_STR+10 = V_STR2.
WRITE: V_STR.
Hope this helps.
BR,
Suhas

Similar Messages

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

  • Error while adding space to the table space

    HI Gurus
    Can you please put some light on the error which i encountered while adding space to a tablespace
    ALTER TABLESPACE "GISR_NDEX" ADD DATAFILE '+DATA2' SIZE 2G;
    ALTER TABLESPACE "GISR_INDEX" ADD DATAFILE '+DATA2' SIZE 2G
    ERROR at line 1:
    ORA-01119: error in creating database file '+DATA2'
    ORA-17502: ksfdcre:4 Failed to create file +DATA2
    ORA-15041: diskgroup space exhausted
    Any suggestion is highly apprciated .
    Thanks

    Hello;
    The "diskgroup space exhausted" is key.
    Try creating smaller files or adding disk space.
    ASM Disk Group Unbalanced :
    http://surachartopun.com/2010/03/ora-15041-asm-disk-group-unbalanced.html
    Best Regards
    mseberg

  • Adding space at the end of a ritchEditableText  line

    Hi!
    I found an interesting behaviour in my application.  I have a RichEditableText component with a fixed width . If I add text till almost the end of the line and then  insert spaces, the cursor get's stuck at the end of the line. My surprise was on retreiving the text from that line in the code, where all that spaces existed even if they were not visible in the app. So on screen you see let's say 3 spaces, but then you save the text you can get 10. If you keep inserting any letter the cursor will move itself to the next line, but this does not seem to be the case of " "(space).
    I tested it useing the following code. I'm useing 4.1 sdk.
    <s:RichEditableText id="richTxt"  width="100" height="500" change="richTxt_changeHandler(event)" />
    protected function richTxt_changeHandler(event:TextOperationEvent):void
                    var noOfLines:int = richTxt.textFlow.flowComposer.numLines;             
                    for (var i:int = 0; i < noOfLines; i++)
                        var startIndex:int = richTxt.textFlow.flowComposer.getLineAt(i).absoluteStart;
                        var seqLength:int = richTxt.textFlow.flowComposer.getLineAt(i).textLength-1;
                        var textLine:String = richTxt.text.substr(startIndex, seqLength);
    I try to set clipAndEnableScrolling=true; for richTxt but this thid not change anything.
    How can I retrieve only the visible text( with the corect number of spaces at the end of the line) from the RET in order to save it ?
    Thanks !

    Do you want to handle that space or just use the text value?
    If you just want to use the text value (i.e 1word - space)...u simply say CONDENSE <UR TEXT VARIABLE>.
    Else the other option is: Find the string length and then handle it the way u want.
    Or if u r sure that every word has that extra space, and u dont want that u can even use SHIFT RIGHT BY 1 PLACE in thet text variable.
    Hope this helps.
    Thanks
    Kiran

  • Adding messages to the Variable entry screen in web report

    I need to add a message or note to the variable selection screen on a web report. I need this message or note to be displayed somewhere on the same screen with the variable list. I found something similar in BW Expert regarding pop-up messages, but this does not work with web templates. Does anyone know of a way to add a static (or dynamic) message to this initial screen of a web report?

    In my clients place, they are ready to do the SAP Mod based on "CL_RSR_WWW_VARIABLE_SCREEN" to have a Alert Message which sort of based on different idea.
    Does anyboay have an idea on where to make the change?
    Thanx
    Arun

  • Adding text to editable region creates space in the rest of my layout

    I created my layout in PS, sliced the images and then imported to DW (html and images).
    Layout looks great.
    I created editable regions in the template I created from the .html
    One I start inserting text into these regions, my container moves and it throws the rest of the layout off by adding space between the editable region and the area above it (a big black line horizontally through the page).
    Is there a way to keep the container/editable region from moving or growing with the text so that it doesn't change my layout?
    On a side note, this change doesn't appear in live view. When I preview in browser, Safari layout looks great, but text doesn't appear. In firefox, text appears, but layout is a mess.
    Here is the code from the editable region to which I am trying to add text:
    <!-- TemplateBeginEditable name="main_content_area" -->
            <div id="site_layout_contentmain">Content for  id "site_layout_contentmain" Goes Here</div>
          <!-- TemplateEndEditable --></td>
    ANY help is GREATLY appreciated!!!!!

    MHarvey2001 wrote:
    Yes, the design is appearing to pull apart when I add content, but only in the Firefox preview.
    If it pulls apart in Firefox, chances are it pulls apart in all browsers when text size is increased.
    The problem with Photoshop code is that it is a) rigid, b) unstable and c) invalid.  
    To illustrate, run your code through the on-line validation tools below.
    CSS - http://jigsaw.w3.org/css-validator/
    HTML - http://validator.w3.org/
    Photoshop is OK for designing quick comps to show the client but they won't hold up on a real site.
    IMO, the benefits of starting over far outweigh the inconvenience.
    HTML & CSS Tutorials - http://w3schools.com/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com/

  • 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

  • Why do text variables using Running Header character style translate forced returns as a word space in the running head on the first page but close up the space on subsequent pages?

    In an InDesign document that requires 3 different Chapter head paragraph styles (to cope with differrent length headings) I've set up the running heads on the master page with a text variable using the Running header (character style) option. The character style I've assigned to this is an empty character style that is applied to all 3 chapter head paragraph styles.
    Some chapter heads require a forced line break, so that the line breaks are aethesically pleasing. On the first page the text variable translates this forced line break as a word space in the running head, but on subsequent pages it ignores the forced line break. This means that if you have a word space before the forced line break, on the first page you get a double word space and on subsequent pages the running head sets correctly with a single word space. But if you remove the word space before the forced line break in the chapter head text, the first running head sets correctly with forced line break interpreted as a single word space, but on subsequest pages the space is closed up.
    This only seems to be a problem when the character style option is used for header text variables. If a paragraph style is used the forrced line break is interpreted as a a single word space in all instances, both on the foirst page and subsequent pages.
    This would appear to be a bug in how text variables are applied when using the Running header (character style) option. I can't see any other reason why the text variable would beheave differently on the first page and on subsequent pages. There is only one master page, so it isn't a case of their being an error between a main master page and a chapter opener master page.
    Does anyone have any solutionss, or know if this problem has been fixed in subsequent releases of InDesign (I'm using CS6 ID version 8.0)
    Thanks

    Ask in the ID forum...
    Mylenium

  • Adding a message to the variable selection screen

    Hi there
    I have been asked to find a way to add a message to the variable selection screen.
    It appears that DIVISION needs to be added to the selection screen, as this makes the query run faster. However, they don't actually want the user to enter a division, as this causes other problems.
    So, ideally, I would be able to add a message to the variable selection screen that advises users against entering a value for division.
    I don't know how to do this.
    I create the web template, and I can therefore add messages or anything you like to the template, but I don't believe I have any control over the variable selection screen.
    Does anyone know if this is possible?
    We are running a 2004s system if that helps.
    Cheers,
    Andrew

    Hello,
    Well i think if you make the variable used for division not ready for input it would not be available for the users to input anything.
    you can find the checkbox for this in the properties of the variable in query designer.
    Hope this matches your requirement.
    Regds,
    Shashank

  • My ipod nano will not show any music on it after syncing or manuallly adding it, but the information still takes up space in ipod

    I have tried to put music on my ipod nano 3rd gen both manually and syncing it, but it never shows up after I eject my nano. The songs I put on will take up space, but the ipod says no songs. I have restored it multiple times and nothing has helped.

    Hey there Eduardo_09,
    It sounds like your iPod Nano is not appearing in either Windows, or iTunes on your computer. I would use the troubleshooting from the following article to help isolate and resolve the issue:
    iPod not recognized in My Computer and in iTunes for Windows
    http://support.apple.com/kb/ts1369
    Here is step 1 to get you started, but there are additional steps within if needed:
    1. Start with the iPod Troubleshooting Assistant
    If you haven't already done so, use the iPod Troubleshooting Assistant that applies to your iPod. This will often solve your issue.
    If you're still experiencing the issue after going through each of the steps in the assistant, continue with the steps below in this article. The most likely solutions are listed below (for both USB and FireWire (IEEE 1394) iPod connections). Check each section starting from the top of the list to see if that is what's keeping your iPod from appearing.
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • Adding Discoverer Worksheet leaves space at the top of the page in Portal

    hi guyz
    I have put an image on the top of the page. When I add a discoverer worksheet on the remaining part, it leaves a small space on the top of the page thus bringing the image a bit down.
    If I remove that worksheet, it behaves normally.
    quick replies appreciated.

    Try editing your region display properties.
    Cheers,
    Mick.

  • Adding Worksheet leaves space at the top of the page in Portal

    hi guyz
    I have put an image on the top of the page. When I add a worksheet on the remaining part, it leaves a small space on the top of the page thus bringing the image a bit down.
    If I remove that worksheet, it behaves normally.
    quick replies appreciated.
    Message was edited by:
    user621354

    Try editing your region display properties.
    Cheers,
    Mick.

  • Remove spaces from a variable

    I have a variable called 'enteredname':-
    var enteredname:String;
    When the user enters some text into my text input 'nameentry' and clicks a button the text entered is saved into this variable:-
    enteredname = nameentry.text;
    This variable is then sent to a server and set as the name of the item the user has added via http request however I want to add in another string variable 'enteredimagename' which will store the same text but will have any spaces removed or any characters that would not be appropriate to an image/jpeg file.
    The idea of this is that the user adds a name for an item their adding and the same name gets applied both as the items title and as the items image filename (with all the spaces etc removed) as all of the images in my app are stored on a server and are dynamic so the click would look something like:-
    enteredname = nameentry.text;
    enteredimagename = nameentry.text (with some code to remove the spaces for this string or something)
    Can anyone help me out with this?

    Hi use this function pass the name or any string that you want to remove strings..the function will return you the concatenated string without spaces.
    private function stripSpaces():String
        var strippedSpaces:String = StringUtil.trim(name);
        var strArray:Array = strippedSpaces.split(" ");
        var concatString:String = "";
        for(var i:int=0;i<strArray.length;i++)
         if(strArray[i] != " ")
          concatString += strArray[i];
        return concatString;   
    This function removes all spaces, also the spaces between words and at the beginning and end as well.
    If this post answers your question or helps, please kindly mark it as such.
    Thanks,
    Bhasker Chari

  • Getting error while creating the variable of Schema Element type

    Hi everybody,
    For creating a variable of schema element type I am doing the following steps...
    Select 'Variables' after right clicking on bpel process. IN this window, go to 'Create VAriable' then select 'Element' type. Now in Type Choose, I expanded the my imported schema files. And selected a element type, then click ok to create this variable... I am getting the message...
    IN ORDER TO SAVE IMPORTED WSDL/SCHEMA FILES, YOU MUST HAVE A PARTNER LINK LOCATED UNDER THE CURRENT PROJECT DIRECTORY.
    What is mean by that.
    I have imported the schema files in project. AFter that I have imported them into the WSDL also. Now why I am getting error while creating the variable. However I can create variable directly in .BPEL file then everything is fine. And it is working also. But what is mean with the above error? Why I am not able to create variable through GUI?
    Thanks.

    Hi,
    I have this same problem this morning, and I was going crazy, until I found this webpage on the internet:
    [http://technology.amis.nl/blog/1803/problem-importing-xml-schema-in-bpel-process|http://technology.amis.nl/blog/1803/problem-importing-xml-schema-in-bpel-process]
    The idea is that the jdeveloper is not very good working with directories with spaces on the directory name. If you move all your work to a directory without spaces, it will work smoothly. At least, it had worked for me.
    Regards,
    Nacho

  • Any idea what this errorr means? the data type of the reference does not match the data type of the variable

    I am using Veristand 2014, Scan Engine and EtherCat Custom Device.  I have not had this error before, but I was trying to deploy my System Definition File (run) to the Target (cRio 9024 with 6 modules) and it failed. It wouldn't even try to communicate with the target. I get the 'connection refused' error.  
    I created a new Veristand project
    I added the Scan Engine and EtherCat custom device.
    I changed the IP address and auto-detected my modules
    i noticed tat Veristand didn't find one of my modules that was there earlier. (this week)
     So, i went to NiMax to make sure software was installed and even reinstalled Scan Engine and Veristand just to make sure.
    Now, it finds the module, but when i go to deploy it getsto the last step of deploying the code to the target, and then it fails.
    Any thoughts?
    Start Date: 4/10/2015 11:48 AM
    • Loading System Definition file: C:\Users\Public\Documents\National Instruments\NI VeriStand 2014\Projects\testChassis\testChassis.nivssdf
    • Initializing TCP subsystem...
    • Starting TCP Loops...
    • Connection established with target Controller.
    • Preparing to synchronize with targets...
    • Querying the active System Definition file from the targets...
    • Stopping TCP loops.
    Waiting for TCP loops to shut down...
    • TCP loops shut down successfully.
    • Unloading System Definition file...
    • Connection with target Controller has been lost.
    • Start Date: 4/10/2015 11:48 AM
    • Loading System Definition file: C:\Users\Public\Documents\National Instruments\NI VeriStand 2014\Projects\testChassis\testChassis.nivssdf
    • Preparing to deploy the System Definition to the targets...
    • Compiling the System Definition file...
    • Initializing TCP subsystem...
    • Starting TCP Loops...
    • Connection established with target Controller.
    • Sending reset command to all targets...
    • Preparing to deploy files to the targets...
    • Starting download for target Controller...
    • Opening FTP session to IP 10.12.0.48...
    • Processing Action on Deploy VIs...
    • Setting target scan rate to 10000 (uSec)... Done.
    • Gathering target dependency files...
    • Downloading testChassis.nivssdf [92 kB] (file 1 of 4)
    • Downloading testChassis_Controller.nivsdat [204 kB] (file 2 of 4)
    • Downloading CalibrationData.nivscal [0 kB] (file 3 of 4)
    • Downloading testChassis_Controller.nivsparam [0 kB] (file 4 of 4)
    • Closing FTP session...
    • Files successfully deployed to the targets.
    • Starting deployment group 1...
    The VeriStand Gateway encountered an error while deploying the System Definition file.
    Details:
    Error -66212 occurred at Project Window.lvlibroject Window.vi >> Project Window.lvlib:Command Loop.vi >> NI_VS Workspace ExecutionAPI.lvlib:NI VeriStand - Connect to System.vi
    Possible reason(s):
    LabVIEW: The data type of the reference does not match the data type of the variable.
    =========================
    NI VeriStand: NI VeriStand Engine.lvlib:VeriStand Engine Wrapper (RT).vi >> NI VeriStand Engine.lvlib:VeriStand Engine.vi >> NI VeriStand Engine.lvlib:VeriStand Engine State Machine.vi >> NI VeriStand Engine.lvlib:Initialize Inline Custom Devices.vi >> Custom Devices Storage.lvlib:Initialize Device (HW Interface).vi
    • Sending reset command to all targets...
    • Stopping TCP loops.
    Waiting for TCP loops to shut down...
    • TCP loops shut down successfully.
    • Unloading System Definition file...
    • Connection with target Controller has been lost.

    Can you deploy if you only have the two 9401 modules in the chassis (no other modules) and in the sysdef?  I meant to ask if you could attach your system definition file to the forum post so we can see it as well (sorry for the confusion).  
    Are you using any of the specialty configurations for the 9401 modules? (ex: counter, PWM, quadrature, etc)
    You will probably want to post this on the support page for the Scan Engine/EtherCAT Custom Device: https://decibel.ni.com/content/thread/8671  
    Custom devices aren't officially supported by NI, so technical questions and issues are handled on the above page.
    Kevin W.
    Applications Engineer
    National Instruments

Maybe you are looking for

  • Error with syspreped windows 7 image related to capisp.dll execution...

    Hi Folks, some time ago I crafted an windows 7 image with sysprep generalization for WDS deployment. In real there are 2 images: one dumped w/o sysprep and the another w/ (dumping with ImageX Tool from WAIK for W7/W2K8R2). The syspreped one I deliver

  • Can WRT54G use WPA and WEP at the same time?

    I used to have a smc 802.11b wireless router and a dlink 802.11b wireless print server. In order to have WPA and a firewall, I replaced the wireless router with a linksys WRT54G. Then I realize the dlink print server, even though it has the "g" keywo

  • How to add a custom Text Layout for a wiki page

    I'd just like to know if this is even possible. Has anyone ever tried adding a custom text layout as per the attached screenshot? Shereen Qumsieh http://sharepointdeveloperhq.com @msshushu

  • In production  DB ,i wrongly imported production user to system user

    Hi All, 1.In production DB ,i wrongly imported one user to system user. 2.And there is any method to retrieve the system user as back? 3.Is there any conflicts in future? thank you in advance, regards, Db.

  • Using stylus for drawing on iPad air

    What's the best stylus for artists to draw on the IPad Air? I tried the Wacom Intuos Creative Stylus and it wouldn't stay connected to Bluetooth and you had to press so hard to have it register.