Populating Framemaker structured templates

Presently utilizing Framemaker+SGML 7.2 environment, along with version 7.1 of the FDK.  Our organization has a group of users that utilize templates to input structured information to generate validated SGML, specific to DTDs, that is then used as input to generate a number of other formats XML, HTML, KML.
My question is, presently all the information is manually keystroked into the templated SGML elements.  There are external resources that I have available that could enable prepopulation of the templates with information, and eliminate much of the manual input--very labor intensive.  This could speed up input and accuracy. These sources include:
Unstructured Microsoft word documents.
Sybase database.
Web service requests that could provide me an XML instance.
XML fragments.
Are there any FDK resources available that would enable me to utilize this external information so that I can assist our users with prepopulating our templates?  There is currently a stigma attached with Framemaker in our production environment.  The markup of the information is the bottleneck.  If not, would upgrading to version 9.0 provide any capability to resolve this issue?
If there are any of these resources available, can you direct me to examples or provide code fragment examples.  I am not a native C programmer.

Pony Boy,
I think I'm generally in agreement with Michael. You can probably find a way to programmatically hook into these other applications; however, it might be best to convert them to XML first, then import to FM. The reason is that FM can read XML natively. With that, you can either:
- Use stylesheets as Michael suggests to format the content for publication, or
- Use the FDK (or FrameScript) to pick out pieces of the XML content and stick it into another document (which sounds a lot like what you want)
I do the latter all the time and can attest that it is very straightforward, once you have some basic FDK skills. The XML markup makes for a very logical roadmap through the content that you can parse with code.
So in summary, just guessing based on your description, I think I'd tackle this as follows:
- Settle on a common XML structure and get the third-party apps to output it. For example, get Word to generate some XML for you, which may not be simple but would probably be easier than trying to parse Word files in FM.
- Build a structure app to import the XML to FM. In actuality, you may not need any structure app at all if you are importing it solely for the purpose of populating other docs (with the FDK). This is something else I take advantage of frequently... the ability to import raw XML and transfer the content to another template. It doesn't look like anything when it comes in, but as soon as the content is inserted into a working template with an operational EDD, it suddenly becomes formated according to the respective EDD rules.
- Build an FDK client to do the transfer. The nature of this client would depend on the nature of content to transfer and the type of markup you are using. There may be third-party tools that can assist you with this effort.
I'd be interested to hear your thoughts about that. I can post sample code that deals with the transfer of content from one FM file to another. I woiuldn't be able to comment further on getting third-party app data into XML, though.
Russ

