Sales Order, Production Order, Purchase order

Hi ppl..
     I have a req to pull and report with Pro order # and status
                                                       Purchase order # and status
for a given sales order .... item level...
need tables and relations between Production order, sales Order and Purchase Order and there status's.

<b>Sales Order Tables:</b>
VBAK Sales Document: Header Data
VBAP Sales Document: Item Data
<b>Production Order Tables:</b>
AFKO Production Order Header
AFPO Production Order Position (details)
MAST Material BOM
STKO BOM Header
STPO BOM Positions (detail)
<b>Purchase Order Tables:</b>
EKKO Purchasing Document Header
EKPO Purchasing Document Item
MKPF Header- Material Document
MSEG Document Segment- Material
Regards,
Maha

Similar Messages

  • Sales order based on purchased order

    Hi,
    How can do a sales order based on a purchase order? I will see all the document workflow on the purchase order history?
            Thanks in advance...
                  Best Regards
                         João Fernandes

    Hello Fernandes,
         I don't think there would be a process where in we place a purchase order to our vendors and then create a sales order based on it for a customer.. Its not at all a common business process..
    Generally we will purchase if required, if we have any sales order, for which we don't have enough stock or doesn't manufacture those products; but the vise versa may not happen in general.
               And even SAP doesn't support that, you can never see the Sales order in the Purchase order history.
       We can create the Sales order based on the purchase order that was placed by the customer .
    Please confirm your business requirements, and let us know to help you in a better way.
    Regards,
    Ajai
    Don't forget to reward points if helpful.

  • To copy data from Sales order to subsequent purchase order

    Hi all,
    My requirement is to copy Ship-to party address and Incoterms from sales order to subsequent Purchase order.
    I am using exit EXIT_SAPFV45E_001 for this.
    My doubt is - in which tables, Ship-to party address and Incoterms for a purchase order are stored? So that I can copy them from Sales order and update Ship-to party address and Incoterms for corresponding purchase order.
    In exit I can access sales order number and corresponding purchase requisition.
    Thanks,
    Sachin

    what business scenario is this? third-party-order-processing? in that case SAP standard would submit the data from the sales order to the purchase order (via purchase requisition) automatically, see documentation: http://help.sap.com/saphelp_erp60_sp/helpdata/en/dd/560287545a11d1a7020000e829fd11/content.htm

  • Create Sales order from Internal Purchase Order using IDOC

    Hello Friends,
    I have requirement to create Sales Order from Internal Purchase Order Using IDOC.
    Backgorund, we have already configured IDOC orders05 to create Sales Order from external Purchase order from Inbound IDOC, and it is working fine.
    Now we have new requirement to create Sales Order from our own Purchase order, i.e. When PO is created in one plant corresponidng sales order automatically must needs to create in another Plant with respect PO.
    I m trying to design a solution for above problem as follows,
    1.create an Inbound Idoc from PO, by creatiing one new message type on PO save.
    2.Process that Inbound  IDOC same as it is from external PO.
    3.Once processed Sales order will create.
    Please help me in step 1. to create Inbound IDOC from PO.
    If you want any further clarification please write me.
    Thanks,
    Mahesh

    I had done a similar scenario before and we achieved it through SAP XI. The problem is with the control record. When we create a ORDERS IDOC from a PO the control record will be for outbound transmission. We sent the file to XI and XI resent it back with some data parsing and a new inbound control record. This way it went neat outbound and inbound.
    I'm not sure what kind of architecture you have. If you have to do it within your ECC/R/3, then you could create the outbound IDOC to a new port and write a fresh RFC to pick it up from the same folder and create a new control record for inbound processing.
    I haven't tried this; but there is a "processing w. trigger (inbound)" option on the outbound process code. May be you can explore into that a bit more.
    I'm sure there could be better approaches to handle this within ECC so if you stumble on any, do write back. I would like to know to update my knowledge .

  • Production order and its Purchase order after MRP

    Dear Expert,
    I am wondering does SAP B1 2007 provides functionality about a production order and its purchase orders generated after a MRP will be marked so that I can check the corresponding purchase orders of a production order ?
    Thanks,
    Deckard

    Hi Suraj V ,
    Thanks for the reply, I have more questions about,
    (1) is it possible to trace those purchase orders from the production order?
    (2) is it possible to reserve those purchase orders of a production order because I found that the system allow another production orders to take the inventory by the receipt of the purchase orders marked by the other production orders?
    Thanks a lot
    Deckard

  • LINK PRODUCTION ORDER WITH CROSS_COMPANY PURCHASE ORDER

    Hello,
    we have 2 plants (differents conpanies). Plant A do purchase orders to plant B. So, plant B have to produce this material to delivery plant A.
    We need to link this purchase order (intercompany, NB purchase order, two cmpanies) to the produce order of plant B.
    Thank you very much

    yes, i use that.
    The purchase order is a stock transport order with delivery and invoice (two plants).
    If I do the STO in plant A, i can see this STO in plant B. And this STO create (by MRP) planned orders in plant B to produce. But the problem is that i can't link the planned order with the STO.
    For example, if there are two STO with the same delivery date(100 units and 200 units), it create one planned order with 300 units. And i need two planned orders (100 and 200) linked with each STO.
    Thank you very much

  • Copy Order Price into Purchase Order Price

    Dear SAP Experts,
    My client looking for third party ordering scenario where sales order pricing must forwarded to PO pricing condition value.
    Sales order has price components like gross price, freight, tax, commission. Most of SO price components value must copied into PO pricing conditions created as third party sales. Do we have any standard configuration for this ? How can we copy order price into PO pricing condition?
    Thks,

    Hi Diwakar,
    Noted that no standard configuration available, how do we copy price sales pricing components into purchase order pricing components ? What would be other way to achieve this process ?
    Thks,

  • Statistical Internal Order on a Purchase Order

    Hi,
    We are trying to use a statistical internal order on a purchase order along with a real cost center. But we are unable to get the internal order to show up on the FI documents being posted using goods receipt.
    Purchase Order has been created with 'F" (order) as the account category. On the account assignment tab we have maitained an expense cost element & real cost center & statistical internal order.
    Internal order master data has been created with just the company code and object class as OCOST.
    Please let me know what we are doing incorrectly and how can we have the statistical internal order show up on the FI document.
    Thanks,
    Venkat

    Hi Venkat,
    Statistical Internal order doesn't work if GL account used is not a cost element. You need to make your GL account as cost element. If the respective GL account doen not need to be cost element then you can make it statistical cost element with category 90. In this case it'll not ask for CO object or it'll not create any error or issues.
    Hope it'll work.
    Thanks,
    - Mahak
    Edited by: Mahak Birla Mantri on Jun 15, 2009 11:34 AM

  • Please send me fm regarding to get purchase order and change purchase order

    Hi,
    Please send me fm regarding to get purchase order and change purchase order .
    Regards,
    Gurprit Bhatia

    Hi,
    Function module to get the purchase order details:
    BAPI_PO_GETDETAIL.
    data: po_items type table of bapiekpo with header line.
    parameters: p_ebeln type ekko-ebeln.
    call function 'BAPI_PO_GETDETAIL'
      exporting
        purchaseorder                    = p_ebeln
      ITEMS                            = 'X'
      ACCOUNT_ASSIGNMENT               = ' '
      SCHEDULES                        = ' '
      HISTORY                          = ' '
      ITEM_TEXTS                       = ' '
      HEADER_TEXTS                     = ' '
      SERVICES                         = ' '
      CONFIRMATIONS                    = ' '
      SERVICE_TEXTS                    = ' '
      EXTENSIONS                       = ' '
    IMPORTING
      PO_HEADER                        =
      PO_ADDRESS                       =
    tables
      PO_HEADER_TEXTS                  =
       po_items                         = po_items
      PO_ITEM_ACCOUNT_ASSIGNMENT       =
      PO_ITEM_SCHEDULES                =
      PO_ITEM_CONFIRMATIONS            =
      PO_ITEM_TEXTS                    =
      PO_ITEM_HISTORY                  =
      PO_ITEM_HISTORY_TOTALS           =
      PO_ITEM_LIMITS                   =
      PO_ITEM_CONTRACT_LIMITS          =
      PO_ITEM_SERVICES                 =
      PO_ITEM_SRV_ACCASS_VALUES        =
      RETURN                           =
      PO_SERVICES_TEXTS                =
      EXTENSIONOUT                     =
    check sy-subrc  = 0.
    loop at po_items.
      write:/ po_items.
    endloop.
    Check this program too:
    RFFMFG_INV_CANC_ALL for BAPi_PO_GET_DETAIL.
    Hope it helps you.
    Regards,
    Anjali

  • Production order overlapping with purchase orders for outside process

    I set up the overlap option in a router so we can send 50 pieces (total order quantity is 200) of material ahead to an outside heat treat operation.  When we try to create the purchase order for the 50 to be sent out for heat treat two problems occur.
    1. The quatity in the purchase order is for the entire order of 200, not 50.
    2. We get a message "Date /23/2010 period D is not valid.
    We currently do not use the functionality of splits and overlaps so if anyone can help or guide me to a good resource I would appreciate it.
    Regards.
    Gail
    Edited by: Gail Weeks on Nov 12, 2010 4:19 PM
    If anyone could help with this question I'd appreciate it. Thanks.

    Gail:
    the next operation would be an external operation in your order ? That is, has some external Operation Control Key?
    Then the PurReq for this operation is created at creation or release of the production order by the total operation quantity. Ovelapping allows you to reduce some total time in order, but I don think that can be applied for the purpose you describe. Let us know more details about your requirement.
    Regards

  • Sales order ATP vs Purchase order inventory commitment

    Hello,
    Have issue and hope someone can advise.  The basic problem is sales order is receiving confirmed ATP against inventory, even though that inventory is consumed by a purchase order.
    Here's the flow:
    1.  Plant A (receiving):  places purchase order (doc type NB) & commits all of whatu2019s in stock at plant B
    2.  Plant B (supplying):  standard sales order is created after above purchase order for identical material, date, quantity
    Check rule (t/c OVZ9) for sales order is ticked for u201CInc. purchase ordersu201D
    Not sure if this has bearing, but these plants are under different company code so thisu2019d be intercompany.
    Expectation is the sales order in this scenario would receive delivery commit per lead time on the material (since it was created after the PO), but instead it is happening against stock already given to the purchase order.  Any suggestions on what is needed to fix so the sales order does not get ATP from stock already committed to a purchase order?  Thanks

    Hi,
    In T.code OVZ9, for your availability checking rule and Availability check combination, you need to select value X or A, in the field Incl. release order requirements.
    Regards,

  • Creating SD Sales Orders from a Purchase Order

    Does anyone have any detail documentation for creating an SD Sales Order as an output message from a purchase order. We would like to implement a process where we generate a sales order to a specific sales organization automatically from a purchase order in a different company code.
    Any help would be appreciated.

    Hi,
    You can configure this scenario using ALE/IDOC . I dont have any docs but i remember that i had setup this few years ago.
    Create PO , attach output type , output type linked to process code , process code linked to sales order relevant IDOC Type and send to receiver as outbound IDOC ,
    The recepient receives this as an inbound and used this data to create a sales order in his company code.
    Thanks,
    Sudhi

  • Problem while creating a sale order against a purchase order

    functional description
    1 Create a module-pool program for material management and do following:-
    a)     Create a screen to display all purchase Order
    2 same screen should have a tree for all the available PO -done till this part
    4 Select a PO from tree and click on a button to create SO against the selected PO
    in this part created the screen took the screen fields from the get from dictionary now not able to understand how to proceed i ned to click on save and then sales order created should be displayed
    please tell me the flow logic
    thanks
    Moderator message: "spec dumping", please work yourself on your requirement.
    Edited by: Thomas Zloch on Jan 31, 2012

    in this question i missed a thing as i need to display the sales order in an output enabled field

  • Which Sales order created a purchase order?

    Dear Experts,
    What would be the table to look at to check which Sales order is  used to create a type of purchase order?
    I know the stock purchase order but not the sales order number that triggered an auto creation of this PO.
    Pls advise. Thanks
    regards
    M Russo

    Hello,
    Ideally purchase order is linked to sales order in cross docking and third party sales scenario.
    In both of above scenario's  sales order is linked to purchase order via purchase requistion.
    If you know the purchase order number, then you can find the respective sales order number in the account assignment tab in purchase order screen.
    You need to open the purchae order with ME23N/ME22N and go to item detail and check the account assignment tab.
    Here you will get the corresponding sales order number.
    BR/
    Tushar

  • Create Sales order from a Purchase order through IDOCs in the same system

    Hi,
    I have been trying to create Sales ordes in the same SAP system, through the Purchase order generated.
    The Purchase order generated, passes the information through an outbound I DOC to a SO inbound I doc, I am getting the following error
    Partner number A2815 for customer 2815 , partner function WE does not exist.
    Message no. VG140
    but in my case the ship to party (partner function WE) is the same as Sold to party (partner function AG)
    can any body please help how to map it
    Sreeram P

    Hello Sreeram ,
    See note 1339290, which corrects the parameters of error message VG140.
    Also, the sold to party (SP) is determined in several ways:
    1. If the sender partner in the control record is a logical system (LS), an E1EDKA1 segment with the SP must be sent.
               E1EDKA1-PARVW = AG
               E1EDKA1-PARTN = valid partner in the receiving system
    Otherwise the system takes the partner number from the control record into the field E1EDKA1-PARTN and this is not a valid partner.
    2. If the sender partner in the control record is a SP, we take this SP from the sender partner into the sold-to party number. Excepted another SP was sent in the segment E1EDKA1-PARNR, then the SP from the control record has no effect.
    The E1EDKA1 segment for the SP should be sent always before the E1EDKA1 segment of the ship-to party (SH).
    Regards,

  • Transaction code for sales order totals and purchase order totals

    Hi i am using alv grid report to display the sales order and purchase order totals by productline(profit center)
    Now i have to call standard transactions from first list to display the totals of sales order and purchase order.I have to display these transctions for specfic orders and their specfic lineitems only.
    in VA05n transaction it is allowing me to enter only the document numer but not item.
    Can any one help to find the standard transaction to display the totals for only specific orders and line specific line items

    Hi Polite,
    The transaction CRMD_ORDER is the superset for all the transactions mentioned by you. So it is better to remember just one transaction instead of remembring the subsets . Once you use the transaction CRMD_ORDER and then Follow the menu Business transaction -> Create (F5) you will get the list of transactions you can create this is nothing but the the transactions you have mentioned.
    If you know the transaction no. you can directly open that in transaction CRMD_ORDER. The other opetion is to use the SAP Menu instead of transactions.
    <b>Reward points if it helps!!</b>
    Best regards,
    Vikash.

Maybe you are looking for

  • Opening an application in the dimension library.

    I am trying to edit an application using the dimension library but when i click on dimension library and then open my shared library, I do not see my application. Please help. Thanks,

  • How to add hyperlink to report total

    Hi, I have a report and the last row display report total ( using apex default feature - checking the sum check box). My last row look similar as show below report total | 10 | 20 | 30 | 0 | 100| My requirement to to add hyper link to the nos. 10 , 2

  • New Time Capsule Gen4 Wifi drops

    the 1. old TC 1. Gen a lo of problems with Power Supply, Backup but the Wifi works over 3 Years well. now i get a new TC Gen4, but Wifi will not work stable. After few hours, mostly in evening, Wifi drop the internet Session on Ipad's. i changed the

  • Command key not working in Finder

    I'm using a 2004 Powerbook G4 and recently (last 3 days) have noticed that the command key (either right or left) will no longer work for keyboard shortcuts when in Finder or desktop only .. cmd-Q etc work in all other applications, but cmd-w, -a, -d

  • Audio. adobe premiere 5. macbook pro 13.

    I would like to write audio (for the film) in Adobe Premiere 5, but there is a problem - I have Mac Book Pro 13 and there is just one host for headphones - nothing for the microphone. Help me, please