Production order number onto a purchase order

Hi guys,
         Is there  anyway I can pull the production order number onto the related purchase order(i.e, if a purchase order has an item which is procured for a production order ). I'd appreciate your ideas and suggestions on this.
Thanks
Cheris T

hi sridhar,
Thanks for the response, we procure components for a production order.put them in stock and use them for production.we donot consume them immediately, so we are not using acc. assignment category 'F'. can you plz suggest me how do we capture the production order number on the PO
Thanks
cheris T

Similar Messages

  • Production order number in a purchase order

    Hi guys,
             Is there  anyway I can pull the production order number onto the related purchase order(i.e, if a purchase order has an item which is procured for a production order ). I'd appreciate your ideas and suggestions on this.
    Thanks
    Cheris T

    Hi Cheris,
    If the purchase requisition is created as a dependent requirement for an assembly as a result of MRP, then the account assigment is done automatcally by system to the production order of the assembly. You can see it by clicking on the Account assignment tab on the purchase requisition or purchase order.
    If you are manually creating the Purchase requisition,then you select the Account Assignment category as "F" order.
    Hope this clarifies your query.If you are satisfied reward points.
    Thanks and regards
    Murugesan
    Message was edited by:
            MURUGESAN THANGATHURAI

  • Assigning a Sales Order Number to a Purchase Order

    My company has a requirement that for every purchase order we need to identify what sales order was created to generate the PR.
    I have found that by using the Account Assignment C - Sales Order, this opens the "Account Assignment" Tab and the fields for Sales order, item, and schedule Line.
    I have saved the PO and now am trying to receive the parts into inventory.  When doing so, the inventory needs to post to our inventory GL account, in our case is 135075.  By NOT assigning the GL with the sales order in the PO it doesn't post to this account it posts to a different GL account.
    How do I go about using the "Sales Order" field in the purchase order so I can record which sales order the line item of the PO corresponds to, and when receiving the inventory into stock have it post to the correct GL account?
    Thanks,
    Karen

    The company I work for is a distributor, and doing a Make to Order order type would not be in the best business practice for our company.  We tend to purchase stock for multiple orders and put them in inventory to be sold.  We are looking for a way to "document" what sales order the purchase order line item is being bought for, and sometimes their our multiple lines.
    I understand what you are saying regarding posting to an stock GL vs a consumption GL.
    I am going to research further and see how we can post to a consumption GL and then move the remaining stock over to a stock GL account after we have sold what we have purchased and received.
    I was able to get the receipt posted to the GL 135075 by taking off the "post automatically" indicator in the configuration of the GL account, but this then posed problems when doing other inventory postings such as cycle counting or moving inventory.
    Thank you,
    Karen

  • How to get sales order number based on purchase order

    hi,
    what is the transaction code to find the sales order number based on the purchase order number
    Regards,
    Murali

    Hi,
    Go to Se16 (data browser), see the table VBKD, enter the PO number, if any, execute.
    Prase

  • Accounting document number display in purchase order history tab

    Is it possible to display the accounting document number in the purchase order history tab?  Currently it is displaying material document number for Good receipts and LIV (logistic invoice verification) document number for Invoice receipts against material document number colmn.  We can get to the accounting document number by drilling into the LIV document number.  We are looking for a way to display the accounting document number in the display screen of purchase order history tab instead of drilling down. 
    Is there an option to display accounting document number of the MIRO posting in ME23N , purchase order history tab?
    Truly appreciate any help in this regard.

    Thanks for the response.

  • User Exit to Create Production Order when creating of Purchase Order

    Hi Guru's,
    I want to create the Production Order when creating the Purchase Order. i want to know is there any user exit exists for that??
    My scenario is as follows.
    we are converting the Purchase Requisition to the Purchase Order , while doing this we want to create the Production Order.. Is this possible??
    If possible how can we do that???Please suggest me the possible solution.
    Thanks in advance.
    Thank you,
    Adi.

    Teja,
    My Scenario is as follows.
    P1- Manufacturing Plant
    P2 - WareHouse Plant (Procures Material from P1 using STO)
    When we run the MRP in P2, it creates a Purchase Requisition, that Purc.Req is going to be convert as STO (Stock Transport Order) in P1 Plant.
    When converting the Purchase Req to STO, we need to create a Production Order in P1 Plant.
    we know that system will creae the Purchase Order only, is there any possibility that,For creating the Production Order is there any user Exit/BADI or any other procedure while creating the Purchase Order????
    Thanks,
    Adi.

  • How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_0

    How to Assigning the number ranges for Purchase Order using EXIT_SAPMM06E_001 using Functional Module NUMBER_GET_NEXT explain me ?

    Hi,
    First go thourh the FM import export parameters list.
    Try to create an internal table of type INRI-NRRANGENR for number ranges.
    We can provide the lower and higher values for this table so that what ever PO is created will be with that range.
    Try to create the ncessary ones using this FM.
    In the Exit, EXIT_SAPMM06E_001,
    the Export parameters are-
    EKKO-EBELN- the PO ios created with in that specified range
    Range as INRI-NRRANGENR - Here try to assign the Internal table that was populated in the FM.
    Try to code this in the Include provded and keep Breakpint and check the PO number generated.
    Reply if u need more help on this.
    Reward if helpful.
    Best Wishes,
    Chandralekha

  • Drill down of purchase request number field in Purchase order

    Hi, We need Drill down of purchase request number field in Purchase order. Please help.

    Hi
    In VOV8 as far as i understood by your query you are asking about the following :
    Enter Purchase Order number - This indicator checks for the purchase order number and if you dont enter the purchase order number then system will consider the sales document number as purchase order number
    Check Purchase order number  -  If you check then system  will check wheather the purchase order number existed or not for this sales document type
    Regards
    Srinath

  • Number ranges for purchase order in SUS- why?

    Dear Gurus,
    In SPRO settings, I have seen the option for defining the number range for purchase order in supplier self service system. similarly, there is an option for defining the number range for purchase order response.
    Why do we need to define the number range for purchase order and its response in SUS system? In SUS system, the purchasing documents from SRM and MM system create corresponding Sales Order and its follow-on document. So, we need to define the number range for sales order not purchase order.
    In spro documents, it says you need to define the number range only if you create purchase order locally in SUS.
    What does it mean?
    regards,
    Ranjan

    Hi Ranjan,
    Unfortunately in SUS, Sales orders are referred to as Purchase orders only. Hence any PO with a number say 450000000 that comes into SUS will have a corresponding number in SUS as 19000000.
    Sam has already explained the PO response part.
    Regards,
    Nikhil

  • Account Document Number Against the Purchase Order No.

    Hi,
    I have 2 queries in my report...
    1..i want Account Document Number Against the Purchase Order No.
    2..and Account Document Number Against the Invoice No.
    Note:.. Account Document Number have the 55... series. foe ex. 5500017019...
    Plz let me know in which table i can get it...
    Thanks...

    Hello Prince,
    To find the GR no. against the FI doc number the tables involved will be BKPF, RSEG, EKBE.
    Plz see the algorithm below for details:
    1. Select the A/C'ing docno. from BKPF. For the FI docs selected, get the incoming invoice details from RSEG.
    RSEG-BELNR = BKPF-AWKEY+0(10)
    RSEG-GJAHR = BKPF-AWKEY+10(4)
    Please note you can restrict the FI docs selections by using BKPF-AWTYP = 'RMRP'.
    2. From RSEG you get the PO number (RSEG-EBELN) & then go to the PO History Table EKBE to get the GR number (EKBE-BELNR).
    EKBE-EBELN = RSEG-EBELN
    EKBE-EBELP = RSEG-EBELP.
    Hope this is clear.
    BR,
    Suhas

  • Create Sales order with reference to purchase order - Help needed

    Hi Gurus
    Purchase order is being created in Oracle system. SAP system will receive the purchase order and creates the sales order for the corresponding purchase order.
    Hoe to create sales order, Through BAPI or through IDOC. Please suggest and give some pointers of existing interface
    Thanks
    Andy.

    Hi,
        If you are working on ECC6.0 check for the BAPI BAPI_SALESORDER_CREATEFROMDAT1 .You can also pass the purchase order number .
    Check the sample code
    REPORT z_bapi_salesorder_create.
    Parameters
    Sales document type
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text FOR FIELD p_auart.
    PARAMETERS: p_auart TYPE auart OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Sales organization
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text1 FOR FIELD p_vkorg.
    PARAMETERS: p_vkorg TYPE vkorg OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Distribution channel
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text2 FOR FIELD p_vtweg.
    PARAMETERS: p_vtweg TYPE vtweg OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Division.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text3 FOR FIELD p_spart.
    PARAMETERS: p_spart TYPE spart OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    SKIP 1.
    Sold-to
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text4 FOR FIELD p_sold.
    PARAMETERS: p_sold  TYPE kunnr OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Ship-to
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text5 FOR FIELD p_ship.
    PARAMETERS: p_ship  TYPE kunnr OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    SKIP 1.
    Material
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text6 FOR FIELD p_matnr.
    PARAMETERS: p_matnr TYPE matnr   OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Quantity.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text7 FOR FIELD p_menge.
    PARAMETERS: p_menge TYPE kwmeng  OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Plant
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 2(20) v_text9 FOR FIELD p_plant.
    PARAMETERS: p_plant TYPE werks_d OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    Data declarations.
    DATA: v_vbeln            LIKE vbak-vbeln.
    DATA: header             LIKE bapisdhead1.
    DATA: headerx            LIKE bapisdhead1x.
    DATA: item               LIKE bapisditem  OCCURS 0 WITH HEADER LINE.
    DATA: itemx              LIKE bapisditemx OCCURS 0 WITH HEADER LINE.
    DATA: partner            LIKE bapipartnr  OCCURS 0 WITH HEADER LINE.
    DATA: return             LIKE bapiret2    OCCURS 0 WITH HEADER LINE.
    DATA: lt_schedules_inx   TYPE STANDARD TABLE OF bapischdlx
                             WITH HEADER LINE.
    DATA: lt_schedules_in    TYPE STANDARD TABLE OF bapischdl
                             WITH HEADER LINE.
    Initialization.
    INITIALIZATION.
    v_text   = 'Order type'.
    v_text1  = 'Sales Org'.
    v_text2  = 'Distribution channel'.
    v_text3  = 'Division'.
    v_text4  = 'Sold-to'.
    v_text5  = 'Ship-to'.
    v_text6  = 'Material'.
    v_text7  = 'Quantity'.
    v_text9  = 'Plant'.
    Start-of-selection.
    START-OF-SELECTION.
    Header data
    Sales document type
      header-doc_type = p_auart.
      headerx-doc_type = 'X'.
    Sales organization
      header-sales_org = p_vkorg.
      headerx-sales_org = 'X'.
    Distribution channel
      header-distr_chan  = p_vtweg.
      headerx-distr_chan = 'X'.
    *Purchase order number
    header-PURCH_NO_C =  '4000006'.
    headerx-PURCH_NO_C = 'X'.
    Division
      header-division = p_spart.
      headerx-division = 'X'.
      headerx-updateflag = 'I'.
    Partner data
    Sold to
      partner-partn_role = 'AG'.
      partner-partn_numb = p_sold.
      APPEND partner.
    Ship to
      partner-partn_role = 'WE'.
      partner-partn_numb = p_ship.
      APPEND partner.
    ITEM DATA
      itemx-updateflag = 'I'.
    Line item number.
      item-itm_number = '000010'.
      itemx-itm_number = 'X'.
    Material
      item-material = p_matnr.
      itemx-material = 'X'.
    Plant
      item-plant    = p_plant.
      itemx-plant   = 'X'.
    Quantity
      item-target_qty = p_menge.
      itemx-target_qty = 'X'.
      APPEND item.
      APPEND itemx.
      Fill schedule lines
      lt_schedules_in-itm_number = '000010'.
      lt_schedules_in-sched_line = '0001'.
      lt_schedules_in-req_qty    = p_menge.
      APPEND lt_schedules_in.
      Fill schedule line flags
      lt_schedules_inx-itm_number  = '000010'.
      lt_schedules_inx-sched_line  = '0001'.
      lt_schedules_inx-updateflag  = 'X'.
      lt_schedules_inx-req_qty     = 'X'.
      APPEND lt_schedules_inx.
    Call the BAPI to create the sales order.
      CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA1'
           EXPORTING
                sales_header_in     = header
                sales_header_inx    = headerx
           IMPORTING
                salesdocument_ex    = v_vbeln
           TABLES
                return              = return
                sales_items_in      = item
                sales_items_inx     = itemx
                sales_schedules_in  = lt_schedules_in
                sales_schedules_inx = lt_schedules_inx
                sales_partners      = partner.
    Check the return table.
      LOOP AT return WHERE type = 'E' OR type = 'A'.
        EXIT.
      ENDLOOP.
      IF sy-subrc = 0.
        WRITE: / 'Error in creating document'.
      ELSE.
    Commit the work.
        COMMIT WORK AND WAIT.
        WRITE: / 'Document ', v_vbeln, ' created'.
      ENDIF.
    Reward points if it worked.
    Regards,
    Abhishek
    Edited by: Abhishek Raj on May 14, 2008 9:57 AM

  • How to block the creation of a Sales Orders without a linked Purchase Order

    Hi. I'm trying to block the creation of a Sales Order that doesn't have a linked Purchase Order. The first thing I did is using the SBO Transaction Notification as follows:
    IF  @transaction_type = 'A' AND @object_type='17'
    BEGIN
         IF (SELECT PoPrss FROM ORDR WHERE DocEntry = @list_of_cols_val_tab_del) = 'N'
         BEGIN
              SET @error = 1
              SET @error_message = 'Purchase Order Missing...'
         END
    END
    This works good. I create the Sales Order, I tick the purchase order field on the logistics tab, I click Add, and then the purchase order window appears...
    Then, the problem begins... If I click the Cancel button, the purchase order is obviously not created, but the Sales Order is created.
    Can someone tell me how to block the creation of the sales order If the user press the cancel button on the purchase order window (and the purchase order is not created)
    As far as I can see, after clicking the add button in the sales order document, the Sales Order is created on the DB. If there's no way of blocking the creation of the Sales Order, can I avoid closing the purchase order window by the SBO_TransactionNotification? (if the purchase order has not been created)
    Thanks...

    Hi Yail,
    I think you can't close the purchase order with the stored procedure.
    Try to catch the Event when the user click on Cancel button.
    So you can list the vents with event logger : https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ede3be37-0e01-0010-1883-cd1b5293473e
    You can block the cancel button and force the user to create the purchase order.
    Hope i help you
    Best regards
    Michael

  • Purchase Order with reference to Purchase Order

    Dear SAP Gurus,
    Can it be possible to have a purchase order with reference to purchase order.
    Regards
    Vinod Kakade

    Hi,
    there is an option to give document date in the Purchase order selection in Document overview, what you can do here is that you can get a TVARVC variable created with date range of today - Today - 179 Days, in the attributes of the variant enter the TVARVC variable so that when the user uses this variant, he will get PO's only for that date range, if you  have any confusion on this then please speak to your ABAP Consultant.
    Regards
    Chandra Shekhar

  • New order type for a purchase order similar tu UB.

    Hi,
    I would like to know if it is possible to create a new order type for a purchase order. This new order type should work as a UB order type but "plant" and "storage location" should be indicated by default and shouldn't be changed.
    How should I proceed?
    Thanks in advance.
    Luis.

    The problem is that If I specify default values for each user (plant and storage location) It will always propose these values when using different order types. This can't be.
    Isn't there any other solution in standard sap?
    Edited by: LUIS ÁLVAREZ on Apr 26, 2010 11:25 AM

  • How to get the ammendment sales order number and original sales order no?

    Hello sir's,
    Please tell me the table for ammendment(revised) sales order number and original sales order no.
    Thanks in advance,
    vikram

    Solved

