Table..Purchase Order wise Sales order and Project No. (WBSE)

Hi folks!
I want to display a table in which I can see, PO wise .... sales oredr and WBSE assignment at item level
I have checked EKPO but this information is not there.
Please help
Best regards

EKKN

Similar Messages

  • Purchase order and sales order table name

    hi al,
    i want to know purchase order and sales order table name in abap.
    thanks
    varun
    Moderator message: please do some own research, this should not take too long.
    Edited by: Thomas Zloch on Jan 27, 2012

    Hi Sunrag......
    If your PO is linked with SO. Then you can fetch customer name easily by FMS in PO.
    From there you ca gte the Customer Name into your PLD and it wont hang also.....
    Regards,
    Rahul

  • Open Purchase Orders and Open Sales Orders

    Hi,
    Please let me know the table names for open purchase orders and sales orders.
    Regards,
    Prii

    HI Priti,
    EKPO-ELIKZ  "Delivery completed" indicator, This tell if the given PO line items has any open quantity or not.
    Logic to find out if a given PO has Open Quantity or not is do the following:
        " select the PO Qunatity.
        SELECT SINGLE MENGE FROM EKPO INTO PO_QTY WHERE
        EBELN = ITAB_PO_LN-EBELN AND
        EBELP = ITAB_PO_LN-EBELP.
        " select the GR qunatity which has been received.
        SELECT SUM( MENGE ) FROM EKBE INTO GR_QTY WHERE
        EBELN = ITAB_PO_LN-EBELN AND
        EBELP = ITAB_PO_LN-EBELP AND
        BWART = '101'.
        " select GR Quantity which has been reversed.
        SELECT SUM( MENGE ) FROM EKBE INTO GR_REV_QTY WHERE
        EBELN = ITAB_PO_LN-EBELN  AND
        EBELP = ITAB_PO_LN-EBELP AND
        BWART = '102'.
        POSTED_QTY =   GR_QTY - GR_REV_QTY .
        OPEN_QTY = PO_QTY - POSTED_QTY.
    Regards,
    -Venkat.

  • Purchase orders and sales documents

    hi what r the transaction codes for purchase orders and sales documents.

    Hi Mohan,
    ME2C  Purchase Orders by Material Group
    ME2J  Purchase Orders for Project
    ME2L  Purchase Orders by Vendor
    ME2M  Purchase Orders by Material
    ME2N  Purchase Orders by PO Number
    ME2W  Purchase Orders for Supplying Plant
    VA03  Ccreate Sales Order
    VA03  Change Sales Order
    VA03  Display Sales Order
    Regards,
      ok

  • Jump from Sales Order to Purchase Order and back again (all in change mode)

    Hi,
    Situation is this:
      - Sales Order is created with 10 items. 4 items are created with connection to Purchase Order.
      - User open Sales Order in change mode
      - User goes to item 20 that has a related Purchase Order
      - User wants to jump to related Purchase Order and make an update here
      - User wants to be able to jump back to Sales Order Item 20 from Purchase Order
    When user jumps to Purchase Order in change mode, then this Purchase Order will also block the same Sales Order, that was open. This can be handled with dequeue and enqueue.
    Problem is that when Purchase Order is saved it will make an update to the Sales Order in the background. When user jumps back to Sales Order then this Sales Order is still open with old data and these data does not reflect data that can have been updated by the Purchase Order.
    Also: When Purchase Order is making updates to the Sales Order then e.g. Message Out Table NAST is automatically updated (insert and delete records). If user then manually updates the Sales Order with old information, then System Dump appears as Sales Order tries to insert NAST records, that have already been inserted or delete NAST records that have already been deleted via the Purchase Order.
    This means that when user jumps back from Purchase Order to Sales Order Item 20 then Sales Order needs to be refreshed with new data after Purchase Order has saved the Sales Order.
    Are there any solution to do this in a standard way (from within SAPMV45A) ?  
    I prefer not to reopen Sales Order using syntax like CALL TRANSACTION.

    Hi,
    Thanks for reply.
    In third party PR gets created automatically but PO gets create manually.So changes get refelect in PR only not in PO.
    Can you give me the solution for completing this task.
    Thanks & Regards
    Jalaj garg

  • Open purchase orders and sales orders

    Hi,
    How to handle  old open purchase orders and open sales orders after implementing SABRIX for tax calculation??

    The answer is to update all the open orders with a tax code which will call the external tax engine!

  • Migrate Open items - Sales orders/ purchase orders and unbilled deliveries

    Hello All
    Can you please tell me the best practice to migrate open sales orders, purchase orders and deliveries due for billing at Cutover to the new system?
    Also how can the historical data be migrated? What all comes under historical data?
    Many Thanks
    CM

    The way the sales order data is migrated is largely dependent on the number of orders you are intending to migrate. 'Best practice' would suggest you do the following:
    1) Do not migrate any completed orders (they should be kept as 'read only' in the legacy system)
    2) Get the business to close as many orders as possible before the cutover 
    3) Stop entry of any new orders during the cutover the period - hold them back and enter them directly into SAP.
    Once you have a manageable numebr of orders to migrate you really have two options:
    Upload the basic order into SAP (we have usually done this from a spreadsheet using ALE or some similar tool). The basic data is confirmed to order type, order number, order date, customer number, material code and quantity. Any data in addition to this is then added manually to the system by the users e.g. pricing info (this is really important as pricing data is really difficult to map). To do this you will need to have sequenced this correctly e.g. ensuring that the data and config for both the materials and customers are all already in the system before you load the orders.
    The second option would be to load them all completely manually - which is why I said at the beginning that really, the best approach is determined by the quantity of orders you need to migrate.
    I am sure other people will have used other methods but these two are the ones we usually use.
    (edit) P.S. you must remember that 'open' sales orders are any orders that are not yet billed so even if an order is delivered in your legacy system if it has not been invoiced you MAY need to migrate it. But as I metioned at the beginning - it would really be better to complete that order (i.e. bill it) before you close the legacy system so that it does not need to be migrated.
    ========
    For deliveries - again, there is no simple fix for this. Because the migration of a delivery demands the migration of an open sales order, the best approach is probably to load the sales order basic data, get the users to complete the sales orders (as described above) and then run the delivery due lists or manually and individually deliver each sales order item.  
    You cannot migrate ONLY the deliveries, you need to migrate the preceeding order(s) as well. But, again, if you take the approach of closing as many as possible in the legacy system, it will be much easier than migrating them.
    Edited by: charlieclown on Jun 25, 2009 4:19 PM

  • HOW WE FIND OUT OPEN PURCHASE ORDER AND CLOSED PURCHASE IN THE TABLE?

    HI,
    PLZZ HELP ME.
    what are fields names for open purchase order and closed purchase order
    thanks

    Hi param,
    Go to mseg table, pass the purchase order number and purchase order item. if the mseg-menge = ekpo-menge for the corresponding purchase order then consider the purchase order is close, else it is still open. even check if the entries are not there for corresponding purchase order in mseg table then also it is open.
    select mblnr zeile matnr menge from mseg into it_mseg where ebeln = it_ekko-ebeln
    and    ebelp = it_ekpo-ebeln.
    if sy-subrc <> 0.
    then consider the purchase order is open.
    This is the first case.
    even u can consider like this
    if sy-subrc = 0.
    if it_ekpo-menge > it_mseg-menge.
    then also the purchase order is open.
    Regards,
    Santosh Kumar M.
    Award points if it is useful.

  • Table for open Purchase order and pending invoices for vendors

    Hi,
    Are there any table to know open Purchase orders and pending invoices for vendors.
    Quick response will be appreciated.
    Thanks & Regards

    hi,
    Purchase Order:
    S011:(PURCH: Purch. Group Statistics)
    Statistics (SSOUR)
    Version (VRSIO)
    Month (SPMON)
    Day (SPTAG)
    Week (SPWOC)
    Posting Period (SPBUP)
    Purchasing Org (EKORG)
    Purchasing Group (EKGRP)
    Vendor No (LIFNR)
    S012: (PURCHIS: Purchasing Statistics)
    Statistics (SSOUR)
    Version (VRSIO)
    Month (SPMON)
    Day (SPTAG)
    Week (SPWOC)
    Posting Period (SPBUP)
    Purchasing Org (EKORG)
    Purchasing Group (EKGRP)
    Material No (MATNR)
    Plant (WERKS)
    Info Record Category (ESOKZ)
    Material Group (MATKL)
    Info Record (INFNR)
    Country (LAND1)
    EINE: (Purchasing Info Record: Purchasing
    Organization Data)
    Info Record (INFNR)
    Purchasing Org (EKORG)
    Info Record Type (ESOKZ)
    Plant (WEKS)
    EKET: (Delivery Schedules)
    Purchasing Doc (EBELN)
    Item (EBELP)
    Delivery Schedule (ETENR)
    EKPO: (Purchasing Document Item)
    Purchasing Doc (EBELN)
    Item (EBELP)
    EKKN: (Account Assignment in Purchasing
    Document)
    Purchasing Doc (EBELN)
    Item (EBELP)
    Account Assignment (ZEKKN)
    EKKO: (Purchasing Document Header)
    Purchasing Doc (EBELN)
    EORD: (Purchasing Source List)
    Material No (MATNR)
    Plant (WERKS)
    Source List No (ZEORD)
    thx,
    Ganpat

  • Purchase orders and Sale Orders in DEV and PRD

    Hi SAP Experts,
    We have a facing some different problem. Unfortunately our clint do some transactions in Development Server. Like Purchase orders and Sales Orders.
    After one month we delivery to clinet exact Production server. But he is asking , What ever the purchase orders and Sales Orders Created in Development with same numbers and Same dates, that data will be present in Production server also. Is it possible to do that. IF possible how to do that...
    Thanks and Regards
    Siri....
    Edited by: Alvaro Tejada Galindo on Apr 14, 2008 5:56 PM

    I think it is possible,as per my knowlwdge our perious client regularly( means every 3-4 months) copied the data from Production server to quality server. by the help of basic person...
    So in your case you want to copied the data from devlopment server to production server....please touch with your basic guy, i think he will help out reagrding this...

  • Combined Purchase Order and Sales Order Query. (Including Stand Alone Docs)

    Hi,
    I need some help please!
    I am looking for a query that will show all the Purchase Orders with all their base document Sales Orders. However I also need to show those stand alone Purchase orders and Sales Orders.
    What I have is two queries, one for the PO fields en one for The SO fields. I would like a way to combine these two so I have one query with the relevant PO and SO info next to each other.
    The final query will have a top heading structure like this:
    Status,Purchase No.,Supplier No.,Supplier Name,Week,Month,Del Method,Country,Method,Rep.|Status,Rep.,Sales No.,Customer No.,Customer Name,Customer Order no.,Cust. Del date,Doc total,Del Method
    +(The first part is for the purchase order section, the second part starting at the second 'Status' is the sales order section)
    +Purchase Order Query:
    SELECT
      T0.DocStatus 'Status',
      T0.DocNum'Purchase Order No.',
      T0.CardCode 'Supplier No.',
      T0.CardName'Supplier Name',
      DATEPART(ww,T0.DocDuedate)'Week',
      DATEPART(mm,T0.DocDuedate) 'Month',
      T1.TrnspName 'Delivery Method',
      T2.Country 'Country',
      T0.JrnlMemo 'Method',
      T3.SlpName 'Rep.'
    FROM OPOR T0 
    INNER JOIN OSHP T1 ON T0.TrnspCode = T1.TrnspCode
    INNER JOIN OCRD T2 ON T0.CardCode = T2.CardCode
    INNER JOIN OSLP T3 ON T0.SlpCode = T3.SlpCode
    Sales Order Query:
    SELECT
      T0.DocStatus 'Status',
      T2.SlpName 'Rep.',
      T0.DocNum 'Sales Order No.',
      T0.CardCode 'Customer No.',
      T0.CardName 'Customer Name',
      T0.NumAtCard 'Customer Order no.',
      T0.DocDueDate 'Cust. Delivery date',
      T0.DocTotal ' Doc total',
      T1.TrnspName ' Delivery Method'
    FROM ORDR T0 
    INNER JOIN OSHP T1 ON T0.TrnspCode = T1.TrnspCode
    INNER JOIN OSLP T2 ON T0.SlpCode = T2.SlpCode
    The problem I am having is that if I combine these queries it excludes all those records with blank/empty data fields.
    I do not mind having to go to crystal reports to get what I want.
    Any suggestions?
    Thanks!

    Hi thanks GordonDu,
    I have tried a union before, and yours works great. However my problem is to display the  PO en SO columns next to each other and not underneath each other.
    Something like this:
    Po No          Supplier          SO No           Customer
    1234           Sup 1             9876              Cust 1
    1235           Sup 2             no SO             Cust 2
    1236           Sup 3             9877              Cust 3
    1237           Sup 4             9878              Cust 4
    1238           Sup 5             no SO             Cust 4
    I have this query, but with this it drops all those Purchase Orders made Stand Alone and without a SO number.
    SELECT
      T2.DocNum AS 'Purchase Order No.',
      T0.DocNum AS 'Sales Order No.',
      T2.CardCode AS 'Supplier No.',
      T2.CardName AS 'Supplier Name'
    FROM ORDR T0 
       INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry
       INNER JOIN OPOR T2 ON T2.DocEntry = T1.PoTrgEntry
    Though using your Union gives me all the information I want and the ability to expand on that, my problem is the "Display" part. I am sure I am doing something stupid somwhere 
    Edited by: Desmond Moll on Mar 7, 2012 8:03 AM

  • No Purchase order and sales order from trading contact

    Hi Gurus,
    I am new to this module and i am trying to create a Trading contract. As I understand that the trading contract should create Purchase order and Sales order automatically. But in my case, this didn't happen.
    In this regard, I want to know,
    i. Are info records mandatory or mentioning the required purchasing and sales data during contract creation is sufficient.
    ii. What are the configurations required to do for GTM functionality and which are the points should I check for this.
    help me out.

    HI
    there are some status that is required to be set while you save a  trading contract.
    your trading contract must be approved or released..only then follow-on docs will be created.
    regards,
    Yadesh

  • Automatic account postings (for Intercompany Purchase order and Sales order

    Hi all,
    I need some help related to the automatic account postings (for Intercompany Purchase order and Sales order)which i can set for the follwoing scenarios. I have looked on the forms and searched alot but not able to a single solution to solve both the pupose. if one scenario works the other doesnt. Please advise.
    I have created the master data
    Customer receiving--G001
    Sales Org.--GXIN
    Distr. Channel- 01
    Division - 00 
    Company code receiving - G1
    customer supplying- V001
    company code for supplying- V1
    2 different scenarios
    1- Intercompany Purchase order in which a Customer receiving- G001, gets stock replenishment NB purchase order from supplying company V1- GI  and GR of stock is done. Biling document for customer receiving G001 is created. But now I need a way to do the opposite side posting at the supplying customer -V001-- this I do using an Idoc which creates a Invoice receipt for creditor(supplying customer) V001.
    2. Sales order-- A customer X001 of company code G1 buys stock from the company code V1. the customer G001 of company code G1 bills the customer X001, but the intercompany billing doc/ invoice is created for the customer G001 by company code V1.  then now i want an automatic account posting to be created at the supplying customer V001 via idoc.
    Can this be achivable via Idoc with automatic account postings.   
    Please let me know if it doesnt make sense. thanks to all in advance
    cheers
    Jasmeet

    Hi all,
    For the Sales order and automatic posting we have created an output type ZR4N- this is creating a batch input session which can be triggered to be processed autmatically.
    For the intercompany Purchase order -from Invoice we are creating a different output RD04 (sap standard) which creates invoice receipt at the vendor side.
    Rest of the settings are defined using SAP standard functionality within transaction OBCA, OBCB, OBCC, OBCD,OBCE
    thanks for viwing the post
    Cheers
    Jasmeet

  • Purchase Requisitions, Purchase Orders and Receipts

    Hello all,
    The following is the sequence for Purchasing
    Purchase Requision -> Purchase Orders -> Receipts
    However I have a requirement to bring in the related Purchase requisions,purchase orders and receipts from 11i into R12 instance.I can do that using the open interfaces.However How do i link these 3 objects together?
    I intend to import the purchase orders first and then import its related purchase requistions and the receipts...In doing so how do i link them together.How do i know that this purchase order was created from this Purchase requistion or this receipt is meant for this purchase order? What is the joiing columns in the base/open interface tables?
    Thanks
    AJM

    Hi Venkat
    1. To perform ATP do we need all the issues(Sales Orders, Deliveries) and receipts(Purchase Requisitions, Planned Orders) in APO?
    Yes you need all the mentioned elements above in APO to do ATP check. Again, you can also extend the scope of the check to further more receipts and issues. All  depends on your configuration of scope of check.
    3. I guess in Apo the planned order and process order is a single elment. Is that Correct?
    Yes, technically a planned order can be a planned process order or a planned production order.
    regards
    Mohan Chunchu

  • Fetching the price of the purchase order and charge it in my SO

    Dear, gurus
    I am doing services mto and even Repair services of customers machinery. I would like to fetch the price incase of purchase order and charge the customer for that purchase in my Sales Order. Is there a way to automatically fetch the price? Or how can I cover this scenario?
    Ex: I receive customers machine and in my plant or workshop I do not have the tool needed or a specialist so I hire someone for the job so I buy or rent it or him from a vendor and in return I want to charge my customer for that purchase.
    Any Ideas?
    P.S. this is not a 3rd party sale scenario its just a simple Sales Order. I was able to fetch the price from the production order with condition type EK02. Is there any condition type for purchase order price fetching?
    Thanks

    Amitesh
    How did the outcome come out as? meaning did that user exit price fetch appear in a condition type in the billing document? If so which one?
    Also, where is the relationship or linkage made from PO to SO? Like how in the world would your sales order know that a purchase order was done. I mean it really is a weird process I mean first the SO should be created then that should trigger the PR and that gets converted to a PO as rightly stated in book terminology. But in this case of first a regular sales order, then out of sap we give our requirement to mm purchasing dept and tell them we need such and such. Once they buy it there is a price which in return we need to charge our customer. Everything can be done manually.
    From my own logic of looking at what you described in the user exit. I presume that from abap side they will only pull a table and field data and populate it where I want it?
    In the PR there is a place where you can assign acct cat C to the sales order and item line what exactly is this for? GL acct are assigned for which purpose or What is it doing? Also, the purpose of that cost center?
    Edited by: Muhammad Ali Lozada on May 31, 2010 12:14 PM

Maybe you are looking for

  • GR/IR clearing issues

    Hi, There is a difference in GR/IR debits and credits in terms of rounding of difference. Hence GR/IR clearing in F.13 is not possible as system looks for items can be cleared. How excess credits in GR/IR due to user error can be cleared(GR/IR is not

  • Can I author an iBook for my own family use?

    Hi - I'm dabbling with iBooks Author.  I'm not intending to submit the book to the iBook Store.  I just want to share it with family members for their iPads. I created a short tale with some text and images - 15 pages, 3 chapters long - and Published

  • Data of customize BSP in Enterprise Portal is not displayed

    Dear All, I stuck on to find out the solution, in order to display FAQ list in BSP Enterprise Portal by using customer id to logon to Enterprise Portal, need your guide. Let me explain: It is customize/own develop BSP application, which is search FAQ

  • Looking for bios version 1.7 for K8N Neo4 FI - plz help, it's urgent

    i bought myself a new K8N Neo4 FI yesterday together with a msi nx6600gt and an A64 3200+ Venice e6 and when i booted up the bios said i had 1gb of ram @ ddr266 in single channel mode. i tried to set it to 200mhz ddr but it wouldn't go so i installed

  • Creating a Blog Site

    How do I create my own personal blog site? I looked into getting a .mac account and then saw that Apple wanted OVER $100 for it! Screw that! Why does Apple charge an arm and leg for EVERYTHING!?!? Many of these things can be done FOR FREE if using br