Relation between ( BSEG or Bkpf) with Ska1

Hi Everyone,
      I want to know the relation between the table  ( BSEG or Bkpf) with Ska1 , Am using BSEG and Bkpf table. I have to find out the account number. Please let me know the relation
Thanks
Imran

Hello,
BSEG-HKONT = SKA1-SAKNR.
Suhas

Similar Messages

  • Relation between BSEG with Asset Tables

    HI Guru's,
    how to find relation between BSEG with Asset Tables like ANLA and ANEP..
    regards
    JK

    Foreign keys
    - ANEP items are linked to ANLA via fields in common ANLN1 and ANLN2
    - ANEK header is linked to ANEP items via fields in common ANLN1, ANLN2, GJAHR and LNRAN
    - BKPF and BSEG are linked to ANEL ANEP via BUKRS, BELNR and GJAHR
    Optimization (as BSEG is behind a cluster table RFBLG)
    - Append BSIS (ZABSIS) and BSAS with ANLN1 and ANLN2, then create an index with these fields. As BSIS is filled via MOVE-CORRESPONDING statement, only a one-shot report to initially fill the new fields is to be developed. (look at old OSS [Note 62435 - F-03: Selection by purchasing documents|https://service.sap.com/sap/support/notes/62435] for optimization via purchase order)
    Regards

  • Table relations between vbrk and bkpf for  Accounting Document Number

    hello,
    i am using 4 tables to get data into my programs.
    vbrk,vbrp konv and bkpf.
    i want to get belnr from bkpf.i found relation between vbrk and belnr.but in vbrk table belnr's value is initial.
    can anybody tell me that how should i relate vbrk and bkpf or how to get Accounting Document Number(belnr) from bkpf for Billing Document(vbeln).
    regards,
    soniya s.

    hi,
    chekc this. its working for me.
    data : WA_AWKEY LIKE BKPF-AWKEY.
    data :  WA_BELNR LIKE BKPF-BELNR.
    data : LENGTH TYPE I.
    *BREAK MTABAP.
    LENGTH = STRLEN( IT_VBRK-VBELN ).
    if  LENGTH = '10' .
    MOVE it_vbrk-VBELN TO WA_AWKEY.
    SELECT SINGLE BELNR FROM BKPF INTO WA_BELNR
      WHERE AWKEY = WA_AWKEY
      AND AWTYP = 'VBRK'
      and blart = 'RV'.
    it_final-acc_doc = WA_BELNR.
      CLEAR WA_BELNR .
      CLEAR WA_AWKEY .
    else.
    CONCATENATE '0' it_vbrk-vbeln INTO wa_awkey.
    SELECT SINGLE BELNR FROM BKPF INTO WA_BELNR
      WHERE AWKEY = WA_AWKEY
      AND AWTYP = 'VBRK'
      and blart = 'RV'.
    it_final-acc_doc = WA_BELNR .
      CLEAR WA_BELNR .
      CLEAR WA_AWKEY.
    endif.

  • Relation between oracle 8i and oracle7

    hi everybody
    i need to relation between two databases
    one of its is oracle8i(8.1.6) on nt
    and other is oracle7 on novell.
    i try to create a database link but i have got a fail,
    so try to find that database (on novell)
    by enterprise manager of oracle8i,but nothing,
    i dont know what is problem,
    only i guess,exist no way for relation between
    sqlnet ver 2 with net8,
    would you pease help me.
    regards
    mehran
    null

    Check your application(s), why so many connections are open. Is it possible connections are opened again and again ,but never closed by the application? That's not a fault of the database. I don't think it will help you ,when you simply reduce the PROCESSES parameter. You remedy the symptoms,but not the cause of the problem. Most likely users will now start to complain about unsuccessful connection requests.
    Werner

  • Creating a master-detail relation between a view and a table

    Hi all,
    I have a problem with creating a master-detail relation between a database-view with lots of customer data and a small table with per customer a list of entities of our companies who may work for that customer.
    Somehow I seem to be unable to create a relation between these two. I can't find where I can make a foreign key using Toplink to implement the relationship. And neither can I get a Viewlink object doing the job using ADF Business Components.
    Somebody any suggestions on this problems?
    Regards,
    Birgit

    There is a key relationship between two fields which form the primary key in the main table of the view and two fields in the second table.
    I created a viewlink manually, but I still couldn't get the data correct i.e. a form with one record of a customer from the main view and a small table with all entities of our company who can make performances for that customer.
    I tried to find a manual or a how-to on this topic but I didn't find anything helpfull yet.
    Regards,
    Birgit
    After a couple more tries, I got the master-detail working. With all the fiddling I am not sure what caused the problem but I think the finally action was checking which fields of the view were marked as primary keys.
    Now everthing is up and running.
    Birgit
    Message was edited by:
    user492355

  • Relation between transactions and DTD's

    Hi,
    Is there any relation between transaction, transaction subtypes with DTD's.
    This is the case of 3rd party integration. I want to send an inbound message to the oracle xml gateway. This will be directly enqueued into generic queue - ECX_INQUEUE through AQ api's.
    But for exposing the DTD's and transactions, I am not able to find any relation between them ?
    Can anyone throw some light on this .....

    Same question here.....
    For the Buyer/Seller Sample in C:\orabpel\samples\tutorials\109.CorrelationSets, I found that the sample still works after I deleted the Correlation Set. So, what is the use of Correlation Set in this sample?

  • Relation  between BSIK,BSIK  and BSEG

    Hi  all ,
    1. what we mean by  the open items table (BSIK) and  item table (BSAK).
    2. What  is the realtion between BSIK,BSAK  with mm tables ..please give me the realtionship.
    3. when we post  in FB01 which are tables are updated
    4. IF BSEG is the superset of all the tables then why we need this..as we have smaller tables 
    5. what is relation ship between bSIK,BSAK and BSEG

    Hi.
    There are a series of related tables which are quite easy to understand if you look at the table name prefixes and suffixes... the BSI prefixed tables are open items and BSA are cleared items... and the suffix is like the account type field, KOART i.e. K = "Kreditor" (vendor), D - "Debtor" (customer) items, and S = GL (can't remember the German equivalent)... thus BSAD = Cleared "Debtor" (Customer) items.
    Their purpose is to act as index tables for searches - BSEG is a cluster table that cannot have indexes created directly in the database so these other tables provide access paths to the BSEG data for specific searches. They contain a blend of data from BSEG (line data) and BKPF (header data). Each pair of tables is similar to each other, and has an extensive primary key to allow access from the relevant master record i.e. you would normally only go to BSIK if you know the company & vendor number, BSAS if you have the company & GL... you would not go to BSIK if you already had the BSEG entry because the data is already available to you in BSEG (plus BKPF).
    BSIK - Contains Open line items of vendors
    BSAK - for vendor cleared item

  • Relation between BKPF and EKBE table for reversing document?

    Is there any relation between BKPF and EKBE table for reversing document when STBLG is blank in BKPF.
    AND
    How to differentiate Old Accounting document / Reverse document / New document when in BKPF-STBLG is blank for all three document and BKPF-XBLNR are same for all.

    Hi Varun,
    Table Document no (BKPF-BELNR) is link between Material document no (EKBE-BELNR). If you are looking for validating Material reversal document then please use following logic for your requirement.
    Material Document (MBLNR) & Material Document Year (MJAHR). Pass material document (MBLNR) to MSEG-SMBLN to read MSEG-MBLNR with MSEG-MJAHR to MSEG-SJAHR, if record found delete both the documents i.e. MSEG-SMBLN & MSEG-MBLNR (donu2019t consider these documents in the logic) and display Material Document No. (MSEG-MBLNR)
    Regards,
    Santosh

  • Relation between BKPF-BELNR and Clearing document number

    Hi Friends,
    I need one to one relation between Posted document number BKPF-BELNR and
    the clearing document number generated for that (AUGBL).
    I could find BSEG is having the clearing document number in its one of the line item but i don't want to strain my code querying BSEG.
    is there any other way.
    If querying BSEG is the only option, appreciate if any one help me in giving an optimal query( if you have faced the similar requirement)
    Thanks in advance
    Simha

    Hi All,
    Thanks for your help.
    My problem is resolved. I queried BSAK (for my requirement)as suggested by many of you.
    Thanks.
    Simha
    Edited by: Simha on Nov 15, 2008 5:27 AM

  • Relation between tables BSEG and COEP

    Hi,
    I am developing a report where I want to know the relationship between BSEG and COEP or COBK table is there any field or other way to know.
    Thanks in Advance.
    Regards,
    Kiran

    BSEG contains is the line items of the Accounting Docs ( header is BKPF) . This are primary costing data.
    On the other hand COEP is the line item data for secondary costing data. COBK is the header table for COBK.
    Though you will find BELNR in both BKPF - BSEG and COBK-COEP, but if you look at the data elements, they are BELNR_D and CO_BELNR respectively.

  • Relation between BKPF and MKPF

    I want relation between BKPF and MKPF,
    because i want account document number on storage location basis.
    if anyone know the solution or any standard report pl. tell me.

    Hi Omar,
    For all tables if you wan to find the table relation shipss...
    use the T-Code -->SQVI--> select table join--> enter first the table name--> enetr another tbale name..
    it will show the possible relation ship between the tables
    Regards,
    Prabhduas

  • 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

  • What's the relation between Gain and transmitted power with coverage area?

    what's the relation between Gain and transmitted power with coverage area?
    if we want add coverage area, could we just add antenna's gain only or add transmitted power only?

    That information can be found at: http://www.cisco.com/warp/customer/cc/pd/witc/ao350ap/prodlit/agder_rg.htm

  • G/L Accounts: JOINs between BKPF & BSIS & SKA1 in SELECT satetment??

    Hi Experts,
    About G/L Accounts, pls. clarify ma simple doubt that, am looking to pull the data from BKPF , BSIS & SKA1, so,
    1) So, Wht culd be the best JOIN structure in SELECT statements, performence perspective, bcoz, I did not find any JOIN clue btwn BKPF & BSIS.
    ThanQ

    opened other thread

  • Relation between GL Account and Invoice?

    Hi Experts,
    I am working with the FI reports for the first time and I do not have any idea on FI functional flow. I have some basic questions like
    What is the Relation between GL Account and Invoice?
    When will an Invoice be posted into BKPF, BSEG, BSAD, BSID, BSAK and BSIK? Is there any field in these tables which gives the Invoice number against which a GL Account is created?
    For example if I want to calculate " no of vendor invoices without PO how can I do that"? How can I know what are vendor invoices created against a PO or without PO?
    Thanks for any help in advance and I am bound to reward points.
    Sri

    <b>What is the Relation between GL Account and Invoice?</b>
    SAP's Glossary for GL Account is
    "A structure that records value movements in a company code and represents the G/L account items in a chart of accounts.
    A G/L account has transaction figures that record changes to the account during a posting period. These figures are totals that are used for G/L reporting."
    In accountancy, an account is a label used for recording and reporting a quantity of almost anything. For example when a company pays salary to its staff, They debit Salary account. This is to identify what is the nature of an expense.
    An invoice is a message to the buyer of goods or services that contains, among other things, Name of the goods or services, Quantity sent, & Remuneration due.
    Invoice is also a SD document used to charge a customer for a delivery of goods or for services rendered.
    <b>When will an Invoice be posted into BKPF, BSEG, BSAD, BSID, BSAK and BSIK? Is there any field in these tables which gives the Invoice number against which a GL Account is created?</b>
    If it were a vendor invoice. (i.e you purchase items or service and recieve invoice)
    Invoice get posted to the tables once someone makes a Logistics Invoice verification through t-code MIRO etc. The teble RBKP gets the first posting.
    If it were your own invoice to your customers, then VBAK and VBAP get the posting.  The connectivity of tables are available in http://www.erpgenie.com/abap/tables.htm As far as SAP is concerned an invoice is a document, so you can only trace invoice as a document number, field name is usually BELNR. Even if a vendor invoice arrive, an internal invoice number is generated where the vendor invoice is entered only as a reference field. This is because, each vendor can have inovices of different size and pattern.
    <b>How can I know what are vendor invoices created against a PO or without PO?</b>
    For a purchase order you can find in table EKBE for BEWTP = Q any invoice document.

Maybe you are looking for