Production order no. against sales order no.

hi
  i want production order no.(AFUNR) against sales order no.(VBELN) .
    i searched in TABLES : AFKO, AFPO, VBAK, VBAP.
     BUT problem is that in all 4 tables field is common but in (AFKO, AFPO ) there is no value for SALES ORDER (VBELN) , and vice-versa.
    plz guide me.

AUFNR (Internal Order) is an account assignment element used mainly in FI/CO.
In SD, accounting detail is often generated at the billing stage.
Check the billing documents associated with the sales order and see if they provide the link (VBRP, VBRK).
Andrew

Similar Messages

  • TCODE for Process order creation against Sales order

    Hi gurus,
    Pls tell me what is the TCODE for Process order creation against Sales order
    Eg. CO07 is for production order from sales orde

    Typically, in MTO scenario after the sales order is created you run MRP which will create planned order and then you convert that into production order using MD04.
    Or if you have SD settings correctly directly from the release of Sales Order it will create planned order or production order.
    please check and revert back.

  • Purchase Order created against sales order.. report

    Hi Folks!
    I want to see purchase orders created against sales orders.
    Is there any report?
    Regards

    Hi,
    You can develop your own report by using table VBAK-VBELN(sales document),VBAK-BSTNK(Customer purchase order number).
    Just try....
    Hope it helps you...
    Regards,
    Jaheer.

  • Pending order delivery against sales order and quotation problem

    Dear Expert
    I am facing problem when we are tracking delivary quantity against sales order and quotation. then our delivary quantity not matching with invoiced quantity.
    Actually the logic of report are below
    Pick up the VBAK-VBELN and VBAK-KUNNR where AUART = quotation, VKORG, VTWEG, SPART, ERDAT = selection.
    now when any quantity which are added in sales order in new line not cattered through below code and it show problem of mismatch.
    Can any one help me in finding data from all this table to catter delivey quantity, quotation qty and sale order qty.
    thanks in advance.

    Starting from quotes, you could find your quote, then read SD document flow table VBFA for next document of type sales order (could be more than one sales order from a quote).  Then you could obtain delivery documents (could be more than one for a sales order) for all your sales orders, again using next document code in table VBFA.  This would present you tables that could contain multiple rows:
    quote
       sales order
           delivery,
           delivery
        sales order
            delivery
    and so forth.  You might also consider using table VBUK or VBUP to discover status of each quote item.

  • Costing against Sales Order

    Hi,
    We are manufacturing a FERT material with strategy 20 MTO Production. we create a sales order and against sales order we run MRP to generate a planned order, then we convert the planned order to production order. Our entire planning is based on sales order. When we release the production order the cost is getting calculated but when we view cost itemization the material cost is not getting planned or updated inspite of having proper BOM.
    Pl any one guide us to solve the issue.

    Hi,
    First Calculate the planning cost of that material with Costing Run : CK11n and check there material cost and other cost. If these cost exist in that then definatly u will get in production order. Again cross check component material master. ( In costing view : material origin must be Tick, in BOM and routing - costing relevance indicator must active.
    Regards,
    Sulabh

  • Stock reservtion against Sales order creation

    Hi friends,
    Presently in our system, after creation of sales order, Stock against sales order has been reserved
    & same has been shown in MD04.
    In case of demand for same material from our regular customer ,we can not delivered it to them.
    In SPRO,WHICH SETTING SETTINGS NEED TO CHANGE TO AVOID STOK RESERVATION AGAINST SALES ORDER.

    Hi,
    unCheck - Transfer of reqirement in  Sch. line cat

  • Production against sales order

    Hi all experts,
    I am creating a report for Linewise width wise handover
    summary(OK production against sales order)
    I am taking Date from MKPF and QTY from MSEG
    I need to show Work Center [ CRHD-ARBPL ]
    but dont know how to link tables
    can any one send me the code and link btween MSEG and
    CRHD or any other table which having ARBPL field linking with
    MSEG.
    Thanx in Advance ......

    Hi,
    CAUFV and AFKO tables are linked with table CRHD. These two tables are related to order. You can try these tables to get the desired data.
    Regards
    Amit parkhi

  • Process Order against Sales order

    Hi guys
    How to create Process order against Sales order...
    In Disc mfg by using co08 we create Production order against sales order like wise i want to create Process order..
    Regards,
    Srihari.

    Hi
    I know creation of of Process order with reference to Planned order and assigning Sales order in Md11
    I am looking for Create process order wrt sales order like Co08..
    Regards,
    srihari

  • Plant to plant subcontracting against sales order

    hi
         my scenario is like this
    two plants A and B under one company code, its repair scenario in this sales order come in plant b ,in this repairing we have 5 process out of which one process has to be carried out in plant 1,so  for that  we will do subcontracting against that sales order with plant b. so how to handle subcontracting with plant a against sales order.
    Edited by: AMIT RANE on Mar 4, 2009 7:55 AM

    Purpose: - Subcontracting is also possible in conjunction with sales order  The subcontracting orders are account-assigned to a slaes order . Thus, the components are not transferred (using a transfer posting) to the "stock of material provided to vendor" but are directly withdrawn from the sales order stock the time of the goods receipt. The material manufactured is also posted to the SO
    The cost of subcontracting is then debited to the SO.
    Since the components are not transferred to the "stock of material provided to vendor", it is recommended that you use a transfer posting to transfer the provided components to a new storage location (for example, 9999). This enables you to obtain an overview of those stocks that are physically located at the subcontractor. This information is particularly important when you carry out a physical inventory of the Project stocks.
    Features: -
    Withdrawal from Stock of Mat. Provided for Project: -
    For components that are managed in Project stock, you can define whether the components are to be withdrawn directly from each Project or from the stock of material provided to vendor. You manage this via the dependent requirements indicator for individual customer requirements and collective requirements (MARC-SBDKZ).
    You can maintain this indicator in the following places:
    In the MRP view of the material master record (MRP 4)
    In the explosion types for the BOM item (in Customizing for Production in the step Basic Data -> Bill of Material -> Item Data -> Define explosion types)
    Configuring the explosion types has priority over the configuration in Inventory Management.
    If the indicator is set at Collective requirements only (2), the materials are withdrawn from the stock of material provided to vendor. If this indicator is set any other way, the system withdraws materials from Project stock.
    Regarding Subcontracting Challan: -
    Go to OMJJ, select the field "movement type" and press enter
    Enter movement type "311" and double click on "Field selection (Enjoy)" under Dialog Structure on left side.
    here "New Entries" and add field "LIFNR" (Vendor- plant as vendor )
    Now in MIGO, at the time of transfer posting of components using movement type "311 E", specify the vendor code of the Subcontracting PO (i.e. Subcontractor)
    Now create Subcontracting Challan in J1IF01 for material document of 311 E movement type.
    Also check in SPRO > Logistics - General > Tax on Goods Movements > India > Business Transactions > Subcontracting > Maintain Movement Type Groups > here for Movement Type Group "0001", Movement Type "311 E" should be maintained.
    Then do GR against PO and refer the Subcontracting Challan here.
    And then do reconciliation in J1IFQ for the GR Document against Subcontracting Challan.
    Also check in SPRO > Logistics - General > Tax on Goods Movements > India > Business Transactions > Subcontracting > Maintain Movement Type Groups > here for Movement Type Group "0002", Movement Type "543 E" should be maintained.
    Follow the below mentioned process;
    Process Steps: -
    1. OX09 - Create Storage Location as "9999" for Subcontractor Location
    2. MB1B - Do Transfer Posting of material from RM Warehouse to this Storage Location via movement type "311 E" (Instead of doing 541)
    3. Now go to J1IF01 - here use material document of movement type "311 E" and create Subcontracting challan. (If required)
    Prerequisite: - In SPRO > Logistics - General > Tax on Goods Movements > India > Business Transactions > Subcontracting > Maintain Movement Type Groups > Here for Movement Type Group "0001" (For issues), maintain movement type "311 E" also along with 541.
    Rest all; refer subcontracting challan during GR and then reconciliation and completion, etc... Will be same as usual.
    Note: - At the time of GR, consume components from storage location "9999" (for 543 movement type)
    regards
    KI

  • Every time system create new production order after releasing sales order c

    Hi Guru,
    FG material strategy: 82 (sales order creates production order).
    After creating the sales order it goes in to credit block. Whenever we release sales order from credit block through VKM1, system has created production order. We confirmed this production order and delivered.
    But after this sales person change the sales order value, because of which again sales order goes into the credit block and after releasing sales order from credit block system create new production order even if one production order already confirmed and delivered against the same sales order.
    *Every time system create new production order after releasing sales order credit block.
    Thanx & regards
    pnu

    PNU,
    So, to restate:
    In MD04, you have Unrestricted Sales order Stock ('E' Stock) on hand.
    In the same MRP segment, and against the same Storage Location as the stock, you have a Sales Order requirement that was recently blocked and unblocked.
    During the unblocking event, the system produced a new production order.
    This is not normal.  If the above accurately depicts your situation, I would look for an altered Strategy 82, or a userexit.  SAP ATP (the beginning event of the Strat 82 process) will normally first check for the availability of stock.  Only if the stock is not available, then it will create the new production order.
    Best Regards,
    DB49

  • Manual Creation of  PO against Against Sales Order AAC - M

    Dear Gurus ,
    I am facing issue that , as in MTO scenario some of the components in my BOM material  is not fixed and they can be known after some time like labels of finish goods , now i want to create Manual PO with reference to sale order AAC is M , but i found that when MRP is creating purchase requisition , G/L account in acc. ***. tab is  stock G/L , but when i am creating manual PO it is taking G/L from  GBB  Acct modification  VKA (account as in acc. assignment cat. is  M.)
    But I want it should take G/L from BSX  as it is taking  in case of MRP generated PR  against same sales order.
    Thanks & Regards,
    Akshay

    Dear Sir ,
    As here we are taking valuated stock against sale order , we are using account assignment category M and requirement class with valuation M and account assignment category M , as per bellow link.......
    Valuated Sales Order Stock Configuration - ERP Financials - SCN Wiki
    now i am facing problem , when MRP is creating purchase requisition , G/L account in acc. assignmrnt. tab is  stock G/L from BSX which is right , but when i am creating manual PO with respect to same sales order , it is taking G/L from  GBB  Acct modification  VKA (account as in acc. assignment cat. is  M.)
    But I want it should take G/L from BSX because stock is valuated stock.
    Thanks & Regards,
    Akshay

  • Reg.Purchase against sale order

    Dear Friends
    Anybody have idea regarding purchase material against sale order and that will be kept as stock.
    As and when it is used according to the requirement. The procurement should be posted to stock account in purchase order itself. how to do it. pls help me.
    Thanks
    Rajakumar.K

    Dear ,
    i thinck ur company using trading business
    based on sales order u can create PO with account assignment E Sales order , system will asl sales order number in account assignment data at item detail level.
    the process will be
    Pre-shipment Shipment Procedure :
    1) create a sales order
    2) create PO with account assignment E where system will ask for sales order number
    3)delivery with vl10n
    3) preshipment invoice-VF01
    POST-SHIPMENT Procedure:
    1) do the GR the stock will be invetorized for ur sales order
    2)invoice verification MIRO
    3)Final Delivery: vl02 u have to change the intial delivery
    4)Final (Post-Shipment) Invoice: VF01
    work with ur FI consultant for G/L accounts
    Regards
    venu gopal
    Edited by: venu kk on May 19, 2009 6:36 AM

  • Duplicate production order due to sales order on credit block

    Dear Experts !
    Need feedback on the following scenario:
    - Sales order is entered for material which is produced in-house specific to the sales order (ie customer's logo is on product).
    - Schedule line in sales order creates a production order specific to the sales order.
    - Customer runs into credit check a few days later and consequently the schedule line in the sales order is removed due to credit block, however the linked production order still remains and is produced by factory.
    - Sales order is released from credit check and a new schedule line is created resulting in another production order being released.
    Any ideas on how to prevent duplication of production order?
    Thanks in advance!
       -Alvin

    Hello,
    Apologies for the confusion, let me explain it a bit more.
    - Sales order is entered for material with planning strategy group of make-to-order, the schedule line initiates new production order for make-to-order material.
    - A few days later - the customer goes over credit limit or has overdue invoices, etc..
    - During background rescheduling (or any sales order change) the sales order gets a credit block due to static check.
    - Sales order block deleted schedule line in sales order, however the production order remains active.
    - Once the sales order is released from credit block, a new schedule line is created which initiates a new production order.
    - Duplicate production order is now being made in shop floor.
    I hope the above explains my scnario a little clearer.
    Thanks and regards,
    Alvin

  • Error while creating a production order from a sales order

    Hi
       Even though the product has BOM when i try to create order with a sales order reference it is showing a warning message " NO BOM FOUND" . How to correct this error .
    regards,
    PradeepM.

    Dear ,
    Goto -CS02-Enter FG -Goto Header -Staus Long Text -Check wether BOM status is set to 1 -Active .
    Check the usage of the BOM -Should  be 1-Production .
    Check wether BOM is locked and Deltion Flag set -Header Status Long txt tab
    Check the valididty of the BOM and Sales Order Schedule delivery date
    Try and come back
    Regards
    JH
    Edited by: Jiaul Haque on Jul 6, 2010 9:03 AM
    Edited by: Jiaul Haque on Jul 6, 2010 9:04 AM
    Edited by: Jiaul Haque on Jul 6, 2010 9:04 AM

  • Account Assignment Error When Posting GI Against Sales Order

    Hello SAP Experts,
    We are currently experiencing a problem during goods issueance against sales order (VL02N). The system terminates the issueance and gives error:
    "Account XXXXXX requires an assignment to a CO object".
    We have tried maintaining the GL account in OKB9 and assign a default profit center there but i didn't work. The material master also contains the profit center. We were only able to post the transaction if we try to default the a cost center in FS00. However we dont want to assign a default cost center as cost centers differ by plant. We are wondering why it asks the cost center considering that it already contains the sales order assignment. We checked the field selection of the GL account, movement type and even the posting key and all showed that the cost center is not required. We are now in a dead end situation here. Please please help us.
    Thanks in advance!

    Hello Praveen,
    Thank you for your immediate response.
    What confuses me is the fact that it asks for a CO element when in fact it is already assigned to one (it is goods issuance against sales order). Do you know why is the system behaving that way?
    Thanks!.

Maybe you are looking for

  • Call workflow from ABAP program

    created a zbusiness object (ZPRODH)with one key field product hierarchy, one attribute level number and one method display. I tested that zobject and using this object created workflow to display product hierarchy ,it is displaying it. now I have to

  • Problem with using graduated filters

    I have used a graduated filter in a photo and it has darkened some rock that I would like to be lighter, how do I go about doing this?

  • Softkey problems on different devices

    Hi! This is a basic problem. How can I determine what are the keycodes of the softkeys (right / left) on a canvas? On a Sony Ericsson the codes are -6 and -7, on an old Motorola -21 (or 21) and -22 (or 22), but I don't know which devices do this stup

  • EJB5018: An exception was thrown during an ejb invocation on [ResultFacade]

    I have a problem to access from application client to methods of session beans the problem haw to call this method "getcodesresultcampbean("ARTV")" EJB5018: An exception was thrown during an ejb invocation on [ResultFacade] javax.ejb.TransactionRolle

  • Lexmark scanner not working

    Since upgrading to OS X Yosemite, my Lexmark scanner gives "scan operation cancelled" when I try to scan. Printer and copier work fine. Deleted the drivers and re-installed. Also reset the printer in preferences. Also restarted. Any ideas?