Script needed to generate a list of paragraph and character styles from the Book Level

Hello,
I am using FrameMaker 11 in the Adobe Technical Communication Suite 4 and I need to find a script that will generate a list
of paragraph and character styles from the book level.
I am working with unstructured FrameMaker books, but will soon be looking at getting a conversion table developed
that will allow me to migrate all my data over to Dita (1.1 for now).
Any thoughts, ideas on this is very much appreciated.
Regards,
Jim

Hi Jim,
I think the problem you are having with getting a response is that you are asking someone to write a script for you. Normally, you would have to pay someone for this, as it is something that folks do for a living.
Nonetheless, I had a few minutes to spare, so I worked up the following script that I believe does the job. It is very slow, clunky, and totally non-elegant, but I think it works. It leverages the book error log mechanism which is built in and accessible by scripts, but is spendidly unattractive. I hope this gives you a starting point. It could be made much more beautiful, of course, but such would take lots more time.
Russ
ListAllFormatsInBook()
function ListAllFormatsInBook()
    var doc, path, fmt;
    var book = app.ActiveBook;
    if(!book.ObjectValid()) book = app.FirstOpenBook;
    if(!book.ObjectValid())
        alert("No book window is active. Cannot continue.");
        return;
    CallErrorLog(book, 0, 0, "-----------------------------------------------------------");
    CallErrorLog(book, 0, 0, "** Book format report for:");
    CallErrorLog(book, 0, 0, book.Name);
    var comp = book.FirstComponentInBook;
    while(comp.ObjectValid())
        path = comp.Name;
        doc = SimpleOpen (path, false);
        if(doc.ObjectValid())
            CallErrorLog(book, 0, 0, "-----------------------------------------------------------");
            CallErrorLog(book, 0, 0, "-----------------------------------------------------------");
            CallErrorLog(book, doc, 0, "");
            CallErrorLog(book, 0, 0, "-----------------------------------------------------------");
            CallErrorLog(book, 0, 0, "-----------------------------------------------------------");
            CallErrorLog(book, 0, 0, "Paragraph formats:");
            fmt = doc.FirstPgfFmtInDoc;
            while(fmt.ObjectValid())
                CallErrorLog(book, 0, 0, "  - " + fmt.Name);
                fmt = fmt.NextPgfFmtInDoc;
            CallErrorLog(book, 0, 0, "-----------------------------------------------------------");
            CallErrorLog(book, 0, 0, "Character formats:");
            fmt = doc.FirstCharFmtInDoc;
            while(fmt.ObjectValid())
                CallErrorLog(book, 0, 0, "  - " + fmt.Name);
                fmt = fmt.NextCharFmtInDoc;
        else
            CallErrorLog(book, 0, 0, "-----------------------------------------------------------");
            CallErrorLog(book, 0, 0, "!!!  Could not open: " + comp.Name + " !!!");
            CallErrorLog(book, 0, 0, "-----------------------------------------------------------");
        comp = comp.NextComponentInBook;
function CallErrorLog(book, doc, object, text)
    var arg;
    arg = "log ";
    if(book == null || book == 0 || !book.ObjectValid())
        arg += "-b=0 ";
    else arg += "-b=" + book.id + " ";
    if(doc == null || doc == 0 || !doc.ObjectValid())
        arg += "-d=0 ";
    else arg += "-d=" + doc.id + " ";
    if(object == null || object == 0 || !object.ObjectValid())
        arg += "-O=0 ";
    else arg += "-O=" + object.id + " ";
    arg += "--" + text;
    CallClient("BookErrorLog", arg);

