Link between EKBE and EKET for the below scenario

Hi all
We have a requirement to display schedule line number(eket-etenr) for purchase order and for each history of quantities in table EKBE (ekbe-ebeln ,ekbe-ebelp). Please suggest how we can link these two tables,
As i need to display the eket-etenr upto the quantity confirmed on latest date..
The example is below for quantity 81.
If Purshase history is
EKET-menge EKET- etenr
81 --- 0001
5 -
0002
10 --- 0003
date move-typ EKBE-menge ***-sum ETENR
01/26/2004 101 10 10 0001
01/26/2004 101 10 20 0001
01/27/2004 101 20 40 0001
01/27/2004 101 20 60 0001
01/30/2005 101 10 70 0001
03/31/2005 101 1 71 0001
03/31/2005 101 10 81 0001
04/01/2005 101 9 90 0001
11/20/2006 102 -9 81 0001
06/04/2006 101 3 84 0002
06/05/2006 101 1 85 0002
06/06/2006 102 -1 -1 84 0002
06/07/2006 101 3 87 0003
06/08/2006 101 9 96 0003
We need to display EKET-ETENr for each ekbe entry whenever the quantity is delivered til that line.
Pleae suggest possible ways.
Regards,
Latha.

Hi,
Pls chk this relations-
EKBE-> EKKO->based on EBELN
EKKO -> EKPO based on EBELN
EKPO->EKET based on EBELN, EBELP
First try to get the Purchase order numbers  into EKKO from EKBE based on this get their itmes from EKPO from this we can get the EKET values based on both documnet number and theier items.
To get the history of the PO(EBELN) check this select statement -
SELECT
     ebeln      "Purchasing Document Number
     ebelp      "Item Number of Purchasing Document
     gjahr      "Financial year
     vgabe      "Transaction/event type, purchase order
     belnr      "Number of material document
     bwart      "Movement type
     budat      "Posting date in the document
     menge      "Quantity
     wrbtr      "Amount in document currency
     waers      "Currency Key
     matnr      "Material number
     werks      "plant
     charg      "Batch
     FROM  ekbe
     INTO  TABLE i_ekbe
     WHERE gjahr IN  s_gjahr AND
           budat IN s_budat  AND
           werks =  p_plant.
SORT i_ekbe BY ebeln gjahr matnr vgabe bwart.
if i_ekbe[] is not initial.
SELECT
           ebeln    "PO
           lifnr       "VENDOR
      FROM ekko
      INTO TABLE i_ekko
      FOR ALL  ENTRIES IN i_ekbe
      WHERE ebeln = i_ekbe-ebeln.
endif.
SORT i_ekko BY ebeln.
if i_ekko[] is not intitial.
SELECT
            ebeln    "Purchasing Document Number
            ebelp    "Purchasing Document ITEM
            matnr    "Materail No.
            menge    "qty
            meins    "unit
              umrez    "Conversion factor                 "MOD-005
              umren    "conversion factor                 "MOD-005
        FROM ekpo
        INTO TABLE i_ekpo
             FOR ALL ENTRIES IN i_ekko
        WHERE ebeln = i_ekko-ebeln.
endif.
if i_ekpo[] is not initial.
    SELECT   *
           FROM eket
           INTO TABLE i_eket
           FOR ALL ENTRIES IN i_ekpo
           WHERE ebeln = i_ekpo-ebeln
           AND   ebelp = i_ekpo-ebelp.
endif.
Hope this solves your issue. Chanegethe WHERE conditions wherever necessarry as per your requiremnets.
Regards
Lekha

