Problem in creating a view and generating datasource

Hi Gurus,
I am trying to create a Generic Data Source (ZGG_TEST) on a View (ZV_TEST1)
View as Follows:
Table1 has the Following Fields
Field      Type
MANDT     CLNT
RECNO     NUMC
STATUS     CHAR
LMODF     CHAR
Table2 has Fields
Fields     Type
MANDT     CLNT
RECNO     NUMC
PHCOS     QUAN
MATNR     CHAR
EQSFS     QUAN
MEINS     UNIT
In Table2 under Currency and Quantity Field tab
For Field PHCOS The Reference table is MSEG and Reference Field is MEINS
For Field EQSFS the Reference Table is MSEG and reference field is MEINS
View Description
Tables:
Table1
Table2
MSEG
Join condition For the View is
TABLE2-MANDT=TABLE1-MANDT
TABLE2-RECNO=TABLE1-RECNO
TABLE2-MANDT=MSEG-MANDT
TABLE2-MATNR=MSEG-MATNR
The Problem is While saving the Data Source it is Giving  an Error as Follows
Invalid extract structure template ZV_TEST1 of DataSource zgg_test
Message no. R8359
Diagnosis
You tried to generate an extract structure with the template structure zgg_test. This operation failed, because the template structure quantity fields or currency fields, for example, field PHCOS refer to a different table.
Procedure
Use the template structure to create a view or DDIC structure that does not contain the inadmissible fields.
Please help me In Solving this Issue
Thanks in advance
Santosh

Hi,
I think the problem here might be due to the fact that you are using MSEG table in your views.
I see that you have used MEINS in your Table2. So for Field PHCOS give your reference table as TABLE2 and field as MEINS as MEINS is already present in your table. Please leave out MSEG from your View.
Hope this helps. Please revert in case of any issues
Regards,
Pramod

