Technical Reference question: Relationship between WIP Tables & INV Tables

Hi Community,
Due to my profile is more closer to the Financials Area than the Manufacturing and Work In Process Area, I want to leave the following question in the community, in order to see if anybody can give me an answer.
We want to modify a view created for its use in Discoverer. This view, retrieves the total number of units or kilograms that we have of all our items in all of our subinventory organizations, till submitted date. For all this itms, we want to know how many of them, and in which quantity should we depreciate them (is that to say, we categorized those items based on its antiquity in stock, to 6 months, 12 months, 18 months and more then 18 months). How we know the time range?, making a comparison between its last purchase date and its last sales date; and the result of that, with the submitted date.
This logic, works fine for all items added to our stock as a result of a Purchase Order and a Sales Order, cause in both operations, we can get the purchase date and the sales date; but for all of our items that we manufacture in our manufacturing process, all those items appears in the Discoverer Report, totally depreciated; is that to say, with an antiquity grater than 18 months. And in some cases that is correct, cause there are materials and items in stock since beginning implementation and migration from the old system, but for a huge number of them that is not correct, cause its stock is "constantly" up and down based on the manufacturing process or because its components are all of them purchased by a Purchase Order, but the final item get as a result of the manufacturing process, does not have this purchase date (does not inherit the first or last purchase date from any of its components), cause the only date that we can retrieve is the production date (transaction date) when the item was created.
So we want to include this production date in the logic of the query used to creation of the view which feed the discoverer report or to know the relationship between the WIP tables and INV tables (those where the items are reflected), in order to match the item, created in the manufacturing process, and the stock of that item in our subinventory organization.
Thanks in advance for your help and assistance.
Luis

Hello Experts, One of the Interview I faced a scenario,I have two tables T1,T2 and i have access to oracle and informatica .How can i know the relationship between two tables?  Thankssirii

