View in afru table

i am using a view in afru table and when i m using rso2 and retriving data it is giving a error smeng refers to a differant table . Will u give some clue to ractify this problem

Since it is a Sap table refered to a differant table i can not change and i need the filed name smeng which is refering to afvv-meinh . In this situation how i will generate view

Similar Messages

  • Mat doc not getting updated in AFRU table

    Hi All,
      While doing the confirmation cancellation for the rework order the referance material document is not getting updated in the AFRU table.
      The referance operation set is used for the rework production order and there are no component assigned ,the components to be issued are  entered at the time of confirmation.
    The material document is getting updated in case of confirmation in AFRU table but the same is not getting updated in WABLNR field in case of cancellation of confirmation.
    When I checked MSEG all the material documents are observed with referance to the order number but the same are not displayed in AUFM and AFRU table.
    This behaviour is not obeserved in case of normal production orders. what can be the reason behind the same?
    Regards
    Ankush

    Dear Ankush
    please see FAQ note 540392 question 11.
    11.        Question:
    Despite successful goods movements, the material document is not
    updated in field AFRU-WABLNR. Where do I find the document number?
    Answer:
    As of Release 3.1H, the system provides the reference from
    confirmation to material document via table AFWI. The system still
    only uses AFRU-WABLNR in the case of header confirmations or
    confirmations for an individual operation. With milestone
    confirmations or with separate goods movements, in other words goods
    movements that are posted in the update program or via requests
    (BAPIs, collective entry, mass processing, BDC/PDC), table AFWI is
    always supplied due to technical reasons.
    BR Sabine

  • [ADF Help] How to create a view for multiple tables

    Hi,
    I am using Jdeveloper 11G and ADF framework, and trying to create a view to update multiple tables.
    ex:
    Table A has these fields: ID, Name
    Table B has these fields: ID, Address
    A.ID and B.ID are primary keys.
    B.ID has FK relationship with A.ID
    (basically, these tables have one-to-one relation)
    I want to create a view object, which contains these fields: B.ID (or A.ID), A.Name, B.Address.
    So I can execute C,R,U,D for both tables.
    I create these tables in DB, and create entity objects for these tables.
    So there are 2 entity objects and 1 association.
    Then I create a view object based on B and add fields of A into the view:
    If the association is not a "Composition Association",
    when I run the model ("Oracle Business Component Browser") and try to insert new data, fields of A can't edit.
    If the association is a "Composition Association", and click the insert button, I will get
    "oracle.jbo.InvalidOwnerException: JBO-25030: Failed to find or invalidate owning entity"
    If I create a view object based on A and add filed of B into the view:
    When I run the model and try to insert new data, fields of B can't edit, no matter the association is or is not a composition association.
    So... how can I create a view for multiple tables correctly?
    Thanks for any advices!
    Here are some pictures about my problem, if there is any unclear point, please let me know.
    http://leonjava.blogspot.com/2009_10_01_archive.html
    (A is Prod, B is CpuSocket)
    Edited by: user8093176 on Oct 25, 2009 12:29 AM

    Hi Branislav,
    Thanks, but the result is same ....
    In the step 2 of creating view object, I can select entity objects to be added in to the view.
    If I select A first, and then select B (the "Source Usage" of B is A), then finishing the wizards.
    When I try to create a new record in the view, I can't edit any properties of B (those files are disabled).
    If I select B first, and then select A in crating view object, the result is similar ...
    Thanks for any further suggestion.
    Leon

  • Ability to query on all columns from a view with multiple tables

    I have view with 4 tables. view has about 50 columns.
    hypothetically, I want to build a form to give the user an ability to query on any of those 50 columns. user can search on one or more fields.
    what is the best way to write the query to retrieve the results without performance impact.
    please let me know if the question is not clear.

    If you want to permit them to query any of 10 fields with no restrictions, you could create 10 separate single-column indexes. The optimizer would have to try to pick the best of these indexes if you specified multiple search criteria. But since you have a view which presumably means that you've got multiple other indexes involved for the underlying join conditions, you'd probably want/need to combine the column lists of the indexes you're adding for searches with the indexes you've created for joins, which requires looking at the text of the view and figuring out the best way to optimize the 10 single-column searches. Of course, it is possible that the optimizer could chose to do something like a b-tree to bitmap conversion on multiple indexes which could allow it to use multiple independent indexes for your queries, but that's generally not ideal performance-wise.
    All this is a fancy way of saying that there probably isn't a cut and dried answer to your question. You need to figure out the queries you're trying to optimize (say, the 10 single-condition queries) and you need to figure out what set of indexes on the various underlying tables provides the best performance weighing those benefits against the cost on other side of maintenance during DML. Which is going to depend on the text of the view, the underlying tables, the existing indexes, etc.
    Justin

  • Is there a way to view all the table names in a certain schema?

    Is there a way to view all the table names in a certain schema?

    SELECT table_name FROM user_tablesThat won't do much good given this piece of information:
    i am trying to finish a lab for school but i don't know what tables are in my
    professor's schema. The appropriate solution is
    SELECT table_name
    FROM all_tables
    WHERE owner = 'PROFESSOR_YAFFLE'
    /This will show the names of the tables which Prof. Yaffle has granted to us.
    Cheers, APC

  • AFRU table data - taking long time to access

    Hi,
    In my report i am accessing the afru table, but it takes a lot of time. what should i do ? how can i archive the data from this table ?
    Regards,

    Hi Khushi,
    Your query is simple but quite bad in terms of performance.
    Change it to something like:
    SELECT [...]
    FROM afko
    INNER JOIN afvc ON afko~aufpl = afvc~aufpl
    INNER JOIN afru ON afvc~rueck = afru~rueck
    WHERE afko~aufnr = [...]
    For more information you can check OSS note 187906 Performance: Customer developments in PP and PM.

  • AFRU table when a confirmations at the order level is entered?

    Hello,
    I know that the users can enter a confirmation in the operation level (with the co11n transaction) or in the order level (with the co15 transaction).
    What I want to know is if physically, in the AFRU table, when a user confirm directly an order (co15), do we find lines of confirmation for all the operations with quantities for all the operations (proportional) or just one line with the operation empy (at 0 for exemple) and all the quantity in this line?
    Thanks a lot,
    Regards,
    Julien

    Hi,
    When you confirm order using CO15 at order level, there will be only one entry in AFRU table for all operations and Operation field in the AFRU table would be blank.Only Order number woule be present.
    Regards,
    Krishna Mohan

  • View dependent on table

    hello gurus
    i'm running oracle 8.1.7.4. . we can describe a view but I need to know how can we find out on which tables a view is based on and what 's it's definition
    Thanks

    Hi,
    >>I need to know how can we find out on which tables a view is based on
    In addition, you can also make use of the *_DEPENDENCIES data dictionary views in order to list informations about direct dependencies and dependency among some schema objects.
    e.g:
    LEGATTI@ORACLE10> create table t1 (id1 number);
    Table created.
    LEGATTI@ORACLE10> create table t2 (id2 number);
    Table created.
    LEGATTI@ORACLE10> create view my_view as select id1,id2 from t1,t2;
    View created.
    LEGATTI@ORACLE10> select * from user_dependencies where name='MY_VIEW';
    NAME        TYPE    REFERENCED_OWNER   REFERENCED_NAME   REFERENCED_TYPE
    MY_VIEW     VIEW    LEGATTI            T1                TABLE         
    MY_VIEW     VIEW    LEGATTI            T2                TABLE          Cheers
    Legatti

  • View, Clustur & Pooled Table

    Hi,
    I have few questions on the above topics.
    How can we retreive data from View , Clustur & Pooled Table using Select statements.
    If possible can you explain me with an example.
    what kind of data can we retreive from them . for example BSEC - how can we use it .
    Thank you in advance.
    Ry

    hi,
    You can access them using SELECT statements,  you CAN NOT use joins though.
    For example, BSEG is a cluster table.
    report znave_0003 .
    data: ibseg type table of bseg with header line.
    parameters: p_bukrs type bseg-bukrs.
    select * into table ibseg from bseg
            up to 100 rows
               where bukrs = p_bukrs.
    loop at ibseg.
      write:/ ibseg-bukrs, ibseg-belnr.
    endloop.
    to retrieve the data from a view....
    Declare the internal table with the type of View.
    Data : itab type table of zview001.
    or write select query as
    select * from zview001 into corresponding fields of itab.
    Also you can uncheck the Unicode checks active (checkbox) in the program attributes.
    {When you check that unicode checkbox, you should use an internal table without a header line. Instead you should declare a work area)
    Hope it helps...
    ~~Guduri

  • View on cluster table

    hi all,
    I am trying to create a view for the tables bkpg and bseg.but am unable to as the error is "bseg is cluster table".
    can't  we create view for cluster table. if can, how

    You cannot create a view because BSEG is in a cluster table
    For this reason SAP has provided some "secondary index" tables, look for :
         BSAD     Accounting: Secondary Index for Customers (Cleared Items)
         BSAK     Accounting: Secondary Index for Vendors (Cleared Items)
         BSAS     Accounting: Secondary Index for G/L Accounts (Cleared Items)
         BSID     Accounting: Secondary Index for Customers
         BSIK     Accounting: Secondary Index for Vendors
         BSIM     Secondary Index, Documents for Material
         BSIS     Accounting: Secondary Index for G/L Accounts
    Regards

  • View on DB Table

    I want to create a view on DB Table eg CSKS. Can anyone show me how to do this or Show me where I can find information to create view on DB Table.
    Thanks.

    hi anil,
    In database theory, a view is a virtual or logical table composed of the result set of a query. Unlike ordinary tables (base tables) in a relational database, a view is not part of the physical schema: it is a dynamic, virtual table computed or collated from data in the database. Changing the data in a table alters the data shown in the view.
    The result of a view is stored in a permanent table whereas the result of a query is displayed in a temporary table.
    Views can provide advantages over tables;
    They can subset the data contained in a table
    They can join and simplify multiple tables into a single virtual table
    Views can act as aggregated tables, where aggregated data (sum, average etc.) are calculated and presented as part of the data
    Views can hide the complexity of data, for example a view could appear as Sales2000 or Sales2001, transparently partitioning the actual underlying table
    Views take very little space to store; only the definition is stored, not a copy of all the data they present
    Depending on the SQL engine used, views can provide extra security.
    Views can limit the exposure to which a table or tables are exposed to the outer world
    Just like functions (in programming) provide abstraction, views can be used to create abstraction. Also, just like functions, views can be nested, thus one view can aggregate data from other views. Without the use of views it would be much harder to normalise databases above second normal form. Views can make it easier to create lossless join decomposition.
    Rows available through a view are not sorted. A view is a relational table, and the relational model states that a table is a set of rows. Since sets are not sorted - per definition - the rows in a view are not ordered either. Therefore, an ORDER BY clause in the view definition is meaningless and the SQL standard (SQL:2003) does not allow this for the subselect in a CREATE VIEW statement.
    Read-only vs. updatable views
    Views can be read-only or updatable. If the database system is able to determine the reverse mapping from the view schema to the schema of the underlying base tables, then the view is updatable. INSERT, UPDATE, and DELETE operations can be performed on updatable views. Read-only views do not support such operations because the DBMS is not able to map the changes to the underlying base tables.
    Some systems support the definition of INSTEAD OF triggers on views. This technique allows the definition of logic that shall be executed instead of an insert, update, or delete operation on the views. Thus, data modifications on read-only views can be implemented. However, an INSTEAD OF trigger does not change the read-only or updatable property of the view itself.
    Advanced view features
    Various database management systems have extended the views from read-only subsets of data. The Oracle database introduced the concept of materialized views, which are pre-executed, non-virtual views commonly used in data warehousing. They are a static snapshot of the data and may include data from remote sources. The accuracy of a materialized view depends on the frequency or trigger mechanisms behind its updates. DB2 provides so-called materialized query tables (MQTs) for the same purpose. Microsoft SQL Server, introduced in the 2000 version, indexed views which only store a separate index from the table, but not the entire data.
    Equivalency:
    A view is equivalent to its source query. When queries are run against views, the query is modified. For example, if there exists a view named Accounts_view and the content is:
    accounts view:
    SELECT name,
           money_received,
           money_sent,
           (money_received - money_sent) AS balance,
           address,
      FROM table_customers c
      JOIN accounts_table a
        ON a.customerid = c.customer_id
    The application would simply run a simple query such as:
    Sample query
    SELECT name,
           balance
      FROM accounts_view
    The RDBMS then takes the simple query, replaces the equivalent view, then sends the following to the optimiser:
    Preprocessed query:
    SELECT name,
           balance
      FROM (SELECT name,
                   money_received,
                   money_sent,
                   (money_received - money_sent) AS balance,
                   address,
              FROM table_customers c JOIN accounts_table a
                   ON a.customerid = c.customer_id        )
    From this point on the optimizer takes the query, removes unnecessary complexity (i.e. it is not necessary to read the address, since the parent invocation does not make use of it) and then sends the query to the SQL engine for processing.
    thanks
    karthik
    reawrd me if usefull

  • Updation of Custom Fields in AFRU table Using Customerexit

    Hi all,
    I added two fields in CO11n Tcode using SCREEN EXIT - CONFPP07 and iam trying to update these two fields in AFRU table
    using CONFPP05.  But iam unable to update these two field .
    see this code in CONFPP05
      LOOP AT afrud_tab.
        afrud_tab-zzshift = wa_afrud-zzshift1 .
        afrud_tab-zzoperator = wa_afrud-zzoperator1 .
        MODIFY afrud_tab.
      ENDLOOP.
    Plz help me regarding this..

    Thanks for reply
    Ya i added two fields in confpp07 .
    see the code :
    *&  Include           ZXCOFTOP
    tables : afrud.
    DATA : WA_AFRUD TYPE AFRUD,
            IT_AFRUD TYPE TABLE OF AFRUD.
    Include           ZXCOFU24
    MOVE afrud-zzshift1 TO wa_afrud-zzshift1.
    MOVE afrud-zzoperator1 TO wa_afrud-zzoperator1.
    Even though it is not updating . except these two fields.
    Regards,
    Srinivas

  • Data not coming in AFRU table for 21.05.10 for sometime

    Could you please tell me that why does this happen?
    For a particular date i.e. for 21.05.10, in the afru table the data was not there, it was saying "No Entries for that date" (in se16). Actually there is a z-report which was not showing the per ton draw calculation for that particular date. But for the other dates, it was showing fine.
    Infact, when in the afru table it was showing "No Table Entries found for that particular date", parallely in the z-report it was showing a Default value "341" for all items for 21.05.10.
    But just after 10 mins. the data got updated and its showing fine.
    What can be the problem? Coz its happenning often, and we the abapers are getting tight scold. But the program is correct. I have checked.
    Please Suggest.
    Saheli

    Saheli,
    You need to let us know how you program is designed, if the data is fetched from AFRU table and in AFRU table there were no entries for a posting date, how can you get a value in your custom report?
    Please explain what your report does, so that we can i think and suggest as what might be going wrong.
    Regards,
    Prasobh

  • Confiemed qty in Afru table

    Hi expert
       How to get the cancelled operations in the afru table
       since i need to calculate the confirmed qty
    Regards

    Dear Manoj,
    while selecting records from table AFRU in where condition maintain  field Stokz and stzhl fileds as follows.
    Select filed1 field2
             from Afru into table itab
             where stokz <> 'X ' and stzhl = '  '.
    This will solve your problem. 
    Feel free to ask if you have any doubts.
    Regards,
    Vijay

  • Material doc in AFRU table

    Hi Guys,
    Need a little help, Can any body tell me why sometimes there are enteries in AFRU table with material doc number (WABLNR) and some time material doc number field came as blank. Even though in MSEG i see material doc number (MBLNR) but its blank in AFRU-WABLNR?? Any help be appreciated.

    >
    samiaalis wrote:
    > Hi Guys,
    >
    > Need a little help, Can any body tell me why sometimes there are enteries in AFRU table with material doc number (WABLNR) and some time material doc number field came as blank. Even though in MSEG i see material doc number (MBLNR) but its blank in AFRU-WABLNR?? Any help be appreciated.
    AFRU table is for order confirmation
    Material document will create if the material is subjected to goods movement
    In case if you use auto GI and GR, then at the time of confirmation, system will post the goods movement
    at the time of operation confirmation, if the operation is linked to goods movement( if raw material is assigned to operation or final operation related to GR, that means auto GI or GR, then along with confirmation, material document will create.
    In case for particular operation , consider you have n't assign any raw material for the operation , at that time, for that confirmation, No material document is posted, for that confirmation, material document field in AFRU, will be blank

Maybe you are looking for

  • Calendar App crashes in Month view

    I have noticed today that when I try to navigate forward through the months of the year from Feb using either page swiping or the navigation arrow > at the base of the app, the app crashes each and every time. A reboot has not resolved this. If the v

  • GREAT! The headphone jack problem has hit

    Well, after about one month of owning what I thought was a great player my headphone jack is crapping out! To answer quesitons about abuse in advance, let me say this >>> From day one, i have used an L-shape extension plug. So for anyone who thought

  • HISTORY MANAGE CHECK BOX

    HI MASTERS, WHY WE UUSE HISTORY MANAGE CHECK BOX IN ASSET MASTER, AND IN ASSET CLASS, I THINKING  IT IS USED FOR UPLOADING THE ASSETS TO ASSET HISTORY SHEET IS IT. PLEASE GIVE REPLY THIS , POINTS WILL B ADDED.

  • How to pay fix Bonus to an employee in bulk transaction

    Dear I want to know how to upload bulk data in oracle application for particular element with pay value.Write now i upload through API but is there any possibility, we can use through Batch Element entry without entering individual pay value.this kin

  • Multiple track (or region) selection for mass editing and deleting.

    My project has multiple tracks, and it is too long. So I'd like to be able to select multiple tracks and then remove regions across multiple tracks in one move rather than having to delete regions track by track, and then moving them back to close th