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.

Similar Messages

  • 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.

  • Invalid Extract Structure while creating a datasource

    Hello,
    I'm creating a datasource from a view. whenever i try to save it, it gives me an error saying that it is an invalid extract structure and that one of my fields is referenced to another table. After the threads on SDN, I think I need to remove this field from the view, activate my datasource, append my extract structure by adding the problem field and write an user exit to populate the field.
    I don't have any experience in writing an user exit. I would appreciate if anyone would guide in it. Here are the details of my view:
    View with 4 tables: EKBE, EKKO, EKPO AND EKKN
    so that i'll get the line items of the purchase orders with the fields that i need. I didn't see any business content datasource for this.
    problem field: DMBTR in EKBE table
    this is referenced to T001.
    How do i add this field in the extract structure and how do I write an user exit for this?
    Regards,
    Sam

    Hi,
    I am new to this foroum and BW module....
    I too am facing the same problem.
    I am creating a view from 2 tables VBAK and VBAP .
    I was having problem with currency fields NETWR, WAERK, NETPR. So i removed the currency fields. Still i am having same error of not being able to create my data source from the view i have made. It gives the error....
    Invalid extract structure template Z76_VEW_VBAK_VBP of DataSource Z76_DS_VIEW_VBAK_VBAP
    Message no. R8359
    Diagnosis
    You tried to generate an extract structure with the template structure Z76_VEW_VBAK_VBP. This operation failed, because the template structure quantity fields or currency fields, for example, field NETPR refer to a different table.
    Procedure
    Use the template structure to create a view or DDIC structure that does not contain the inadmissable fields.
    Can anyone help me out please.
    Thnaks
    Mansi

  • 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

  • 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

  • Different templates with different datasource files

    Hi All,
    Can someone tell me how we can have two different templates with different datasource files in one BIP report.
    I need PDF template based on one xml file and CSV teamplate based on another in one report.
    Thanks.

    you can have two data-set or query , and select concatenated data and have a single xml file.
    But pdf template will look at those, dataset in the xml, which you want. and CSV will look only on the other dataset.
    what method are you using for CSV ?

  • Structure of hierarchy's datasource

    Dear Experts:
    Here I have one question regarding the structure of the hierarchy datasource.
    When we load the hierarchy from an external file, the file structure would have below several fields:
    NODEID     INFOOBJECT     NODENAME     LINK     PARENTID     LANGU     TXTSH     TXTMD     TXTLG
    But while loading from ECC, take material hierarchy "0MATERIAL_LKLS_HIER" for example, its extraction structure is "ROHIEROS", and when you double click on it, you will find there is only one field named "OLTPSOURCE", the data

    The question is not complete since I mis-click on the Post, sorry...
    Please see below:
    Dear Experts:
    Here I have one question regarding the structure of the hierarchy datasource.
    When we load the hierarchy from an external file, the file structure would have below several fields, and it's clear to understand how it works.
    NODEID     INFOOBJECT     NODENAME     LINK     PARENTID     LANGU     TXTSH     TXTMD     TXTLG
    But while loading from ECC, take material hierarchy "0MATERIAL_LKLS_HIER" for example, its extraction structure is "ROHIEROS", and when you double click on it, you will find there is only one field named "OLTPSOURCE", the data type is CHAR and length is 30.
    Can anybody let me know how the hierarchy loading from ECC works? Since there seems only one field of the extraction structure. How can the system know like the node relationship?
    Thank you all in advance!
    Best Regards
    Tim

  • Invalid color template image

    I try to do patttern matching using IMAQ Vision. Both source and
    template images are .BMP files and are generated in a VB .NET program
    through NI Framegrabber. IMAQ Match Color Pattern gives me the
    following error message:
    Error-1074395384 occurred at IMAQ Match Color Pattern
    Invalid color template image
    Do I have to use .PNG files when doing pattern matching?
    Thanks.

    Hey John123,
    I was wondering what version of Vision that you are using? Have you tried to run any of the example programs, like the ColorPatternMatching example that can be found in the following directory: C:\Program Files\National Instruments\Vision\Examples\MSVB.NET\2. Functions\Color Pattern Matching. I was able to run this example program by using .BMP images and not PNG images. So to answer your question, you don't have to use PNG files with this function, you can use Bitmap images. You can use any kind of image that have a 32-bit RGB or HSL bit depth.
    If you are acquiring from a Framegrabber, I would suggest that you double check and make sure that the images that you are getting from your camera are actually 32-bit, and not 16-bit. Also, you could post a couple of your images on this thread, and I could try them out with an example that uses the IMAQ Match Color Pattern function. Try some other BMP images and do you get the same error? Try the example program, and see if that gives you the error with your images. Let me know if you have any questions. Thanks, and have a great day.
    Regards,
    DJ L.

  • "Invalid golden template" error using Vision

    Hello,
    I'm trying to compare two images (to locate a hole that's present in one of them) using the IMAQ Compare Golden Template vi, and I'm getting the following error:  "Error - 1074395770 occurred at IMAQ Compare Golden Template", "Invalid golden template."  I've included a copy of my vi and a screen snapshot of the error.
    Can you help me with this?  I am relatively new to Labview, so there may be a simple solution to this.
    Thanks,
    Doug D.
    Attachments:
    files.zip ‏61 KB

    cb,
    Thanks for the tip about the "Golden Template Inspection Example.vi"; that was helpful.
    Yes, I'm still getting the same error.  It looks like the problem is with my template file.  Basically I just converted a .jpg file (attached) to .png.  But it seems that the "IMAQ Match Pattern 2" and "IMAQ Compare Golden Template" VIs both require a template image with pattern matching info in it, and I can't create one that works using the "IMAQ Setup Learn Pattern 2" and "IMAQ Setup Learn Pattern 2" VIs.
    Does anyone have information or an example on how to create a template file for the "Golden Template Inspection Example VI?
    Doug
    Attachments:
    No_hole.jpg ‏394 KB

  • Change an extract-structure in an existing datasource

    Hello,
    I want to change an extract-structure in an existing datasource (0COORDER_TEXT), but I don't know how to do.
    (I first thought I can do it with trx RSA6.)
    Can anybody give me a hint how to change the extract-structure?
    Kind regards
    Udo

    Hi,
    yes, you can change an extract-structure in an existing datasource . The enhancemet of DataSource is the process of enhancing your extract structures by creating an append with your ZZ/YY fields and filling these fields using a specific user exits. Then you have to fill those fields with some ABAP custom code that can be anything from some simple calculations or table lookups to complex business logic requiring access to multiple database tables. You can do that by CMOD, creating a project and using the enhancement:RSAP0001.
    You have to follow bellow steps:
    1. Go to RSA6.
    2. Select the Data Source.
    3. Select display Data Source (Ctr+F2).
    4. Double click on the Extract structure.
    5. Click on the Append Structure.
    6. Add the required field .
    7. Activate the Append Structure.
    8. Go to CMOD.Give the Project, select Display.
    9. Click on ZXRSAU01.
    10.you have the bellow exits:
        a).Transaction data: EXIT_SAPLRSAP_001
        b).Master data attributes: EXIT_SAPLRSAP_002
        c).Master data texts: EXIT_SAPLRSAP_003
        d).Master data hierarchies: EXIT_SAPLRSAP_004
    11. select Transaction Data EXIT,then you have to write the ABAP CODE
    12. save and activate.
    13. check the data in RSA3.
    These steps will help you.
    Regards,
    Suman.

  • 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

  • Fileds available in extract structure but not in Datasource.

    Dear All
    I n the extract structure BIW_MARC_S of 0MAT_PLANT_ATTR,  fields like reoder point, safty stock are available but these are not showing up in the data source 0MAT_PLANT_ATTR . How can I bring them in the data source...
    Thanks in advance
    Dinesh Sharma

    Hi Dinesh,
    I have the solution for this.
    Go to contents of the table ROOSFIELD in SE11, give your data source 0MAT_PLANT_ATTR. These steps are to be done in ECC. There you can find the fields of datasource. Trace for your field safety stock.
    Double click on that. you will get the details of that field. In that screen, the selection is shown as A, it means hidden.
    You have to change it either P or X in debug mode. Then the required field will be available for your datasource.
    Do revert in case of queries.
    Regards,
    Rama Murthy.

  • 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 structure for XF300

    Hi,
    I'm using Canon XF300 and tried to transfer the video to Apple Final Cut Pro for editing. I've installed the XF utility and the Plugin for FCP but there's no Canon plugin option under the import preferences, I think that's the reason why when I go to "Log and transfer" and add the folder, it said invalid directory structure.
    But I used to do the same thing on my old Mac (G5), it worked fine but it doesn't work on my new Mac Pro.
    I installed the same version of FCP (6.0.1) and the Canon Plugins to Mac Pro, does anyone know what's going on?
    Thanks for your help.
    Fai

    Hi
    I have a return type as Element in a method and hence
    i get this error when converting to a webservice. I do
    understand that it cannot be a interface. But i do not
    know any other way to work around this problem. You can only use types that fit the JavaBean model. I think interfaces are OK as long as they have no-arg getters and one-arg setters for every property.
    PS - Don't post the same question multiple times.

  • 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

Maybe you are looking for