Similar Messages

  • Adobe Livecycle Designer Question (relationships between nested tables)

    Hi,
    I am currently working on a PDF document using nested tables.
    I have already created the relationships between the nested tables in the context area.
    However, I do not know how to create the same relationships between the nested tables in the hierarchy (layout.)
    Any and all help will be greatly appreciated.
    Thank You.

    Hello John,
    We define data in the context area only. The defined data in the context area will be available in the Layout area in the hierachy model(Data View tab).
    In the Layout tab, we just need to design the form. 
    Hope I am clear. Please let us know if you want more details.
    Thanks
    Ramakrishna

  • How to create a Foreign key relationship between 2 user defined tables...

    Hi Folks,
    I have created two user defined tables... Where in i want to create foriegn key relationship between the 2 tables.... Can anyone guide the step by step procedure to do this scenario...
    Any help would be highly appreciated...
    Thanks

    Hi
    1.  In the 2nd table call the field of the 1st table which is a primary key.
    2.  Give the same field and dataelement name.
    3.  Select that field and then click on the foreign key field icon which is beside Search Help button.
    4. Then give short text, and the 1st table name.
    5. Then in the below box give the 2nd table name and 2nd table field name which you have called from 1st table.
    6. Then click on copy, then u will be able to see Check table name and check table field name beside foreign key table name.
    7. Then again click on copy.
    Regards
    Haritha.

  • To Identify Relationship between records in a table

    Hi
    I need to write a query to identify what relationship exists between records in a table.
    For example,In our system a manager can have more than 1 subordinate as well as an employee can also have more than 1 manager.
    I need to provide the relationship for a given set of employee-ids whether it is
    1 is to 1,
    1 is to many,
    many is to 1,
    many to many.
    Employee     Relationship     Relationship Description
    John     1 is to M     Implies John is reporting to multiple managers who have only one subordinate
    Stuart     1 is to 1     Implies Stuart is reporting to only one manager who has only one subordinate
    Robert     M is to 1     Implies Robert is reporting to only one manager who has multiple subordinates
    Martha     M is to M     Implies Martha is reporting to multiple managers who have multiple subordinates
    Can you please help me with this query?
    Regards
    Kapil

    To make things simple lets assume the following table structure and data
    CREATE TABLE EMP
    ENAME VARCHAR2(10),
    MNAME VARCHAR2(10)
    Data for M:1 Relationship
    INSERT INTO EMP VALUES ('John','Linda');
    INSERT INTO EMP VALUES ('Robert','Linda');
    Data for 1:M Relationship
    INSERT INTO EMP VALUES ('Peter','Stuart');
    INSERT INTO EMP VALUES ('Peter','Linda');
    Data for 1:1 Relationship
    INSERT INTO EMP VALUES ('Mary','Tim');
    Data for M:M Relationship
    INSERT INTO EMP VALUES ('Chris','Roger');
    INSERT INTO EMP VALUES ('Tom','Roger');
    INSERT INTO EMP VALUES ('Stephen','Roger');
    INSERT INTO EMP VALUES ('Stephen','Zoe');
    Now if I search for Chris and Mary I should get the result as:-
    Chris M:M
    Mary 1:1
    Hope this clarifies ;-)

  • Relationship Between PO / GR / Services Tables

    Hello experts
    I am trying to find out the relationship between ESSR ESLH ESLL EKPO and EKBE tables.
    Below is some sample data and my requirement. Could you please tell me how I should consider linking the tables. Am I missing any table in between. Out of the 2 sevices , only one is accepted , 300000003. I need information like PO#, SES#, Sevice#, Accepted Qty, Mat. Document#
    EKPO                              
    EBELN     EBELP     PACKNO                    
    4300000000     10     289271                    
    ESLH                              
    PACKNO     FPACKNO     HPACKNO     EBELN     EBELP          
    289271     289271     289271     4300000000     10          
    289272     289271     289271     4300000000     10          
    ESLL                              
    PACKNO     INTROW     EXTROW     SRVPO        PACKAGE        SUB-PACKNO     ACT_WERT
    289271     1     0                    X        289272            0
    289272     2     10     3000000003                0            10
    289272     3     20     3000000002                0             0
    ESSR                              
    LBLNI        PACKNO     EBELN     EBELP               
    1000052342     289279     4300000000     10               
    EKBE                              
    EBELN         EBELP     VGABE     BELNR          BEWTP     LFBNR     
    4300000000     10     9     1000052342     D     1000052342     
    4300000000     10     1     50000451255     E     1000052342     
    WHAT I NEED                               
    EBELN          EBELP     LBLNI          SRVPO     ACT_WERT     BELNR     
    4300000000     10     1000052342     3000000003     10     50000451255     
    Many thanks & regards!
    Sanjyot

    Hi Experts
    I'm haveing a similar problem, and I need your help.
    I'm trying to connect PO number with Service entry sheet and service numbers, but the link between tables don't work.
    EXEMPLE:
    EKPO
    EBELN    PACKNO
    1010          212
    ESSR
    EBELN   LBLNI       PACKNO
    1010        2000         215
    Link between PO and Service entry sheet - DONE (NOT using ESSR-PACKNO)
    ESLH
    EBELN    KNUMV     HPACKNO     FPACKNO     PACKNO
    1010          10               212               209               212
    1010          11               212               212               213
    ESLL
    PLN_PACKNO SRVPOS
    213                        1
    213                        2
    So, going to ESLH and getting the PACKNO, will allow me to go do ESLL and get the SRVPOS.
    The problem is that for a certain PO I have, in ESLH 2 entries.
    Can anyone confirm that EKPO-PACKNO=ESLH-FPACKNO and not HPACKNO? I think that would solve my problem.
    If someonehas other ideas, please let me know.
    Many thanks,
    Joana Faria

  • One to One relationship between Dimensions and Fact Tables

    Hi,
    Not a real Discoverer question, but seeing as there is such a huge pool of talent here, I thought I'd ask anyway...
    Is the concept of having a one to one join between a Dimension and a Fact Table an Acceptable Thing (tm). I'm not talking about a degenerate dimension, as the Dimension would hold additional attributes.
    It's something I'm trying to get my head around and would appreciate any viewpoints.
    Thanks,
    Andy

    Hi Andy,
    There is of course no distinction in SQL between 1-1 and 1-n joins, but in your database design you would avoid denormalizing data into a dimension table if it was only ever used once.
    From a Discoverer perspective setting the join to 1-1 controls how aggregate queries are constructed. Normally, if you have a master-detail 1-n relationship and you aggregate items in both tables then you will get an incorrect result for the master table because the number of rows are multipled by the n detail records. Similarily if you have 2 detail tables in the query and you aggregate items in a detail table you will get incorrect results. Discoverer recognises these situations and raises an error.
    Setting the join as 1-1 tells Discoverer that it will get the correct results in these situations and therefore no error is raised. So it is perfectly acceptable to set the joins as 1-1 as long as you know the implications.
    Hope that helps,
    Rod West

  • How to implement one to many relationship between two Document Line Table

    Hi,
    I want to implement the following relationship into user defined tables:
    Example Situation:
    There are tables A, B and C.
    For one record of Table A, there could be multiple records in table B.
    For one record of Table B, there could be multiple records in table C.
    i.e. A(1) -> B(n) [One to many relationship]
         B(1) -> C(n) [One to many relationship]
    finally: A(1) -> B(n) -> C(n)
    How can I achieve this? If I make Table A as Document and table B & C as Document Line and then make them UDO, will it work? Kindly suggest me a solution.
    Regards,
    Sudeshna.

    Hi,
    I think that the database representation is exactly what you ask for. 3 tables, A, B, C. A should have a UDF that is linked to B table, and B should have a UDF that is linked to C table.
    You should manage the database transactions, and the UI to support all this stuff.
    Regards,
    IBai Peñ

  • Relationship between PRPS and FPLT table

    How to arrive to a billing plan in FPLT table with project ID or WBS ID in PRPS table.
    Thanks,
    Vaishnavi

    Hi
    I hope there is no common element in both tables..extract the mile stone data from FPLT and MLST tables and then WBS element data from PRPS and MLST tables (first two gives the mile stone and next two tables gives the WBS element to which mile stone is attached)..
    thanks

  • Relationship between mara and mast table

    Hi gurus i have to get the components of one material for example
    if the material is paper i need to know the components of this paper (cellulose)
    any idea?
    i know all materials are in mara table but i find the transaction  cs03 i put a trace and i can see that this transaction uses de mast table but i dont know how to relate the mast table with mara table

    Pass the material and plant to function module CSAP_MAT_BOM_READ, this fm is used in CS03.
    Note: This will will only give you the immediate level, so again pass the material obtained from fm to the same fm to get the next level.
    Is you requirement to only get the child components of a FERT part ?

  • RELATIONSHIP BETWEEN VBAK/VBAP AND V46R_HEAD TABLE

    Hi,
    can you please tell me that is there any relationship between VBAK and  V46R_HEAD TABLE or VBAP and V46R_HEAD TABLE table.
    where V46R_HEAD TABLE is a structure and i want to display sme fields of vbak and some of V46R_HEAD  and some of VBAP.
    I got the relation between VBAK and VBAP ie. the field VBELN. But i am not getting the relation with V46R_HEAD sturcture.
    Please help me to solve this problem.

    Hi,
    the field vbeln is present in V46R_HEAD also.
    Please check it!!  Please do a CTR+F and look for VBELN.
    Regards.

  • Multiple relationships between 2 tables in report model

    if i have 2 relationships between the same two tables. how do i use one over the other?
    for example, i have 2 tables order and ordeDate table , with the definition of:
    order table:
    orderid int,
    qty int,
    orderdate date)
    and orderDate table:
    (id int,
    endOfDay date,
    endOfMonth date)
    i created one relation ship as orderDate = endOfDay and anothe relationship as orderDate = endOfMonth. some of my reports would need to use the relationship between orderDate = endOfDay and the month end reports would need to use yhe relationship between
    orderDate = endOfMonth. How do I select one relationship over the other when building the report?
    Ideally the database should have been redesigned, which cannot be done at the moment as this will be done on the next project

    Your table design is completly wrong. I am now sure how you are maintaining OrderDate table. SQL Server is RDBMS. Without relation how will you pick those rows from Order table whose order date is equal exactly equal to datefield in OrderDate table. The
    only way is to derived endofDay and endofMonth in the select query directly. I understand endofMonth. But what is EndofDay ? And that too a date datatype ??
    You can run the below query but it will not return specific order date from order table,
    SELECT * FROM [ORDER] WHERE
    CONVERT(CHAR(10),ORDERDATE,101) IN (SELECT CONVERT(CHAR(10),endOfDay,101) FROM ORDERDATE)
    SELECT * FROM [ORDER] WHERE
    CONVERT(CHAR(10),ORDERDATE,101) IN (SELECT CONVERT(CHAR(10),endOfMonth,101) FROM ORDERDATE)
    Even if i JOIN the two table by orderdate and endofDay/endofMonth, we will not received specific orderDate. And this is becouse if your Order table contains multiple orderDate that are matching to either endofDay or endofMonth, the final output will contain
    multiple orderDate details. I don't think this is what you need. Therefore you need to modify the OrderDate table or provide us the definition for endofDay and endofMonth, and how are you maintaining.
    Regards, RSingh

  • How to find the table relationship between BSEG-BELNR with CE11000 table.

    Hi,
    Please help me to find out the table relationship between BSEG with CE11000 table.
    I have BSEG-BELNR value.
    Thanks in Advance
    Shankar

    Hello,
    BAsically the relationship can be foundon the basis of cost centre it will be good if you paste the structure ce11000.
    I have worked on it and as far i as i can recall it contain value fields right...like vv205,vv305 etc?
    Provide me more details.
    Are you preparing some reconcillation report for costing based COPA or Account based COPA..?
    Hopefully will help you out..
    Regards,
    Nabheet

  • Relationship between two facts

    I have 2 fact tables (Encounter and Visit) which have an optional 1 to many relationship.  For a query the users are trying to run, they are using DepartmentDim, which is related to both facts, and AppointmentStatusDim, which is related ONLY to VisitFact.
     They want to see a count of encounters by department and appointment status.  The problem is when they pull in the count from the Encounter measure group, it is showing the same count for all of the values in each row.  
    How do I need to create the relationship between the two fact tables so that I can use dimensions that are related to only one fact table but pull in a measure from the other fact?
    Any help is appreciated.
    Thanks,
    Andy

    Sounds like you need a bridge table to complete the M2M relationship...
    FactVisit
      DepartmentKey
      AppointmentStatusKey
      EncounterGroupKey
    FactEncounter
      DepartmentKey
      EncounterGroupKey
    BridgeVisitEncounter
      EncounterGroupKey
    DimAppointmentStatus <-- FactVisit --> BridgeVisitEncounter <-- FactEncounter 
    This will allow you to slice measures in the FactEncounter measure group by attributes in the DimAppointmentStatus dimension...
    BI Developer and lover of data (Blog |
    Twitter)

  • Where to find the information regarding relationships between the tables?

    I am developing a Windows based app which among other things let’s users view SAP table schema and relationships.
    If I use SAP GUI and dig up a bit on say the MARA table I can see that
    Material Master (MARA) is related with
    1) MaterialDescription (MAKT) on columns MANDT and MATNR
    2) MaterialPlantData (MARC) on columns MANDT and MATNR
    and so on…
    My question is - in which table the information regarding relationships between the tables is stored? There must be a data dictionary table which would be storing the relationships data. Which is it? Note: I will programatically access the table, NOT from the UI.

    Thanks a lot...
    I am still working on it, but here are the current findings. DD05S, DD08L and DD08T: The schemas for these tables were very promising for the thing I was looking for. Unfortunately the data within dose not seem to serve my exact purpose.
    I found another one DD26S, which has almost 90% of the relationships I wish to explore. Do you know what is it supposed to contain?
    Thanks a lot for your help.
    Message was edited by: Salil Khedkar

  • OTL - Table Relationship between Timecard and Workflow

    Hi All,
    Our employees work multiple projects and charge their time thru OTL to each of individual project as appropriate every pay period. Each project has it's own project manager. When an employee sumbits his timecard for approval the workflow routes an approval notification to EACH project manager. Every project manager must approve the employee's timecard before the "overall" timecard status is APPROVED.
    For example, an employee works on four diffent projects - each project has a different PM. When the employee submits his timecard for approval an approval notification is sent to all four PMs. However, more than occasionally at least one of the PMs doesn't approve the timecard in a timely fashion so the employee's timecard is "hung up" waiting for approval.
    I need to write a query in which I specifiy both an employee and particular pay period, and the query returns for the employee/pay peirod EACH Project Name, the PM for the respective project, and whether or not the the PM has approved the employee's time for the respective PM's project in the specified pay period.
    Unfortunately I don't really know where to start. I don't know if there is an HXC or group of HXC tables that would allow me to report on the individual project manager's 'status' (i.e., has a PM approved his project in the employee's timecard)...or do I need to allow include some workflow tables such as (maybe ?) wf_notifications ? And if I need to include some WF tables can someone help me understand where the relationship between timecard and WF is definded/stored (in other words, for a particular timecard how can I query a WF table - for example, wf_notifications - and find all the respective notifications associated with that particular timecard ?
    I hope my question is clear, but please advise if you have any questions. Thanks in advance for the help !!
    Jeff

    Hi Jeff,
    Did you ever get an answer on this question, as I have similar issues.
    One question you may be able to answer - Do all approvals on the project side need to be done for ANY project information to pull into Project Accounting, or as each Project Manager approves their portion does it pull in to PA?
    Thanks very much!!
    Lori

Maybe you are looking for