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

Similar Messages

  • 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

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

  • 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

  • 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

  • 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

  • How would i design the relationship between "question", "subquestion", and "answer"

    Hi all. Consider the following scenario:
    Scenario:
    A Question has an Answer, but some Questions have Subquestions. For example:
    1. Define the following terms: (Question)
    a) Object (1 marks) (Subquestion)
    An instance of a class. (Answer)
    b) ...
    2. Differentiate between a constructor and a destructor (2 marks)
    (Question)
    A constructor constructs while a destructor destroys.
    (Answer)
    Question:
    I want to model Questions, Subquestion, and Answer as Entities with relationships/associations, preferably binary relationships as i feel ternary relationships will be problematic while programming. Any suggestion on how i would
    go about this?
    There is never infinite resources.
    For the Question Entity, a question has the attributes "QuestionPhrase <String>", "Diagram<Binary>", and "Marks
    <Decimal>".
    For the SubQuestion Entity, a subquestion has the attributes "SubQuestionPhrase <String>", "Diagram<Binary>", and "Marks <Decimal>".
    For the Answer Entity, an answer has attributes, "AnswerPhrase<String>", "Diagram <Binary>"

    Yes. I am in .Net. I sure do hope i did not ask in the wrong forum. :-|
    Hi KCWamuti,
    If you need to design the relationship between Question table and Answer table in SQL Server, as Uri’s and Visakh’s posts, you can create the foreign key to establish relationship between tables, and use join in query to get your desired result. For more
    information about JOIN in SQL Server, please review this article:
    Different Types of SQL Joins.
    However, if you need to model Questions, Subquestion, and Answer as Entities in .Net, then the issue regards data platform development. I suggest you post the question in the Data Platform Development forums at
    http://social.msdn.microsoft.com/Forums/en-US/home?category=dataplatformdev . It is appropriate and more experts will assist you.
    Thanks,
    Lydia Zhang

  • TRACING RELATIONSHIP BETWEEN TABLES....

    Hello all,
    I use the below query to find the hierarchial relationship between tables ...
    SELECT
    c.table_name parent_table , c.column_name parent_column,b.table_name child_table ,b.column_name child_COLUMN ,LEVEL lrv
    FROM USER_constraints a,user_cons_columns b ,user_cons_columns c
    WHERE a.constraint_name = b.constraint_name
    AND a.r_constraint_name = c.constraint_name
    AND constraint_type = 'R'
    AND b.table_name <> 'CNTRCT_PARENT'
    START WITH b.table_name = 'CNTRCT_PARENT'
    CONNECT BY NOCYCLE PRIOR b.table_name = c.table_name
    ORDER BY c.table_name
    but i need order like below,
    parent table childtable1
    childtable1 grantchildtable1
    childtable1 grantchildtable2
    parent table childtable2
    childtable2 grantchildtable1
    childtable2 grantchildtable2
    childtable2 grantchildtable3
    how this sort of order by is possible ...
    Thanks in advance
    Vijay G

    Hi,
    Try
    ORDER SIBLINGS BY ...

  • Query to find all relationships between tables

    Please help me wit the following
    Query to find all relationships between tables
    SAMPLE OUTPUT:
    PRIMTAB PRIMCOL FOREIGNTAB FOREIGN KEY
    DEPT DEPTNO EMP DEPTNO
    Return all records in the database.
    PLEASE HELP

    SET LINESIZE 150
    COLUMN primcol FORMAT A30
    COLUMN foreigncol FORMAT A30
    SELECT uc1.table_name AS primtab,
    ucc1.column_name AS primcol,
    uc2.table_name AS foreigntab,
    ucc2.column_name AS foreigncol
    FROM user_constraints uc1,
    user_constraints uc2,
    user_cons_columns ucc1,
    user_cons_columns ucc2
    WHERE uc1.constraint_name = uc2.r_constraint_name
    AND uc1.constraint_name = ucc1.constraint_name
    AND uc2.constraint_name = ucc2.constraint_name
    AND ucc1.position = ucc2.position
    ORDER BY uc1.table_name,
    ucc1.position
    /

  • What is difference between table space and shchema

    what is difference between table space and shchema ?

    784633 wrote:
    so each user has it own space of tables - schema ?yes, but let's clarify a bit ....
    The "schema" is the collection of all objects owned by a particular user. So if user SCOTT creates two tables, EMP and DEPT, and a view EMP_RPT, and a procedure GET_MY_EMP, those objects (tables, views, procedures) collectively make up the SCOTT schema.
    Those objects will be physically stored in a tablespace.
    A tablespace is a named collection of data files. So tablespace USERS will be made up of one or more data files. A specific datafile can belong to one and only one tablespace. If a tablespace has more than one data file, oracle will manage those files as a collection invisible to the application - much like the OS or disk subsystem handles striping across multiple physical disks.
    A specific object in the SCOTT schema can exist in only one tablespace, but not all objects of the schema have to be in the same tablespace. Likewise a tablespace can contain objects from multiple schemas.
    and can one user to access tables of other users?As others have said - FRED can access tables belonging to SCOTT as long has SCOTT has granted that access to FRED.

  • Relationship between material type and industry sector

    Hi experts
    when using t-code mm01,there are two fields material type and industry setor in screen.Is there any relationship between material type and industry sector? I want to know if user be able to see the material type related to particular industry sector?
    thanks in advance!

    Hello
    There is no direct relationship between the material type and the industry sector.
    The industry sector is used only for field sttus maintenance (fields in display/optional/requierd entry) in transactions.
    We will assign seperate field reference groups to industry sectors and deopending on how we configure the field references, the fields will appear for the materials created for that industry sector.
    regards

  • Relationship between logical system and a client

    Hi,
    Our internal notes say that, in order to create a new client, I must do the following:
    1. Create a logical system using BD54. The client name must be SID + "CLNT" + number. In my case, this would be NSPCLNT100.
    2. Create a client using SCC4.
    Questions:
    1. What is the relationship between the client and the logical system?
    2. How does SAP know that client number 100 must be related to NSPCLNT100? I am not specifying this relationship anywhere.
    Thank you in advance for your help.
    Regards,
    Peter

    you assing logical system to a client from SCC4

Maybe you are looking for

  • How do i sync my iphone with itunes

    how do i sync my iphone with itunes?

  • The sound on my Macbook Pro isn't working at all. None of it.

    The speakers don't work and neither do the headphones. When I turn up the volume, the icon comes up and it looks fine, but it's not making any noise. Like, it will show the animation and everything with no "not working" notification, but the little p

  • After catalyst 10.10 / xorg 1.9 update, mouse and keyboard don't work

    Hi guys, Yesterday I got the new catalyst update together with the new xorg server, but after rebooting and starting x, I neither could move the mouse nor press short cuts. I have reinstalled xf86-input-evdev and xorg-input-drivers, but still same is

  • TOC Style Confusion

    Some inscrutible force is interfering with the formatting of entries in my table of contents. I have defined unique styles for both the entry and the page number. When I update the TOC, the entry assumes the style of the title of the TOC, rather than

  • Signal tranmission between client and server through tcp/ip

    Hi everyone,I want to transmit analog signal from server to the client,I enclosed one file which is used to transfer an array of string,how can I modify the enclosed example for analog signal tranmission(numeric) and save the signal into a file "load