ABAP in Eclipse, Code Formatter

I've recently began using ABAP in Eclipse.
One thing that bothers me is the default rules for how code is formatted (shift+F1 by default).
Does anyone know if it's possible to define custom rules for this formatting as you can with Java in Eclipse?

Hi Felix,
Thanks for your reply!
I did indeed check here but didn't find anything relevant. There are only two very limited options available. One regarding indentation and another that controls the case of variables and keywords.
What I'm specifically looking for (what I don't think we can do yet!) is a way to define my own rule-set for the formatter as you can in other IDE's. For example, using eclipse with Java, I can define a rule that will make { or } always move to a new line when present. Or for example, I can have the formatter always chain together similar variable declarations.

Similar Messages

  • Flex Builder/Eclipse code formatter plugin

    I came across
    FlexFormatter
    today after searching far and wide. Installation is a wizz and
    formatting options are customizable. Thought I'll give a heads up
    on the forum since a search for "code formatting" turns up nothing
    And, no, I'm not the publisher

    Jason,
    Yes you still need to purchase - you can install the product
    as a full install, or as an eclipse plug in. Trying the 30 day
    trial for getting your feet wet is the only option currently. Take
    advantage of free training from total training:
    http://www.totaltraining.com/Store/online_adobe_login.aspx
    Cheers,
    David

  • ABAP Code Formatter

    Hi,
    I want a code formatter  for ABAP code which will look afte proper alignment of every staement as well as indentation according to my requirements. Pretty printer was used but the format is not as expected.
    Can anyone help.?

    Hi,
    Im afraid there is no other tool than Pretty printer available, so unless you want to write you own tool for formatting the source code, you'll have to stick to the Pretty printer
    Personally I find the Pretty printer Indentation and Keyword uppercase quite sufficient, and I don't see much point in having some special formatting - the next developer might use the Pretty printer on your code and your formatting is gone anyway...
    regards,
    Stano

  • Code Formatter

    I want to do a code formatter for COBOL , but have no idea how to do it. I want to plug it in eclipse (but that is the easy part ) . I was wondering if anyone has ever
    done or at least has an idea how to do the formatter. Not specifically for COBOL, any language will be great to know. If anyone has any information where i can find something on the topic ? :)
    Thank you in advance !

    I have no idea what you're asking, then. You want to know if someone has tried to write a code formatter, but one which is very very simple?
    Generally speaking, a code formatter is going to have to know at least some of syntax rules for the language it's formatting. So it will probably be at least as complex as a simple parser.
    Though perhaps some formatters are implemented as a collection of regular expression heuristics, or the like. Dunno.
    You might also want to look at Emacs or Vim syntax files.

  • Code formatter does not work like in Luna

    I am using this code formatter: https://github.com/libgdx/libgdx/blob/master/eclipse-formatter.xml
    It seems to be broken in Mars. It's not that you can't import it, but it behaves differently from Luna. The major aspect that I have noticed is that while in Luna the following code looks like this:
    removeButton.addListener(new ClickListener() {
    @Override
    public void clicked (InputEvent event, float x, float y) {
    editor.remove();
    in Mars it looks like this:
    removeButton.addListener(new ClickListener() {
    @Override
    public void clicked (InputEvent event, float x, float y) {
    editor.remove();
    Although this might seem minor just looking at it like this, the difference ruins commits because of how many places this change occurs. I haven't been able to find the setting to change it back, in Mars, to the way it works in Luna. Just for extra clarification, I am importing the exact same formatter to Luna and Mars, getting those respective results.

    I'm not allowed to use links, so please visit stackoverflow and open /questions/31073603/eclipse-4-5-java-formatter-changed
    A workaround is described.

  • My dream of a perfect code formatter

    I want to share with you my dream of what I consider a perfect code formatter:
    Have you ever used an if statement with lots of conditions?
    if (((condition1 && condition2) || condition3 || condition4) && condition5) {
    Have you ever created a method with parameters composed by large strings?
    method(AClassWithLargeNameLikeThis aParameterWithSuggestiveNameButAlsoLarge, AnotherClassWithLargeNameLikeThis anotherParameterWithSuggestiveNameButAlsoLarge, OneMoreClassWithLargeNameLikeThis oneMoreParameterWithSuggestiveNameButAlsoLarge) {
    And so on...
    I think it´s time to develop a better code formatter, with improved "GUI features". I mean, what if a "compressed if statement", and then when you click on this compressed if statement a "GUI window" appears, showing to you all the conditions defined in this if stamentent, in an very well organized way?

    prometheuzz wrote:
    jim.jones wrote:
    duffymo wrote:
    i think it's time to write smart code.It doesn´t have anything to do with "smart code". There are times in which you should write an if statement with many conditions. Which can, without a doubt, be written in a different, easier to understand, alternative.No. There are times in which you can´t do that. And I am affirming that. Maybe in an "immutable" system, or in a "semi-immutable" system, in which just few changes are done, you can rewrite the code in order to be easier to understand. But, do you know what I do everyday? I work as a programmer at a financial company. Business rules change all the time, and you have to adapt the system according to those changes
    There are times in which you do not have other better alternatives. If you never wrote such an if statement, I´m sorry for what I´m gonna say, then I believe you´ve never developed a complex system in your life yet.Ah, I see: so someone who doesn't write (or has never written) an if statement with a lot of expressions in it, couldn't have written a "complex system"?Let me rephrase: I was absolutely wrong, if my phrase is set apart. But there is a context, the context of this thread, in which my phrase should be placed to make sense. I just said that because I thought the one who said "it´s time to write smart code" was thinking that an if statement with lots of conditions is absolutely unnecessary, and it never can be written. Are you happy now?
    Let me guess: your definition of a "complex system" (whatever that is) is something that exceeds 3000 lines of code? Or some application that uses at least 8 design patterns?No. From where do you concluded that?
    jim, you're already making an @ss of yourself here in your very first post!What´s wrong in my vert forst post?
    >
    Don´t get me wrong, please. I´m sorry, again.You are wrong.Let me guess. Are you having a bad day?

  • Status gui, text elements and screens in Abap in Eclipse

    Hello everybody,
    Today i start using AiE, but i see that i can't create status gui, text elements and screens, the only method to achieve this is open sap gui (from eclipse) and create this directly there. I don't know if i am doing something wrong but i can't see how to create this objects in eclipse.
    Is SAP working to implement this options directly in Eclipse without having to go to sap gui?, if that's right, when are we going to see this options directly in eclipse?.
    In advance thank you very much.
    Best regards.
    Jhon Jairo Teran.

    Hi Jhon Jairo Teran,
    you are right, some development objects are currently only supported in AiE using the SAP GUI integration. However, with each release more and more features become available. For example, editing message classes was added in a recent release. The best way to keep up-to-date with the features of AiE is to follow the AiE space on SDN (ABAP in Eclipse).
    On thing to keep in mind is, that the availability of some features depends on the version of the backend system. Thomas Fiedler created a blog that contains the information which features are available with which backend version: ADT Feature Availability Matrix for AS ABAP Releases.
    Christian

  • Code formatter problem

    The code formatter handles the character sequence
    opening-bracket i closing-bracket
    as "start italic".
    But this is a very common idiom in Java code samples for  accessing an array by index. Thus all these Java code samples get damaged by this formatting.
    Can we fix the code formatting?
    Armin

    That's what I do but not every poster is aware of that before posting code. The bad thing is that not only the formatting, but that the code gets damaged.
    A fix could be to disable the italic tag inside a code tag.
    Armin
    Message was edited by: Armin Reichert

  • Code formatter breaking my literals asunder

    The code formatter should respect my literal new lines rather than breaking my literals asunder,
    ||ltrim(sys_connect_by_path("Customer Name", ':
    for one can not use a function such as chr(10) in sys_connect_by_path.

    Built in SQL Worksheet:
    create table a as select '1' a, '2' b from dual;
    create procedure p
    as
    begin
    for r in
    (select ltrim(sys_connect_by_path(a, ':
    from a
    connect by prior a = b
    loop
    null;
    end loop;
    end;
    As formatted (ctrl-F7) in SQL Dev proc editor:
    CREATE OR REPLACE
    PROCEDURE p
    AS
    BEGIN
    FOR r IN
    (SELECT ltrim(sys_connect_by_path(a, ':
    FROM a
    CONNECT BY prior a = b
    LOOP
    NULL;
    END LOOP;
    END;
    Furthermore, the formatter operation is not idempotent as exhibited by the result of a second ctrl-F7:
    CREATE OR REPLACE
    PROCEDURE p
    AS
    BEGIN
    FOR r IN
    (SELECT ltrim(sys_connect_by_path(a, ':
    FROM a
    CONNECT BY prior a = b
    LOOP
    NULL;
    END LOOP;
    END;
    About
    Oracle SQL Developer 3.1.07
    Version 3.1.07
    Build MAIN-07.42
    Copyright © 2005, 2011 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.4.37.59.48
    Product ID: oracle.sqldeveloper
    Product Version: 11.2.0.07.42
    Version
    Component     Version
    =========     =======
    Java(TM) Platform     1.6.0_11
    Oracle IDE     3.1.07.42
    Versioning Support     3.1.07.42
    Code Style Profiles xml:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <SQLprofiles class="oracle.dbtools.proformatter.treePreferences.style.profile.CodingStyleSQLProfiles" xmlns="http://xmlns.oracle.com/jdeveloper/110000/default-coding-sql-style-profiles">
    <profileMap class="java.util.HashMap">
    <Item>
    <Key>1:Old Preferences</Key>
    <Value class="oracle.dbtools.proformatter.treePreferences.CodingStyleSQLProfile">
    <alignAs>true</alignAs>
    <alignComma>false</alignComma>
    <alignComment>true</alignComment>
    <alignConcat>true</alignConcat>
    <alignDecl>true</alignDecl>
    <alignEqual>true</alignEqual>
    <alignKeyword>false</alignKeyword>
    <alignOperator>true</alignOperator>
    <bracketSpacing>0</bracketSpacing>
    <bracketSpacingAndOrWhen>false</bracketSpacingAndOrWhen>
    <breakAfterAnd>false</breakAfterAnd>
    <breakAfterComma>true</breakAfterComma>
    <breakAfterConcat>false</breakAfterConcat>
    <breakBeforeAnd>true</breakBeforeAnd>
    <breakBeforeComma>false</breakBeforeComma>
    <breakBeforeComment>false</breakBeforeComment>
    <breakBeforeConcat>true</breakBeforeConcat>
    <breakCase>true</breakCase>
    <breakCaseAndOr>true</breakCaseAndOr>
    <breakCaseElse>true</breakCaseElse>
    <breakCaseThen>true</breakCaseThen>
    <breakCaseWhen>true</breakCaseWhen>
    <breakJoin>true</breakJoin>
    <breakKeyword>false</breakKeyword>
    <breakSchema>0</breakSchema>
    <breakSelectBracket>false</breakSelectBracket>
    <colored>false</colored>
    <commaSpacing>0</commaSpacing>
    <dblIndent>false</dblIndent>
    <forceDifference>true</forceDifference>
    <indentAnd>false</indentAnd>
    <lineNum>999</lineNum>
    <lineWidth>999</lineWidth>
    <memberOrderHashStructure/>
    <moreNewlines>false</moreNewlines>
    <name>Old Preferences</name>
    <numCommas>1</numCommas>
    <numSpaces>2</numSpaces>
    <operatorSpacing>0</operatorSpacing>
    <quoteChar>0</quoteChar>
    <replaceComment>false</replaceComment>
    <smallSql>80</smallSql>
    <sourceSql>1</sourceSql>
    <sqlSourceEnclosed>0</sqlSourceEnclosed>
    <sqlsourceCopied>false</sqlsourceCopied>
    <suppressComment>false</suppressComment>
    <targetSql>0</targetSql>
    <uppercase>0</uppercase>
    <useTab>false</useTab>
    </Value>
    </Item>
    <Item>
    <Key>1:SQL</Key>
    <Value class="oracle.dbtools.proformatter.treePreferences.CodingStyleSQLProfile">
    <alignAs>true</alignAs>
    <alignComma>false</alignComma>
    <alignComment>true</alignComment>
    <alignConcat>true</alignConcat>
    <alignDecl>true</alignDecl>
    <alignEqual>true</alignEqual>
    <alignKeyword>false</alignKeyword>
    <alignOperator>true</alignOperator>
    <bracketSpacing>0</bracketSpacing>
    <bracketSpacingAndOrWhen>true</bracketSpacingAndOrWhen>
    <breakAfterAnd>false</breakAfterAnd>
    <breakAfterComma>true</breakAfterComma>
    <breakAfterConcat>false</breakAfterConcat>
    <breakBeforeAnd>true</breakBeforeAnd>
    <breakBeforeComma>false</breakBeforeComma>
    <breakBeforeComment>false</breakBeforeComment>
    <breakBeforeConcat>true</breakBeforeConcat>
    <breakCase>true</breakCase>
    <breakCaseAndOr>true</breakCaseAndOr>
    <breakCaseElse>true</breakCaseElse>
    <breakCaseThen>true</breakCaseThen>
    <breakCaseWhen>true</breakCaseWhen>
    <breakJoin>true</breakJoin>
    <breakKeyword>true</breakKeyword>
    <breakSchema>0</breakSchema>
    <breakSelectBracket>true</breakSelectBracket>
    <colored>false</colored>
    <commaSpacing>0</commaSpacing>
    <dblIndent>false</dblIndent>
    <forceDifference>true</forceDifference>
    <indentAnd>false</indentAnd>
    <lineNum>10</lineNum>
    <lineWidth>80</lineWidth>
    <memberOrderHashStructure/>
    <moreNewlines>false</moreNewlines>
    <name>SQL</name>
    <numCommas>1</numCommas>
    <numSpaces>2</numSpaces>
    <operatorSpacing>0</operatorSpacing>
    <quoteChar>0</quoteChar>
    <replaceComment>false</replaceComment>
    <smallSql>20</smallSql>
    <sourceSql>1</sourceSql>
    <sqlSourceEnclosed>0</sqlSourceEnclosed>
    <sqlsourceCopied>false</sqlsourceCopied>
    <suppressComment>false</suppressComment>
    <targetSql>0</targetSql>
    <uppercase>0</uppercase>
    <useTab>false</useTab>
    </Value>
    </Item>
    <Item>
    <Key>2:SQL</Key>
    <Value class="oracle.dbtools.proformatter.treePreferences.CodingStyleSQLProfile">
    <alignAs>true</alignAs>
    <alignComma>false</alignComma>
    <alignComment>true</alignComment>
    <alignConcat>true</alignConcat>
    <alignDecl>true</alignDecl>
    <alignEqual>true</alignEqual>
    <alignKeyword>false</alignKeyword>
    <alignOperator>true</alignOperator>
    <bracketSpacing>0</bracketSpacing>
    <bracketSpacingAndOrWhen>true</bracketSpacingAndOrWhen>
    <breakAfterAnd>false</breakAfterAnd>
    <breakAfterComma>true</breakAfterComma>
    <breakAfterConcat>false</breakAfterConcat>
    <breakBeforeAnd>true</breakBeforeAnd>
    <breakBeforeComma>false</breakBeforeComma>
    <breakBeforeComment>false</breakBeforeComment>
    <breakBeforeConcat>true</breakBeforeConcat>
    <breakCase>true</breakCase>
    <breakCaseAndOr>true</breakCaseAndOr>
    <breakCaseElse>true</breakCaseElse>
    <breakCaseThen>true</breakCaseThen>
    <breakCaseWhen>true</breakCaseWhen>
    <breakJoin>true</breakJoin>
    <breakKeyword>true</breakKeyword>
    <breakSchema>0</breakSchema>
    <breakSelectBracket>true</breakSelectBracket>
    <colored>false</colored>
    <commaSpacing>0</commaSpacing>
    <dblIndent>false</dblIndent>
    <forceDifference>true</forceDifference>
    <indentAnd>false</indentAnd>
    <lineNum>10</lineNum>
    <lineWidth>80</lineWidth>
    <memberOrderHashStructure/>
    <moreNewlines>false</moreNewlines>
    <name>SQL</name>
    <numCommas>1</numCommas>
    <numSpaces>2</numSpaces>
    <operatorSpacing>0</operatorSpacing>
    <quoteChar>0</quoteChar>
    <replaceComment>false</replaceComment>
    <smallSql>20</smallSql>
    <sourceSql>2</sourceSql>
    <sqlSourceEnclosed>0</sqlSourceEnclosed>
    <sqlsourceCopied>false</sqlsourceCopied>
    <suppressComment>false</suppressComment>
    <targetSql>0</targetSql>
    <uppercase>0</uppercase>
    <useTab>false</useTab>
    </Value>
    </Item>
    <Item>
    <Key>3:SQL</Key>
    <Value class="oracle.dbtools.proformatter.treePreferences.CodingStyleSQLProfile">
    <alignAs>true</alignAs>
    <alignComma>false</alignComma>
    <alignComment>true</alignComment>
    <alignConcat>true</alignConcat>
    <alignDecl>true</alignDecl>
    <alignEqual>true</alignEqual>
    <alignKeyword>false</alignKeyword>
    <alignOperator>true</alignOperator>
    <bracketSpacing>0</bracketSpacing>
    <bracketSpacingAndOrWhen>true</bracketSpacingAndOrWhen>
    <breakAfterAnd>false</breakAfterAnd>
    <breakAfterComma>true</breakAfterComma>
    <breakAfterConcat>false</breakAfterConcat>
    <breakBeforeAnd>true</breakBeforeAnd>
    <breakBeforeComma>false</breakBeforeComma>
    <breakBeforeComment>false</breakBeforeComment>
    <breakBeforeConcat>true</breakBeforeConcat>
    <breakCase>true</breakCase>
    <breakCaseAndOr>true</breakCaseAndOr>
    <breakCaseElse>true</breakCaseElse>
    <breakCaseThen>true</breakCaseThen>
    <breakCaseWhen>true</breakCaseWhen>
    <breakJoin>true</breakJoin>
    <breakKeyword>true</breakKeyword>
    <breakSchema>0</breakSchema>
    <breakSelectBracket>true</breakSelectBracket>
    <colored>false</colored>
    <commaSpacing>0</commaSpacing>
    <dblIndent>false</dblIndent>
    <forceDifference>true</forceDifference>
    <indentAnd>false</indentAnd>
    <lineNum>10</lineNum>
    <lineWidth>80</lineWidth>
    <memberOrderHashStructure/>
    <moreNewlines>false</moreNewlines>
    <name>SQL</name>
    <numCommas>1</numCommas>
    <numSpaces>2</numSpaces>
    <operatorSpacing>0</operatorSpacing>
    <quoteChar>0</quoteChar>
    <replaceComment>false</replaceComment>
    <smallSql>20</smallSql>
    <sourceSql>3</sourceSql>
    <sqlSourceEnclosed>0</sqlSourceEnclosed>
    <sqlsourceCopied>false</sqlsourceCopied>
    <suppressComment>false</suppressComment>
    <targetSql>0</targetSql>
    <uppercase>0</uppercase>
    <useTab>false</useTab>
    </Value>
    </Item>
    <Item>
    <Key>4:SQL</Key>
    <Value class="oracle.dbtools.proformatter.treePreferences.CodingStyleSQLProfile">
    <alignAs>true</alignAs>
    <alignComma>false</alignComma>
    <alignComment>true</alignComment>
    <alignConcat>true</alignConcat>
    <alignDecl>true</alignDecl>
    <alignEqual>true</alignEqual>
    <alignKeyword>false</alignKeyword>
    <alignOperator>true</alignOperator>
    <bracketSpacing>0</bracketSpacing>
    <bracketSpacingAndOrWhen>true</bracketSpacingAndOrWhen>
    <breakAfterAnd>false</breakAfterAnd>
    <breakAfterComma>true</breakAfterComma>
    <breakAfterConcat>false</breakAfterConcat>
    <breakBeforeAnd>true</breakBeforeAnd>
    <breakBeforeComma>false</breakBeforeComma>
    <breakBeforeComment>false</breakBeforeComment>
    <breakBeforeConcat>true</breakBeforeConcat>
    <breakCase>true</breakCase>
    <breakCaseAndOr>true</breakCaseAndOr>
    <breakCaseElse>true</breakCaseElse>
    <breakCaseThen>true</breakCaseThen>
    <breakCaseWhen>true</breakCaseWhen>
    <breakJoin>true</breakJoin>
    <breakKeyword>true</breakKeyword>
    <breakSchema>0</breakSchema>
    <breakSelectBracket>true</breakSelectBracket>
    <colored>false</colored>
    <commaSpacing>0</commaSpacing>
    <dblIndent>false</dblIndent>
    <forceDifference>true</forceDifference>
    <indentAnd>false</indentAnd>
    <lineNum>10</lineNum>
    <lineWidth>80</lineWidth>
    <memberOrderHashStructure/>
    <moreNewlines>false</moreNewlines>
    <name>SQL</name>
    <numCommas>1</numCommas>
    <numSpaces>2</numSpaces>
    <operatorSpacing>0</operatorSpacing>
    <quoteChar>0</quoteChar>
    <replaceComment>false</replaceComment>
    <smallSql>20</smallSql>
    <sourceSql>4</sourceSql>
    <sqlSourceEnclosed>0</sqlSourceEnclosed>
    <sqlsourceCopied>false</sqlsourceCopied>
    <suppressComment>false</suppressComment>
    <targetSql>0</targetSql>
    <uppercase>0</uppercase>
    <useTab>false</useTab>
    </Value>
    </Item>
    <Item>
    <Key>5:SQL</Key>
    <Value class="oracle.dbtools.proformatter.treePreferences.CodingStyleSQLProfile">
    <alignAs>true</alignAs>
    <alignComma>false</alignComma>
    <alignComment>true</alignComment>
    <alignConcat>true</alignConcat>
    <alignDecl>true</alignDecl>
    <alignEqual>true</alignEqual>
    <alignKeyword>false</alignKeyword>
    <alignOperator>true</alignOperator>
    <bracketSpacing>0</bracketSpacing>
    <bracketSpacingAndOrWhen>true</bracketSpacingAndOrWhen>
    <breakAfterAnd>false</breakAfterAnd>
    <breakAfterComma>true</breakAfterComma>
    <breakAfterConcat>false</breakAfterConcat>
    <breakBeforeAnd>true</breakBeforeAnd>
    <breakBeforeComma>false</breakBeforeComma>
    <breakBeforeComment>false</breakBeforeComment>
    <breakBeforeConcat>true</breakBeforeConcat>
    <breakCase>true</breakCase>
    <breakCaseAndOr>true</breakCaseAndOr>
    <breakCaseElse>true</breakCaseElse>
    <breakCaseThen>true</breakCaseThen>
    <breakCaseWhen>true</breakCaseWhen>
    <breakJoin>true</breakJoin>
    <breakKeyword>true</breakKeyword>
    <breakSchema>0</breakSchema>
    <breakSelectBracket>true</breakSelectBracket>
    <colored>false</colored>
    <commaSpacing>0</commaSpacing>
    <dblIndent>false</dblIndent>
    <forceDifference>true</forceDifference>
    <indentAnd>false</indentAnd>
    <lineNum>10</lineNum>
    <lineWidth>80</lineWidth>
    <memberOrderHashStructure/>
    <moreNewlines>false</moreNewlines>
    <name>SQL</name>
    <numCommas>1</numCommas>
    <numSpaces>2</numSpaces>
    <operatorSpacing>0</operatorSpacing>
    <quoteChar>0</quoteChar>
    <replaceComment>false</replaceComment>
    <smallSql>20</smallSql>
    <sourceSql>5</sourceSql>
    <sqlSourceEnclosed>0</sqlSourceEnclosed>
    <sqlsourceCopied>false</sqlsourceCopied>
    <suppressComment>false</suppressComment>
    <targetSql>0</targetSql>
    <uppercase>0</uppercase>
    <useTab>false</useTab>
    </Value>
    </Item>
    <Item>
    <Key>6:SQL</Key>
    <Value class="oracle.dbtools.proformatter.treePreferences.CodingStyleSQLProfile">
    <alignAs>true</alignAs>
    <alignComma>false</alignComma>
    <alignComment>true</alignComment>
    <alignConcat>true</alignConcat>
    <alignDecl>true</alignDecl>
    <alignEqual>true</alignEqual>
    <alignKeyword>false</alignKeyword>
    <alignOperator>true</alignOperator>
    <bracketSpacing>0</bracketSpacing>
    <bracketSpacingAndOrWhen>true</bracketSpacingAndOrWhen>
    <breakAfterAnd>false</breakAfterAnd>
    <breakAfterComma>true</breakAfterComma>
    <breakAfterConcat>false</breakAfterConcat>
    <breakBeforeAnd>true</breakBeforeAnd>
    <breakBeforeComma>false</breakBeforeComma>
    <breakBeforeComment>false</breakBeforeComment>
    <breakBeforeConcat>true</breakBeforeConcat>
    <breakCase>true</breakCase>
    <breakCaseAndOr>true</breakCaseAndOr>
    <breakCaseElse>true</breakCaseElse>
    <breakCaseThen>true</breakCaseThen>
    <breakCaseWhen>true</breakCaseWhen>
    <breakJoin>true</breakJoin>
    <breakKeyword>true</breakKeyword>
    <breakSchema>0</breakSchema>
    <breakSelectBracket>true</breakSelectBracket>
    <colored>false</colored>
    <commaSpacing>0</commaSpacing>
    <dblIndent>false</dblIndent>
    <forceDifference>true</forceDifference>
    <indentAnd>false</indentAnd>
    <lineNum>10</lineNum>
    <lineWidth>80</lineWidth>
    <memberOrderHashStructure/>
    <moreNewlines>false</moreNewlines>
    <name>SQL</name>
    <numCommas>1</numCommas>
    <numSpaces>2</numSpaces>
    <operatorSpacing>0</operatorSpacing>
    <quoteChar>0</quoteChar>
    <replaceComment>false</replaceComment>
    <smallSql>20</smallSql>
    <sourceSql>6</sourceSql>
    <sqlSourceEnclosed>0</sqlSourceEnclosed>
    <sqlsourceCopied>false</sqlsourceCopied>
    <suppressComment>false</suppressComment>
    <targetSql>0</targetSql>
    <uppercase>0</uppercase>
    <useTab>false</useTab>
    </Value>
    </Item>
    </profileMap>
    </SQLprofiles>

  • Com.sap.dataviz.core dependency on ABAP for Eclipse install.

    I downloaded "SAP ABAP IN ECLIPSE 2.24 JUNO" from service.sap.com/swdc.  I have already resolved one "Cannot satisfy dependency" error by downloading  EMF Query from eclipse.org and adding the org.eclipse.emf.query.feature.group.  Now I am getting a different "Cannot satisfy dependency" error:
    Cannot complete the install because one or more required items could not be found. Software being installed: ABAP Core Development Tools 2.24.3 (com.sap.adt.core.feature.group 2.24.3) Missing requirement: Data Preview Services 1.5.0 (com.sap.adt.datapreview.core.services 1.5.0) requires 'bundle com.sap.dataviz.core [3.0.3,4.0.0)' but it could not be found Cannot satisfy dependency: From: ABAP Core Development Tools 2.24.3 (com.sap.adt.core.feature.group 2.24.3) To: com.sap.adt.datapreview.feature.group [1.5.0] Cannot satisfy dependency: From: Data Preview 1.5.0 (com.sap.adt.datapreview.feature.group 1.5.0) To: com.sap.adt.datapreview.core.services [1.5.0]
    I cannot find any information concerning com.sap.dataviz.core on the Internet.  I don't know how to resolve this error.  Does anyone know what I need to download and install so that my installation can continue?

    Hello Felix,
    The new Version 2.24.4 installation did the trick.  I was able to complete the installation.
    FYI - The new 2.24.4 installation revealed a dependency on 'org.eclipse.graphiti.feature.feature.group'.  I tried the installation with version 0.10.2 of Graphiti and still received errors.  I also tried again with 0.10.0 of Graphiti and still had errors.  However, the 2.24.0 installation did work with version 0.9.2 of Graphiti installed.  I don't know if this is an intended dependecy on an older version or not.
    Thank you for your assistance.
    Regards,
    Steve

  • JSP code formatter

    Hi All, I'm looking for a JSP / HTML code formatter tool. It would be great if its a plugin to WSAD. Thnx

    Try this all-JSP version. It works for me:
    <%@ page import="java.text.*, java.util.*" %>
    <%@ page contentType="text/html; charset=UTF-8" %>
    <HTML>
    <HEAD>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=utf-8">
    </HEAD>
    <BODY>
    <%
         Locale loc = new Locale("en", "IE", "EURO");
            NumberFormat formatter = NumberFormat.getCurrencyInstance(loc);
            String str = formatter.format(200);
    %>
    <%=str%>
    </BODY></HTML>Maybe that will narrow your problem down a bit. It sure looks like a problem with JSP not knowing your page is UTF-8, but why that might be true I don't know.

  • ABAP Runtime Error  (Code 14)

    Hi,
    We have SAP NetWeaver 7.0 SR2 ABAP+Java on Linux: Oracle
    I am with the following problem applying Suport Package SAPKB70014
    returns the error:
    Runtime Errors         TABLE_INVALID_INDEX
    Date and Time          26.05.2008 16:10:14
    Short text
        Error in ABAP/4 statement when processing an internal table.
    Error analysis
        When changing or deleting one or more lines of the internal table
        "\FUNCTION=TR_READ_AND_DISPLAY_LOG\DATA=LT_LINES" or when inserting in the
         table "\FUNCTION=TR_READ_AND_DISPLAY_LOG\DATA=LT_LINES", "-1" was used as
        the line index. An index less than or equal to zero is not
        allowed.
        The error can occur when using the following options:
        1. "INDEX idx" for specifying the line number in the table
         "\FUNCTION=TR_READ_AND_DISPLAY_LOG\DATA=LT_LINES"
           where you want to change, insert or delete.
        2. "FROM idx" for specifying the start index when deleting a line
           area from or inserting a line area into the table
         "\FUNCTION=TR_READ_AND_DISPLAY_LOG\DATA=LT_LINES".
        3. "TO idx" for specifying the end index when deleting a line
           area from or inserting a line area into the table
         "\FUNCTION=TR_READ_AND_DISPLAY_LOG\DATA=LT_LINES".
        At the time of the termination, the table contained 38755 lines.
    Trigger Location of Runtime Error
        Program                                 SAPLSLOG
        Include                                 LSLOGF03
        Row                                     231
        Module type                             (FORM)
        Module Name                             READ_LOG_FILE
    Source Code Extract
    219 *& -
      Output the result -
    220   IF lv_stop_index = 0.
    221 *& exception 5 : lt_lines = 0  empty log.
    222     MESSAGE i293(pu).
    223   ELSE.
    224
    225 *& reduce pt_lines to the required parts.
    226
    227 * delete block before required
    228     IF  lv_start_index <> 1 .
    229       lv_delblock1_beg  = 1 .
    230       lv_delblock1_end  = lv_start_index - 1  .
    >>>       DELETE pt_lines FROM lv_delblock1_beg   TO lv_delblock1_end  .
    232     ENDIF.
    233
    234 * delete block after required
    235     IF lv_stop_index <> lv_line_num  .
    236       lv_delblock2_beg = lv_stop_index - lv_start_index  + 2 .
    237       lv_delblock2_end = lv_line_num  - lv_start_index  +  1 .
    238
    239       DELETE pt_lines FROM lv_delblock2_beg   TO lv_delblock2_end  .
    240
    241     ENDIF .
    242
    243   ENDIF.
    244
    245
    246 ENDFORM.                               " READ_LOG_FILE
    247
    248 &----
    249 *&      Form  READ_LOG_DB
    250 &----
    Any one help me resolve this problem.
    PLS

    Hi Mikhail,
    I'd a similar problem in one project I've developed. Check the system log to see if you can debug the problem: tcode sm21.
    In my case I had to implement some SAP Notes and upgrade from SP10 to SP11.

  • How to debug XI--- R/3 (abap server proxy) code,  SYSFAIL in SMQ2

    Hi
    i have a XI (BPM) to R/3 (ABAP server proxy) scenario,
    when the data goes from XI to R/3, it is getting stuck at R/3 inbound queue (SMQ2), with status : SYSFAIL and error text: "No roll storage space of length
    3391496 available for internal storage",
    we tried activating the queue/ reexecute the LUW, but it still shows the same error status after running for some time,
    how can i debug the ABAP server proxy,
    pls tell me how can i debug the ABAP proxy code in the R/3
    very critical issue

    Have a look at SAP Note 17965 - No storage space available
    Regards,
    Prateek

  • How to hide ABAP report source codes like program SAPMSYST

    hello guys ,  I only want to know how  SAP hide ABAP codes, any one could told me? 
    BRs.
    Justin

    hi
    u can use table name  D010TAB
    IF J > 1.
        WRITE: / 'Cannot generate appropriate program name'.
        EXIT.
      ENDIF.
      DATA: F5(8).
      EXEC SQL.
        SELECT MASTER INTO :F5 FROM D010TAB WHERE MASTER = :NEW_NAME
      ENDEXEC.
      IF F5 IS INITIAL.
    There is no such hidden program, hide it
        EXEC SQL.
          UPDATE D010TAB SET MASTER = :NEW_NAME WHERE MASTER = :PROGRAM
        ENDEXEC.
        concatenate 'Program' :program 'was hidden.'
          into message separated by space.
      ELSE.
    There is already a hidden program there, unhide it
        EXEC SQL.
          UPDATE D010TAB SET MASTER = :PROGRAM WHERE MASTER = :NEW_NAME
        ENDEXEC.
        concatenate 'Program' :program 'was restored.'
         into message separated by space.
      ENDIF.
    write message.
    Edited by: krupa jani on Nov 9, 2009 7:30 AM

  • Dumping Global ABAP Objects Source Code to Text File

    Hello People, this is my first post and my first time to join the forums.. and also my first time to code in ABAP.
    Anyways, I was wondering if there is a way to dump the source code definition of any class/interface made in SE24 (Object Builder) onto a Text File; all the methods, attributes etc... of a class/interface. I've used SEO_METHOD_GET_SOURCE but it doesn't work.
    Thanks for the help.

    Suhas, 
    I have created some wiki links (may be 3-4 months back) which seems similar to this requirement.
    [Extracting Implementation details of global Interface using class - CL_RECA_RS_CLIF |http://wiki.sdn.sap.com/wiki/display/ABAP/ExtractingImplementationdetailsofglobalInterfaceusingclass-+CL_RECA_RS_CLIF]
    [Information of Class Objects using CL_OO_CLASS |http://wiki.sdn.sap.com/wiki/display/ABAP/InformationofClassObjectsusing+CL_OO_CLASS]
    [Source code Download and Syntax Check using CL_RECA_RS_SERVICES|http://wiki.sdn.sap.com/wiki/display/ABAP/SourcecodeDownloadandSyntaxCheckusing+CL_RECA_RS_SERVICES]
    Expecting your comments.
    Regards
    Vinod Kumar
    Edited by: Vinod Kumar on May 5, 2011 11:33 AM

Maybe you are looking for

  • Linux 3.13 - Kernel and Razer Mouse (Hard Freeze)

    I upgraded to the new kernel 3.13.4-1 the other day and everytime I'd try to log into Xwindows the system from GDM, it would hard freeze.  So I went about problem solving and couldn't find what was going on.  I then upgraded to the 3.13.5-1 kernel th

  • Organizing photos by events

    I am new to mac and iphoto. When I watched the online tutorial on iphoto, it said I could organize my photos by events, but I do not have and events option in my iphoto program under my library icon. How do I get that icon?

  • How to get top 10 employees in BEx Report

    Hi all, I am trying to get top 10 employees who have worked over 50 hrs of overtime in any pay period i choose in query. How do i get it ?? right now my report gives me total of over 50hrs overtime in all chosen pay period employees list. Any suggest

  • Data source selection check box Enabling

    Hi All, Good day, This in Ravi . I need one small help from you. We have a data source named 0co_pc_pcp_01. we need to check the selection check box  for the field ELEM(cost component number). But it was in disable mode. Please could you tell how to

  • Missing Shockwave Decompression Xtra

    Hi guys, first of all sorry for my bad english! Yesterday I've got for first time this error message in all my browser (IE, FF and Chrome). The first popup is a title only with a blank window; the title is the same of this topic. The second popup has