Link between Anep and bseg table.

How are ANEP and BSEG table related functionally? I am using the ANBTR field from ANEP table and retrieving the HKONT(G/L account) field from BSEG. I want to ask if entry for some assete exists in ANEP table then is it necessarty to have G/L account in BSEG table corresponding to this asset in ANEP. I am joining the two tables on BUKRS, BELNR, BUZEI and GJAHR fields.

Hi
For BSEG you cannot inner join. Its a cluster table and u dont have option to inner join. Instead take neccessary record in BSEG with valid condition.

Similar Messages

  • Linking between PP and SD tables

    Hai friends,
    I want one link between PP and SD tables. My requirement is i have planned order PLAF table. i want to link Sales table. Please guide me.
    Thanks and Regards
    visvanath

    Hi
    You can simply link the Sales order No and ITEM
    VBAP-VBELN and VBAP-POSNR with the PP order item table
    AFPO-KDAUF and AFPO-KDPOS and get the Pp related info
    or in Sales tables there is a field called AUFNR in VBAP
    use that for PP order number
    SD tables
    http://www.erpgenie.com/abap/tables_sd.htm
    PP tables
    http://www.erpgenie.com/abap/tables_pp.htm
    Regards
    Kiran Sure

  • Link between vbpa and vbak tables

    Hi,
    I would like to know the link between VBAK and VBPA tables.
    VBELN field in both these fields are the same?
    If I give the VBELN field got from the VBAK table into the VBPA table will I get the  customer number(KUNNR) of that particular SAles document?
    Thanks & Regards,
    Soumya.

    You can get Kunnr directly from the VBAK table, if you wanna do the Join still you can go forward and do it there is no harm but remeber to give the Partner Function(PARVW) as well as VBELN.
    Hope That Helps
    Anirban M.

  • Link between AUFK and BKPF table

    Hi all,
    Can anyone tell me the link between AUFK and BKPF table.
    Thanks in advance
    Regards
    Neha Kapoor

    hi neha ,
    1.first u have to get MBLNR from AUFM for that order
    2.Next u have to call FM
    <b>AC_DOCUMENT_RECORD</b>
    I_AWTYP                         MKPF--->Constant
    I_AWREF                         4900003215--->MBLNR
    I_AWORG                         2004--->Year
    I_AWSYS
    I_AWTYP_INCL
    I_AWTYP_EXCL
    I_BUKRS
    I_VALUTYP                       0
    X_DIALOG                           X
    then u will get the Accounting Documents.
    regards
    prabhu

  • Is there any link between oe_order_headers_all and hz_cust_accounts tables. I need to find the cust_account_id for some order_number. Please help me with this

    Is there any link between oe_order_headers_all and hz_cust_accounts tables. I need to find the cust_account_id for some order_number. Please help me with this

    you can link
    OOH.invoice_to_org_id=CUST.cust_account_id   -- invoice customer
    OOH.sold_to_org_id=CUST.cust_account_id   -- sold to customer
    OOH.ship_to_org_id=CUST.cust_account_id   -- ship to customer

  • Link between AFVC and EBAN tables (material report)

    Friends, wanted to check if anyone can provide assistance on table links between AFVC and EBAN.  The requirement is to track material/service quantity, price, etc in comparison with plan version versus PR, PO, GR, etc.  tried retrieving object numbers of WBS and activities using 'get proj info'  bapi and tried passing them in tables COSP/EBAN/COKEY but the essential link between material assigned to network activity and the PR is missing..
    Thanks in anticipation,

    Hi,
    Did you try the link including EBKN. Basically you can pass the network / WBS number in EBKN and get teh PR number and use this detail in to the item table of PR.
    Regards
    Sreekanth

  • Link between J_1IEXCDTL and BSEG.

    Hai,
    Can someone tell me how I can link the tables J_1IEXCDTL(CIN Table) and BSEG.
    Please help.
    Thanks in advance
    Binoo

    Hi,
    You will find link in Table J_1IGRXREF ( Goods Receipt to Excise Invoice Coss Reference )
    Try as below :
    1) J_1IEXCHDR
       a) TRNTYP
       b) DOCYR
       c) DOCNO
       d) BUKRS
    2) J_1IEXCDTL
       a) TRNTYP
       b) DOCYR
       c) DOCNO
       d) EXNUM
       e) EXYEAR
    Link table 2 and 1 by 1a=2a,1b=2b,1c=2c
    3) J_1IGRXREF
       a) EXNUM
       b) EXYEAR
       c) MBLNR
       d) MJAHR
       e) RDOC1
       f) RYEAR1
       g) STATUS
    Link table 3 and 2 with 3a=2d and 3b=2e
    4) BSEG
       a) BUKRS
       b) BELNR
       c) GJAHR
    Link table 1,3 and 4 as 4a = 1d, 4b = 3e and 4c = 3f
    You can also refer program - J_1IEXCP_REJECTION for link.
    I haven't tried it but i hope it will work. Check and Reply.
    Ashok

  • Link between PO and AP tables

    Hi,
    I am trying to modify a query by trying to link AP and PO tables. Plz let me know the columns I can use for linking the tables (it can PO_HEADERS, PO_DISTRIBUTIONS or others in PO, it can AP_INVOICES, AP_CHECKS, AP_INVOICE_PAYMENTS or others in AP). The thing is I am unable to find two columns which are not null in both the columns. I see a link between po_distribution_id in both modules but in AP module it is not mandatory to have a value.Similar is the case with PO_HEADER_ID.
    The option of using the outer joins when the query is run for the PO and AP link with one of the above two columns is not giving the expected results.
    Any solution(s) to the issue.
    Sreekanth

    Hi, you can link AP and PO tables in this way: please consider for the AP side table AP_INVOICE_DISTRIBUTIONS_ALL, where you will find all Invoices' distributions. In this table there is a field called PO_DISTRIBUTION_ID that is the right link to PO.
    Hope this helps
    Regards
    Riccardo

  • Link between Prps and Vbap table

    Hi all,
    How can i link PRPS and VBAP table .
    Please suggest.
    Thanks and regrads
    Neha Kapoor

    hi,
    neha try this.
    PRPS-PSPNR = VBAP-PS_PSP_PNR
    rgds
    anver

  • Link between PO and Invoice tables

    Hi,
    I'm desperately trying to find a table that links an invoice to a purchase order. I've been searching on the forum and all the suggestions don't seem to hold the relevant information.
    Any advice would be appreciated.
    John

    Hi John,
    Use
      CALL FUNCTION 'BBP_PD_INV_GETDETAIL'
        EXPORTING
          i_object_id = lv_inv
    object_id
        IMPORTING
          e_header    = ls_header
        TABLES
          e_item      = lt_item.
    u will get purchase order in  ls_item-be_refob
    Regards,
    Neelima

  • Link between GLPCA and PNWTYH table

    Hi,
    Could anyone pl tell the field which links table PNWTYH and GLPCS.If not direct,how can these two tables shall be linked through some other tables.
    SB

    Sorry Pete,
    Read as GLPCA.
    Regards
    SB

  • What is the link between EKPO and KONP tables

    Dear All,
    Please I want to access KONP table based on purchasing document number(Ebeln).
    I have to pick kbetr field from konp and I know the kshcl field.
    But to access the Konp table I have only EBELN with me.
    Regards
    Mave

    Hi Mave ,
    There is a table <b>A016</b> which links Purchase Order Items to condition record number KNUMH. From A016 you can select a record corresponding to PO Number & Item Number. Using this KNUMH you can select from KONP.
    For header conditions you can use A019.
    Cheers

  • Link between  t685a and  knov table

    hi
    i want all the entries in knov table where t685a-kmanu is 'D'
    help plz
    sravz

    Hi Shravanthi,
    Define two internal tables i_konv and i_t658a with the fields as per your requirement and do the selections as follows.
    Select  KAPPL
    KSCHL     
    KRECH     
    KZBZG     
    KNTYP
    From t685a
    Into table i_t685a
    Where kmanu = 'D'.
    If i_t685a is not initial.
    Select (name of the fileds you want from KONV table)
              Into table i_konv
              For all entries in i_t685a
              Where   KAPPL = i_t685a- KAPPL.
    KSCHL = i_t685a- KSCHL     
    KRECH = i_t685a- KRECH     
    KZBZG = i_t685a- KZBZG     
    KNTYP = i_t685a- KNTYP
    Hope this will help.
    Regards,
    Deepa Kulkarni

  • Link between ekko and vekp table

    Hi All,
    Can any let me know the relation ship or the connectivity for
    purchase order (ekko- ebeln) and Handling unit (vekp-exidv).
    i need to fetch the hu details based on the purchase order.
    required urgently.
    regards,
    Ak
    Edited by: arvind on Apr 11, 2008 9:10 AM

    hi neha ,
    1.first u have to get MBLNR from AUFM for that order
    2.Next u have to call FM
    <b>AC_DOCUMENT_RECORD</b>
    I_AWTYP                         MKPF--->Constant
    I_AWREF                         4900003215--->MBLNR
    I_AWORG                         2004--->Year
    I_AWSYS
    I_AWTYP_INCL
    I_AWTYP_EXCL
    I_BUKRS
    I_VALUTYP                       0
    X_DIALOG                           X
    then u will get the Accounting Documents.
    regards
    prabhu

  • Link between VBRP and KONV

    hello,
        any idea for the link between VBRP and KONV tables ?
    I am fetching vbeln from vbak and based on that i am getting matnr and quantity details from vbrp now i want to get condition type and tax code details from konv.how to link it?
    regards
    Soniya.

    KONV (condition table) is linked to VBRK (Billing: Header data) by the following
    VBRK-KNUMV = KONV-KNUMV
    and VBRK (Billing: Header data) is linked to VBRP (Billing: Item data) by the following
    VBRK-VBELN = VBRP-VBELN
    I believe you can can fetch data from VBRP using for all entries.
    Then fetch the data from KNOV table using the above given link and then modify the required internal table to retrieve the required result.
    Hope it helps

Maybe you are looking for

  • Material type for BOM

    i want to know which material type can i use for creatig BOM first level this material type not qty and value updated also it can't be procured and can't be sold.the main usage of this material is grouping and as assembly of parts.

  • Anyone in the know please about power..

    I think I have worked out what is wrong with my macbook 2.4ghz, regarding it doing hard shut downs etx while plugged in. I have been gaming on Crysis with it, and it look absolutely fantastic, as my MBP runs natively on high, very impressive. But i t

  • Send account query

    User Dale.Strugnell571 Paid but not Minutes, please load the delivered account!

  • V6v4tunnel not working in Server Core 2008 R2

    I've been trying to configure an IPv6-in-IPv4 tunnel (from HE) on Server Core 2K8 R2, but it simply refuses to work. I try: netsh interface ipv6 add v6v4tunnel HETunnel <v4 local IP> <v4 Endpoint IP> and get A service installation section in this INF

  • Rogue Oracle Homes when using Opatch

    Hi, I am using Opatch ( in this case to check for one off patch conflicts ) before applying PSU 11.1.0.7.6 The Opatch session appears to be picking up rogue Oracle Homes ( presumably from past cloning sessions or previous installs ). It also is throo