Similar Messages

  • Invalid Extraction Structure Template

    Hi All,
       Am getting "Invalid Extraction Structure Template"
       error while creating generic datasource, am creating
       datasource based on a view.
       please suggest a solution.
    Thanks

    Hi,
      If we have any quantity or amount fileds in views, we have to provide refernce objects for Units.
    Goto Viwe -->> check for tab Units and provide units from source tables(like : <tablename>-<fieldname>)
    Srini

  • Invalid Structure Template KNKK of  DataSource KNKK_DataSource

    Hello,
    I am trying to create a Generic DataSource in R3 for BW.  My goal is to create a Generic DataSource for table KNKK in R3.  I am following some Generic DataSource instructions which appear to be very straightforward. I have named the DataSource "KNKK_DataSource".  I follow the steps, but when I try to save the DataSource, I get this error message, "Invalid Structure Template KNKK of  DataSource KNKK_DataSource".  I can see a field on this page that is called "ExtractStruct", but I am not able to enter anything into this field, and even if I could, I do not know what to enter.
    Can anyone provide some guidance?
    Thanks!

    hi Jim,
    yes, seems no infoproviders for 0fi_ar_9.
    take a look oss note 688859. however, there is ODS 0FIAR_O09 - oss 656687, please check if it's suitable,
    i have no access to system now.
    hope this helps.
    688859-Business Content for 0FI_AR_9 (Credit Management DataSource)
    Symptom
    There are no InfoProviders shipped by SAP for DataSource 0FI_AR_9
    (Credit Management: Control Area Data with Delta Extraction).
    You want to understand the reasons for this, and
    you are looking for guidance on possible usage scenarios for 0FI_AR_9.
    Other terms
    KNKK 0FI_AR_9 BWFI3D_GET_FIAR_CM_CAD DTFIAR_9
    Reason and Prerequisites
    This is a consulting note.
    Solution
    By standard, SAP does not offer any queries for 0FI_AR_9. The main reason for this is the following one: SAP R/3 ERP allows multiple n:m relationships between Customer, Credit Control Area, and Company Code. (For example, one customer could be allocated to many credit control areas, and one company code could have relations to many credit control areas, or vice versa). Moreover, those foreign key (n:m) relationships vary by customer installation. This makes it difficult to develop business content applicable to a wide variety of installations.
    There are multiple ways, however, how the information contained in 0FI_AR_9 could be made available e.g. for A/R reports. Some of those options include:
    - MultiProviders.
    - Reading of 0FI_AR_9 (from ODS) via update rules.
    - Central consolidated ODS layer.
    - Inclusion of relevant fields as attributes, e.g. for 0CUSTOMER.
    When doing so, make sure to pay particular attention to the following:
    - Potential implications of n:m relationships, as pointed out above.
    - Implications for delta behavior of 0FI_AR_9.
    - Possibly required mapping of calendar month to fiscal period.

  • Invalid extract structure template

    Table YCUSTOMER
    This table has 2 fields referenced by T001-WAERS.
    I want created extractor from  YCUSTOMER, but it donu2019t and I have this message:
    u201CInvalid extract structure template YCUSTOMER of DataSource Z YCUSTOMER.u201D
    But I havenu2019t the fields BUKRS on my table YCUSTOMER.
    I donu2019t know how I can create join between YCUSTOMER and T001?
    Have you any solution?
    Best regard
    francoise

    Hi,
    when you are creating data source if it is based on some view
    in both the tables there should be a primary key and foreign relation ship between tables then create the view and use that view for data source creation.
    This table has 2 fields referenced by T001-WAERS.
    I want created extractor from YCUSTOMER, but it donu2019t and I have this message:
    u201CInvalid extract structure template YCUSTOMER of DataSource Z YCUSTOMER
    in your case the amount field the  currency is refereing from t001 table so it is showing that error
    if you are going with structure and function module in structure level u should declare that currency reference with the  structure name.
    then u can create the datasource and check
    at the time of view creation it may not show.
    again that atable currency is referenig from some other(t001) table so taht is invalid structure.
    Thansk & Regasrd,\
    sathish

  • How to flow a tagged ASCII text onto a unstructured FrameMaker 10 template?

    Hi,
    I have large amount of tagged ASCII content in hand, something like this
    <title>Chapter title
    <h1>Heading 1
    <p>paragraph text
    <bib>some thext
    On the other hand, I also have a FrameMaker 10 unstructured template where title, h1, p, bib, etc style elements are already defined.
    Please suggest me a way to flow my text onto the template, which my page composition makes easy.
    I am looking forward to hear from you.
    Thanks,
    Arul

    With your current mark-up style (as shown in the original posting), all you would need to do is to add two statements to the start of your file, e.g.
    <MML>
    <Include "formats.mml">
    <title>Chapter title
    <h1>Heading 1
    <p>paragraph text
    <bib>some thext
    and create a file called formats.mml that contains DefineTag statements listing exactly the styles that you've used to mark-up the text and that correspond to the catalog entries in your template, e.g.
    <MML>
    <!DefineTag title>
    <!DefineTag h1>
    <!DefineTag p>
    <!DefineTag bib>
    etc.
    Then in your template file that already has the predefined styles, File > Import > File and select the data file.
    When FM imports the MML file, the included formats.mml file tells FM that the tags already exist in the template and to apply them to the content as it comes in. Note: if you have many of these source files using the same template, you will only need one copy of this formats file.
    Note: to separate paragraphs (if not tagged with a preceding <p> or whatever), you must use two or more consecutive return characters, so this might be another minor modification to your input stream depending upon the tagging consistency.
    Any "transformation" for your content appears to very minor/trivial from what you've shown so far. Otherwise, I am not aware of any other method of getting the contnt in AS IS without some work up front to transform it to a format that FM can decipher.

  • Bin structure template

    Hello everyone,
           in the Structure of storage bins for automatic creation ( IMGLogistics execution-warehouse management-master datastorage binsdefine storage structure ..how do we define the template  ( FOR EX: ANNCCCCCCN )
    please explain me about the template in detail ...Thanks all

    Hi,
    Template is created based  alpha numric character & special character like hipen
    template ( FOR EX: ANNCCCCCCN ).
    A-Alphabet
    N-Numeric
    C-character
    So you can create bin with structure by using alphabet & numeric,special characters.
    Regards
    Ravi shankar.

  • Invalid extract structure template && of DataSource &&

    Hi,
    While creating a z datasource i have received the above error. Fom the previous threads here (and from notes 202162 & 335342) I can understand that when there are Currency or Quantity fields included in the datasource, their key fields (CUKY for currency and UNIT for Quantity) shoul also be included in the same view and structure.
    In this case I am taking data in the view from table EKBE. I need to have MENGE & DMBTR. For this I am also taking fields LSMEH (Datatype - Unit) and WAERS (Datatype - CUKY) respectively. Yet the error is coming.
    If i try to join EKPO table in the view then this error does not come as I give EKPO-MEINS as ref table and ref field for MENGE. This thing works even if datatype of EKPO-MEINS is also UNIT Datatype. BUt I can not use join on EKPO table as while extracting the data in RSA3 it is giving me data from both tables (which is not the requirement)
    Plz help.

    Hi,
    Try giving EKPO-MEINS as ref table and ref field for MENGE. without joining EKPO.
    Hope it helps
    Regards,
    Rathy

  • Populating abstract structures in the wsdl

    Hi Experts,
    Need your help in dealing with an abstract wsdl structure.
    The scenario is a synchronous one and it is from CRM to legacy system via SAP-PO(7.4).
    Some structures are created by extending to an abstract element called "Action" and I'm able to see those structures as well in the wsdl.
    But I'm unable to see those structures in Message Mapping step as they are defined as abstract.
    Legacy system wants those structures (which I cant see in MM) needs to be filled with appropriate data ELSE it would throw an exception.
    I'm attaching here the MT that I created for CRM and the input request structure that is there in the wsdl.
    Can you please let me know how to add xsi:type="sch:CreateAction" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" in the mapping step.
    I tried changing the wsdl but unable to add the xsi:type in the wsdl structure.
    Can some one help me out here.
    Thanks,
    Prajwal

    Hi Prajwal,
    If i understand correctly , WSDL (not exactly WSDL , but request copy from SOAP UI tool i guess ) you provided is receiver WSDL ? Correct ?
    I think , you manually created the CRM MT ? why don't you use same External definition(provided by receiver systems) in both sender and receiver Message type?
              Add a attribute <CreateAction> under <Action> element .
    Please correct me , if get your requirement wrong.
    Thanks
    Hari.

  • Invalid extract structure template &2 of datasource &1

    Hi all,
    I really need help in this one. I am trying to create a generic datasource and it gave me this error. I did little research and found that my key figures are pointing to the currency or unit which is in an include. and one of the note says that the currency and unit has to be in your field list. I am using notes 335342 and 202162.
    I am copying a part which I am not able to understand since I am doing this for the first time so Please help.
    "If the currency or the unit a key figure refers to is not located in a table but in a structure, the key figure has to be removed from the view and read via a customer exit (see below). Structures cannot be included in a view.
    ATTENTION!! Often the key of the table in which the referenced unit is located, does not agree with the key in the table with the corresponding key figure. In this case, the join condition of both tables is not unique in the view definition, that means for each key line of the table with the key figure, several lines of the table with the unit may be read: the result is a multiplying of the number of lines in the view by a factor corresponding to the number of lines that fit the key figure, in the unit table. To be able to deliver consistent data to a BW system, check whether the unit of the key figure in question should always have a fixed value. If yes then you can determine that in the view definition via 'GoTo -> Selection conditions'. If no, then you must proceed as follows:
    a) Remove the key figure from the view
    b) Define the DataSource
    c) Enhance the extract structure by key figure and unit for each append (Transaction RSA6)
    d) Add the key figure and the unit in a customer exit
    2. A view is already used for the extraction.
    Thanks for all the help in advance.

    Hi AHP,
    It beats me as to how can I add those fileds from FAGL table in the view, I am just not getting it. Or is there any other table that I can add these views.Some times it gives me this error "Field TCURC-RTCUR does not exist in any of the base tables." or similar to that I dont know what does that mean, Can you let me know plz?
    Also all the links that you have given are really great, I will doing the FM for first time so it took me time to sink in the process and concept. I am trying to use one of the code that Dinesh has given in one of that posts and just adding my table names in his tables just as starting point. I am not getting what exactly do I have to do in these two sections can you help me understand.
    cursor
    S_CURSOR TYPE CURSOR.
    Select ranges
    RANGES: L_R_ZYEAR FOR YSALES-ZYEAR,
    L_R_ZMONTH FOR YSALES-ZMONTH.
    why exactly is it zyear and zmonth can we change it? what criteria?
    OPEN CURSOR WITH HOLD S_CURSOR FOR
    SELECT (S_S_IF-T_FIELDS)
    FROM YSALES .
    select BUKRS
    ZYEAR
    ZMONTH
    WERKS
    MATNR
    SLSCAT
    KNDNR
    SPART
    MATKL
    MENGE
    DMBTR
    VV702
    VV703
    VVADS
    VV704
    VV731
    INTO CORRESPONDING FIELDS OF TABLE I_YSALES
    FROM YSALES
    WHERE ZYEAR IN L_R_ZYEAR
    AND ZMONTH IN L_R_ZMONTH.
    WHERE MATNR IN L_R_MATNR.
    WHERE WERKS = WERKS
    AND MATNR = MATNR
    AND KNDNR = KNDNR
    AND SPART = SPART.
    IF SY-SUBRC = 0.
    SORT I_YSALES BY WERKS MATNR .
    ENDIF.
    Do we have to add here all the fileds that we want from the table? and what does "WHERE KNDNR = KNDNR" means , how should i relate it to my table.??
    Thanks again for all the help.

  • Populating base structure from persistent object

    Let's say I create a peristent class, ZCL_PWIDGET.
    ZCA_PWIDGET and ZCB_PWIDGET are created on my behalf.
    Let's say I map data in all the fields from table ZWIDGET .
    ZWIDGET has 1 Key field, KEY1, and five data fields, C1-C5.
    I think I can retrieve data from the tables and create a runtime instance of my class using
    DATA:  this_widget TYPE REF TO zcl_pwidget.
    this_widget=>agent->get_persistent( I_KEY1= '1234' ).
    Can someone tell me how to populate wa_widget ( I think I can use a map attributes call, but I don't quite understand how).
    Data : wa_widget type zwidget.
    Thanks...
    ...Mike

    Thanks, but I'm looking for a way to populate wa_widget in one fell swoop.
    Is there a way to populate all (or most) of the fields of wa_widget at one time, like...
    wa_widget = this_widget->get_ALL_fields_from_persistent_mapping
    How do folks do this in practice ?
    Thanks...
    ...Mike

  • Trying to understand structured Framemaker

    I want to start a very simple structured Framemaker file, so I can see how it works.
    If I select File > New > Explore Structured Templates > Book > Chapter
    and I save that file as Chapter,
    1. WHERE do I get the EDD from?
    The Chapter will compile as an epub.

    Use StructureTools > Export Element Catalog as EDD to create an EDD from the document's internal element definitions.
             --Lynne

  • How do we work with Text Frames in a structured xml template

    Hi ,
    I am working with structured template using Framemaker 7.2. I need to add Text Frame in the structured template. Could you please tell me how do I add text frame with the body page of a strcutred template.
    Thanks
    Manas.

    Hi Manas,
    Text frames work the same whether the template is structured or unstructured. The only thing you should be aware of is that a text frame creates another flow, which can be structured or unstructured. In either case, you will not be able to export its contents to XML. You didn't mention XML specifically, just thought I would note that.
    Do you need general instructions on inserting a text frame? If so, I think the user guide should have that.
    Russ

  • Query about structured Frame templates

    In Frame 12 all the templates have been updated.
    I built my book using unstructured templates because I wanted to get a feel for the changes from my last version of Frame (8).
    I now think I will need to redo the book entirely using the templates from structured Frame.
    The unstructured Frame template for a book has all master pages in every file in the book. The structured template for Chapter has only master pages: left, right, first. Is there a reason for this? (Should not every file in the book have the same master and reference pages?)
    Thanks.

    AFAIK, you have to supply your own IDE & compiler.

  • How do I add XML content to existing FrameMaker Document

    Hello,
    I have an XML document that contains features of one item and I want to add data from it to FM document that shows those features. These features have been added to FM previously by copy-paste technology which isn't obviosly the fastest way and I have understood adding them automatically is possible.
    I can read XML well and I can produce XSLT files to make another XML files, problem is that I'm a little beginner with FM and help files didn't show any good examples of this (or at least I didn't find). I tried to do some read/write rules, because it seemed to be the way how FM handles these things but they didn't work.
    So shortly: XML file (data) + FM file (tables and such) = FM file which have XML data in its tables
    I would appreciate any help, like pointing to right help files or such, thanks in advance.

    The two main references you need are:
    Developing Structured Applications with FrameMaker, Guide
    Developing Structured Applications with FrameMaker, Reference
    They used to ship with FrameMaker, but you can download them from the Adobe site. Check the Support section. I do not believe they are available for FrameMaker 10 yet, but they are for version 9. No matter your FramMaker version, almost any set will do.
    Basically, you need an XSLT that will translate the XML structure into the structure you use in your FrameMaker files. You need a set of read/write rules (see the references above). FrameMaker uses read/write rules to specify how certain FrameMaker objects are to be translated from the XML. Such objects include tables, variables, and markers.
    Then you need to create a structured application that specifies where the XSLT, the read/write rules, and your structured template are located on you system.Again, see the references.
    Once all of the above is in place, you open the XML file from within FrameMaker. FrameMaker will ask you what structured application to use, which you pick from the dropdown list. It will then open the XML file, apply the XSLT transformation, and copy the result into your structured blank template. That process will likely list several errors, which you may or may not be able to ignore depending upon the resulting FrameMaker document. In my case, these are usually errors about missing graphics, which I already know are missing.
    The result is ONE FrameMaker file. You can then copy and paste the information where ever you need it in your other documents. I am not sure whether you can import an XML file into an existing Framemaker document, much like a text inset. Maybe others will know.
    Good luck,
    Van

  • Can I Create a New Structured App that's a Copy of a Current One?

    Here's the situation:  I am new to using Dita in Framemaker, but have become competent with the authoring process. I do not understand the development end of things very well, however. What I want to do is to have a second dita structured application that is identical to the first in every way except that in topic.template.fm, the page size will be set to 11x17, not 8.5x11.  And I want to be able to apply that structured application to some of my DITA documents, but not all of them.
    I tried to create such a situation, first by copying and then renaming the DITA folder (I called the new one DITA-BIG) in Adobe FrameMaker 8\structure\xml\ and, within DITA-BIG, making that small change to topic.template.fm.
    I then added the renamed structured app to structuredapps.fm (again, I did a copy and paste of the DITA-Topic-FM element already there), changing the name of the element to Dita-TopicBig-FM and the URLs to point to those in the DITA-BIG directory.
    The new structured application appears in Framemaker when I select StructureTools --> Set Structured Application, and I can select/apply it to one of my documents. However, the document's page size doesn't change. I tried saving the document, closing and reopening the document, closing and reopening Framemaker. The new, larger page size set in topic.template.fm in the DITA-BIG structured app. is ignored.
    If I change the page size in the original topic.template.fm file, the document that is supposedly using the new structured app changes size to correspond to the template in the old structured app.  But I need that original template to stay at its original 8.5x11 page size.
    I am new to working with such files so I don't know if I missed something or if what I am attempting cannot be done.
    Any advice?

    Ok, it worked.
    Thank you very much for your help and patience with my followup questions.
    I want to describe one more thing that was not obvious to me.  When I got all of this done and tried to get a help topic to use the new template, I did it wrong at first. What I tried was to open the xml file, then open the StructureTools menu and select "Set StructuredApplication."  From the long list of applications that appears, I chose Dita-Topic-Bigpage-Fm (my applicaiton clone that contained the modified template).  Then I saved the file, but didn't notice any changes in my page size. Even closing and reopening the file and closing and reopening Framemaker, didn't seem to have an effect. When I chose any other structured application (do not try this at home!) I got pretty spectacular results: many error messages, and one time it crashed Framemaker. But nothing happened when I chose my "bigpage" clone application.
    Eventually I tried to set the structured application when I opened up the xml file. At File - Open, a little window always appears that lets you select a few structured application choices among the many available.When I did this, the file finally opened with the large page size specified in my cloned application.
    Keywords:
    clone a template
    clone a structured template
    cloning a template
    copy a template
    copying a template
    use a different structured template
    use two structured templates
    use another template
    apply another structured template
    copy a structured application
    clone structured application
    apply my own structured application
    use two structured templates
    use two structured applications
    dita structured applications

Maybe you are looking for

  • My iphone 4s is not recognized by my pc after update IO5

    I updated my iphone 4s to the IO5 and since then it has been stuck on the connect to itunes screen, then when i went to connect to itunes on my PC the device is not recognized and my iphone is still stuck on the same screen.  Please help!

  • In iOS 7 is there a way to turn off that new camera burst mode?

    I like the old camera ability to keep your finger on the shutter and release to take a photo. It helps avoid camera blur with certain close shots you are trying to frame, and was one of my favorite "hints on using your camera" for the iPhone. But wit

  • Reference Library for Converting Between LabVIEW and XML Data (GXML)

    Please provide feedback, comments and questions on the Reference Library for Converting Between LabVIEW and XML Data (GXML) in this thread. The latest version of the NI GXML Library is availble in VIPM on the NI LabVIEW  Tools Network repository.

  • Link Problem of Table Of Contents

    I'm novice of Pages. I couldn't go the page while clicking the corresponding page nuber entry in Table of Contents, but successful in the exported PDFs. I know this could be done in MS word. Any one could help me out or this feature is just not avail

  • Setting default value to af:inputdate in  jsf page.

    Is there a way to set the input date in  a form to some default value initially. I am finding no way to do this. If I set the value from a backing bean function it does not show the date picker next to input date and new values cannot be entered. Ide