Ekbe with ekes

Can anyone tell how can we relate EKES with EKBE.
I need to take the date from the PO History (EKBE-BUDAT) for every confirmations in EKES.
regards
venkey

Hi,
Go to EKBE table for GR document and get the field ETENS (Sequential number of vendor confirmation).
Go to EKES table and select the record based on EBELN, EBELP and ETENS to get the corresponding data
Field ETENS is common in both the tables EKES and EKBE

Similar Messages

  • Read statement with duplicate key fields

    Hello,
    I have an internal table(EKBE) with 8 fields
    ebeln ebelp vgabe gjahr belnr budat wrbtr refkey
    populating the first 7 fields from EKBE table with VGABE = 2 and PO#, concatenating the WRBTR and GJAHR to get the Refkey and passing this to the 8th field.
    Using this refkey, getting the document numbers from BKPF.
    I am looping another internal table into a work area and reading the above internal table by passing the ebeln field and I am doing some calculations ,etc.
    A custom table is getting updated from the above work area.
    The issue is-
    The internal table EKBE can have the same PO numbers with the same line item numbers but with different ref key's.
    So, when I am reading the int. tab, it is reading only one record, since I have no other key's to read except EBELN. So for one PO# it is reading only 1 ref key, I cannot use the line item# as a key, as the line item#'s never match, even if they match they could be same PO# with same line item# and different ref key.
    Any inputs highly appreciated.
    Regards,
    Kiran

    Loop on EKBE Internal table as well to fetch all entries of PO. Use Parallel cursor to optmize performance.
    http://wiki.sdn.sap.com/wiki/display/Snippets/ABAPCodeforParallelCursor-Loop+Processing

  • Reference Doc (Field - LFBNR) against IV cancellation - EKBE table

    Hi,
    We want to refer to table - EKBE, for getting a link between the original IV (Material Doc) with the cancellation (Material) IV Doc.
    At my earlier site, our cancellation (Material) IV Doc was getting updated as a "Reference Doc" against the Original (Material Doc) IV doc. which was a easy way to identify a link between Original IV (Material) Doc. & Cancelled (Material) IV doc for ABAP development logic. Was that becuase of any user exit or development to update the "Reference Doc." field in Table - EKBE ?
    Right now at our client, GR Doc (Material Doc) is getting updated as a "Reference Doc (Field - EKBE-LFBNR)" against all the material doc. pertaining to a particular P.O. in table - EKBE which require to give a different logic to identify the relationship between these 2 documents for ABAP development.
    No question of giving a different logic but that was a easy way to identify the relatioship.
    If possible, please confirm to me as which doc, system is referring as a "Reference Doc."
    Is there any setting we do for updating the particular document as a "Reference Doc." in EKBE Table.
    There is a SAP note about leaving the field "Reference Doc." as  a blank field or updated with the Material doc.
    But my point is that we want cancelled (Material Doc) IV as a "Reference Doc." against the original IV doc. to set a logic for ABAP development ?
    Regards,
    Shridhar

    Hi,
    No body is there who has handled in past such a requirement?
    I want to substitute the Reference Doc. - (Field - LFBNR) of Table - EKBE with the cancelled IV doc (MIRO cancelled doc).
    Purpose of this development is to identify the relation between Original IV (Material) Doc. with the Cancelled IV (Material) Doc.
    This logic will help us in one of our ABAP development.
    Regards,
    Shridhar

  • I want to update standard table field (EKES-EINDT)? Not using BDC using FM.

    Hi all,
    I would like to seek for you help, to resolve a problem.
    I need to know how can i update the EINDT(date) field in the EKES table.
    Is there any Function Module or BAPI available for update EKES-EINDT ? 
    And my requirement is don't use BDC.
    Currently I am doing in following way
    LOOP AT I_DATA.
      UPDATE EKES SET EINDT = P_NEWDAT
      WHERE EBELN = I_DATA-EBELN
      AND EBELP = I_DATA-EBELP
      AND ETENS = I_DATA-ETENS.
    ENDLOOP.
    I know we should not update standard table directly. This will only update EKES it will not update other tables related with EKES-EINDT.
    Got my point?
    Please help me it's on high priority.

    EKES can be updated with function module
    ME_CONFIRMATION_UPDATE

  • Regarding inner joins and calculations

    Dear Experts,
                   I have a simple problem but i am a little confused. The problem is that i have 3 tables one is ekpo, ekes,ekbe
      from ekpo i have to take matnr value and with respect to the matnr value i have to do this
    Field discription is opening stock to get this value i have to do this
    FOR ANY material sum of MENGE of EKES minus sum of MENGE of EKBE where VGABE=1
    Where EKES. EBELN = EKBE. EBELN And EBELP
    For input date range for EKBE BUDAT, EKES EINDT
    could you help me out with this problem

    Hi ,
    Don't use inner join for 3 tables. Instead extract the data from 2 tables EKES and EKBE and store in a internal table. for EKPO store in another internal table.   now you write the logic to calculate the desired result.   By doing this way it will not cause any problems on performance.

  • Praveen kumar J : 2LIS_02_SCL,ITM,SGR,SCN,CGR and 2LIS_03_BX,BF,UM

    I have summed up all my issues in this post:
    1. 2LIS_03_BF
    I was able to see records once I ran OLI1BW in RSA3 but when I am loading it into 0IC_C03 it is showing
    "added records" as 0.
    2. 2LIS_03_UM
    When I execute oLIZBW ,I enter the company code and the run name and a future date , I get a message plant is not valid. So when I enter plant in place of company code , it asks for archiving run . So when i enter archiving run as '1', it gives a message " No files exist"
    3. 2LIS_03_BX
    When I execute MCNB , I get a message " Inactive enhancement for BW extraction. Extraction not possible"
    4. 2LIS_02_CGR
    In RSA3 it is showing 0 records extracted
    5. 2LIS_02_SGR
    In RSA3 it shows 146 and in 0PUR_O01 it shows 146 as transferred and added as 93
    6. 2LIS_02_SCN
    In RSA3 ,it shows 62 and in 0PUR_O01 it shows 62 as transferred and added as 17.
    7.2LIS_02_ITM
    In RSA3 , it shows 991 records
    but when i load it into 0PUR_C01 , it shows tranferred as 1190 and added as 426 and when I load this into 0PUR_O01 it shows transferred as 1190 and added as 0.
    8. 2LIS_02_SCL
    RSA3 shows 991 , when I load into 0PUR_C01 , it shows transferred as 958 and added as 0.
    Message was edited by: subba rao
    Message was edited by: subba rao

    Hello Subba Rao,
    1. Please check your update rules, see if there is anything in your start routine which is deleting or restricting the data. Check if data is coming to PSA properly. I would suggest you simulate the updation and check whhat exactly is happening.
    2. It says no file exist because you have selcted archiving run. It is done when you want to load your history data from archive. That is not the case here and hence the message. Regarding the plant error, I am clueless, will update you if I find something on that.
    3. Check the enhancement, there might be some error on the code and the code may be inactive.
    4.If you are getting data for other purchasing datasources, then you are in good shape. CGR pulls data from EKBE and EKES, check those tables.
    5.No issue here as data with same key will be added up.
    6.Again no issue here.
    7. C01 seems to be fine. Check the update rule for O01 and simluate the updation and see.
    8. Again I would suggest to look into update rules.
    Regards,
    Praveen

  • Duplicate records in the Results of SAP Query thru SQVI

    Dear All,
    I formed a query and joined EKKO, EKBE, EKET & EKES tbls to fetch information on the PO Item-Qty, Delivery Dt., Vendor's Confirmed qty, etc.
    However, in the results I get repeated records.
    Pls advise the possible reasons for above.
    Rgds,

    Shekhar,
    Using a join on these tables is illogical.
    EKBE, EKET & EKES each have many-to-one relationships to EKKO.  Joining all four tables will typically give you multiple output records with redundant data.  Also, using straight inner joins will exclude certain data that you will certainly want to see.
    Try instead using Logical Database MEPOLDB.  It will sort most of these things out for you.
    If you elect to use the logical database, beware of trying to use multiple selection criteria from the lower level tables (EKBE, EKET & EKES).  You will not always get the results you expect.   Better to only place EKKO fields as selection parameters.  Save the other table fields for display.
    Rgds,
    DB49

  • Confuse on PR & PO data migration approach new to MM module

    Hi All,
    I'm pretty confuse with the PO data migration approach when it comes to PO is GR or partial GR or GR&IR. I'm hoping that someone can enlighten me. i understand that we typically don't migrate PO when it is GR & IR, FI team usually will bring over to the new system as an vendor open item in AP. How about the PR or PO which have gone through or half release strategy? What is the follow up process?  I have created a criteria table below. How Could someone point me in the right direction? Thanks in advance.
    PR
    Criteria
    Data migration required
    Notes
    Open and Released
    Y
    Open and not Released
    Y
    Flag for Deletion
    N
    Flag for Block
    Y
    PO
    Criteria
    Data migration required
    Notes
    Open and Released
    Y
    Open and not Released
    Y
    GR but no IR
    GR & IR
    N
    AP will bring over as open item
    Flag for Deletion
    N
    Flag for Block
    Y
    Partial
    Y
    For partial GR to recreate PO only with missing GR quantity
    Regards,
    John

    Hi John,
    The approach that i have followed recently is that we have considered PO as the base document and converted other documents based on the PO condition. This means you first need to see if the PO is to be converted or not. Then you can proceed to convert the related documents like PR, Agreement, Info record, Source list, etc.
    Also open qty for PO should be considered for Material and Service line items both.
    Once a GR/SES is created, it gets updated in the PO history table EKBE with its related transaction/event type.i.e. EKBE-VGABE = 1 for GR and 9 for SES. Quantity and value also gets updated in case of material and services. You can compare this consumed quantities with PO quantity.
    Please see below from SCN and let me know if you need more info on PR or PO conversion.
    Purchase Requisition Conversion Strategy
    Thanks,
    Akash

  • Retrieving Accounting Document number based on PO numbers

    Hey All,
            I have a list of PO numbers(EBELN) for which I am trying to get all Accounting information from BSIS. But before going to BSIS I am trying to determine the Accounting document number(BELNR) from some other table so that my select on BSIS will be efficient.
    What I have tried uptill now is to go to EKBE with the PO numbers and get the Material document numbers. For some cases the material document number is the accounting document number and for others I have to go to BKPF with this material document number to get the accounting document number.
    Is there any other easier and efficeint way of doing this?
    Any input is highly appreciated.
    Thanks

    I am retrieving Large amounts of data, around 1.5 million from BSIS.
    The code related to our discussion looks like this:
    "First I get all related PO's for the last three years and determine the no of packets.
    DO v_no_of_packets TIMES.
          IF v_end_indx GT v_total.
            v_end_indx = v_total.
          ENDIF.
          REFRESH i_ebeln_range[].
          APPEND LINES OF t_ebeln_range FROM v_start_indx TO v_end_indx TO i_ebeln_range.
          v_start_indx = v_end_indx + 1.
          v_end_indx   = v_end_indx + p_pkjsiz.
    IF NOT i_ebeln[] IS INITIAL.
      CLEAR l_bkpf.
      REFRESH l_bkpf[].
      SELECT ebeln ebelp zekkn vgabe gjahr belnr buzei FROM EKBE INTO TABLE t_belnr
                         WHERE ebeln IN i_ebeln_range
                          AND vgabe IN ('1' ,'2').
      IF sy-subrc EQ 0.
        LOOP AT t_belnr.
        l_awkey+0(10) = t_belnr-belnr.
        l_awkey+10(10) = t_belnr-gjahr.
        IF t_belnr-vgabe = '1'.
          l_awtyp = 'MKPF'.
        ELSE.
          l_awtyp = 'RMRP'.
        ENDIF.
        SELECT SINGLE bukrs belnr gjahr blart budat
          FROM bkpf INTO l_bkpf
            WHERE awtyp = l_awtyp
            AND   awkey = l_awkey.
          IF sy-subrc EQ 0.
             APPEND l_bkpf.
          ENDIF.
        ENDLOOP.
      ENDIF.
    ENDIF.
    "Then
      SELECT zuonr hkont gjahr belnr buzei budat blart wrbtr shkzg xblnr
    waers bukrs
       INTO TABLE i_bsis
       FROM bsis
       FOR ALL ENTRIES IN l_bkpf
        WHERE bukrs = l_bkpf-bukrs
                          AND  hkont IN r_hkont   "Contains all Accounts
                          AND  budat = l_bkpf-budat
                          AND  augdt = 0
                          AND  augbl = space
                          AND  gjahr = l_bkpf-gjahr
                          AND  belnr = l_bkpf-belnr
                          AND  blart = l_bkpf-blart
                          AND  gsber = c_zrl1.
      SELECT zuonr hkont gjahr belnr buzei budat blart wrbtr shkzg xblnr
    waers bukrs
       APPENDING TABLE i_bsis
       FROM bsas
        FOR ALL ENTRIES IN l_bkpf
        WHERE bukrs = l_bkpf-bukrs
                          AND  hkont IN r_hkont
                          AND  budat = l_bkpf-budat
                          AND  augdt = 0
                          AND  augbl = space
                          AND  gjahr = l_bkpf-gjahr
                          AND  belnr = l_bkpf-belnr
                          AND  blart = l_bkpf-blart
                          AND  gsber = c_zrl1.
    "Then process this data

  • Selection screen field value capturing

    Hi,
    I have developed a report for displaying amendment changes in a purchse order. The input are purchase order
    and plant. Now they have asked for an additional input of version field, which should also have F4 field-value help.
    For version field, default there is no F4 key. So, i have written code like after entering the PO number when we press the enter key, for the corresponding PO, it brings the version no in input field. But my problem is it is displaying the values for version field, but when i select some value it is not getting updated in selection-screen version field. I have attached my code below... please help me
    in the below code my problem is only between
    AT SELECTION-SCREEN on value-request for P_REVNO.
    and
    start-of-selection event...
    TABLES : ekko,
    ekpo,
    cdhdr,
    cdpos,
    MEPO1325,
    t001,
    t166c,
    t166t,
    adrc,
    komp, " net rate of header
    konv, " net value of purchase order
    zammendpodet.
    TYPES : BEGIN OF ts_cdpos,
    ebeln TYPE ekbe-ebeln,
    ebelp TYPE ekbe-ebelp,
    matnr type ekpo-matnr,
    maktx type makt-maktx,
    prdat type ekpo-prdat,
    belnr TYPE ekbe-belnr,
    budat TYPE ekbe-budat,
    tkey(70),
    txz01 TYPE ekpo-txz01,
    ctxnr TYPE t166c-ctxnr,
    desp(20) type C,
    MEINS LIKE MARA-MEINS,
    chtxt TYPE t166t-chtxt.
    INCLUDE STRUCTURE cdpos.
    TYPES : END OF ts_cdpos.
    data : begin of it_makt occurs 0,
    matnr like makt-matnr,
    maktx like makt-maktx,
    end of it_makt.
    data : begin of it_maRA occurs 0,
    matnr like maRA-matnr,
    mEINS like maRA-mEINS,
    end of it_maRA.
    *Internal table declartion
    DATA : it_erev TYPE TABLE OF erev WITH HEADER LINE,
    it_ekko1 type table of ekko with header line,
    it_konv2 type table of konv with header line,
    it_ekpo TYPE TABLE OF ekpo WITH HEADER LINE,
    it_ekpo1 TYPE TABLE OF ekpo WITH HEADER LINE,
    it_cdhdr TYPE TABLE OF cdhdr WITH HEADER LINE,
    it_t166c TYPE TABLE OF t166c WITH HEADER LINE,
    it_ekbe TYPE TABLE OF ekbe WITH HEADER LINE,
    IT_AMMEND TYPE TABLE OF ZAMMENDPODET WITH HEADER LINE,
    IT_AMMEND1 TYPE TABLE OF ZAMMENDPODET WITH HEADER LINE,
    it_komp TYPE TABLE OF KOMP WITH HEADER LINE,
    it_konv type table of konv with header line,
    it_konv1 type table of konv with header line,
    it_cdpos TYPE TABLE OF ts_cdpos WITH HEADER LINE.
    data : BEGIN OF it_erev1 occurs 0,
    revno TYPE erev-revno.
    data : end of it_erev1.
    data : begin of it_cdpos1 occurs 0.
    include structure cdpos.
    data : ebeln like ekko-ebeln,
    item like ekpo-ebelp,
    aedat like ekpo-aedat,
    matnr like ekpo-matnr,
    txz01 like ekpo-txz01,
    desp(20) type C,
    MEINS LIKE MARA-MEINS,
    item1 like ekpo-netpr.
    data : end of it_cdpos1.
    types : dy_temp TYPE lips-lgort.
    DATA : dyfields LIKE dynpread OCCURS 1 WITH HEADER LINE, dy_value TYPE dy_temp.
    DATA: progname TYPE sy-repid,
    dynnum TYPE sy-dynnr,
    dynpro_values TYPE TABLE OF dynpread,
    field_value LIKE LINE OF dynpro_values.
    *Work variable declaration
    DATA : v_revno TYPE erev-revno,
    revno1 type zammendpodet-revno,
    w_version TYPE erev-revno,
    w_erdat TYPE erev-erdat,
    w_eruhr TYPE erev-eruhr,
    wv_eruhr TYPE erev-eruhr,
    v_tabkey TYPE cdpos-tabkey,
    v_temp(5),
    v_olddate(8),
    v_newdate(8),
    v_value_old TYPE cdpos-value_old,
    V_OLD TYPE EKPO-BRTWR, " OLD VALUE FOR PURCHASE ORDER
    l_ind TYPE i,
    temp value 0 type i,
    temp1 type i,
    temp2 type i,
    temp3 type i,
    wa_cdpos like line of it_cdpos,
    wa_cdpos1 like line of it_cdpos1,
    v_tabkey1 TYPE cdpos-tabkey.
    PARAMETERS : p_ebeln TYPE ekko-ebeln,
    p_ebelp TYPE ekpo-ebelp.
    p_bukrs TYPE t001-bukrs,
    p_revno type erev-revno.
    INITIALIZATION.
    AT SELECTION-SCREEN on value-request for P_REVNO.
    CLEAR: dyfields[], dyfields.
    dyfields-fieldname = 'P_REVNO'.
    APPEND dyfields.
    CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
    dyname = sy-cprog
    dynumb = sy-dynnr
    TABLES
    dynpfields = dyfields.
    READ TABLE dyfields INDEX 1.
    SELECT revno
    FROM erev
    INTO TABLE it_erev1 WHERE edokn = p_ebeln.
    IF sy-subrc = 0.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    retfield = 'REVNO'
    dynpprog = progname
    dynpnr = dynnum
    dynprofield = 'P_REVNO'
    value_org = 'S'
    TABLES
    value_tab = it_eREV1
    EXCEPTIONS
    parameter_error = 1
    no_values_found = 2
    OTHERS = 3.
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDIF.
    START-OF-SELECTION.
    SELECT SINGLE *
    FROM t001
    WHERE bukrs EQ p_bukrs.
    IF sy-subrc EQ 0.
    SELECT SINGLE *
    FROM adrc
    WHERE addrnumber EQ t001-adrnr.
    ENDIF.
    SELECT SINGLE *
    FROM ekko
    WHERE ebeln
    EQ p_ebeln
    AND frgke = 2.
    select * from konv into corresponding fields of table it_konv where knumv eq ekko-knumv.
    useful informations will be rewarded.
    thanks and regards,
    subbu.,

    Hi ,
           Use this function module
        call function 'DYNP_VALUES_UPDATE'
          exporting
            dyname               = sy-repid
            dynumb               = sy-dynnr
          tables
            dynpfields           = t_dynpfields
          exceptions
            invalid_abapworkarea = 1
            invalid_dynprofield  = 2
            invalid_dynproname   = 3
            invalid_dynpronummer = 4
            invalid_request      = 5
            no_fielddescription  = 6
            undefind_error       = 7
            others               = 8.
    where t_dynpfields would contain name of field and value you want to update.
    Please reward if useful.

  • How to get the total no of delivery quantity in PO

    Hello,
    This is shehryar. my previous account got locked(dunno why  ) , so i have created a new acc.
    I want to display the total no of delivery quantity of a line item in PO. can it be done ?
    Thanks..
    Shehryar

    Here is a sample.  This works pretty good for me.  You must account for the reversals(102 movement types) also.
    report zrich_0001.
    data: iekbe type table of ekbe with header line.
    data: tot_menge type ekbe-menge.
    parameters: p_ebeln type ekpo-ebeln,
                p_ebelp type ekpo-ebelp.
    select * into table iekbe
               from ekbe
                       where ebeln = p_ebeln
                         and ebelp = p_ebelp
                         and VGABE = '1'
                         and ( bwart = '101'
                         or bwart = '102' ).
    clear tot_menge.
    loop at iekbe .
      if iekbe-bwart = '102'.
        iekbe-menge = iekbe-menge * -1.
      endif.
      tot_menge = tot_menge + iekbe-menge.
    endloop.
    write:/ tot_menge.
    Regards,
    Rich Heilman

  • Inner Join of 3 tables is correct or not?

    Hi Guys ,
                 I have a requirement where i have to join 3 tables i  dont know whether the inner Join which i wrote for 3 tables is correct or not.I am not getting any Syntax error but whether the logci below which i wrote gets all the records or not.
    The Requirement is
    "c.     Select the BOL Number entered in the screen and query the table LIKP with the BOL number in the field LIKP-BOLNR.  Gather the list of ALL delivery documents (LIKP-VBELN) that is outputted.
    d.     Query the list of the delivery documents obtained into the table VBFA in the field VBFA- VBELV.  From the output that is displayed, select the Follow-On Document Field (VBFA-VBELN) for that item whose Subsequent Document Category (VBFA- VBTYP_N) is R and the Movement Type (VBFA- BWART) is 641.  Get the Follow-On document number for each of the above Delivery Document number.
    e.     Query the table EKBE with the Follow On document obtained above in the field Material Document (EKBE- BELNR).  Perform this activity for each of the follow on document obtained above.  Get the resultant Purchase Order (EKBE-EBELN) and Item Number (EKBE-EBELP) from the query.  After querying will all the Follow-On Documents, get the unique list of PO number and Item Number.
    The logic which i wrote is
                    Begin of t_PoolSTO_out,
                  BOLNR type LIKP-BOLNR,
                  EBELN type EKBE-EBELN,
                  EBELP type EKBE-EBELP,
                  VBELN type LIKP-VBELN,
                  VBELNV type VBFA-VBELN,
             End of t_PoolSTO_out.
          Data: i_PoolSTO type Standard table of t_PoolSTO_out.
      Select
            a~BOLNR
            c~EBELN
            c~EBELP
            a~VBELN
            b~VBELN
            from LIKP as a
            Inner Join VBFA as b on aVBELN = bVBELV
            Inner Join EKBE as c on bVBELN = cBELNR
            into Table i_PoolSTO
            Where a~BOLNR in S_LBLNE and
                  b~VBTYP_N = 'R' and
                  b~BWART = '641'.
              My doubt is whether the logic works or not i Mean does i getall the rrecords based on the requirement.?
                      If not please tell any alternative logic?
    Thanks,
    Gopi Anne.

    Hi Gopi,
    Your code is Good.
    But try to avoid Inner join with more number of Tables ...because this is a performance issue..
    try to use..
    select (primary key fields mainly,other fields) from LIKP into itab where bolnr in p_bolnr(paramater).
    next try to use for all entries option..
    select (primary key fields mainly,other fields) from VBFA for all entries in itab where (give the condition)....
    simillarly do for the other select ....ok this will try to reduce the performance issue....
    <b><REMOVED BY MODERATOR></b>
    Message was edited by:
            Alvaro Tejada Galindo

  • Vendor history

    hi,
    which transaction code or table will give vendor history like how many Purchase order created, goods receipt done to that vendor , invoice receipt , payment done ,park document . overall want to know is that any transaction happened to that vendor or not. please help in solving this , need to develop a report showing vendor history

    mainly it is table EKKO which is the link from vendor to a purchasing document (PO, contract, SA)
    from EKKO you can goto EKBE to find most of the history you want like GR, IR
    from EKBE with invoice number you can goto RBKP invoice table for more details on the invoice.
    But you should consider as well EORD table for source list, EINA table for info records,  if you want to know whether the vendor is used in there as well.

  • FI/CO Help required

    Hi,
    I want to see Purchase order wise report. The report should show PO wise payment in FI.
    PO field is EBLEN and i am unable to find its link to BSIK or BSAK. The reason is that they are not maintaining EBELN in both these table. I tried on LIFNR but LIFNR is for Vendor only and the requirement is for EBELN means in PO.
    Please anyone help me out in this regard and also plz tell me any detail tables hierarchy of all modules.
    Thanks,

    Hi
    Probably the link is not directly between PO and FI, but btween incoming (trx MIRO) invoice and FI.
    So you should check the table EKBE with VGABE = 2 in order to find out the invoice and so read BKPF using this key:
    AWTYP = 'RMRP'
    AWKEY = RBKP-BELNR + RBKP+GJAHR.
    Max

  • Confirmations report for PO line items.

    Hi All,
    I have a PO which contains one sinlge line item and have put the confirmation contrl.ket as 0001/Z001 and Confrimation control as LA. we have created some 10 confirmations schedules on different dates with different qty.Inbound delivery has not yet created in the system for this line item.
    Now i would like to see these 10 schedule line confirmations in the report i tried with EKES it displays but i need some T codes which can show this report.Please let me know if any one has any idea of this or else we need to develop the program ? if yes tehn tell me wat are all teh tables we need to consider / join.
    Thanks,
    John

    Hi Prashant,
    I need the T code not the table.
    thanks for your reply.

