Extendscript - Book component type - ES bug or doc error?

Hi,
(FM 11, Win XP)
When you query ComponentType for an FM document book component, you get hexadecimal 0x200 which happens to equal Constants.FV_BK_FILE. However, the documentation says that this property should return one of:
• Constants.FV_BK_FOLDER (0x02) - Folder
• Constants.FV_BK_GROUP (0x40) - Group
• Constants.FV_BK_FM (0x8) - FrameMaker document
• Constants.FV_BK_MIF (0x10) - MIF document
• Constants.FV_BK_XML (0x20) - XML document
Given the supposed MIF and XML options, I'm not sure if there is a bug in ES or if the documentation is just wrong. An XML component also returns 0x200. Any thoughts?
Thanks,
Russ

Hi Russ,
same issue here (FM 11, Win7). I'm not sure, but in my opinion it's an error in the documentation. The values for ComponentType should be:
Constants.FV_BK_FOLDER (0x2): Folder
Constants.FV_BK_GROUP (0x40): Group
Constants.FV_BK_FILE (0x200): File
Additionally you could check the sort of file type via BookComponentFileType (FM, MIF, XML, Ditamap).
In a short test script for traversing a hierarchical book the BookComponentFileType has some more values:
Constants.FV_BK_FOLDER (0x2): Folder
Constants.FV_BK_BOOK (0x4): Book (inside another book)
Constants.FV_BK_FM (0x8): FrameMaker document
Constants.FV_BK_MIF (0x10): MIF document
Constants.FV_BK_XML (0x20): XML document (also Ditamap and Bookmap)
Constants.FV_BK_GROUP (0x40): Group
The main difference between ComponentType and BookComponentFileType seems to be the more detailed information about the file type.
Best Regards, Andreas
Message was edited by: justBE

