About the actual length of domain AUART

Hi experts:
please refer to below code:
REPORT  TEST1.
DATA : abc(4) TYPE c.
DATA : XYZ TYPE VBAK-VKORG.
DATA : XYZ1 TYPE AUART.
abc = 'amit'.
xyz = 'abcd'.
xyz1 = 'xxxx'.
write:/001(01) SY-VLINE NO-GAP,
002(10) abc centered,
012(01) SY-VLINE NO-GAP,
013(10) xyz centered,
023(01) SY-VLINE NO-GAP,
024(10) xyz1 centered,
034(01) SY-VLINE NO-GAP.
Could anyone kindly suggest why the third 'centered' does not work?
I suppose it was caused by the length of AUART, but cannot prove it.
Can anyone help? Many thanks.

Hi,
Here in your example  the position specified having precedence over centered .
The first two centered are occuring due to only the position specified with them .
You can write the third field as centered as follows changing the position value -
DATA : abc(4) TYPE c.
DATA : XYZ TYPE VBAK-VKORG.
DATA : XYZ1 TYPE AUART.
abc = 'amit'.
xyz = 'abcd'.
xyz1 = 'xxxx'.
write:/001(01) SY-VLINE NO-GAP,
002(10) abc centered,
012(01) SY-VLINE NO-GAP,
013(10) xyz centered,
023(01) SY-VLINE NO-GAP,
*****024(10) xyz1 centered,
026(10) xyz1 centered,
034(01) SY-VLINE NO-GAP.
Here I have changed the position of the third field from 024 to 026.  Now It is working.
Regards
Pinaki
Edited by: Pinaki Mukherjee on Feb 10, 2009 5:20 AM

