Relation between Purchase Order and Work Order Tables

Hi,
I am trying to create a Func Module as following.
Input : Purchase Order Number, Material Number and Item Number. (Either Item Number or Material Number shall be entered. Output a message if both are blank).
Out put : PO Number, Line item Number, Status of the PO, Material Number / Equipment Number, Work Order Number, Work Center and Cost Center, Person responsible from Work Center.
Is there any link between EKKO, EKPO and AUFK, AFPO?
Can you please help me. or suggest if there is any other way I can do this.
Thanks in advance.
Hanuma

Pls let me close this.

Similar Messages

  • What are the costs we collect in maintenance order  and work order

    what are the costs we collect in maintenance order  and work order
    is work order and maintenance order differeent or same

    Usually the main costs of maintenance are the spare parts and labour. And these are the costs we would like to track per maintenance job from a maintenance management perspective. There could also be cases where other costs such as travel to place where the equipment is might be required to be collected in the maintenance order.
    In SAP there is no term called work order. But loosely the term is sometimes used for maintenance or service order. Probably even production orders also.
    thanks
    Bala

  • Tell me the link between Purchase Requisition and Sales Order Number

    tell me the link between Purchase Requisition(MEREQ_TOPLINE-BANFN_EXT) and Sales Order Number(COBL-KDAUF)

    Hi Puja,
    If you have created sales order  for matrial which has both procurement type,after MRP run you will get
    planned order.This planned order you can convert to purchase requisition for external procurement or
    subcontracting.
    You will find sales order number in details of purchase requisition ( ME52N) in Account assignment tab.
    Hope this help you.
    Regards,
    Raja

  • Make item to create Purchase Requisition and Work Order

    I have a requirement for a Make item to create Back to Back Purchase Order from Sales Order. At the same time, need to create Work Order from Sales Order for the same item. I have done all setups for Back to Back order and able to create Purchase Requisition from Sales Order line. But how to create Work Order. What are the setups to achieve this? Thanks

    Ajith_Kz; Consultant wrote:
    I have a requirement for a Make item to create Back to Back Purchase Order from Sales Order. At the same time, need to create Work Order from Sales Order for the same item. I have done all setups for Back to Back order and able to create Purchase Requisition from Sales Order line. But how to create Work Order. What are the setups to achieve this? ThanksI guess it can't be done..when u say u created a purchase req?i was just wondering how did the system let u to create a POR when you say it is a make item?
    HTH
    Mahendra

  • Relation between serial number and sales order number

    Hi,
    Is it any one to one relation between serial number (IN) and sales order? For example, when I create the special serial number for the special sales order (Internal or External) , whether I put the sales order number in the IQ01 or not, sales order accept that serial number(IN). Is it any way to specialize one serial number to exact one sales order number?
    Edited by: Lida Navabpour on Jun 9, 2009 1:02 PM

    Hi,
    > Is it any one to one relation between serial number (IN) and sales order? For example, when I create the special serial number for the special sales order (Internal or External) , whether I put the sales order number in the IQ01 or not, sales order accept that serial number(IN). Is it any way to specialize one serial number to exact one sales order number?
    Yes, There is one to one relation ship. U have to maintain serial number profile for the same. The serial number runs on different status.The status ESTO means the serial number is in stock. ECUS means the serial number is at customer site. AVLB means the serial number is available.
    If the status is ECUS then u cant use that again.
    Serail number profile Check t-code OIS2.
    Thanks,
    Raja

  • Difference between Frame order and service order

    Hello guys,
    Can anybody tell me the difference between the Frame order and work order in system point of view?
    Which are the steps for doing the

    Hi Sam,
    Framework order: -
    Purchasing document used to procure materials or external services. Instead of stipulating a specific delivery date, this type of purchase order has an extended validity period.
    Framework orders are defined via the document type FO. They are used in accelerated procurement processes in connection with maintenance/ servicing plans or invoicing plans, and for blanket purchase orders (purchase orders with limits).
    A framework order covers multiple procurement transactions over a longer period in cases where the administrative costs of processing discrete POs would be disproportionately high.
    Services Order: -
    Used as a means of documenting service and customer service activities
    in Logistics - General (LO),, Order comes to
    Describes a task which is to be carried out within a company.
    The order specifies:
        -  which task is to be carried out
        - when the task is to be carried out
        - what is needed to carry out the task
        - how the order costs are to be settled
    Regards,
    Shyamal

  • Issue with Cost center in PO and Work Order

    Dear Expert,
    I am facing an issue with respect to cost center in Purchase Order and Work Order. The PO is made against a work order. There are two cost center associated with the work order. One is updated under u201CAdditional datau201D field and other is at u201Clocationu201D . So the cost center in PO should essentially be the same one mentioned under u2018locationu2019 field of work order. So the issue here is that while creating PO, the cost center is picked from the u201Cadditional datau201D field of work order not from u2018locationu2019 field of WO.
    Is there any exit available that needs to be implemented for overriding the cost center in PO or any other way of solving this problem?
    Thanks in advance.
    Thanks
    Deba

    Hi,
    I guess that there is already some user exit or enhancement in place, since this doesn't sound like standard SAP (picking the cost data from additional data, or even having it there).
    Mario

  • Relation between Sales order and Production order

    Hi,
    In Make to stock scenario how the relation between Sales order and production order are related.In which table we will get the related fields (expect AUFK,VBAK,AUFO).
    warm regards,
    Surendar reddy.

    The relation between sales order and prodution order  is as follows.
    Pass AUFNR to AFKO/AFPO  Get AUFPL.
    Pass AUFPL to AFVC Get BANFN.
    Pass BANFn to EBAN Get EBELN.
    Hope this works .
    Cheers,
    Lakshmi Prasanna Gandham

  • Link between Purchase Order and Production Order

    Hi,
    Could some one tell me how i could get a relation ship between Purchase order and Production Order after a Good receipt is done. Coz after a GR is done I am not able to see the production order for a particular material in MD04 transaction.
    Thanks,
    Arul.

    Hi Arul ,
    i think u may not get the LINK b/w Production Order and PO , Bcos--->
    check the process --->
    RUN MRP , here System will generate the Production Plan and PRs( based on the avail.of that Raw Material).So PO will be generated by PRs.So I think there is no link b/w Production and Purchase .
    this is based on the my system settings and my knowledge.
    Regards
    Prabhu

  • 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

  • Price difference between the requisition and the order

    Hi All,
    There is new functionality in ERP6 that checks the difference in price price between the requisition and the order. The configuration is under Purchase Requisition -> Tolerance Limits -> Define Tolerance Keys. This is very useful functionality when the requistion item is approved at an estimated price, but a purchasing group needs to change the $ value it will block the Purchase Order.
    I have this configuration menu available in SPRO in one of my systems (IDES), however on a newly installed ERP6 system we are missing this menu path in SPRO.
    Does anyone know why this menu path in SPRO is missing on some systems...

    Thanks Henry,
    I've done some digging and the tables that store these config settings are part of US Federal Governement addons.
    Looks like all the (non government) sites that need it aren't able to have it. Great shame really as this would be very useful to communicate with the requestor whena  price difference occurs.

  • 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

  • Link between process order and sales order for planning strategy 52

    Hello,
    I investigate the possibility of a link between "sales order" and "planned order / process order" for the usage of planning strategy 52 (planning w/o final assembly, make to stock).
    I know, this is not conform to the basics of planning strategies (EITHER make to order OR make to stock) and I suspect it would be a modification. Of course we have the alternative "make to order" - strategy 50, but we do not want to use individual customer stocks.
    Is anybody there with similar customer requirements or project experiences?
    Thanks in advance,
    Joerg
    Message was edited by:
            Jörg Demtschuk

    Hi Jorg,
    To my understanding if you need hard pegging then in SAP only Individual requirement is possible.
    Or else you need to create a custom transactions/table to identify Sale order and when ever a process order is created by selecting the sale order record, the process order detials should also get updated against that.
    You need to take the help of ABAP expert for this,
    Regards,
    Prasobh
    Reward points if this was useful

  • 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

  • Blanket purchase order and Framework order?

    Dear Gurus,
    what are the main differences between Blanket purchase order and Framework order?
    Thanks..

    Framework order is also known as Blanket PO.....which we use for the procurement of Low value Material with Long term planning....It is used as Mini Contract....
    For making Blanket PO....you have to choose Order type: FO in ME21N....with Item category "B"(Limit)
    For creating Blanket PO... You need not have to maintain material master.....Maintaining Acc.assignment Category in PO is mandatory....also you have to maintain Validity Period in Blanket PO...
    As per SAP Best Practice.....for Blanket PO, GR is not possible.....you can directly post multiple Invoices for One Blanket PO....The validity and total Value of these Invoices for Blanket PO during LIV can be controled by tollerance keys LA and LD.

Maybe you are looking for

  • Multiple POs included in single PDF

    Hi Gurus,    My client is having a functionality of sending Purchase Order through email. For a perticular user we are facing a problem. When he generate a email to be send to  Vendor the PDF is created with more than 6 Or 7 POs included in it.Which

  • Imac 21.5" monitor extremely hot!

    I received my new imac a few days ago and noticed that the monitor is extremely hot! I took it back to the apple store where I was told that the monitor could run as hot as 200 degrees!! The person who helped ran a diagnostics test on the monitor and

  • Camera calibration accuracy

    Does anyone know which is the expected accuracy for a camera calibration? I have to calibrate the camera, and depending on the calibration accuracy I would use a points grid that I have or try to get a new one with greater points density. Regards,

  • Any way to quickly add new event without opening or switching apps?

    Does anyone know of a way (or software hack) to allow me to quickly add a new event without having to either open iCal or make it the active application? Even something as simple as "add new event" to the right-click of the dockbar icon (ala "Compose

  • Help Recovery Bios Password for Elitebook 8560p

    Forgotten Bios Password Hp EliteBook 8560p Error code: 0xc000000f System Locked Press the power button to restart system