Similar Messages

  • Book data type in printing

    hi all,
    when i add more than 20 pages in book data type am getting OutOfMemory error.. how to rectify this error..
    regards
    suresh

    There might be some issue with your code like creating large arrays for some reason which don't get garbage collected or some of the other memory leak type things which can be disgnosed in Java 6 using various tools:
    http://java.sun.com/developer/technicalArticles/J2SE/monitoring/index.html (or just by code inspection)
    But if you've checked for that, you can always encourage Java to use more memory by adding a command-line flag like -mx512m (assuming you have that much available)
    That setting might just delay an underlying memory issue, but it sounds like you just need that much memory.
    Here are the options:
    http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/java.html
    Some additional "non-standard" command-line options can also help diagnose or get around memory issues:
    http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp

  • Reading Component Type in ABAP

    hi
    Given a table name, is it possible to identify its 'Component type' <b>programmatically</b>
    for example VBAK has the following Application/Component hierarchy:
    SD - Sales and Distribution
           SD-SLS - Sales
                 VA -  Application development R/3 Sales
                        <b>VBAK</b> - Sales Document: Header Data
    So, is it possible to read this hierarchy in an ABAP program?

    Hi
    From the table description and the Dev class attached to it, and from the fields description we will come to know the component types of that table
    all these are stored in different tables with respect to that table
    check the tables
    TADIR,DD03L, TDEVC etc to get all the above linked things of a table
    Reward points for useful Answers
    Regards
    Anji

  • Software Component does not support selected Development Component Type...

    Hi,
    I have a problem, i want create a new project of Mobile Service Component, but, when i want select MyComponents [demo.sap.com], in the top appear:
    "Software Component does not support selected Development Component Type. Required DCs are located in an SC that is not visible from the selected SC "
    Why?
    Thanks in advance,
    Regards,

    Hi Victor,
    the issue is that the archive pool in your NWDS is not set up properly. Could you check the configuration of the development configuration? I guess you are developing in Local Development, right? Please check in the "Component Browser" that the two Software Components "NWMCLIENT" and "XOCA" are present and contain some DCs inside them. If this is not true, than something went wrong with your setup of the IDE. The modifications of the default.confdef are most likely not right.
    Please come back to me if you don´t know how to proceed.
    Regards,
    Stefan

  • How can i find  out field for a particular component type

    hi,
    how can i find out for particular component name is belongs to this field.....that means REF_DOC_NO componemt is belongs to xblnr field ..../.if we know only component type ...how to find the field...
    plz tell me
    thanks&regards,
    kalyan

    keep the cursor on component
    press F1
    select technical information
    you will find the field name and table or structure name
    regards
    sateesh

  • How to attach a Exchange rate type to SD Billing Doc?

    Hi All,
    The Sales and Distribution billing document creates the accounting document.
    I want to change the current exchange rate type which is appearing in the accounting Doc.....How to attach a new exchange rate type to the Billing Doc?
    Thanks in advance!

    Hi,
    If you want to use a different exchange rate type for SD documents, you can assign the different exchange rate type in Customer Master in Sales Area Data - in Sales Tab. (Use Transaction code XD02)
    Thanks
    Murali.

  • How to find what are  the  support-teams map with particular componant type

    hi experts,
    i am new in solution manager.. My requirement is when creating the support message in crmd_order t-code i have to give the componant type in transaction data after that in fast entry screen i have to assign support team for that componant type .. here i have to give only valid support team which are map with particular componant type .. when save the support message here i have to check that support team is map with that particular componant type (i.e that support team is belong to that componant type ) .. thats what i have to do in abap development .. so how to find the what are all the support teams mapped with particular componant type .. whether it is stored in any table or ?.. Please give solutions ..
    Regards,
    Kumar..

    Hi Kumaresan-
    I'm not sure I fully understand your requirement but I will try to help out. If you are trying to determine / associate the relevant support team according to which component they are responsible for, this might help.
    The determination of the support team is maintained by configuring rule 13200137 in transaction PFAC_RESPO.
    Click on the Responsibilities Tab
    Create your responsibility based on your support team requirements
    Assign the appropriate Support Team, this data will be taken from the settings you have maintained when creating your org chart in ppoma_crm
    Highlight a responsibility and click Change
    In this table you will see an entry for SAP Component, this is where you identify which support team will be determined based on component

  • Book List link on OEM License doc is broken

    For all pages in Oracle® Enterprise Manager Licensing Information / 12c Release 1 (12.1) / Part Number E24474-07, the link at the top of the page listed as 'Book List' returns a 404
    http://docs.oracle.com/cd/E24628_01/license.121/e24474/toc.htm

    Works fine for me; the link redirects to https://www.adobe.com/cfusion/mmform/index.cfm?name=distribution_form&pv=sw

  • Book component in flex

    how to implement book component in flex

    "tausif d" <[email protected]> wrote in
    message
    news:g6jkhl$pf0$[email protected]..
    > how to implement book component in flex
    http://www.quietlyscheming.com/blog/components/flexbook/

  • ME59N - 1 PR doc type to 2 PO doc type

    Hi,
    I trying to use ME59N to covert PR doc type NB (with item category = blank) to PO doc type NB.
    And convert PR doc type NB (with item category = K) to PO doc type CB.
    How can I do it?
    Thanks,
    Anson

    Hi Andy,
    Thanks for the reply.
    Documet Type Linkage
    PR doc type NB (item cat. = Blank) link to PO doc type NB.
    PR doc type NB (item cat. = Blank) link to PO doc type SB.
    PR doc type NB (item cat. = K) link to PO doc type CB.
    If my linkage relationship between PR & PO document type set as above, when I run ME59N and tick the option of "Per Item Categary". The PR with item category = Blank will convert to which PO document type?
    Please advise.
    Thanks,
    Anson

  • What is the different between component and component type in extract struc

    Hi All,
    What is the different between component and component type in the Extract Structure?
    I used them, but I never really know the different between them yet.
    Thanks,
    Grace

    The difference between Component and Component Type are:
    Component This is essentially the field name in the extraction structure. These can either be SAP delivered field names or custom field names (e.g. Y* or Z*).
    Component Type This defines the data definition for the field, along with associated attrributes and descriptions for anything using that Component Type, to define the corresponding Component. If you double-click on any Component Type in an extraction structure, it will show you the definitions that have been setup for that Component Type (will display as Data Element but it's essentially synonymous - Component Type refers to structures and Data Elements refer to tables).

  • Find underlying component type

    Hi, I have a structure which has few components. Is it possible to find the component type of the components?
    Also is it possible to determine whether the component type is a table-type or a structure?

    Hi Arun,
      You can try out with the help of a join on the tables DD02L and DD03L. In the DD02L, you would be having the tables and it table category (i.e., the type of the component you require INTTAB represents it as a structure and TRANSP represents transparent table.)
    For example, if u have an include structure in a table, first hit the DD02L table and know whether it is a table or structure and then hit the table DD03L to know what are the include structures it is having. In this way, you can play around with it.
    Please don't forget to reward points if the answer is helpful

  • Getting error : Expected a child component type of UISelectItem/UISelectIte

    Hi,
    I am using facelet and third party tool for displaying Grid.
    When I am using following code then getting the error :
    "Expected a child component type of UISelectItem/UISelectItems for component type javax.faces.SelectOne"
    Code:
    <ig:column sortBy="phoneNumber">
    <f:facet name="header">
    <h:outputText value="Phone Number" />
    </f:facet>
    <h:selectOneMenu value="#{DATA_ROW.phoneNumber}" >
    <f:selectItems value="#{mylist.list1}"/>
    </h:selectOneMenu>
    </ig:column>
    Please suggest to resolve the issue.

    following is the component tree at which this error is occured:
    <HtmlSelectOneMenu disabled="false" id="_ig26" immediate="false" localValueSet="false" readonly="false" rendered="true" required="false" transient="false" valid="true">
    <UISelectItems id="_ig27" rendered="true" transient="false"/>
    </HtmlSelectOneMenu>

  • Component type table

    dear sir,
    in solution manager the component type is stored in dswp_csncomp table while creating the  support desk message.. but in R/3 system component type stored it where (which table )  .. please reply..
    Regards,
    kumar

    Hi Kumar,
    I hope, that I understand your question correctly.
    When creating a support desk message in satellite systems, the proposed component is derived from technical information of the transaction.
    The application component is assigned to the package, which is visible on tab "Properties". You can the display the assignment of a transaction as follows:
    - execute transaction
    - choose System -> Status
    - double click on field "Transaction"
    - double click on field "Package"
    - tab "Properties" shows the assigned Application Component
    I don't know the table.
    Regards,
    Ruediger
    Message was edited by: Ruediger Stoecker (Grammar corrected)

  • Component type in property tree

    Hi Experts,
    Can you please provide me the details about what is the component type in a property tree of a specification and how can we find which component type is assigned to a specification property  tree.
    Thanks in Advance
    Regards
    Kapil

    Dear Kapil
    you misinterpret the data model of EHS. The "Component type" is just "customizing". This customizing is used in any !! value assignmen type C (composition); We have may be 50 (or more; I do not have counted them) value assignment type of type C in STANDARD tree; so there is no answer to your question possible as component type can be used very often in different contexts
    C.B.

Maybe you are looking for

  • Use of XML in Java SE

    I use XMLEncoder and XMLDecoder to save data for object initialization. I will have several objects in my project and I'd like the user to be able edit the values in a GUI. I think all of the editable fields will be int, float, long, boolean, or Stri

  • Regarding partner profile

    HI all i am configuring an outbound partner profile for an outbound IDOC ,when i try to give the <i>post processing:permitted agent</i>,here i am getting this message <i>NO ACTIVE PLAN VERSION EXISTS</i>. CAN ANYBODY HELP ME ON THIS regards kish

  • AD Connector

    Which is the latest Ad connector version that is compatible with OIM 9102 BP18.

  • Shockwave Player 10.3.0.24?

    Shockwave 10.3.0.24 has installed on my computer. There is no listing of this version by Adobe anywhere. This version is not listed as a downloadable licensed version from Adobe Distribution Downloads. We are in the process of upgrading our corporate

  • I can't open my documents with the update.

    I can't open my documents with the update. It says to update pages in the app store but I've already done that, that how I got in this stupid mess. How do I fix it? When I go on the app store it doesnt say update, it says installed, but I still cant