Similar Messages

  • Unused paragraphs and character styles in the catalogs?

    How could I delete automatically the unused paragraphs and character styles from the catalogs?

    David,
    I downloaded it and placed the file in my plug-in folder, but it doesn't show up under File>Utilities. Is there anything else I should do?
    I am running FM9 with all updates.
    Thanks,
    ls

  • [JS InDesign CS3] Style groups, begone! (or: How do I take paragraph and character styles out of style groups?)

    Sorry for this question (and my terrible English, by the way), I'm a javascript noob and I know when I've reached my limits.
    Well, I'm trying to take a set of paragraph and character styles out of the style groups they are placed in, in hundreds of InDesign documents (that cannot be treated as a book). As far as I've tried (thanks to the invaluable help of previous posts in this forum) I've been able to move a style into a group and change it's position inside the group, inside the root level or even between groups. But it doesn't matter how I try, I don't know which move reference should I try in case I want to take every style out of their style group and place them after their original group folder, at the [Root] style level .
    I have tried:
    var doc=app.activeDocument;
    var pGroups=doc.paragraphStyleGroups;
    for (i=pGroups.length-1; i>=0; i--){
         var pStylesInGroup=pGroups[i].paragraphStyles;
         for (j=pStylesInGroup.length-1; j>=0; j--){
    // Here I am, trying to move a style outside the folder that contains it, and failing miserably.
              pStylesInGroup[j].move (LocationOptions.after, pGroups[i]);
    It didn't work, the script sent an invalid parameter value in the reference field, so I cant use the group folder itself as reference.
    Tried other (obviously wrong) solutions, like use the first available style as reference. Therefore, my second script was
    var doc=app.activeDocument;
    var pStyles=doc.allParagraphStyles;
    var pGroups=doc.paragraphStyleGroups;
    for (i=pGroups.length-1; i>=0; i--){
         var pStylesInGroup=pGroups[i].paragraphStyles;
         for (j=pStylesInGroup.length-1; j>=0; j--){
    // Now I try placing the styles after the [Basic Paragraph], that is, the second paragraph style in the document style list
              pStylesInGroup[j].move (LocationOptions.after, pStyles[1]);
    It didn't work either, another invalid parameter in the reference field. Similar results with my other attempts (I even tried "[Root]" as literal with similar luck).
    So, my question is: Which command (or script, in case my whole approach is utterly wrong) should I use to achieve my goal?
    Thanks in advance to whoever decides to spend more than a minute thinking about my humble worries, and my apologies for shamelessly ripping some of your lines of code for my purposes.

    Okay, tried a few things and got really weird results!
    1. You can move a style around inside its group.
    2. You can move a style out of a group "to" another, but it will appear 'inside' that style. I got my test style as a sub-item of [Basic Paragraph], using index #1. With index #0 ([No Paragraph Style]) InDesign crashed.
    3. You can duplicate the style, but then you get a copy in the same group. Still no luck.
    4. Finally! What is the parent of a paragraph style?
    Document | Application | ParagraphStyleGroup
    "Application" is easy -- that's when you make a style global. So what's the difference between 'Document' and 'paragraphStyleGroup'? Simple -- well, when you finally get it...
    pStylesInGroup[j].move (LocationOptions.AT_END, doc);
    moves the style out of the group and to the end of the list in the document. I don't think it's possible to move it directly to a specific position into the main style list -- you first have to move it out of a group, then move it around in its own list.
    Fortunately, it returns its new position as a ParagraphStyle again, so if needed, you can use
    newStyle = pStylesInGroup[j].move (LocationOptions.AT_END, doc);
    newStyle.move (LocationOptions.AFTER, pStyles[1]);
    -- I didn't really try that out, but it should work.

  • Problem with paragraph and character style

    Recently I have noticed that when I alter a paragraph or character style that the text won't change to the changes I performed.
    It doesn't matter whether it's just the preview mode or when I clicked "OK"- no changes will be performed whether it be typeface or size.
    Does anyone know what can be wrong?

    My bet is that you haven't got a clear understanding of the difference between character styles and paragraph styles, and that you are using the former incorrectly.
    Paragraph styles include basic font formatting information that is applied to all text in a paragraph UNLESS that text also has either a character style or a local format override (select the text and change something) applied. The formatting heirarchy works with paragraph style at the bottom, character styles trump formatting applied in the paragraph style, and local formatting trums everything else.
    Select the text in question. Look in the the Paragraph Style field in the Control panel, or open the Paragraph Styles panel to see what is applied. If there is a plus sign next to the name local formatting overrides have been applied (hold the Alt or Opt key and click the style name to remove them), but character styles are not considered overrides, so if there is no plus sign, check the Character Style field in the control panel or ope the Character Styles panel to check if any character styles are also applied.

  • Paragraph and Character styles in Fireworks

    Hi
    i used fireworks for a while, when it was still macromedia product, glade to see all the improvments in CS5.
    i used Photoshop to create a very specific prototyping (including all CSS properties) of my website, but when i come to prototype the rest of the pages i totaly lost control, than i realize Photoshop is not the right tool for prototyping a whole website.
    fireworks shuld be the answer of my prays, as i could read in the articles, in CS5 you can set all properties for text and fireworks will export it as CSS file, than al you have to do is copy and paste code according to your CSS structure, that grate time saver.
    but one thing is really betters me, you cant do really good prototyping if you dont have the ability to create a paragraph and character styles (as you would with InDesign)
    can fireworks create styles in the level of Indesign? and if not, what is the right workflow between Fireworks and Indesign?
    Thanks
    S

    Window > Find and Replace will enable you to change all the instances of a text color in the entire document.
    You can create your own character styles by saving them in the Styles panel. To do this, click on an instance of a style you want to save, and then on the little down arrow at the top right of the Styles panel to open the New Style menu. Select which characteristics you want to save, then click the OK button to close the panel. To apply your custon style, select the object you want to apply it to, then click on your custom style.

  • Changing fonts in paragraph and character styles (AppleScript, Grep or JavaScript)

    I have been trying the javascripts in this discussion:
    Adobe Community: Specified font need to be changed in all paragraph styles
    but I cannot get any of them to work. I have been putting them into CodeRunner then saving them into the InDesign Scripts folder but I have specific error messages for the ones I have tried. I am wondering if they actually solve my problem anyway, which is:
    Helvetica Neue LT seems to add another LT to its description thus: "Helvetica Neue LT LT 45" instead of just "Helvetica Neue LT 45".  InDesign does not recognise this and thus when I open each file I get a list of Fonts to be found. I have dozens of styles (Paragraph and Character) in dozens of files and have changed some of the styles manually - a laborious task. The styles must be changed otherwise I am still stuck with Helvetica Neue LT lurking away, waiting for the style to be applied. So I cannot use "Find font..." in the Type Menu.
    I am changing to "Helvetica Neue LT Std" with many faces: 35 Thin, 45 Light, 46 Light Italic, 65 Medium, 75 Bold...
    from the similar faces in Helvetica Neue LT. These currently display in the Styles Menu as [Helvetica Neue LT] [LT 45 Light]
    Sometimes when I change to Helvetica Neue LT Std manually the face sticks (even though I have changed it) so I have "Helvetical Neue Ltd Std [LT 45 Light]" and I have to go through the styles again and again. This is very tedious.
    So if anyone can help me with this problem I'd be eternally grateful.
    Using InDesign CS6, MacMini 2012, Mountain Lion (though I had the same problem in Lion)

    Hi James. Just a few threads down the list there is this: http://forums.adobe.com/thread/1198632?tstart=0
    Even the name of the thread is similar to yours.
    But first, you should do a bit of housecleaning in your font library. From your description it sound like a big mess.
    Do you use any font management tools? Most of the times they do more harm than good (but i am aware that it's a necessary evil for the most part).
    The fonts you are trying to use are in the font library or in the indesign document's folder?
    While Mac is a lot better than Windows in managing multiple fonts/font versions, it's also a lot more "fragile" if something goes wrong with a font.
    Try cleaning the font cache first:
    sudo atsutil databases -remove
    the restart the font server
    sudo atsutil server -shutdown
    sudo atsutil server -ping
    have a look here also:
    http://forums.adobe.com/thread/1201617?tstart=0

  • Unable to save paragraph and character styles

    I noticed an issue popping up for me in CS6 yesterday. I thought it was originally because of Fireworks saved PSD but an effort re-create the file from scratch in PS I'm coming across the same issue. In PS when I have a large amount of text layers and create a paragraph or character style, when I have ANY layer/group in my document locked I'm unable to save any paragraph or layer styles. Regardless of the layer or group being locked and regardless of what layer is highlighted I'm unable to save styles / any settings / name etc. The error I get for character styles for example is:
    "Could not complete the Modify Named Character Style command because a specified layer is locked."
    I did notice that in the Fireworks created PSD that without any layer even being locked I'd still get an error. It may be that this other document got some bad mojo from the Fireworks PSD. When creating a test doc and only creating a couple text layers and a bunch of empty groups and layers I'm unable to reproduce this. It appears to happen to me when I have a slew of text layers.
    Has anyone else experienced this and figured out a more solid workaround?

    If you want to add the styles to an already created document:
    1) Create you Character style containing only the character color
    2) Find and Replace, searching for text with red color and replace formatting with the new character style. (Don't type anything in the text part of the Find and Replace dialog)
    3) Create and apply your paragraph style to all. The text with the Character Style applied will stay red.

  • Map Paragraph and Character Styles

    Hello all,
    I am trying to import Word documents based on the Word Import Preset documents.
    Here's an example smp document
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <Sangam-Import-Preset reader-type="Word/RTF">
        <!--Style mappings take the form of key-value pairs consisting of:
    style-name: Source document's style name, for example RTF style name.
    This attribute is mandatory and the value cannot be an empty string.
    mapped-to: Target InDesign document's style name.
    This attribute is mandatory but can take an empty string as its value.-->
        <Style-Mappings>
            <Paragraph-Style-Mappings>
                <Mapping style-name="Body Text" mapped-to="Body 2" />
                <Mapping style-name="Heading 1" mapped-to="Heading 1" />
                <Mapping style-name="Normal" mapped-to="Normal 2" />
            </Paragraph-Style-Mappings>
            <Character-Style-Mappings>
                <Mapping style-name="Hyperlink" mapped-to="Hyp" />
            </Character-Style-Mappings>
        </Style-Mappings>
        <!--Each Import Preference has two mandatory attributes:
    name: Name of the preference (cannot be an empty string).
    value:Value of the preference (cannot be an empty string).
    For boolean preferences, type 0 for false and 1 for true.-->
        <Import-Preferences>
            <Preference name="import-toc" value="1" />
            <Preference name="import-index" value="1" />
            <Preference name="import-hyperlink" value="1" />
            <Preference name="import-tables" value="1" />
            <Preference name="import-footnotes" value="1" />
            <Preference name="import-endnotes" value="1" />
            <Preference name="import-track-changes" value="1" />
            <Preference name="import-preserve-graphics" value="1" />
            <Preference name="spacing" value="1" />
            <Preference name="break-before-para" value="0" />
            <Preference name="use-typographers-quotes" value="1" />
            <Preference name="convert-tables-to" value="0" />
            <Preference name="remove-formatting" value="0" />
            <Preference name="dont-strip-char-formatting" value="0" />
            <Preference name="bring-unused-styles" value="0" />
            <Preference name="para-style-clash-option" value="0" />
            <Preference name="char-style-clash-option" value="0" />
            <Preference name="use-style-mappings" value="1" />
            <Preference name="convert-BN-to-text" value="0" />
        </Import-Preferences>
    </Sangam-Import-Preset>
    Everything should be easy to set in the WordRTFImportPreference except for the mappings.
    I tried using app.activeDocument. paraStyleMappings.add("Normal","Normal 2",   MapType.STYLE_MAPPING_RULE) after setting app.generalPreferences.mapStylesOnContentPlace = true
    Doesn't work . I suspect the mappings are only good for XML placements and not Word ones, in which case I guess the way to do it would be to us changeText() on the styles.  This is not a great solution as the changes would be done after placement unlike when using the UI before the placement.
    Has anyone done this or got any ideas?
    Regards,
    Trevor

    Paragraph Tools from SiliconPrairieSoftware.com will do it and it's cheap.
    Note that you may not want to convert H1 to Heading1, but convert in the
    opposite direction. A lot of expert Framers use the keyboard to choose
    paragraph tags instead of the mouse-- it's faster-- and have set up short
    names for paragraph formats to make that go even faster. (Someone who uses
    the technique can explain it better than I.) If you have members of your
    team who use this method, changing to the longer tagname may slow them down
    and bring down a hail of grumbles.

  • Why have my keyboard shortcuts in Paragraph and Character styles quit working? (indesign cs6)

    I can click on the style in the window, but the keyboard shortcut suddenly does nothing.

    Hi James. Just a few threads down the list there is this: http://forums.adobe.com/thread/1198632?tstart=0
    Even the name of the thread is similar to yours.
    But first, you should do a bit of housecleaning in your font library. From your description it sound like a big mess.
    Do you use any font management tools? Most of the times they do more harm than good (but i am aware that it's a necessary evil for the most part).
    The fonts you are trying to use are in the font library or in the indesign document's folder?
    While Mac is a lot better than Windows in managing multiple fonts/font versions, it's also a lot more "fragile" if something goes wrong with a font.
    Try cleaning the font cache first:
    sudo atsutil databases -remove
    the restart the font server
    sudo atsutil server -shutdown
    sudo atsutil server -ping
    have a look here also:
    http://forums.adobe.com/thread/1201617?tstart=0

  • Why does CS6 InDesign Book epub output generate and apply new graf and character style names in CSS?

    I created an InDesign book composed of documents that had had no paragraph or character styles in the palettes until text was copied over from a single overall document. I worked absolutely as clean as I could.
    I synchronized the book to that single overall document several times, including immediately before exporting the book to epub. My export settings disallowed any local formatting. Character styles were restricted to one named "Italic" for which the only format applied was Italic in the Font Style field, and one named "Small Caps" for which NO formatting was included in the character style.
    There was, as far as I can see, no reason for any character or paragraph styles to export to anything but identically-named CSS entries. That is to say, any text with the character style "Italic" applied in the InDesign doc should have output with the same text with a span class entry of "Italic" around it.
    I still ended up with p and span CSS entries with extra numbers appended to them:
    span.Italic {
    font-style:italic;
    font-weight:normal;}
    span.Small-Caps-1 {
    font-variant:normal;}
    span.Italic-1 {
    font-style:italic;
    font-weight:normal;}
    span.Small-Caps-2 {
    font-variant:normal;}
    span.Italic-2 {font-style:italic;
    font-weight:normal;}
    span.Small-Caps-3 {
    font-variant:normal;}
    span.Italic-3 {
    font-style:italic;
    font-weight:normal;}
    and
    p.x-SECTION-BREAK, p.x-SECTION-BREAK-1, p.x-SECTION-BREAK-2, p.x-SECTION-BREAK-3  and so on.
    Why would the InDesign epub output engine choose to generate and apply new spans and paragraph-level styles, which multiply the complexity of editing the CSS directly? How can I prevent InDesign from doing this?

    Perhaps I wasn't clear. When I wrote "an InDesign book composed of documents that had had no paragraph or character styles in the palettes until text was copied over from a single overall document" I meant to emphasize  the part where I CLEARLY said "UNTIL text was copied over." The text I copied over had plenty of paragraph styles. I was trying to point out that each individual document had no PREVIOUSLY EXISTING character or paragraph styles that might have added complexity to the epub output. .
    So, every paragraph in each document had a paragraph style attached, a total of maybe 20 different paragraph styles throughout the book. The only CHARACTER LEVEL styles I cared about exporting were Italic, for text that was set in italic, and Small Caps, for CAPITALIZED text that I wanted to be able to make smaller in the CSS, since I am not allowed to embed fonts and therefore have no other way of creating small caps in the xhtml files inside the epub.
    So, given that I had two character styles applied to various bits of text throughout my InDesign book ("Italic" and "Small Caps"), I would like to know why there are multiple CSS entries generated: Italic, Italic-1, Italic-2, Small Caps, Small Caps-1, Small Caps-2, and so on.
    Ditto paragraph styles. I had a paragraph style called "SECTION BREAK" in each document. Not only did paragraph style "SECTION BREAK" contain identical specs in each document--I know they did because I copied each from one single doc where they were being used identically--but I also synchronized the book repeatedly.  So why would the xhtml docs and the CSS output need p.x-SECTION-BREAK-1, p.x-SECTION-BREAK-2, and p.x-SECTION-BREAK-3?

  • Frame 9 keystrokes for entering Paragraph and Character Tags

    I have been using the F9 and F8 keystrokes for entering paragraph and character tags, respectively, for 25 years. I just upgarde to Frame 9, and suddenly they behave differently. Instead of being able to type the first few characters of the tag name and pressing Enter to select the tag, you can now only type the first letter and to get to the next tag in the list that starts with the same letter, you type the letter again. Furthermore, if there is only one tag with the letter you type, it automatically selects it without requiring you type press Enter, which might seem like a feature except if you're used to pressing Enter.
    Does anyone know if there is a way to go back to the way it was?

    While this did solve the problem partially, it seems Frame 9 with the patches still has slighly different behavior from the way I've been using F8 and F9 for the past 20 years. To return to the old behavior, what we need is a combination of the behavior of Frame 9 and Frame 9 with the patches. That is, press F9, type the first letter of the tag name, type the same letter again to scroll down the list, then press Enter to apply it. So, for example, if you have Body and Bullet, if you type "b" you get Body and if type "b" again, you get Bullet. This isn't so bad if you have these two tags, because you can easily type "bu" to get Bullet. But if you have Body1, Body2, Body3, Bullet1, Bullet2, Bullet3, it's kind of a pain to have to type "bullet2" to apply this tag using the keyboard. Kind of defeats the purpose of using the keystroke in the first place.
    The other thing I've gotten used to over the years is being able to press F8 + Enter or F9 + Enter and have it apply the first tag in the list, which was always Default Para Font and Body. Not anymore. Now you have to type the first letter of the first tag in the list. Grrr.
    While you can teach and old dog new tricks, I don't think it's very nice of them to change the behavior of these very common keystrokes.
    Other opinions? I've never submitted a bug to Frame before, but perhaps the time has come.

  • Add / Save paragraph and characters styles in PDF

    Hi all,
    We recently did some tests with PDF to ePub export (different settings, different tools). What we saw is that none of the tools were able to respect paragraph and text styles. They just threw some text back to the screen (ePub Reader). This brought us to the philosophical discussion whether it is possible to export / add character and paragraph style information in a PDF, as we know it from e.g. Adobe InDesign (via the content stream, through metadata) so "a" tool can access that information to use it for exporting (properly) to ePub or another file format. So is there a PDF-standard or 'variant' (PDF/X, PDF/VT, PDF/A, ISO 32000 as such) that would make such a construction possible? And if so, would 'a' tool (e.g. PDF to ePub conversion tool) be able access that information to translate the style info etc. to another file format (e.g. a proper e-Pub file). BTW: we tried 'Create tagged PDF' out of Adobe InDesign, but that didn't help the outcome very much.
    Thanks in advance!

    Yes, it is quite possible and in fact Adobe InDesign will/can produced Tagged PDF that incorporates this information.
    Of course, that means that tools needs to respect it when they read/convert the PDF.  to my knowledge, NONE of the 3rd party PDF conversion tools support PDF tags/structure ☹.

  • Adobe Indesign CS6(8.0) there is no Paragraph and Character directions

    Hi, I have Adobe Indesign CS6(8.0) Windows 7. Where can I see the Paragraph and Character directions? I followed tutorials on the net but I can't find the paragraph and character directions. It's not like it's grayed, but the 2 options weren't there. Thanks!

    We are using InDesign CS6 version 8.1.
    When I refer to the "old" libraries I am referring to InDesign libraries that were created using InDesign CS2 back in 2006, and "new" libraries are libraries created using InDesign CS6 in 2014.
    I just found out that the library assets in the "new" libraries were created by opening a document and dragging items from the Structure panel onto the Library panel.
    This is why the script was having problems placing the asset on to a document and the root of the problem. This should not have been done.
    I just created a new library and added a library asset by opening a document with pageitems on it and clicking on the New Library button on the Library Panel. I then ran my script and everything worked.
    Sorry for the confusion. There seems to have been some misunderstanding within our team.
    Nevertheless it was a great learning experience.  Thanks for your help.

  • How to generate a Yearly report based on a calculation at the Month level

    Have the need to create a report as follows. Any ideas on how this can be accomplished in OBI is appreciated. I have already tried different ways but non worked for me.
    The data is stored in a table at day level as follows:
    Day Amount_A Amouont_B
    1/1/2008     100     100
    1/15/2008     200     100
    2/1/2008     100     400
    2/15/2008     300     200
    1/1/2009     100     300
    1/15/2009     100     200
    2/1/2009     200     100
    2/15/2009     400     300
    The report should be displayed at Year level. Amount_A is just the summation of Amount_A from the table at daily level rolled up to the Year level in the Time dimension. The same thing for Amount_B.
    The formula for Absolute_Error is Absolute(Amount_A - Amount_B). But the problem is that it has to be calculated at the Month level instead of Day Level. So following is the logic for Absolute_Error:
    Month     Amount_A Amount_B     Absolute_Error
    Jan-2008     300     200     100
    Feb-2008     400     600     200
    Jan-2009     200     500     300
    Feb-2009     600     400     200
    The report should be displayed as follows:
    Year Amount_A Amount_B     Absolute_Error
    2008     700     800     300
    2009     800     900     500
    Note that the calculation of Absolute_Error results in a different value if it is calculated at the Month level and summed up to Year than if it were calculated at the Day level and then summed up to Year. It is required to be based on Month level for this report.
    Is there a way to do this without having to build an aggregated fact table at the Month level?

    Hi.
    Do this:
    1. Create Amount_A and Amount_B in BMM without SUM as default aggregation rule.
    2. Now, just go to Answers and make report with three columns:
    YEAR -- EXPRESSION 1 -- EXPRESSION 2
    EXPRESSION 1 is:
    sum(Amount_A) - sum(Amount_B)
    EXPRESSION 2 is:
    sum
    abs
    sum(Amount_A by MONTH)
    sum(Amount_B by MONTH)
    My example in Answers:
    TIMES.CALENDAR_YEAR
    sum(SALES.QUANTITY_SOLD_NORMAL) - sum(SALES.AMOUNT_SOLD_NORMAL)
    sum( abs(sum(SALES.QUANTITY_SOLD_NORMAL by TIMES.CALENDAR_MONTH_DESC) - sum(SALES.AMOUNT_SOLD_NORMAL by TIMES.CALENDAR_MONTH_DESC) ) )
    This will first summarize amount A and amount B on a month level and then do a difference, after that ABS and then sum on the year level.
    This is workaround to avoid larger RPD changes.
    Regards,
    Goran O
    http://108obiee.blogspot.com/

  • How do I add a bookmark to the Bookmark toolbar permanently and delete it from the Recntly Bookmarked list?

    It seems to me that in a previous version of Firefox that one could add a bookmark to the Bookmarks Toolbar and have it stay there.
    I like to keep things neat and tidy. Now when I delete this bookmark from the Recently Bookmarked list (or the Unsorted Bookmarks list), Firefox insists only deleting it from the Bookmarks Toolbar as well.
    How do I add a bookmark to the Bookmarks toolbar and keep it there? Am I required to keep it in the Recently Bookmarked and/or Unsorted Bookmarks list in order to have it remain on the Bookmarks Toolbar?

    * "Most Visited" and "Recently Bookmarked" and "Recent Tags" are examples of so called [[Smart Bookmarks folders|Smart Bookmarks folders]] and are not real existing folders.
    * Smart folders show a list created by a query of the places.sqlite database that stores bookmarks and history in Firefox.
    * Smart folder lists show a maximum of 10 entries by default.
    * Bookmarks and history items that show up in a smart folder list are stored elsewhere in another folder and any changes made are applied to the real bookmark or history item.
    * If you remove an entry then the list is shifted up and a new entry that wasn't shown previously is added to show 10 entries.
    * If you add a new bookmark or visit a website then a new item is added at the top and the entry at the bottom disappears from that list.

Maybe you are looking for

  • Regarding import process

    Dear SAP GURUS Info regarding import process: Customer request: customer would like to implement the import process: the requirement is purchasing will order the parts to the foreign vendor. after receivng the B/L,I/V, purchasing will do the GR and 

  • Iweb freezes when im adding a html widget

    Hi when i try to ad the following widget iweb 09 freezes. can you help me <html> <head> <title>KOSTENLOSER WEBCHAT VON AFTERWORKCHAT</title> </head> <body style="padding:0 0 0 0; margin: 0 0 0 0;"> <applet code=IRCApplet.class archive="irc.jar,pixx.j

  • Exchange Portlet and SSL

    Do we have to have a SSL connection available for the Exchange 2000 portlet to use the following method "authenticateUser" specifically AuthorizationInfo.setAuthHandler(new SuppliedUPAuthHandler(user,password) in the ApplicationLogin.class. Tx.

  • Texting problem: Please re-send using a valid 10-digit number

    I've been having problems texting ever since I've upgraded to the latest firmware. When I try to text a person from my contacts, I get a text right back from 1 (121)611-611 : Error Invalid Number. Please re-send using a valid 10 digit mobile number o

  • Lightroom 3.2 Update No Help

    No bug fixes for me, I am afraid,  after updating LR3.0 to LR3.2. After doing a fair amount of edits to an image, the program becomes extremely unresponsive with that image. I have to render it out as a Tiff and continue doing my edits on that. The u