Maybe you are looking for

  • Problems with keeping 4:3 and 16:9 dimensions

    I'm relatively inexperienced with DVD SP, particularly when it comes to working with 16:9. I've made a DVD with 4 different tracks - 3 tracks are originally 16:9 footage exported to .m2v using Compressor's DVD export settings (best quality - 120 minu

  • Excluding sender mail id in the mail

    Hi, I want to develop and application to send a mail. I can do it but the problem is i want to hide or exclude from address in the mail. I am not setting the from address then it taking the system user name as the sender of the mail. I don't want to

  • Ich kann mit dieser Meldung nichts anfangen..

    Ich bin mit Programmen und ähnlichem wenig vertraut. Will eine PDF datei im Adobe Acrobat XI pro bearbeiten und bekomme folgende Meldung (siehe Screen): Wisst ihr was da zu tuen ist?

  • Can you change the year of all songs in an album without changing the year of the album?

    Hi everyone, I was wondering if it is possible to change the year of all the songs within an album while keeping the year of the album. This is particularly relevant in 'Compliation' or 'Best of' albums, where all the years the songs were produced is

  • I can't open my *tdv - files

     I can't open my *tdv - files i made two months ago in diadem view. I run diadem 9.1.SP2c on Windows XP SP2 and we have Macaffee Enterprise 8i.When i make a new *tdv - file and save it, i can open it properly.