Similar Messages

  • Determining the actual length of a string based on pixels?

    How would you determine the actual length of a string based on pixels? Reason for is because a length of a string containing all " l " chars would be a lot smaller then the length of a string containing all "H" chars based on pixel width.
    thanks,
    newbie

    Yes, look at the FontMetrics class which has methods to do just that. To get a relevant FontMetrics object, try "x.getFontMetrics(f)" where x is a Component and f is the Font your string is represented in.

  • Import broke down movie into equal clips of 0.01  duration. How can I join them back into the actual length recorded on the camera

    My recent import from my camera into imove resulted in the entire video being seperated into many equal lengh mini clips with a duration of 0.01 seconds.  When playining through these it is sped to quick to even see what is going on.  What happened to cause this?

      ('cause then i can walk away and it makes the separate shoots into separate clips .. instead of having to sit at FCP for hours to log them individually)
    FPC has a feature called DV Start/Stop Detect.  You can Cature Now an entire tape and run the Start/Stop detect and it will separate each of your clips based on the metedata.  It will recognize each individual time you started then stopped recording by placing a marker at the beginning of each clip.  Then you drop all the markered shots into a new bin and it makes subclips out of them.  Easy.  You can read more about it in the manual. It's a very helpful tool.

  • Selecting actual length of data

    i am selecting from a txt file, but say this particular field in the txt file is varchar2(30), but the actual length of the data can vary, how do i select the actual length of the data,instead of getting the data followed by spaces?

    Hi Justin,
    It more like this.
    I am using the utl_fle to retrive data from a txt file.
    So say the length in the txt field is 30 characted.
    I have retrieved it using the utl_file and put it in variable A.
    But the data in variable A does not have 30 characters, it may vary depending on the data in the txt file.
    So how can i retrive the exact length of the data from the txt file,
    eg of txt data(each field is 30 char long, but actual data length is only six
    123123 123123 123123
    But when i retriev from utl_file its comes out as
    123123xxxxxxx
    xxx denotes spaces, so how do i just retreive 123123.
    The exact length of the records is random.Hope this is clearer.

  • Quesiton about the Zen Vision Mi

    Hi there, my question is about the actually dimension of the video. Let's say you had like some anime that you wanted to watch and it was avi format. Could I just upload it too the vision and it would play it at a shrinked size, or would I have to download a program to convert it to smaller dimensions?

    it will play at an adjusted size on the vision:m. i just drag and drop all my movies regardless the resolution.

  • This is about the KT6 Delta (FIS2R)

    1st, i waited a lonnnnnnnnng time for it to arrive at the shops.
    2nd, was rather boggled by the lack of accessories that came with it (missing the 1) D-Led adapter, 2) USB adapter, 3) the Red rounded cable for PATA, 4)only came with 2 sata cables, 5) no power splitter for SATA drives.
    hmmmm
    Thats all the complaints i have, now to the good stuff
    Its been running solid, I took extra time when constructing the new PC, an important attribute for any PC.
    Everything has been placed precisely, PCI cards in certain slots, HD's in grouped arrays (5 HD's installed), power cables and other cables tucked neatly and non obstructive (and SH*T theres alot of cables in this thing)
    I am unfamiliar with hardware assignments for this mobo, which is to do with windows installs on particular HD setups.
    The HD controllers in particular, just load drivers for the VIA SATA controller if windows is being installed to that drive, and vice versa for the Promise controller.
    Then load the remaining drivers after windows has finished.
    Overclocking the CPU is working fine, im using a XP2400+ with the pin in the socket trick to unlock it.
    its hit 2.3Ghz so far, but i need a better heatsink to cool it.
    Which is my next topic.
    Its been reeeeeeeeeeallllllllllllll hot here, and another one coming tomorrow.
    The CPU has been running hot, and ATM its at 2.2ghz with a 65*C temp recording ive noticed so far at max load. And the chipset is at 55*C, so it can handle the heat coz i havnt had a BSOD with it yet, except for the CPU overclock (but thats a heatsink issue)
    When using the Promise controller, configure it for RAID in bios, it will be alot more reliable i have noticed. (The other config kept getting a "Dirty" assignment by windows and would constantly load the checkdisk before windows startup)
    You can use single drives, and can keep all your data, as long as you understand the bios setup for the promise controller - when it asks if you want to delete the drive or not   etc....)
    So no complaints about the actual mobo hardware at all.
    I love it.
    Here's the hardware specs now or, the chewy gooey stuff!
    If anyone is using Hyper-X PC3500, use these settings listed below in this order;
    Fast
    2
    2
    6
    3
    Auto
    4
    8
    Enabled
    Fast
    Enabled
    RAM @ 2.80 volts
    you should beable to touch the 3GB\second mark with this setting. (i can)
    For SATA RAID, i used 2x120GB Seagates 7200.7 (Firmware 3.05)
    Its hitting 135MB's burst transfer and 90MB's+ on Read/Write Sequential transfers.
    I have 2 Seagate 7200.7 PATA drives on the promise controller, firmware 3.06, configured as single RAID array drives.
    These are getting scores of 45MB's sequential average with 90MB's burst.
    So its all nice n fast, gonna be getting another 512MB HyperX and a new heatsink for OC'ing.
    Aiming for 2.4Ghz, which should speed up everything across the board.
    Later  

    "Isn't it wonderful when a plan comes together?"

  • About the procedure to implement synchroniztion

    hi
    I have a question about the actually procedure of doing synchronization in java, I didn't find any acticle to discuss the detail about which methods are called during the whole process.
    any body if has some idea, can you help me out?
    thanks
    anderson

    Be more specific

  • Whats the maximum length array and why?

    Whats the maximum length array and why?
    I tryed to search the forum but most people was wondering about the maximun length of a String..

    for(int i =20;i<=32;i++) {
         try {
              int[] p = new int[(int)Math.pow(2,i)];
              pause(2000); // So that gc doesn't clean away the array before
                              // The OS memory manager gets to update.
              System.out.println("Paused! i: " + i);
         } catch(OutOfMemoryError e) {
              System.out.println("Ex!!");
              pause(10000); // Same sa before.
    void pause(int p) {
         try {
              Thread.sleep(p);
         } catch (Exception e) {}
    }I worte this little code to test this.
    It runs to 2^23 for me.
    I am running
    AMD Athlon, 512 DDR, Windows 2000 SP4
    java version "1.5.0-beta2"
    Java was using 42116 Kb RAM and 54632 Kb Swap when its at 2^23

  • TS1424 I downloaded an album, but most of the songs are incomplete.  The itunes list shows the appropriate song length, but the actual songs are not completely downloaded - meaning it does not give me the option of finishing the download.

    I purchased a complete album, but most songs are only about a minute in duration rather than their actual lengths.  The times showing indicate the full song was downloaded, but in reality, its like listening to a sample.  I want to get entire songs, but the itunes list shows it as downloaded, so it does not seem to give me the option to download again.  I sure would like to get what I paid for.  Any suggestions?

    If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copies of the dodgy tracks and try redownloading fresh copies. For instructions, see the following document:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Otherwise, I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the items that are not playing properly. If you can't see "Report a Problem" next to the items, click the "Report a problem" button. Now click the "Report a Problem" links next to the items.

  • TS1424 i downloaded a song and it shows the time length all to be correct but while playing the song will only play for about 30 seconds then skip to the next song in my list (all lists) - in short i payed for a song that is only of a preview quality

    i downloaded a song and it shows the time length all to be correct but while playing the song will only play for about 30 seconds then skip to the next song in my list (all lists) - in short i payed for a song that is only of a preview quality
    Either this needs to get fixed or i will request my money back because i will not work for my money while other lie about what i spend it on.

    Try deleting the problematic tune (electing to remove original file if/when prompted) and then re-downloading the file from the iTunes store.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option from the Quick Links section in the top right corner of the iTunes homepage in your iTunes application on your computer.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option at the bottom of the screen of the iTunes app (or video app on your iOS device.
    If the problem re-occurs, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History using your computer.

  • I've just bought an iPad and there's a line that runs the whole length of the screen about an inch from the outside edge of the screen. Have I bought a faulty product?

    I've just bought an iPad and there's a line that runs the whole length of the screen about an inch from the outside edge of the screen. Have I bought a faulty product?

    Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • Actual situation about the stocks of ipad 2 in Italy

    Hello! As above, how is the actual situation about the stocks of ipad 2 in Italy? Thank you very much in advice!

    iPads are in scarce supply everywhere in the world, and stock usually sells out without hours of arriving at the reseller. If you want current information about availability, you'll have to contact your local Apple Store or Apple dealer.
    Regards.

  • HT204053 For some reason, I am unable to log onto the App store and iTunes using my Apple ID although it works on the actual website/browser. Why is this and what can I do about it?

    I was struggling with creating an account without a credit card at first and then someone on here suggested I create my account through the actual website and I log onto the website without any trouble and onto Game Center, just nowhere else. It says "This Apple ID has not yet been used with the iTunes Store." and asks me to review my account information but when I click on review, it completely ignores my request. This is somewhat infuriating as I really would like to start using the App Store. Thank you for your help.

    Hi annafrUk!
    I believe this article will be able to provide you with some help regarding this issue:
    Using an existing Apple ID with the iTunes Store, Mac App Store, and iBooks Store
    http://support.apple.com/kb/ht2589
    Take care, and thanks for visiting the Apple Support Communities.
    Cheers,
    Braden

  • About the domain of virtual host

    Hi all,
    Is it applicable for the EBS instance using the virtual host
    which domain is different from the one of the physical host?
    I found that the domains of the physical host and the virtual host
    are same in the descriptions from many materials.
    Thank you in advance.
    Best regards,
    Wang

    Hi,
    You can refer the specific installation guide for the minimum disk space requirement.
    Whatever functionality you use you need minimum space as mentioned in the installation guide.
    You can configure slightly more memory than given in the installation guide to be safer.
    Cheeers...,
    Raghu

  • For...each...in loop.  Can I make assumptions about the order?

    I've always assumed that I can't make any assumptions about the order in which elements are indexed by a for...each...in loop.  Not even for a conventional indexed array.  (Emphasis!: I'm not talking about associative arrays here, I'm talking about normal indexed arrays.  Dense, no gaps.).
    for each (var element:ElementClass in myArray) {}
    May not traverse the array from first to last.  I've never assumed that it's guaranteed anyway.  Neither does the ECMA standard.  I assume the compiler/runtime is at liberty to index the array in any order, which may even be different each time. 
    Whereas... for (var i:int=0;i<myArray.length;i++) {......var element:ElementClass=myArray[i]....}
    ....Is guaranteed to traverse the array from first to last.  So I always use this looping statement if the ordering is important.
    MY QUESTION IS.... In ActionScript 3, Can I just assume that the for..each..in will always traverse a dense indexed array from first to last?
    Actually, my specific case at the moment is where another programmer is passing me an array,assembled within a for...each..in loop.   But I need to assume the order of that array.  If this is always going to work in ActionScript3, then no problem.  Although I'll continue to worry about the ECMA standard for my own code, and wont make assumptions about ordering - but I won't force my anal-retentive programming style on the other guy.

    I did a test on it
    case1:
    var arr:Array = new Array();
    arr[0] = 'a';
    arr[1] = 'b';
    arr[2] = 'c';
    arr[3] = 'd';
    for each(var arrEle:string in arr)
         trace(arrEle);
    always output a,b,c,d
    case2:
    var arr:Array = new Array();
    arr[6] = 'd';
    arr[0] = 'a';
    arr[1] = 'b';
    arr[3] = 'c';
    for each(var arrEle:string in arr)
         trace(arrEle);
    always output a,b,d,c
    so I assume array is created in this way: alloc a memory block for array first, when attaching new element(numeric indexd by i) to array, check if i >= length, put new element in the end of array, else put element at i; so in case 2, array is alloced in this way
    array:{'d'} //6>0
    array:{'a', 'd'} //0<1
    array:{'a', 'b', 'd'} //1<2
    array:{'a', 'b', 'd', 'c'} //3>=3
    disclaimer: totally assumption!!!

Maybe you are looking for