Difference B/w CR/LF,Newline,Vertical tab in class CL_ABAP_CHAR_UTILITIES

Can anybody tell me the difference b/w CR/LF,Verical Tab,Newline in Attributes of class CL_ABAP_CHAR_UTILITIES?
i think CR/LF & Newline are one &the same.
If it is correct,why there are 2 Attributes provided i this class?

Hi Aruna,
CL_ABAP_CHAR_UTILITIES attributes have been created to give you the right characters in your operating environment.
In the past, you could specify HEX 13 for a line feed. Now you are in a unicode-compatible world where you do not care about how many bytes are used for what control character.
The attributes will just have the values you need in the (byte) length expected by your operating system. And if you use the same program in different releases and/or operating systems with or without unicode it will still work.
The names of the attributes are self-explaining. If you don't know what a speific atributes name stands for: Ask your milkman
Regards,
Clemens
Regards,
Clemens

Similar Messages

  • I can no longer access vertical tabs

    I love vertical tabs as I frequently navigate between 30 - 50 tabs. This is impossible with horizontal tabs. Please can you let me know why vertical tabs is no longer accessible. The Tree Style tabs doesn't work with Firefox 5. I can see no advantage to Firefox 5
    Firefox is my working space. It is really discouraging to lose a facility without any explanation or replacement.
    PLEASE bring back vertical tab

    I keep some pictures in the picture files and they show up.  The photos that I used to keep in iPhoto (which disappeared on upgrade) are not accessible in word.  If you click on photo the file location (in Word) looks for iPhoto and comes up blank.  If you try to enter the file location for "Photos" which is pictures/photolibrary this is greyed out and not accessible.  The only way I have been able to do it is export the photos to a folder and choose the file.  This is a pain.

  • Vertical tabbed panel with background image

    Hi all,
    I have a working vertical tabbed panel.  For the text that's shown, there's a background image assigned to the associated DIV.
    However...
    The background image that's shown is clipped to the bottom of the text.
    In other words, if I have 3 lines of text, the bottom of the background image only goes as far down as the bottom line of text.  In order to show the entire image, I have to put in a lot of </ br> tags for "empty" text, not a very good approach.
    More of the backgound will show if I increase the text text size via the browser.
    To try to describe this more accurately,
    Let's say I have a background image that's 600 px in height, but the lines of text only measure to 400px.  That means that the bottom 200 px of the image doesn't show, unless I add more lines of text.
    Hoping someone has an answer!
    Thanks,
    Jerry

    Gramps,
    Again, thanks for your time.  While we're now full time commercial photographers (http://www.jerryandlois.com), I was a software engineer for some 20+ years in an earlier life, all on the application side of things.  Not really any appreciable time with website stuff.
    There are a few more tech/how-to questions I have that are specific to CSS, in terms of polishing up the small site I'm working on.  However these are not SPRY related, unless SPRY can solve this for me.
    In particular, suppose I have a large block with a background image and a body of text.  I want to ensure the text wraps around the image, rather than being a complete overlay where the text can collide with the main body of the photo.
    Example:
    http://jerryandloisstudios.com/about.html
    The issue is that the text is resizable, by design of course.  Is there any way to manage these two elements (text and image) so they get along the right way?  We want the text to overlay some of the image, but only on the periphery, if that makes sense.  So far, the only solution I've seen is to keep the text formatted roughly in a column so that if its size increases all will still be OK.  But...  artistically that just doesn't look right.
    If you're up for it, I'd certainly welcome a private email thread, unless others can also benefit from the rather newbie questions I'm raising:  [email protected]
    Again, thank you for your help!!!
    Jerry

  • How to get the menu-bar back if vertical tabs 0.9.4 is installed and the other bars were already switched off?

    there is no firefox-button anywhere
    in the adress-bar there is nowhere a free space where right-clicking works
    right-clicking in the (vertical) tab-bar doesn't do anything

    Hello,
    In order to better assist you with your issue please provide us with a screenshot. If you need help to create a screenshot, please see [[How do I create a screenshot of my problem?]]
    Once you've done this, attach the saved screenshot file to your forum post by clicking the '''Browse...''' button below the ''Post your reply'' box. This will help us to visualize the problem.
    Thank you!

  • Why can't i find vertical tabs in safari ios7?

    Hi, i have updated my iPad and iPad mini to iOS 7. In Safari, however, i can't find the icon to get the tabs in vertical for browsing. Can anyone help? thx

    thanks Courcoul.
    i can understand that you have no idea what i referred to! So have a look at the picture attached!
    that said, I've just had a look at the User Guide, as you suggested, and could'nt find any reference to it. So I guess the vertical tabs only exist for iphones not iPads...
    thx again!

  • Spry - Vertical Tabbed Panel

    Hey guys,
    I looked around this site and I could find an answer to this but I couldn’t, so I thought I would pop this question in.
    I want to make a vertical Tabbed Panel but I want it to be split into different categories.
    The category heading is not clickable but its sub item are clickable, e.g.
    Group A – Not clickable                     | Content Panel
    Tab1 – Shows content panel 1            |
    Tab2 – Shows content panel 2            |
    Group B– Not clickable                      |
    Tab3 – Shows content panel 3            |
    Tab4 – Shows content panel 4            |
    I tried a few ideas but with not luck.  If anyone could point me in the right direction I would be very grateful.

    What I would do is make small change the JavaScript file
    Find Spry.Widget.TabbedPanels.prototype.getTabs and replace it with this function.
    Spry.Widget.TabbedPanels.prototype.getTabs = function()
         var tabs = [];
         var tg = this.getTabGroup();
         if (tg)
              tabs = this.getElementChildren(tg);
         for(var i = 0; i < tabs.length; i++){
              if(!tabs[i].className.match('TabbedPanelsTab')){
                   tabs.splice(i, 1); // remove because its not a tab
         return tabs;
    It checks if your tabbedpanels tab have the class "TabbedPanelsTab" if it does, it will allow it to be tab
    So now you can do..
    <div class="TabbedPanels" id="tp1">
    <ul class="TabbedPanelsTabGroup">
    <li class="tab1" tabindex="0">I do nothing</li>
    <li class="TabbedPanelsTab tab2" tabindex="0">Tab 1</li>
    <li class="TabbedPanelsTab tab3" tabindex="0">Tab 2</li>
    <li class="TabbedPanelsTab tab4" tabindex="0">Tab 3</li>
    </ul>
    <div class="TabbedPanelsContentGroup">
    <div class="TabbedPanelsContent">Tab 1 Content</div>
    <div class="TabbedPanelsContent">Tab 2 Content</div>
    <div class="TabbedPanelsContent">Tab 3 Content</div>
    </div>
    </div>

  • Horizontal Tabbed Panel Inside Vertical Tabbed Panel

    Hello!
    I am new to web coding and in dreamweaver I would like to place a horizontal spry tabbed panel as the content of a vertical spry tabbed panel.  I guess you could call it a nesting a tabbed panel.  However, when I place the horizontal panel in the content area, it takes the form of a vertical panel.  Any thoughts?
    Here is a live page of the issue: http://andrewpapp.com/baseballprofile.html
    and here is the code:
    http://www.andrewpapp.com/html.txt

    Hi Newbie,
    I say this through gritted teeth because I think you have done far better than just a newbie, even to the extent that you have given correct advice to Jennigje Galama.
    To get to your problem, have a look at the following example
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <script src="SpryAssets/SpryTabbedPanels.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryTabbedPanels.css" rel="stylesheet" type="text/css">
    <style>
    .HTabbedPanels .TabbedPanels {
         margin: 0px;
         padding: 0px;
         float: left;
         clear: none;
         width: 100%; /* IE Hack to force proper layout when preceded by a paragraph. (hasLayout Bug)*/
    .HTabbedPanels .TabbedPanelsTabGroup {
         margin: 0px;
         padding: 0px;
    .HTabbedPanels .TabbedPanelsTab {
         position: relative;
         top: 1px;
         float: left;
         padding: 4px 10px;
         margin: 0px 1px 0px 0px;
         font: bold 0.7em sans-serif;
         background-color: #DDD;
         list-style: none;
         border-left: solid 1px #CCC;
         border-bottom: solid 1px #999;
         border-top: solid 1px #999;
         border-right: solid 1px #999;
         -moz-user-select: none;
         -khtml-user-select: none;
         cursor: pointer;
    .HTabbedPanels .TabbedPanelsTabHover {
         background-color: #CCC;
    .HTabbedPanels .TabbedPanelsTabSelected {
         background-color: #EEE;
         border-bottom: 1px solid #EEE;
    .HTabbedPanels .TabbedPanelsTab a {
         color: black;
         text-decoration: none;
    .HTabbedPanels .TabbedPanelsContentGroup {
         clear: both;
         border-left: solid 1px #CCC;
         border-bottom: solid 1px #CCC;
         border-top: solid 1px #999;
         border-right: solid 1px #999;
         background-color: #EEE;
    .HTabbedPanels .TabbedPanelsContent {
         padding: 4px;
    .HTabbedPanels .TabbedPanelsContentVisible {
    </style>
    </head>
    <body>
    <div id="TabbedPanels1" class="VTabbedPanels">
      <ul class="TabbedPanelsTabGroup">
        <li class="TabbedPanelsTab" tabindex="0">Tab 1</li>
        <li class="TabbedPanelsTab" tabindex="0">Tab 2</li>
      </ul>
      <div class="TabbedPanelsContentGroup">
        <div class="TabbedPanelsContent">
             <div id="TabbedPanels2" class="HTabbedPanels">
               <ul class="TabbedPanelsTabGroup">
                 <li class="TabbedPanelsTab" tabindex="0">Tab 1.1</li>
                 <li class="TabbedPanelsTab" tabindex="0">Tab 1.2</li>
               </ul>
               <div class="TabbedPanelsContentGroup">
                 <div class="TabbedPanelsContent">Content 1.1</div>
                 <div class="TabbedPanelsContent">Content 1.2</div>
               </div>
             </div>
        </div>
        <div class="TabbedPanelsContent">
             <div id="TabbedPanels3" class="HTabbedPanels">
               <ul class="TabbedPanelsTabGroup">
                 <li class="TabbedPanelsTab" tabindex="0">Tab 2.1</li>
                 <li class="TabbedPanelsTab" tabindex="0">Tab 2.2</li>
               </ul>
               <div class="TabbedPanelsContentGroup">
                 <div class="TabbedPanelsContent">Content 2.1</div>
                 <div class="TabbedPanelsContent">Content 2.2</div>
               </div>
             </div>
        </div>
      </div>
    </div>
    <script type="text/javascript">
    var TabbedPanels1 = new Spry.Widget.TabbedPanels("TabbedPanels1");
    var TabbedPanels2 = new Spry.Widget.TabbedPanels("TabbedPanels2");
    var TabbedPanels3 = new Spry.Widget.TabbedPanels("TabbedPanels3");
    </script>
    </body>
    </html>
    What the vertical tabs does, is override the style rules of the normal (horizontal) tabs. Thats OK, but if we then want horizontal tags, we must resurrect the orginal style rules. We must also make sure that we choose the selectors carefully unless we want to rewrite the JavaScript file.
    I think the above approach is probably the best,
    Keep up the good work.
    Gramps

  • How to insert Newline in text file thr CL_ABAP_CHAR_UTILITIES

    Hi,
    I need to send a mail with TEXT file attachment which has many records in it. It is working fine. But the only problem is, all records are displayed in the 1st line itself. So i need to separate the records by inserting new line.
    constants: c_new type c value CL_ABAP_CHAR_UTILITIES=>NEWLINE.
    LOOP AT it_final INTO wa_final.
    lv_menge = wa_final-menge.
    CONCATENATE  wa_final-ebeln
               wa_final-bukrs
               wa_final-lifnr
               wa_final-ebelp
               wa_final-matnr
               wa_final-werks
               lv_menge
               c_new    " Newline
               INTO lv_txt SEPARATED BY CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
    APPEND lv_txt to text.
    CLEAR: lv_txt, lv_menge.
    ENDLOOP.
    For this code, i'm not getting the new line for each record.
    Plz help me out for the same.
    Thanks,
    Ramesh

    Hi ,
    Sorry i cant get u.. Plz let me know exactly.. Now i replaced the Horizontal tab with CR_LF but even this is not working..
    CONSTANTS: c_new type ABAP_CR_LF value CL_ABAP_CHAR_UTILITIES=>CR_LF.
          LOOP AT it_final INTO wa_final.
            lv_menge = wa_final-menge.
            CONCATENATE wa_final-ebeln
                       wa_final-bukrs
                       wa_final-lifnr
                       wa_final-ebelp
                       wa_final-matnr
                       wa_final-werks
                       lv_menge
    "                   c_new
                       INTO lv_txt SEPARATED BY c_new. "cl_abap_char_utilities=>horizontal_tab.
            APPEND lv_txt TO text.
            CLEAR: lv_txt, lv_menge.
          ENDLOOP.
    Correct me if i'm wrong..
    Thanks
    Ramesh

  • Difference between RSA5 and AWB-- Business Content tab?

    Hi all,
    RSA5 is for installing the business content datasources.
    AdministratorWorkBench--> BusinessContent is also used for installing the Business Content Datasources.
    So what is the difference between these two options?
    Thanks.

    RSA5 is inturn a business content.. but it has data sources of the system, from the source system angle.. it will have the related code to pick the data
    in business content tab, you will have the data source and destination specific items. it will have the structures to transfer data
    ie, if you want to use load data from bw system itself, you wil have to install the data source from rsa5

  • Vertical tabs in a tabset

    Hi all,
    Is it possible to have tab child components of a tabset oriented in a vertical direction (so that you can have it used on a left menu fragment)? the default layout keeps child tabs in a horizontal direction.
    Any clue?

    the best way how NOT to do the scrolling is to have shorter tab names or view on a higher resolution. there is no way to make them default to a new line of necessary.
    Frankly, I would look back at the layout and design aspects of the page because 17 tabs is a TON of information to download each time you access a page even if you cant see them all.
    You could have the information separated as pages instead of tabs or use item level security instead of tab level to fix this problem.

  • JTabbedPane vertical tab text bottom alignment

    In the following example, how can we have the tab component labels ("test" and "test test") bottom aligned ?
    Note that it also uses this class: [http://www.camick.com/java/source/VerticalLabelUI.java]
    import java.awt.*;
    import javax.swing.*;
    public class NewJFrame extends JFrame {
        private JTabbedPane pane;
        public NewJFrame() {
            //http://www.camick.com/java/source/VerticalLabelUI.java
            VerticalLabelUI ui = new VerticalLabelUI();
            pane = new JTabbedPane();
            pane.setUI(new MyUI());
            setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
            getContentPane().add(pane, BorderLayout.CENTER);
            setSize(400, 300);
            setLocationRelativeTo(null);
            pane.addTab("tab1", new JLabel("Test1"));
            pane.addTab("tab2", new JLabel("Test2"));
            JLabel labelTab = new JLabel("<html><font color=red>Test");
            labelTab.setUI(ui);
            labelTab.setHorizontalAlignment(SwingConstants.LEFT);
            pane.setTabComponentAt(0, labelTab);
            labelTab = new JLabel("<html><font color=red>Test Test");
            labelTab.setUI(ui);
            labelTab.setHorizontalAlignment(SwingConstants.LEFT);
            pane.setTabComponentAt(1, labelTab);
        public static void main(String args[]) {
            EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new NewJFrame().setVisible(true);
    }Note that I tried already to override BasicTabbedPaneUI.layoutLabel(), playing around with SwingUtilities.layoutCompoundLabel() text alignment parameters without anything happening on screen.

    Note that it also uses this classI have that class, but where to I get MyUI? Anyhow. After commenting out the line I couldn't compile, I could see the problem isn't with where the text is being placed in the label but rather where the label is being positioned on the tab. One way out is for all your labels to have the same preferredSize.height.import darrylbu.plaf.vertical.VerticalLabelUI;
    import java.awt.*;
    import javax.swing.*;
    public class TestJFrame extends JFrame {
      private JTabbedPane pane;
      public TestJFrame() {
        //http://www.camick.com/java/source/VerticalLabelUI.java
        VerticalLabelUI ui = new VerticalLabelUI();
        pane = new JTabbedPane();
        //pane.setUI(new MyUI());
        setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
        getContentPane().add(pane, BorderLayout.CENTER);
        setSize(400, 300);
        setLocationRelativeTo(null);
        pane.addTab("tab1", new JLabel("<html><div align = \"left\"><font color=red>Test</font></div></html>"));
        pane.addTab("tab2", new JLabel("Test2"));
        JLabel[] tabLabels = new JLabel[2];
        tabLabels[0] = new JLabel("<html><font color=red>Test");
        tabLabels[1] = new JLabel("<html><p style = \"text-align:left\"><font color=red>Test Test</font></p></html>");
        int height = 0;
        for (JLabel tabLabel : tabLabels) {
          tabLabel.setUI(ui);
          height = Math.max(height, tabLabel.getPreferredSize().height);
        System.out.println(height);
        for (int i = 0; i < tabLabels.length; i++) {
          tabLabels.setPreferredSize(new Dimension(tabLabels[i].getPreferredSize().width, height));
    pane.setTabComponentAt(i, tabLabels[i]);
    public static void main(String args[]) {
    EventQueue.invokeLater(new Runnable() {
    public void run() {
    new TestJFrame().setVisible(true);
    db

  • Vertical Tab Navigation Titles

    I am attempting to add text to an existing vertical
    navigation tab. The additional text will cause the tab to expand
    considerably. I have located the source code but attempts to add
    the needed text have not worked. Any ideas?

    lv2crochet wrote:
    > I am attempting to add text to an existing vertical
    navigation tab. The
    > additional text will cause the tab to expand
    considerably. I have located the
    > source code but attempts to add the needed text have not
    worked. Any ideas?
    >
    Not without a URL, are you in a locked template region?
    Cheers jojo
    Adobe Community Expert for Dreamweaver 8
    http://www.webade.co.uk
    http://www.ukcsstraining.co.uk/
    Extending Knowledge, Daily.
    http://www.communityMX.com/
    Free 10 day trial
    http://www.communitymx.com/joincmx.cfm

  • TabNavigator with vertical Tab

    Hi All
    I would like to have a Tab navigator with the tabs on the
    right hand side instead of above. That is, the tabs above should be
    rotated 90 degrees and placed on the right had side.
    Please help as i need it urgently.

    http://www.macmartine.com/blog/2006/10/tabanywhere_moving_tabs_to_lef_1.html

  • Need a tab navigator with vertical tabs and horizontal text as the tab label?

    Hello,
    I've found a component here http://hasseg.org/stuff/VerticalTabNavigator/VerticalTabNavigatorDemo.swf, but I need to display the labels horizontally. Any suggestions?

    import javax.swing.*;
    class VerticalScrollTextArea {
        public static void main(String[] args) {
            Runnable r = new Runnable() {
                public void run() {
                    JTextArea ta = new JTextArea( 5, 20 );
                    // the stuff you need
                    ta.setLineWrap(true);
                    // your GUI might not require this
                    ta.setWrapStyleWord(true);
                    JScrollPane sp = new JScrollPane(
                        ta,
                        JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
                        JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
                    sp.setPreferredSize( ta.getPreferredSize() );
                    JOptionPane.showMessageDialog(null, sp);
            SwingUtilities.invokeLater(r);
    }

  • Any difference in creating a web service from a java class or session bean?

    Hi,
    The JDeveloper tutorial at http://www.oracle.com/technology/obe/obe1013jdev/10131/devdepandmanagingws/devdepandmanagingws.htm demonstrates creating a web service from a plain java class. I'm wondering:
    - Is it possible to create a web service from a stateless session bean instead of a java class? If so, what's the proper way to do this in JDeveloper? When I tried doing so in JDeveloper 10.1.3.0.4 (SU5) using the J2EE Web Service wizard, the wizard did not list the session bean in the Component To Publish dropdown (it does list any java classes available in the project). I can proceed by manually typing in the name of the session bean. After the wizard completes though, the @Stateless annotation that had been in my session bean class code is removed and replaced by a @WebService annotation. The end result is that it looks like it made no difference whether I had tried to create the web service from a session bean or plain java class as the annotations in the resulting web service code are the same (although if I had started from a session bean, the class for the web service still implements the Local/Remote EJB interface that the session bean originally implemented).
    - Assuming it's possible to create a web service from a stateless session bean, is there any advantage/disadvantage creating a web service from a java class vs a stateless session bean? I'm creating the web service from scratch so I also need to either build the java class or stateless session bean the web service would be based on from scratch too.
    Thanks for any ideas about this.

    Hi,
    EJB Session beans (EJB 3.0) are deployed as WebServices by annotating the class with @WebService and the methds with @WebMethod (both tags require you to add the JSR-181 library to your project (available in the JDeveloper list of libraries)). Unlike the J2E WebService, the EJB session bean service is turned into a WebService upon deployment. This means you obtain teh WSDL file after deployment
    - Assuming it's possible to create a web service from a stateless session bean, is there any advantage/disadvantage creating a web service from a java class vs a stateless session bean?
    The difference is that EJB Session bean based web services are integrated with the J2EE container, which means that they can leverage container services like transaction handling, data sources, security, JMS etc.
    Frank

Maybe you are looking for