Link MSEG table to general ledger

Hi,
I would like to reconcile the data in MSEG with the inventory accounts in the general ledger.
Is there a way to do this, i know that not all inventory movements have financial impact so this is no straightforward exercise.
Thanks.
Kr.

Hi,
In table MSEG you will get material document pass this  material document number+ year in table BKPF,firld AWKEY then you will get  FI document for same
now for FI document details check table  BSEG here pass FI document from table BKPF and fiscal year also
check following link also
[http://help.sap.com/saphelp_bw33/helpdata/en/af/16533bbb15b762e10000000a114084/content.htm]
[BSEG to VBAK;
[Standard data source linked to BSEG and BSAK table.;
Regards
kailas Ugale

Similar Messages

  • Enhancing the FAGLFLEXA(General Ledger: Actual Line Items) table

    Hi All,
    I am trying to add Material Number (MATNR) to the table FAGLFLEXA(General Ledger: Actual Line Items)
    For this i have added Material number in the include CI_FAGLFLEX04 of the table  FAGLFLEXA.
    But still material numbers are not appeared in the table FAGLFLEXA.Material number exist in the structure COBL - Coding Block,i believe SAP standard programs has to pick up material number from coding block to FAGLFLEXA table.
    Please advise me if anyone enhanced this table .
    Regards
    L Appana

    Hi Appana,
    I also want to add MATNR to FAGLFLEXA. Can i know how did you go about creating new segment to flow MATNR in FAGLFLEXA?
    Somar
    Edited by: Somar on Mar 6, 2009 10:37 PM

  • Link between tables mseg and afvv

    Dear Sap Gurus,
    I need a report in which i can get production order wise production and cunsumption for all production order
    operations in a single report.
    i just want to know how to link mseg table in which i am having batch wise production and consumption with afvv table
    or any else in which  i can get operation nos of production order.
    Thanks and regards
    Shankar

    Hi,
    AFVV - AUFM by AUFPL as told above is best way, otherwise to join MSEG, you can use field AUFNR in tables MSEG & AUFM and further AUFPL to join AUFM & AFVV.
    Regards
    Trin

  • How to join payroll and general ledger

    Hi, some one could help me to join the payroll table and general ledger?
    what i need is to know how to obtain the gl_code_combination_id of a per_time_period
    thanks

    Table PAY_PAYROLL_GL_FLEX_MAPS contain details of mapping between Cost Allocation Flexfield segments to Chart Of Accounts Segments.

  • Please Help....Need base tables link from Trade management to General Ledge

    HI,
    As per our current requirement we need to pull data from Trademanagement Module to General Ledger.
    we are able get exact data which is posted in GL.
    since we need to display only finished Items in product column. we are getting some unfinished Products also.
    is there any table which has correct link trademanagement to GL. Version R12:
    we have used the below query:
    ------------------------------------Start TM-GL Item Level-------------------------------------------
    SELECT 'FY'||substr(batch_period_name,5,2) Year
    , substr(batch_period_name,0,3) Period
    , 'Final' version
    , 'Actual' Scenario
    , ('C'||substr(account,0,3)) Company
    , ('A'||substr(account,5,5)) GL_Account
    , substr(account,11,2) BU
    , ('PC'||substr(account,14,3)) Profit_Center
    , Plan_Dist
    , decode(Product,'','No_Product',Product) Product
    , Site_No
    , currency_code
    , substr(account,18,2) Country
    , sum(nvl(accounted_dr,0)-nvl(accounted_cr,0)) Amount
    , batch_period_name
    FROM (SELECT
    gjh.currency_code
    , gjh.je_category
    , gjh.je_source
    , gjh.period_name je_period_name
    , gjh.name journal_name
    , gjb.name batch_name
    , gjh.status journal_status
    , gjh.creation_date je_created_date
    , gjL.period_name batch_period_name
    , gjl.je_line_num line_number
    , gjl.ledger_id
    , gjl.entered_dr
    , gjl.entered_cr
    , gjl.accounted_dr
    , gjl.accounted_cr
    , gjl.description
    , gjh.running_total_accounted_dr je_total_dr
    , gjh.running_total_accounted_cr je_total_cr
    , gcc.concatenated_segments Account
    , xdl.source_distribution_type
    , xdl.source_distribution_id_num_1
    , xlate.source_id_int_1
    , (select distinct segment1
    from mtl_system_items_b@ebs_link
    where inventory_item_id= ofuab.product_id ) Product
    , (select distinct HCSusesal.attribute4
    from HZ_CUST_ACCT_SITES_ALL@ebs_link hcasiteall
    ,HZ_CUST_SITE_USES_ALL@ebs_link HCSusesal
    ,HZ_CUST_ACCOUNTS@ebs_link hca
    where HCSusesal.cust_acct_site_id= hcasiteall.cust_acct_site_id
    AND ofuab.ship_to_site_use_id=HCSusesal.site_use_id
    AND hcasiteall.cust_account_id=hca.cust_account_id) Site_No
    ,(select distinct hpsites.party_site_number
    from HZ_PARTIES@ebs_link hpart
    ,HZ_LOCATIONS@ebs_link hloc
    ,HZ_CUST_ACCOUNTS@ebs_link z
    ,HZ_PARTY_SITES@ebs_link hpsites
    ,HZ_CUST_ACCT_SITES_ALL@ebs_link hcasiteall
    ,HZ_CUST_SITE_USES_ALL@ebs_link HCSusesal
    ,HZ_CUST_ACCOUNTS@ebs_link hca
    -- ,HZ_CUST_SITE_USES_ALL_MNC mnc
    where hpsites.location_id= hloc.location_id
    and hpart.party_id= hpsites.party_id
    and hpsites.party_site_id= hcasiteall.party_site_id
    and HCSusesal.cust_acct_site_id= hcasiteall.cust_acct_site_id
    and hpart.party_id= hca.party_id
    -- and mnc.cust_acct_site_id= hcasiteall.cust_acct_site_id
    and z.party_id= hpart.party_id
    and ofuab.ship_to_site_use_id=HCSusesal.site_use_id) Plan_Dist
    FROM gl_je_headers@ebs_link gjh,
    gl_je_lines@ebs_link gjl,
    gl_import_references@ebs_link gir,
    gl_code_combinations_kfv@ebs_link gcc,
    gl_je_batches@ebs_link gjb,
    xla_ae_lines@ebs_link xal,
    xla_ae_headers@ebs_link xah,
    xla_events@ebs_link xe,
    xla_event_types_tl@ebs_link xet,
    xla_event_classes_tl@ebs_link xect,
    xla_distribution_links@ebs_link xdl,
    xla.xla_transaction_entities@ebs_link xlate,
    ozf_funds_utilized_all_b@ebs_link ofuab
    WHERE gjh.je_header_id = gjl.je_header_id
    --AND gjh.reversed_je_header_id = gjl.je_header_id
    --AND gjh.je_header_id = gir.je_header_id
    AND (gjh.reversed_je_header_id = gir.je_header_id OR gjh.je_header_id = gir.je_header_id)
    --AND gjl.je_header_id = gir.je_header_id
    AND gir.je_line_num = gjl.je_line_num
    AND gcc.code_combination_id = gjl.code_combination_id
    AND gjb.je_batch_id = gjh.je_batch_id
    AND gir.gl_sl_link_id = xal.gl_sl_link_id
    AND xal.ae_header_id = xah.ae_header_id
    AND xah.event_id = xe.event_id
    AND xe.event_type_code = xet.event_type_code
    AND xe.application_id = xet.application_id
    AND xet.LANGUAGE = USERENV ('LANG')
    AND xect.event_class_code = xet.event_class_code
    AND xect.application_id = xe.application_id
    AND xect.LANGUAGE = USERENV ('LANG')
    AND xah.ae_header_id = xdl.ae_header_id
    AND xal.ae_line_num = xdl.ae_line_num
    AND xe.entity_id = xlate.entity_id
    AND xe.application_id = xlate.application_id
    AND xlate.source_id_int_1=ofuab.utilization_id
    AND gjh.je_source = 'Marketing'
    AND gjl.status='P'
    AND gcc.segment3 in ('10')
    AND gcc.segment1 <> 'C01'
    AND substr(gcc.concatenated_segments,5,1) in (4,5)
    AND gcc.segment6 not like ('SPO%')
    AND ofuab.utilization_type <> 'ADJUSTMENT'
    -- AND gcc.concatenated_segments = '101.41220.10.999.US.BAZ2503.000.0000'
    -- AND gjl.je_line_num in( 5674,5675,5676,5677)
    -- AND gjl.period_name = 'AUG-12'
    -- AND gjh.je_header_id IN (7236,7235)
    -- AND gjl.je_line_num = 3830
    AND substr(gcc.concatenated_segments,5,2) not in('40'))
    AND gjl.je_line_num in( 5674,5675,5676,5677)) PG -- 11/23/12
    GROUP BY 'FY'||substr(batch_period_name,5,2)
    , substr(batch_period_name,0,3)
    , 'Actual'
    , substr(account,0,3)
    , substr(account,5,5)
    , substr(account,11,2)
    , substr(account,14,3)
    , substr(account,21,7)
    , currency_code
    , Product
    , substr(account,18,2)
    , Site_No
    , Plan_dist
    , batch_period_name
    , 'Final'
    ------------------------------------End TM-GL Item Level-------------------------------------------
    Please help me if any body worked on this issue.
    Thanks,
    Ram

    I have find the answer for my Question...
    We can have 2 columns in ozf_funds_utilized_all_b. product_type and Product_id.
    If product_type is Family then Product_id would be the Item Category ID.
    If Product_type is Product then Product_id would be the Inventory_item_id.
    Thanks,
    Ram

  • New General ledger accounting in ECC 6.0 : Profit centre not in BSID table

    hi,
    I already create new transaction code and report from standard transaction code
    *s_alr_87012168 : Customer Aging Report (Due Date Analysis for Open Items)* and i
    also add Profit center fields into Dynamic selection.
    My problem is, if i run the report using customer account the output is displayed but
    if i run the report with customer & profit centre the output is not displayed. currently i'm using
    new General ledger accounting in ECC 6.0 and when i look into bsid table the value
    is empty for profit centre and the value for profit centre are stored in new table
    FAGLFLEXT.
    do i miss something?
    thanks.

    s_alr_87012168 : Customer Aging Report (Due Date Analysis for Open Items) this is a report generated.

  • Link b/w QALS and MSEG TABLE

    hi,
    i want to make a link up between QALS AND MSEG table as i want to those inspection lot which have the UD = REJECTED and stored in SC01 etc storage locations. Till now i am able to find that the Item which are rejected having material documents present in the MSEG table but not present in QALS.
    I had tried to make a link up with fields such as MATRN,CHARG,KDAUF, KDPOS etc.. but the right data is not displayed in it.
    Please provide me guidelines to solve this problem.

    this i Functional question asked at wrong place .
    but i will gice you the relation :
    MSEG: Document Segment: Material
    Fields:      MBLNR
         MJAHR                               
         ZEILE
    Relation :
    MATNR      EBELN     EBELP  MJAHR MBLNR                         
    QALS:  Inspection lot record
    Fields:      PRUEFLOS
    can use this table also
    QAVE:  Inspection processing
    Fields:      PRUEFLOS
                    KZART
         ZAEHLER
    rgds aryan
    Edited by: Aryan@sap on Jun 4, 2009 8:21 AM

  • Reg: how to see the vendor details and general ledger details in tables

    HI all
    how to see the vendor details and general ledger details in tables.
    regards
    JK Rao

    General ledger transactions are available in following table;
    1. BKPF & BSEG
    2. BSIS - Open Items
    3. BSAS - Cleared Itesm
    For vendor
    1. BSIK - Open Items
    2. BSAK - Cleared Items
    For Customers
    1 BSID - Open Items
    2. BSAD - Cleared Items
    Regards
    Rakesh Pawaskar

  • General Ledger tables

    Hi,
    Journal Entry data is stored in tables OJDT and JDT1.
    I want to know in which table SBO stores the General Ledger data.
    Thanks in advance.
    Satish Dwevedi

    Satish,
    The OJDT and JDT1 ARE the General Ledger Entries that are entered into SAP Business One and then posted.  Business One does not have a batch processing function where you enter a bunch of entries, GL in this case and then post.  Actually that is not 100% correct as the only batch entry processing is in the Finance section of Business One and that is Journal Vouchers, BUT for what I believe that you are asking for, when you choose Financials > Journal Entry and then click Add, these are the "posted" Journal Entries.
    Hope that Helps,
    Eddy

  • Need table available in General Ledger

    Dear All,
    Can any one explain me the list of tables availble in General Ledger Module in oracle-applications, including join-conditions....
    Regards
    Subash
    Edited by: user12070109 on Oct 19, 2009 5:03 AM

    Hi Subbu,
    It's indeed difficult to identify tables which are important in GL. You must be aware the basic object of GL is track all financial transactions (journals), for this you need an A/C, a calendar and a currency... Any tables associated with these activities are important for GL (Technically :) )... Some tables which hold key info on GL are as below...
    GL_SETS_OF_BOOKS                 : This is the main table of GL which capture info about SOB of a business
    GL_JE_BATCHES          : This table will provide info about Journal batches
    GL_JE_HEADERS          : Provides info about Journal header
    GL_JE_LINES          : Provides info about Journal lines
    GL_BALANCES          : This will give you the current blance of an a/c
    GL_CODE_COMBINATIONS     : This is used to capture all the GL code combination.. accounting segments
    GL_DAILY_RATES                       : This table is useful when you use any currency other than your functional currency in trx.. this captures info abount conversion of rates betwqeen 2 currencies
    GL_PERIODS : This provides status about a GL Period.. whether it is open or closes etc...
    GL_JE_SOURCES & GL_JE_CATEGORIES : these tables used to capture journal sources info  (Payables, inventory, receivable etc..)  and journal category info...
    You can use below query to get all tables of GL..
    Select * from all_objects where object_name like 'GL%' and owner='GL' and object_type='TABLE'
    and (object_name not like 'GL%ALLOC%')
    and (object_name not like 'GL%CONS%')
    and (object_name not like 'GL%MC%')
    Hope this will help..
    Regards,
    S.P DASH

  • Quantity Material , FI Document NO, General Ledger Account No in SAP Table

    Hi,
    I want to extract the details Quantity, Material , FI Document No, General Ledger Account No from SAP Table.To extract the data from GL is verfy difficult and time consuming.
    please help
    Regards
    Nikunj
    Edited by: NIKUNJPATEL on Mar 28, 2010 11:31 AM

    Dear Christian,
    Thanks a lot for help.
    The required infor is available in BSEG Table itself. No need to go other table.
    Regards
    Nikunj

  • SEM-BCS data extractor from ECC general ledger table(s)

    We are a utility company working on an SEM-BCS implementation and use the FERC solution.  We do not use the new GL.  We are trying to extract the transaction data from ECC to a BI virtual remote cube.  We cannot use the profit center extractor (0EC_PCA_3) as the profit center tables do not contain any ferc data.  We need to be able to extract the transaction data from a general ledger table.  We have run into several issues with various extractors we have tried because they donu2019t allow direct access (0FI_GL_4) or are at a summary level and we canu2019t extract group account, trading partner, and transaction type detail (0FI_GL_1).  Would you have any suggestions on how to extract general ledger data with the detail information required from ECC to be able to load to a BI virtual remote cube?

    We are going forward with getting the natural account detail data using the profit center extractor 0EC_PCA_3, and getting the ferc summary data using the general ledger extractor 0FI_GL_1.  With our testing so far, this combination will provide us the data we need in BCS.

  • Link revaluation accounts to different General Ledger accounts

    Hi,
    Could you tell me the Path or Transaction code to create revaluation account to the General Ledger accounts.
    Regards,
    Swetha

    Please be more elaborate in your query.
    Karthik

  • After Successfull Load ETL for General Ledger No data showing in Warehouse

    After Successfull Load ETL for General Ledger No data showing in Warehouse Tables
    DB Version # 11.2.0.1.0 and OS of Warehouse Microsoft Windows Server
    2003 R2 Enterprise Edition Service Pack 2, v.4922
    1. BI Apps version
    Release 7.9.6.3
    2. BI Apps module
    Financials
    3. Source system and version
    EBS R12.1.2
    Please help me out .......

    Hope you have done finance config as per the link
    http://docs.oracle.com/cd/E20490_01/bia.7963/e19039/toc.htm
    List out the tables with row count=0, get the sql override query and execute in source to see # records for tables ending DS or FS where row count=0
    do the same for tables ending with _D using warehouse db.
    If fact tables are getting 0 records check the w_day_d table.
    let me know updates.
    If helps pls mark.

  • Entry view and general ledger view

    hi gurus,
    what is the difference between entry view and general ledger view in table level can any one pls help me
    thanks & regards,
    balaji.ch

    Check the following links.
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/42/fd9d7728985158e10000000a1553f7/content.htm
    http://help.sap.com/saphelp_erp60_sp/helpdata/EN/42/fd9e6c28985158e10000000a1553f7/content.htm
    Entry view shows basically the line items you enter into the system.  Data is retrieved from BKPF and BSEG tables.
    GL view may have additional line items (due to zero balance indicator in document splitting configuration) or the same line items with account assignments (that you do not see in entry view) that are filled due to document splitting characteristic configuration.  Using GL view you can retrieve documents from non-leading ledgers as well.  Data is retrieved from FAGLFLEX* tables.

Maybe you are looking for