Relationship between tables milestone and wbs element

Hi  Guys,
1.I have taken two tables in my source code retieving milestone number(mlst_zaehl), usage(mlstn),and wbs element(pspsnr)
from TABLE MLST and the other table is PRPS(WBS ELEMENT TABLE, and the fields are psphi(project) , and pspnr(wbs elemrnt,
The problem is i am not getting the project (psphi)  FROM PRPS TABLE and the link field is PRPS-PSPNR = MLST-PSPNR.
2.Other requiremnt is  in the same program, iam getting reservation quantity and also DELIVERY QUANTITY
if delivery qty equal to reservation quantity then exit  and if the reservation qty is NOT equal to delivery qty,
i need to UPDATE the corressponding USAGE , MILESTONE TEXT, AND QTY in milestone table MLST.
please let me know any function to update milestone or BAPI or i sahll use BDC.
Reagrds
subbara

Hi
I think you want to link MLST and PRPS tables to get the milestone fields...
From Table MLST - Mile stone number - MLST_ZAEHL and WBS element - PSPNR, link the WBS elements with PRPS table - WBS element - PSPNR and for project - PSPHI (Current Project Number).
For project number you can take from PRPS - PSPHI or from PROJ table
- Pithan

Similar Messages

  • Relationship between Table BKPF and RBKP

    Hello Developers,
    I need to fetch value of field BKTXT  from table BKPF and this value need to insert in internal table i_tab.
    in the below situation:
    select bebeln bebelp bwerks ausnam alifnr abelnr
             abldat abudat
             caedat cekgrp cbukrs cekorg
             dbanfn dbnfpo dnetpr dafnam
      into corresponding fields of table i_tab
      from rbkp as a join rseg as b on abelnr = bbelnr
                     join ekko as c on bebeln = cebeln
                     join ekpo as d on cebeln = debeln
                                          and bebelp = debelp
      where a~budat in s_date
        and b~werks in s_werks
        and c~bstyp = c_f
        and c~ekorg in s_ekorg
        and a~bukrs in s_bukrs.
    Can any one suggest how to relate table BKPF with other table like RBKP.
    Thanks in advance.
    Regards
    Sundeep

    Hi,
    perform the following steps:-
    1.   Go to transaction SQVI
    2.   Create a View
    3.   Enter title
    4.   Choose the Data source as Table Join
    5.   Go to insert table and add table as per your requirement.
    and hereafter you can find relation between any two tables...
    Rgds/Abhi

  • Relation between business area and WBS element in sales orders

    Hi,
    I need to find the business area for WBS element for line items in sales orders.
    Which database table can I use for that.
    Thanks,
    Abhishek

    Check these tables  PRPS WBS (Work Breakdown Structure) Element Master Data
    PRPSS Standard WBS Element (WBS element) - Master Data
    Field PGSBR   ( Business area for WBS element )
    PSPNR  (WBS Element)

  • Relationship between tables CRMD_ORDERADM_H and BBP_PDORG

    Hi all,
    I need to search all the RFx for a certain condition.
    In the transaction BBP_PD i can see that the header table is CRMD_ORDERADM_H and the table for org. data is BBP_PDORG.
    But the guid of both tables are different.
    Do you know how I can relate the two tables?
    Thanks in advance !

    Hello Husalban,
    SELECT set_guid FROM bbp_pdorg
    SELECT guid_hi FROM crmd_link WHERE guid_set = bbp_pdorg-set_guid
    SELECT header FROM crmd_orderadm_i WHERE guid = crmd_link-guid_hi
    SELECT object_id process_type FROM crmd_orderadm_h WHERE guid = crmd_orderadm_i-header
    Regards.
    Laurent.

  • Link between Cost element GL Account and WBS element.

    Hi,
    I want to get the List of all dollars sitting on the GL account  attached to the selected WBS element.
    For this, Any one please suggest me the table where i can get the link between the WBS element and GL account.
    or
    Table for link between the Cost element and GL account
    and Table for link between the Cost element and WBS element.
    Thanks,
    Suresh.

    Hi,
    1. There is no link between cost element and WBS
    2. Link between cost element and G/L account is one-to-one. This means, that if it's a primary cost element it has the same code as the G/L account. If it's a secondary element, no link exists.
    3. The table where you can see the postings on your WBS is COEP. There you will find the cost element, WBS, amounts, etc.
    Regards,
    Eli

  • In which table we can find the relationship between Role id and Task id

    Hi Experts,
    In which table we can find the relationship between Role id and Task id in Cprojects.
    Thanks
    Subhaskar

    Hi Subhaskar,
    Apart from DPR_ENTITY_LINK , you can also get it from table DPR_PART.
    Please go through the below link
    http://wiki.sdn.sap.com/wiki/display/PLM/cProjectstablesin+SAP
    I hope this will help you.
    Regards,
    Rahul

  • Table name having relationship between Business area and Profit Center

    Hi guys,
    Can you tell me the table name showing the relationship between Business area and Profit Center in fb60  transaction.
    thnx
    hema

    HI.
    BSEE u2013GSBER  Business area.
    BSID-PRCTR Profit center
    Regards.
    jay

  • Relationship between Role id and Task id table name?

    Hi
    In which table we can find the relationship between Role id and Task id in saphcm
    Thanks a
    vibin

    Hi,
    HRP1001 --Infotype 1001 DB Table (Relationships)
    Regards,
    mohammed

  • CJ20N: handle Z table's related to project and wbs element

    Hi there,
    The requirement is to handle Z table for project and wbs element.
    Example:
    ZTAB1 has fields: pspnr | field1 | field2 (for projects)
    ZTAB2 has fields: pspnr | field3 | field4 (for wbs element)
    I found an enhancement that can read z table into internal table, i read it into screen and no problem.
    I use it for wbs element too.
    The problem is when the project has several wbs element's in tree, and the user navigate and change them.
    I can't control the data in internal tables, since the user is swithcing.
    How does the standard sap control the memory from each wbs element and project?
    How can i read and save it separatelly?
    Thanks in advance,
    Edited by: orgasmics on Nov 22, 2010 9:37 PM

    Hi,
    try table <b>jest</b> with key = prps-objnr
    Andreas

  • Table relationship between Profit Center and G/L account.

    Hi,
    I have an issue related to wrong profit centers. We have a workflow that updating the profit center to a G/L account regarding the business of Reverse Logistic. In that business, we shift from a G/L account to another G/L account.
    Now I have to find the tables relationship between Profit center and G/L account, which contains the correct relationship between a profit center and a G/L account, so that I can profit centers related to the moved G/L account and the original G/L account.
    Thank you.
    Moderator: Please, search before posting

    Hi
    The Posted data can be seen in BSEG & GLPCA/FAGLFLEXA
    The default assignment of GL & PC can be seen in 3KEH / FAGL3KEH
    br, Ajay M

  • Table for Cost Center and WBS Element.

    Hi Experts,
    i done the creation of Servcie Contract with account assignment category as Cost Centre "K"  & Project "P". Now i'm trying to take the report for this document.
    Plz help me, in which table the Cost center data and WBS Element data is stored.
    Regards,
    sudhakar

    hi!
    check the table T163K and the field is KNTTP.
    Reward if useful.
    Yuvi.

  • How to block reusage of archived Project definition and WBS element numbers

    Dear All,
    We have archived our projects using the TC SARA and the Project definition and WBS elements numbers no more exist in tables PROJ and PRPS etc.. When I now try to create a new project, the system proposes the next open number or allows to enter a number which is the same as one of the archived projects. But in our organization we cannot reuse the Project definition and WBS element numbers (even if it is archived) as a rule.
    Can anybody guide me what are the possibilities to block or avoid the reusage of the numbers of archived project definition and WBS elements in a fool-proof way? 
    Thanks and regards

    One Workaround:
    Use T code OPSJ and lock the project coding mask. Doing this you can not use this mask any more.
    But you want to continue using the mask but with different numbers. Not sure how this can be acheived. lets wait for others view
    Regards
    Sreenivas

  • How to create the relationship between ESSBASE 11 and DM in OBIEE11

    Hi Experts,
    I have one requirement that there is one property table named 'Store Master' in DW,and it contains a lot of attribute, such as Open Date, Close Date, IS 24 Hour etc.
    But another data source is essbase and based on this source, I create all reports.
    In ESSBASE, it has one dimension and hierarchy Location, and it has four level, Country(L1),Region (L2),Province(L3),Store(L4)
    So I want to know how to create the relationship between Location (ESSBASE) and Store Master (DM).
    I try to create one relationship in physical layer between Gen4,Location and Store, then drag the open date and close date into Location Dimension in BMM,then Presentation Layer.
    When I drag column 'Open Date' ,'Gen4,Location ' and 'Sales' into reports, it will generate the following error message:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 14020] None of the fact tables are compatible with the query request Dim Region.Store Open Date. (HY000)
    However, when I remove the column 'Open Date'. it will be ok.
    So what I missing the steps? Please help me. Thanks.

    >
    '2. Now, pull the 'Store' column from relational DB onto the Gen5, Location column from Essbase. This action now creates, two logical sources for your 'Store' column.'
    If the length from different data source is not same,such as 1001(DM),L_1001(ESSBASE), can I drag the 'Store' column from relational DB onto the Gen5, Location column from Essbase?
    I think it does not work.Right?Hi,
    I am not sure if you are talking about the length(as in varchar(128)) of the member value being different in different sources, or the member itself is different in both the sources.
    I am still assuming, that you are referring to the members not same in both the sources.If it is, the whole concept of federation is based on conforming dimensions. So, it needs that the same dimension information is present in both the sources and then only, you know we can analyze the numbers based on this dimension. So, either the dimension being different in both sources, or the members not present in both the dimensions might lead to incorrect numbers.
    So I select Store Attributes in relation DB and Location in ESSBASE in physical layer, then create the physical join, such as right("Hour Sales"."H_Sales".""."H_Sales"."Gen6,Location",4) = "Authorization".""."EDW"."T_EDW_MDM_STORE"."US_CODE", then drag the OPEN_DATE and CLOSE_DATE in relation DB to Location in ESSBASE in BMM,finially drag them into presentation layer.We create physical layer relationships, to send over the same relation to the underlying database during querying. So, creating a physical relationship between essbase cube and relation database would not help here.
    When you set up this federation, BI Server sends individual queries to each source and maps the conforming dimension members internally.
    Hope I was clear, and this helps.
    Thank you,
    Dhar

  • How to create the relationship between ESSBASE 11 and DM  in OBIEE 11G?

    Hi Experts,
    I have one requirement that there is one property table named 'Store Master' in DW,and it contains a lot of attribute, such as Open Date, Close Date, IS 24 Hour etc.
    But another data source is essbase and based on this source, I create all reports.
    In ESSBASE, it has one dimension and hierarchy Location, and it has four level, Country(L1),Region (L2),Province(L3),Store(L4)
    So I want to know how to create the relationship between Location (ESSBASE) and Store Master (DM).
    I try to create one relationship in physical layer between Gen4,Location and Store, then drag the open date and close date into Location Dimension in BMM,then Presentation Layer.
    When I drag column 'Open Date' ,'Gen4,Location ' and 'Sales' into reports, it will generate the following error message:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 14020] None of the fact tables are compatible with the query request Dim Region.Store Open Date. (HY000)
    However, when I remove the column 'Open Date'. it will be ok
    So what I missing the steps? Please help me. Thanks.

    >
    '2. Now, pull the 'Store' column from relational DB onto the Gen5, Location column from Essbase. This action now creates, two logical sources for your 'Store' column.'
    If the length from different data source is not same,such as 1001(DM),L_1001(ESSBASE), can I drag the 'Store' column from relational DB onto the Gen5, Location column from Essbase?
    I think it does not work.Right?Hi,
    I am not sure if you are talking about the length(as in varchar(128)) of the member value being different in different sources, or the member itself is different in both the sources.
    I am still assuming, that you are referring to the members not same in both the sources.If it is, the whole concept of federation is based on conforming dimensions. So, it needs that the same dimension information is present in both the sources and then only, you know we can analyze the numbers based on this dimension. So, either the dimension being different in both sources, or the members not present in both the dimensions might lead to incorrect numbers.
    So I select Store Attributes in relation DB and Location in ESSBASE in physical layer, then create the physical join, such as right("Hour Sales"."H_Sales".""."H_Sales"."Gen6,Location",4) = "Authorization".""."EDW"."T_EDW_MDM_STORE"."US_CODE", then drag the OPEN_DATE and CLOSE_DATE in relation DB to Location in ESSBASE in BMM,finially drag them into presentation layer.We create physical layer relationships, to send over the same relation to the underlying database during querying. So, creating a physical relationship between essbase cube and relation database would not help here.
    When you set up this federation, BI Server sends individual queries to each source and maps the conforming dimension members internally.
    Hope I was clear, and this helps.
    Thank you,
    Dhar

  • Creation of project definition and wbs element

    I want creation of project definition and wbs element upto 4 level using bapis.
    i am using transaction cj27,cj01,cj02
    which function module to use for this??

    Hi,
    to create project definition with customer fields the BAPI you should use is : BAPI_BUS2001_CREATE
    to create WBS elements with different levels and specific fields the BAPI you should use is BAPI_BUS2054_CREATE_MULTI
    these bapi must be used in the sequence of call :
    BAPI_PS_INITIALIZATION
    BAPI_BUS2001_CREATE / BAPI_BUS2054_CREATE_MULTI
    BAPI_PS_PRECOMMIT
    BAPI_TRANSACTION_COMMIT
    before using the bapi, you must apply OSS note :
    637345 - Syntax error with enhanced PS tables
    i sent you the oss note to your mail
    please reward points if helpfull.

Maybe you are looking for