Similar Messages

  • Problem with creating new view and binding it wht existing ViewSet/viewArea

    Hi All,
    I created a new view.
    Now I am trying to dynamically change the veiw in ViewArea : product of ViewSet : BupaMainViewSet .
    I added my new view in the views for viewarea : "product".
    Now I wanted to get this new view based on some button clicks on view BupaSearchB2B.
    If search Account button is clicked my new View has to appeared. Othewise the standard view in the Product view area shud appear.
    I dont know how to do.
    Your response will be highly appreciated with your reward points.
    kindly assist me on this.
    Thanks,
    SR.

    Hi,
    You can find detailed information at the following link:
    <a href="https://portal.wdf.sap.corphttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/go/km/docs/corporate_portal/ws%20service%20%26%20support/product%20support/workspace_public/product%20support%20knowledge%20base/crm/crm-ic/crm-ic/icwc_cbk_crm50_290306.pdf">https://portal.wdf.sap.corphttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/go/km/docs/corporate_portal/ws%20service%20%26%20support/product%20support/workspace_public/product%20support%20knowledge%20base/crm/crm-ic/crm-ic/icwc_cbk_crm50_290306.pdf</a>
    Please reward points if helpful
    Best regards
    Reyes

  • How to create Maintaince View and Help View

    Hi,
    Can u pls tell me the step by step procedure for how to
    create Maintaince View and Help View.
    And what's the use of these view's.
    Regards,
    Kumar

    FOR MAINTANENCE VIEW
    Create a table or a view in transaction SE11.
    A function group in SE80 transaction
    1>go to se54 transaction.
    2>give the name of the table /view starting from z.
    3>select "Generated Objects" radio button.
    4>click on "create/change" push button.
    5>you get a pop asking you whether to create modules ,click on YES
    6>give "authorization group" as temp.
    7>give the function group name created by you.
    8>click on "find Scr numbers "push button on the application tool bar.
    9>in the pop up that you get select the 1st option and press enter
    10>click on the create push button (it is beside "Find Scr numbers" push button)
    11>selct local object and pres enter.
    12>go to SM30 transaction.
    13>give the table/view name
    14>click on "maitain" push button.

  • Facing problems while creating tree view

    Hi gurus,
    I am facing problems while crating the tree view can please explain me what are the basic requirements for creating tree view and explain me  which are the methods i need to redefine.
    any answer is appreciated.
    Regards,
    Chetan Agali

    Hi Chetan,
    Maybe Poonam Assudani weblog may help you a little more. Check it's location here:
    /people/poonam.assudani/blog/2009/06/24/create-a-tree-view-display-in-crm-web-ui
    Kind regards,
    Garcia

  • View and Generic datasource in a transport request

    Hi All,
    I have created a view and a generic datasource by using the same in R/3. But I have saved them as local objects. Can some one please guide me through to collect them in a transport request to send them across the landscape.
    Many thanks in advance...
    Best Regards,
    Nene.
    Message was edited by:
            Nene BW

    View: SE11 -> Goto -> Object directory entry -> Assign a transportable package
    DS: RSA6 -> Transport button ...

  • Creating a view and use the view in a model

    Hi All,
    I am new to OBIEE and i have a requirement that i have two fields to be added to a subject area. Since we can't add queries directly to a model, i have to create a view and then put the query in it and then use the view in that model.
    I couldn't understand this much, if anybody could help me explaining in detail about the views and adding a query in it?
    Thanks
    Gohan

    Hi,
    Please refer the screen short below link
    http://imgur.com/b9sXS
    Right click any of one physial table(RPD physical layer) -> Select Properties -> from the properties windows choose 'Select' as Table type ->
    Please enable feature 'CREATE_VIEW_SUPPORTED' view just go to 'Features' tab and from the available option select 'CREATE_VIEW_SUPPORTED' is checked or not. If it is not checked then check the option.
    can you explain your current model and scenario?
    for example to you can use to fetch two fields from Subqueries,all trypes of joins(inner,left outer,right outer etc..,) its upto you case
    e.x:fetching two tables columns mapping subquery:
    SELECT column1, column2 FROM table1 WHERE column1 IN (SELECT column1 FROM table1
    INTERSECT SELECT column1 FROM table2 )
    SELECT column1, column2 FROM table1,table2 WHERE table1.column1 = table2.column1
    Alternative there is feature call "mulitple subject area" method will work (Union,Union all etc..,)
    Thanks
    Deva
    Edited by: Devarasu on Jun 6, 2012 4:40 PM

  • How to block user create personal view and select ALL VIEW?

    How to block user create personal view and select ALL VIEW?

    Hello,
    >create personal view
    To restrict creating personal view, you need to modify your existing permission level or create new one. Login with admin account to your site and open role.aspx page (http://siteurl/_layouts/role.aspx). Then click on existing permission or add new permission
    level-->and move to "Personal Permissions" section-->uncheck "Manage Personal Views - Create, change, and delete personal views of lists" option. Later you can assign this permission to all users, whom you don't want
    to allow to create.
    >and select ALL VIEW
    Since SP does not supports view level permission directly so you have to use custom solution or use below designer solution to restrict user to open any view.
    http://www.codeproject.com/Articles/433486/How-to-set-view-level-permissions-out-of-the-box-i
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Problem in creating the trasformation between my DataSource and InfoCube

    Hi All,
    when i am trying to create the trasformation between my DataSource and InfoCube through "Create Trasformation"...in the source of trasformation area when i am giving my DataSource 0CO-OM_CCA_1 and in the Source System T90CLNT090. system is showing the message "Source RSDS 0CO_OM_CCA_1 T90CLNT090 not active".......what to do ???.....then I went and check the monitoring tab there I got the system message that I am attaching belowu2026u2026Please provide the solution..........previously when i was doing that time there was no problem, but i was unable to transfer the data from my PSA to Infocube. So i have deleted the transfer rule and every thing and then when i am trying again i am getting this error.....so plz advise. The system message isu2026..
    u201CActive version of emulated 3.x DataSource 0CO_OM_CCA_1(T90CLNT090) cannot be displayed
    Message no. RSDS170
    Diagnosis
    The A version of the emulated 3.x DataSource cannot be displayed because no active transfer structure with PSA is available.
    Procedure
    Create a mapping between the 3.x DataSource and a 3.x InfoSource and activate the transfer rules. Select PSA as the transfer method in the 3.x InfoSource.
    Alternatively, you can migrate the 3.x DataSource in a DataSource to create an active version.u201D

    when u deleted tranfer rule , psa for the DataSource 0CO-OM_CCA_1 is no longer available..
    since u plan to use transformation, its better to migrate the DataSource 0CO-OM_CCA_1 to 7.0 version...
    just select the datasource and right click.. migrate to 7.0... once its migrated, u can create the transformation..also create info package and DTP for loading data to cube...
    if u don't want to migrate to 7.x .. then create infosource .. transfer rule and update rule..

  • Creating a view for a datasource

    Hi experts,
    I'm kinda new in BW and ABAP, but I have a requirement to get a datasource that contains data between SAP Tables. The scenario should be like this :
    1. Get all Personal Number from PA9038 (Customized Infotype) within a period ( ENDDA & BEGDA as the parameters )
    2. Get only the last Cost Center each person has from PA0001-KOSTL
    3. Get only the last Assessment Value from PA9040 (Customized Infotype)
    Is there any way to create a view based on that scenario? I've tried using the create view via SE11 and I was confused about joining the tables to get only the last data from PA0001 and PA9040.
    Or is there any method to build a Fact Table that contains the data I need?
    PS:
    Actually if I used ABAP Commands, I can generate this data in Internal tables and joining them into one internal tables.
    Probably the ABAP Codes are like this :
    SELECT pernr endda begda
       FROM pa9038
       INTO   CORRESPONDING FIELDS OF TABLE itab1.
    IF NOT itab1[] is initial.
       SELECT pernr endda begda kostl
           FROM pa0001
              FOR ALL ENTRIES IN itab1
           INTO   CORRESPONDING FIELDS OF TABLE itab2.
    *For getting the last record I can manipulate the data in itab2 like this
    SORT itab2 BY pernr ASCENDING endda DESCENDING begda DESCENDING.
    DELETE ADJACENT DUPLICATES FROM itab2 COMPARING pernr.
    ENDIF.
    LOOP AT itab1.
        READ TABLE itab2.
    ...... and so on.
    ENDLOOP.
    Thanks for the help...

    Hi Febrain,
    Identify the base tables from where you can fetch the data from. Then Using those tables you create a VIEW. Using the view you create a generic Datasouce.
    Please use this url for more info..
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/3f/548c9ec754ee4d90188a4f108e0121/content.htm
    Regards

  • Creating a view for a datasource with KONP

    Hi.
    I have the many times discussed problem with the reference field in datasources are not possible. Most provided solution was to create a view on KONP and e.g. RV13A. But if I want do this I run into an error:  Table RV13A is not transparent
    Could someone give me a hind how to solve this? I found no article about that.
    Thanks in advance,
    Nils

    Hi.
    I ever done that with FM, but a view would be much easier sometime.
    Thanks for your replies, perhaps I will try to use an InfoSet, but to do it by FM would not be much complicated.
    THX Nils

  • Problem in  Creating a view using infotypes PA0001,PA0002,...

    Hi,
    Can anybody please help me how to create a Maintainence view using PA0001,PA0002,PA0003,PA0006,PA0032.
    I tried to create it using se54.
    when i use PA0003 as check table, i am not able to create relations with PA0001,PA0002,PA0032,PA0006.
    Thanks in Advance.
    Vinay.BR

    You can create a view using SE11 as mentioned in the previous answer. Once you created, you can use SE16 to display the content of the view table. However, this does not serve much because you can also see the original table using SE16. Unless you want to generate screen dialog so that the view table can be used in SM30. This method can be done while editing the table in SE11. Click on Utilities->Table maintenance generator. However, this will be considered as a repair (modification to SAP standard) and you need repair key.

  • Error while creating a view and creating navigation link

    Hi,
    i created one view with one button and on click of button it has to navigate to DeleteOperationview.This is the exception i am getting while running.
    can u plz tell me where the problem might beee...
    com.sap.tc.webdynpro.services.exceptions.CreationFailedException: Cannot create view element implementation com.sap.tc.webdynpro.clientserver.uielib.standard.impl.Caption
    *     at com.sap.tc.webdynpro.progmodel.view.ViewElementFactory.createElement(ViewElementFactory.java:161)*
    *     at com.sap.tc.webdynpro.progmodel.view.View.createElement(View.java:177)*
    *     at com.utc.pwc.tasklistm.wdp.InternalDeleteOperation.wdCreateUITreeForGroup(InternalDeleteOperation.java:282)*
    *     at com.utc.pwc.tasklistm.wdp.InternalDeleteOperation.wdCreateUITree(InternalDeleteOperation.java:259)*
    *     at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.createUITree(DelegatingView.java:74)*
    *     at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:443)*
    *     at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)*
    *     at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)*
    *     at com.sap.tc.webdynpro.progmodel.view.ViewManager.bind(ViewManager.java:555*
    Regards
    Padma N

    Hi Padma,
    In Outline check the <b>id </b> property of the <b> Caption-Header </b> view elements from the properties window it seems some of the ids are duplicate it should be unique.
    Other wise delete the container elements and design the view layout once again.
    Re: dynpro table -dynamically change table header name
    Regards,
    Mithu

  • TP CONFIGURATION PROBLEM ( While creating a View Controller in Component )

    Hi All,
         I have a problem in TP Config while creating a View Controller in a component i am getting this Exception 
        Parameter lsm(&1) not in version 0004(&2) of tp configuration .
        This Exception Raised from this Function Module : RS_ACCESS_PERMISSION
    Any on can please help me to come out of this issue.
    Regards And Thank you,
    Nirmala.K

    Sounds like you should be using one of the Apps forums, perhaps {forum:id=210}

  • Regarding Creation of Views and Multiple Datasources.

    Dear All,
    I hv a COreport(Cost Center Report).the data is coming from tables of CO,FI,SD,MM.
    The Tables from CO are COEP,COSP,COSS,CSKS,CRHD,CSKU,CRCO,CSKB
    The tables from SD are VBRK,KNA1
    The Tables from MM are EKKO,LFA1.
    The table from FI are SKAT,BKPF,BSIK,BSAK.
    1)Can i create a view for these tables?Can a view be called a DS.
    2)With these tables i hv Multiple DS's.So can i use Multiple DS's to extract data
    3)Can i use FM to extract Data?If i use FM,vll i face errors during Support?
    4)Please Guide me how to create Views for these tables and How to handle Multiple Datasources.
    Thanks

    Noor,
    Have you checked suitable business content datasources.
    I think you have lot of options
    FIrst You need to have a multiple data source
    --> Check for suitable business content datasources
    --> check whether these details are already available in BW through any means (through other standard datasources to ODS)
    --> Create customized extractor finally as a last option
    All these tables are atandard and nost probably you would find a standard datasource ( again multiple) I am sure for costing you have standard
    Few or more standard datasources or already existing BW objexts with 1 or 2(rarely) customized extractor would do the purpose that you look for,....
    Good Luck !!!
    Regards
    VJ

  • Problems in creating Materialized View from 10g R2  to 11g

    Hi,
    We have two databases in 10g Release 2. These databases are on two different servers and we use
    Materialized views to replicate data between these servers. We are currently using 64 bit version of
    oracle 10g release 2 for LINUX.
    Oracle Database 10g Release 10.2.0.1.0 - 64 bit Production
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    We use CENTOS 5 - 64 bit edition
    We upgraded one of the databases to 11g (We exported the data from old database and
    imported it in new database) . Then we tried to create a Materialized view with incremental refresh
    on it where the base table is in the second Oracle 10g database.
    The problem is that it is not letting us create the view with FAST Refresh. It kept on giving ORA-12028
    error. We tried different remedies suggested on forums like creating a view with ROWID, but still it
    continued giving us the same error. We also synchronized the characterset of Oracle 10g and Oracle 11g
    installations but still it did not work.
    Our base table size is pretty large (over 10 Million records) and if we do a full refresh, it takes hours to
    refresh it.
    Without incremental refresh, we will not be able to fucntion, and to upgrade both database simultaneously
    we will need a large down-time which also we can not afford.
    Please advise what should we do.
    Best Regards
    Madhup
    Edited by: Madhup on Mar 2, 2009 10:45 AM

    Hello,
    Yesterday I met the same problem and very sad about this, however, my story is much more complicated (I think so).
    I have 6 databases:
    2 - 11g
    2 - 10g
    2 - 9i
    Every database of each release has different characterset(UTF8 and AL16UTF16).
    I am trying to create Materialized view with FAST REFRESH on Oracle 11g, when master tables are located on 10g database and 9i database.
    Materialized view, which points to 9i database, was successfully created.
    Materialized view, which points to 10g database, gets ORA-12028
    Like you, I tried many notes from METALINK and thought at the begining that the problem is my characterset. But, when the materialized views were successfully built on Oracle 9i database, I understood that the problem is something else.
    Did you find the actual reason why this issue does not work??
    Thanks,
    Alex

Maybe you are looking for