Similar Messages

  • How to deal with BRS for the below scenario?

    Hi,
    I would like to know the solution for the below scenario for BRS:
    I have a customer who was maintaining their accounts with Tally software for their previous Financial Year. This year they have shifted to SAP B1 2005B. They have issued few cheques for their vendors in the month of march 2008 which has been realised in the month of April 2008. As per Tally, the closing balance of their bank is 8 Lakh but as per the bank statement, their closing balance is 23 Lakhs. In SAP, the opening Balance for the bank is considered as 23 Lakhs. Now there are 15 Lakh worth cheques which were not realised for the month of March 2008.
    Example:
    abc a/c - 3Lakh
    def a/c - 5lakh
    xyz a/c - 7 lakh
    How do i reconcile for this scenario and what procedures do i follow in SAP?
    Thanks and Regards,
    Kaushal

    Hi Kamlesh,
    Thanks for your response.
    Actually, In the "Process External Bank Statement" window, i see that there are few entries which is for the previous year and which has not been reconciled. I have never worked practically on BRS and hence, i am scared to make any changes in the clients database without being confident on what i am doing. I need to reconcile for one of their Bank a/c for the month of April '08. I have the copy of the statements for the month ending 31st Mar 08 and 30th Apr 08. The closing balances are as below:
    31/03/08 - 2300000.00
    30/04/08 - 3100000.00
    Now my OB for Bank a/c for April '08 in SAP is 2300000.00 Dr.
    When i go to External Bank Reconciliation - Selection Criteria Screen (Manual Reconciliation), here are the detail that i enter:
    Last Balance: INR -7,000,000.00000 (Grayed out by the system)
    Ending Balance: INR -3,100,000.00000 (Entered by me)
    End Date: 30/04/08 (Entered by me)
    "Reconciliation Bank Statement" Screen opens up and shows the below balances in the screen:
    Cleared Book Balance: INR -7,000,000.00000
    Statement Ending Balance: INR -3,100,000.00000
    Difference: INR 3,800,000.00000
    As per the Bank statement, i have found all the transactions listed out here for the month of Apr '08 but, i also found that the open transactions for the previous month from April '08 have been lying in "Process External Bank Statement" window.
    Could you please help me solve my issue as to what needs to be done or could you also get me some links from where i can get few documents for processing External Bank Reconciliations?
    That will be of a great help for me. I need steps as to what needs to be done first and then the next so that i can arrive at the correct closing balance for the month April '08.
    Thanks in Advance....
    Regards,
    Kaushal

  • Communication between CRM and ERP for E-commerce scenario

    Question more on lines of system architecture design.
    We are planning to implement CRM E-commerce and wanted to find out more detail about the communication between CRM and ERP systems. Do they need to communicate in real time for this application, or is it mainly initial and delta loads? Is the amount of data exchanged huge ( necessitating both systems to be on the same network, or can they be on separate geographical locations )?
    We also understand that E-commerce can also be done only using ERP. How does that differ from the CRM version?

    Hey Sanket,
    Q 1 . Do CRM and ECC need to communicate in real time for Ecommerce application, or is it mainly initial and delta loads
    Ans. CRM and ECC communicate using RFC connections which further uses TCP/IP as the protocol.The communication can be both  real time { delta loads} or offline {initial download}.
    Q2 .Is the amount of data exchanged huge ( necessitating both systems to be on the same network, or can they be on separate geographical locations )?
    Ans. The amount of data can be huge hence its preferable that both systems to be on the same network.
    Q 3. We also understand that E-commerce can also be done only using ERP. How does that differ from the CRM version
    Ans.Theres no difference functionally  but technically the application connects to the ECC system using JCO to execute all the RFC enabled function modules.
    Warm Regards,
    Sumit

  • Break the link between IT0007 and IT0008 for Capacity Utilization Level

    Hi Gurus!
    We have a system that connects the field "Employment Percentage" from IT0007 with the "Capacity Utilization Level" from IT0008. That means that every change in the Employment Percentage changes also the percentage in the Capacity Utilization level.
    Our idea is to disconnect those two fields and make them independent, because the HR Department preffer to introduce this information manually twice (once in each infotype).
    Do you have any idea of how I should do that?
    Thank you in advance!
    Abel

    I know what it means... The problem is for what they are using this infotype.
    For them IT0007 has the schedule of the person, and the percentage can change (<100% means part-time employee)... but in IT0008 they WANT ALWAYS the 100%, because for them this percentage is based in how many hours of all the hours informed in IT0007 the employee worked.
    In other words, if the employee has a Work Schedule Rule of 8 hours a day, but he is contracted part-time for only 4 hours a day, In the IT0007 he will be informed with an Employment percentage of 50%, but in the IT0008 he will have a Capacity Utilization Level of 100%, because he will work the 100% of the hours informed in the IT0007 (the 4 hours informed in Daily Working Hours).
    I know it is a little bit confusing, but it's the way they are working now... probably in the future they will correct their processes, but now we must adapt to their requirements and work in this way.
    Any Idea will be welcomed
    Edited by: Abel Raya on Jan 27, 2011 11:21 AM

  • Link between IT0014 and IT0015

    Hi,
       i created one wage type in IT0015 with amount 5000$, So that 5000$ payment made to associate. Now the same i want to recovery as 500$ in 10 installments through IT0014. Can u pls help me how will create the link between IT0014 and IT0015 for the advance wage type?
    Please give me the detailed information,so that i can configure in my system own.

    Hi,
    Please follow the below steps:
    1. Copy the WT (XXX1) from MD70 as a Balance WT
    2. Copy the WT (XXX2) from MD80 as a Recovery WT
    3. Copy the WT (XXX3) from MD90 as a Total WT
    4. Maintain the link in the table V_T51P1:
      indicator 10: Recovery WT to Balance WT
      Indicator 11: Balance WT to Total WT
    After you Paid the Advance Just decide the installments star date and amount and then maintain
    1. WT XXX2 in IT0014 with same start date (End date can be 31.12.9999) (Installment amount needs to be maintained)
    2.WT XXX1 in IT0015 with same start date (One time entry only) (the Advance amount needs to be maintained)
    3. WT XXX3 no need to maintain in any info type AND just you run the payroll ,system will deduct all installments until the total advance will deduct.
    Please let me know if you have .........
    Thanks
    Cheera

  • 'Is there a link between OLM and iProcurement'

    I have been asked 'Is there a link between OLM and iProcurement'? The person posing the question is wanting to create trainers as suppliers and I know that the supplier information is shared between OLM and the A/P, A/R and G/L modules and I presume that the link to iProcurement will be via one of these modules however is there a more direct vanilla link between OLM and iprocurement?
    Any help would be great
    Thanks
    DM

    I am afraid there is no link between the iProc and OLM.
    The closest that apps can offer you is that your learner/delegates can be of type external i.e. being an Organization or a Customer. Hence there exists a link for your delegate to be a customer(hz_parties).
    However this might be a future integration i.e. Trainers being suppliers. I am saying so because in 11.5.10 there is a table named OTA_VENDOR_SUPPLIES that has reference to vendor_id. Currently this table is not being used by OLM.
    You may look into the code of packages OTA_VSP_API, OTA_TEA_BUS & OTA_PLE_BUS and see if Oracle's future functionality will converge towards your business requirement.
    Thanks,
    Anil Passi
    http://oracle.anilpassi.com

  • Link between KONA and VBRK/VBRP and KONP and VBRK/VBRP

    Hi
    please suggest me the link between KONA and VBRK/VBRP and
    KONP and VBRK/VBRP
    I want to give link of rebate agreement and invoice no/Inv Qty
    My requirement is I want a report where i can see Under one Rebate agreement ,how many Commercial Invoice use
    e.g. Rebate Agreement no -125 ( for 10 Rs / unit)
    I have created 10 Invoice for 10 qty each so accrual Amount is 10* 10= 100
    I want such report where for agreement No 125- 10 Invoice No should be reflected.
    I don't want to go into VBO2 and go to verification level that concept i know
    i want one report where i will see all
    Regards
    Hemant

    Hi
    In my case i want commercial invoice no (billing type F2) but if i try to find link between KONA and VBRK for field KNUMA i can only see credit Memo No(Billing type-B3-rebate billing type) ,
    I want to display commericial invoice and not rebate credit memo
    Pls advice
    Regards
    Hemant Gaikwad

  • 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

  • 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

  • I use BT Yahoo! but when I try and navigate to email from the home page it keeps jumping between 'connected and waiting for login' and never loads up.

    My internet service provider is BT in the UK. The home page is www.btinternet.com. After I've logged on, the home page displays fine - I can see the summary of my emails in one of the windows on the home page. The problem comes when I click on the mail application. The page then tries to load the email application. However, it never actually loads, it keeps jumping between connected and waiting for login. It never achieves it so I just have to click the 'back' button to get to the home page. I use chrome and ie but neither has this problem.

    I retraced my steps to how i got the Google app:
    App Store icon on Home Screen > Search, at bottom > entered Google
    The first Google App on the screen appears:
    Google logo small g in blue square: Google Search; Open (because it is already installed).  Below that is a picture of the iPod with the usual  Google Search screen.  I have never inserted a link into a discussion group so i hope you can open this. 
    http://https://itunes.apple.com/us/app/google-search/id284815942?mt=8
    Does this bring us any closer? 

  • How to customize the link between archivelink and Alfresco

    hi,
    We are using Alfresco as content manager and we want to scan the invoices according to the "Late Storage with Bar Codes in FI" scenario [http://help.sap.com/saphelp_470/helpdata/en/46/c4317ffc4b11d195650000e82deb58/frameset.htm].
    Each scanned invoice will be stored in Alfresco as a pdf file and we want to be able to display it from the sap 'display FI document' transaction (thru 'environment' menu / Additional assignments/object links).
    my question is how to make the bridge between sap archivelink and Alfresco for this display ?
    how to customize link between archivelink and Alfresco ? Is it possible with customizing only or is it necessary to buy third party software ?
    we are working in 4.7.

    Hi,
    Apparently you need an interface between SAP and Alfresco that implements SAP archivelink.
    Once that is in place you can configure a repository in OAC0.
    At the link below you find a link to a PDF
    http://forums.alfresco.com/en/viewtopic.php?f=14&t=13502
    Our company had an own content repository software. It used KGS SAPALINK to make the connection with SAP.
    Furthermore CTAC seems to have done development to connect SAP and Alfresco.
    Currently we are looking for a new repository system as well. A couple of weeks ago management decided that within some departments Alfresco will be the standard DMS. It would be great if we could use it as content server as well.
    Kind Regards
    Edmond

  • Establish the link between equipment and its standby equipmnent

    Dear experts
    How to establish the link between equipment and its standby equipmnent in SAP?
    For example, I have one pump in a plant and also i have a standby pump installed next to it...now i would like to establish a relation between these two inorder to track them.
    I tried linking them as subequipments, but logically that is not sub equipment.
    what is the best way to do it?
    Regards

    Praveen,
    Equipment & Standby equipments are  installed on same Function location.
    There are below workarounds for solutions.
    1. Use Position Number
    2. Use A,B,C indicator with Running & Standby status
    2. Use link if it is applicable.
    3. Use classification system & provide characteristic as Running / Standby
    Further u can assign the System condom which is equivalent to equipment running  or stop condition during transactional data creation like order..
    If it is running it indicates it is working.
    If it is in stop condition then at that time it is in standby mode.
    Thanks,
    Ramesh

  • What is the link between PO and Requisition in database side

    hello friends,
    please can any one tell me that what is the link between PO and Requisition in database side. means after creating the requisition we will go for create the PO based on that requisition.
    want to know that what is the link between both in database side.
    Thanks in advance
    krish.

    Hi,
    The link is at distribution level, between:
    PO_DISTRIBUTIONS_ALL.REQ_DISTRIBUTION_ID
    and
    PO_REQ_DISTRIBUTIONS_ALL.DISTRIBUTION_ID
    Hope it helps.

  • Install from scratch 3 times Mavericks but cannot used my restore it will just start for ever. After first install and restore mail and link between folder and files didn't work anymore. Now cant see my disk in finder. Help?

    First install through regular update : never finishing the start after automatic restart
    First install from scratch: erase through disk utility, install OS X Mavericks (using Recover mode), restart ok - Used Migration Assistant to restore applications and data only - Mail crashed each 5 inutes and asked constantly for password of my 2 accounts, links between folders and files not OK and attaching a doc was complicated. I downloaded the update same problems
    Second install from scratch: erase through disk utility, install OS X Mavericks (using Recover mode), restart ok - Used Migration Assistant to restore applications and data only and settings : never finishing the start after automatic restart
    Third install from scratch: erase through disk utility, install OS X Mavericks (using Recover mode), restart ok - But no disk available in Finder
    So far no Mac since 3 days ...
    Any help is welcome

    Still struggling to understand why copying the entire root dir to a disk image and then restoring from that image did not, as expected, yield an identical system, and why I even had to reinstall after doing this.
    Because there is a lot more going on under the hood than merely copying files.
    The only way to do what you want is to use cloning software like Carbon Copy Cloner.
    My  advice is to rescue your personal files to a regular non-TimeMachine  external drive, Zero erase the ENTIRE drive and install OS X fresh and  update, then your programs from original sources and files from backup.
    Then, make a bootable clone and you can copy that as many times as you want and each one is bootable.
    Most commonly used backup methods
    How to erase and install Snow Leopard 10.6

  • Link between Class and characteristics created for that class

    Hi All,
    Is there any table that I can look at to find a link between class and the characteristics created for that class. For all the list of characteristics created I am refereing to CABN table but my requirement is to find the logic to see all the characteristics created for a class. Can anyone suggest me the right table to look at?
    Regards,
    Shane

    Hi,
    I would like to thank you for your quick response. So based on your thoughts, here is the process i followed to find the characteristics for a existing class,  took the Internal class number and used the KSML table to find all the Characteristics created for that class.
    To find the list of values assigned to that characteristics, used the AUSP table for that characteristics internal number.
    Thank you again for your inputs
    Shane.

Maybe you are looking for