Maybe you are looking for

  • How to link CRM opportunity to R/3 projects through object relationship

    Hello everyone, i have this new development to link CRM opportunity with R/3 projects ( table PROJ ). as user creates the opportunity in CRM in relationships tab he should be able to see the R/3 projects as part of search help when he select create r

  • 1300 wireless bridge secured data traffic encryption --high

       Hi All, I am looking secured encrypt configuration for the 1300 bridge wireless network . i have below configuration please suggest any change or modification on the configuration . network topology R1--------------SW1<-----------------> root brid

  • Cant open .docx directly in Firefox - why?

    When I click on a file that i want to open the following occurs: "C:\Users\username\AppData\Local\Temp\.docx <e.g> coulnt open because the associate helping program doesnt exist. Change the association in your settings." Im using Firefox and have 64

  • I am trying to acesss a Windows NT external drive form an old computer and it says I can read only how do I change permissions

    I have an external hard drive that was used to copy all my old files from an old Windows 7 computer.  I need to copy some of the files but it says the disk is read only and I don't seem to be able to change the permissions no matter what I try any su

  • VBAP data deleted

    While making changes in a zfiled which was added using append structure  and adjusting it through se14 the data in the vbap table is deleted in the sandbox system. Can some one throw light on how to restore the data in vabp... does vbap has any depen