Link Purchase Order to BOM

How to Link Purchase Order (OPOR and POR1) to BOM components?

Your question is not clear. Could you please clarify?

Similar Messages

  • 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

  • How to link Purchase Order using account assignment category "F"* to asset

    Hello,
    I'd like to know how to link Purchase Order, using account assignment category "F" to asset .
    When I enter asset no. in my ANEK table, po no(ebeln) and po item(ebelp) field is blank.
    whether every line item in a Purchase order have differrent asset.
    can anybody give me the link between asset and materal no?
    Regards,
    Rachel

    Hi Rachel,
    Your message is a little bit confusing. There is no link between the asset and material number. If you want to post your purchase order, using account assignment F - that is internal order - you may do it. Futher, you can settle the postings from this order to asset.
    You can read more here:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/4f/71e7cd448011d189f00000e81ddfac/frameset.htm
    Regards,
    Eli

  • Link Purchase Order to Sales Order

    Hey All,
    I am trying to link a purchase order created via the DI API to a sales order in the B1 system.
    I set the following fields:
    B1Document.oDocument.Lines.BaseEntry = B1Detail.BaseDocEntry;
    B1Document.oDocument.Lines.BaseLine = B1Detail.BaseDocLine;
    //set base type to sales order = 17
    B1Document.oDocument.Lines.BaseType = 17;
    When I add the purchase order I get this error message:
    Unable to Create Document. Error: Base document card and target document card do not match.  [POR1.VatGroup][line: 1]. -
    After searching for this error I found forum posts relating this to mismatched cardcodes when adding invoices based on sales orders etc.. But the PO will always have a different cardcode then the sales order. I can link the purchase order using the B1 client using the PO checkbox on the sales order form with no problems.
    Am I doing something wrong or is this not possible to do via SDK?

    OK I even tried setting this in XML:
    xmltemplate.InnerXml.Replace("<BaseCard></BaseCard>", "<BaseCard>C20000</BaseCard>");
    I then used that xml to load the purchase order object via GetBusinessObjectFromXML and it still gets the same error. Is there anyone who has figured out a way to do this?

  • Linking Purchase Order to PM Order

    Hi PM Gurus,
    I have the following requirement,
    Currently the stock of item A is Zero. Now User 1 places a PM Order requesting 5 units of A. Later User 2 places a PM Order requesting 8 units of A. But the first order has a higher priority. A purchase order has already been placed for 5 units of A. Now I want to reserve the stock comming from the Purchase Order to the higher priority order. If the User 1 waits till the PO Receipt is done. User 2 might reserve the stock for him since he doesn't know the priority level of the two orders.
    To prevent this, is there a method to link the Purchase Order to the PM Order so that when we do GR in SAP automatically the stock is reserved to the linked PM Order. If not suggest a method to solve the problem.
    Cheers
    Deepal

    Dear Thenna,
    This is about stock items.
    I place so many PM Orders requesting a perticular component when the stock for a perticular item is Null. So when the stock come (through GR of PO) and if the stock is not sitll sufficient to cover the demand of all the PM Orders, we need to set priorities to PM Orders and allocate material.
    To do this only way is to link the Purchase Order to single or multiple PM Orders so that when the stock comes (with GR process) it will be automatically reserved to linked PM Orders.
    Otherwise any PM order open can take the newly arrived stock
    Can we do this in any way because it's a common requirement ?
    Rgds
    Deepal

  • Need of Tables names that link Purchase Order and the Confirmation Number

    Hi All,
    Can any one help me please regarding EBP tables. I am new to EBP so not aware of data flow in the EBP data dictionary.
      Please can anyone explain the tables which link the Purchase order number and the Confirmation(Goods Receipt).
    Please do the needful.
    Thanks in advance.

    Hi,
      You can query the tables BBP_PDHGP and BBP_PDIGP to get teh refernce doc no for PO and then use FM BBP_PD_CONF_GETDETAIL to get the details fo a particular confirmation.ALso you can search confirmations by "Reference Document", use BBP_PD_CONF_GETLIST, with parameter I_REF_DOC_NO, and then use BBP_PD_CONF_GETDETAIL for the found confirmations.
    HTH.
    BR,
    Disha.
    PLs reward points for helpful answers

  • Link purchase order with request for quotation

    Hi:
    I would like to know is there any FM or table where I can get the request for quotation with the purchase order or viceversa?
    Any clue will be great.
    Points for helpfull answers.

    Check the below Links :
    http://www.copacustomhelp.state.pa.us/infopak/nav/procurement/purchase%20ordering/file251/index.htm
    http://www.sap-img.com/materials/what-is-request-for-quotation.htm
    Check with table EKKO -EBELN (BSTYP = 'F',then this is purchase order )
    EKKO-ANGNR-> take this field ,this is quotation number
    Thanks
    Seshu

  • DTW cannot link Purchase Orders to Sales Orders

    Despite giving the right values to the BaseEntry, BaseLine and BaseType fields of the PO lines, dtw import or update will fail, claiming "Base document card and target document card do not match".
    Sure, they are different as SO is linked to a customer while PO to a supplier.
    Is that a bug, or am I misundernstanding something?

    Thanks for your prompt answer.
    Yes, after importing the sales orders I am importing the purchase orders. It is working as expected for the other links (like sales orders to quotations and purchase delivery notes to purchase orders), but it fails for purchase orders to sales orders.

  • Linking Purchase Orders to Consumption Orders

    Hi MM Gurus,
    I have the following requirement,
    Currently the stock of item A is Zero. Now User 1 places a PM Order requesting 5 units of A. Later User 2 places a PM Order requesting 8 units of A. But the first order has a higher priority. A purchase order has already been placed for 5 units of A. Now I want to reserve the stock comming from the Purchase Order to the higher priority order. If the User 1 waits till the PO Receipt is done. User 2 might reserve the stock for him since he doesn't know the priority level of the two orders.
    To prevent this, is there a method to link the Purchase Order to the PM Order so that when we do GR in SAP automatically the stock is reserved to the linked PM Order. If not suggest a method to solve the problem.
    Cheers
    Deepal

    you can make capital investment orders in pm asking for wbs element.
    then adopt the purchase request after adopting purch request.
    so when grn will be made stock will get reserve against that wbs element.
    pl try
    regards
    points if helpful/solved

  • Linking purchases orders with workflow

    Hi, I am fairly new to SAP so please bear with me.
    I am trying to write a report of purchase orders and their approvers.
    So far I have gotten most of my data from tables EKPO and EBAN.  Now I need to get the approver name, I assume that it is in workflow and in particular the table SWWWIHEAD.  However I won't know how the purchase order tables and the workflow tables relate.
    Can anyone please shed some light on the matter or direct me to somewhere I can find the information?

    Hello,
    Instead of accessing the workflow tables, you're better off using the SAP_WAPI function modules.
    Here are some that may be useful to you:
    SAP_WAPI_WORKITEMS_TO_OBJECT
    - given an object instance, findthe related workitems
    SAP_WAPI_GET_WORKITEM_DETAIL
    - givena workitem, find more info
    First you have to figure out which BOR object you're dealing with and what the key is.
    regards
    Rick Bakker
    Hanabi Technology

  • Purchase Order with (BOM) Components.

    Hi Gurus,
    We want to create PO with a component list that should be appears under the main item.
    The component list is a mterial BOM.
    exam:- bom MATERIAL - CATALOG1 (Non Stock Materials)
    COMPONENT 1 :-ABCD
    COMPONENT 2 :- XYZ.
    WHEN I ENTER THE BOM MATERIAL:- CATALOG1 IN /ME21N . Higher-Level Item-
    Automatically botom line should be appear component 1 , 2 as a Sub Item.
    how to configur this issue..?? Its a standard Ponot Subcontract
    Thanks,
    Anthyodaya.

    Hi,
    This is not possible without subcontracting.
    regards
    Suresh

  • Link Sales Order & Purchase Order in Reports

    Hi All,
    We create all our Purchase Order's back-to-back to our Sales Orders. When we look at Row Details in a Sales Order we can see the linked Purchase Order, and vice versa.
    Is it possible to run a Query that will show the list of Sales Orders (all the rows), and the linked Purchase Order number on each line?
    This would make our life much easier when we use DTW to update the shipping dates in the Sales Order based on the dates we get from our supplier on the Purchase Order.
    Best regards,
    Myran

    I think you can start with this query:
    SELECT T0.DocNum 'Sales order',
    T1.LineNum, T1.ItemCode, T1.Quantity, T1.ShipDate,
    T2.DocNum 'Purchase order', T2.CardCode, T2.CardName
    FROM ORDR T0 
    INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry
    Inner join OPOR T2 On T2.DocEntry=T1.PoTrgEntry

  • Purchase order report with basic price and Excise duty values

    Hi All,
    Is there any standard report in SAP to get the Purchase order basic price / qty and its Excise duty values ? Since we are including Excise duties for non - codified items (w/o material master and with cost center 'K') Purchase order and the ed values are added to the cost and the requirement is to see the split up (Basic priceEdEcs+Hcs)for these Purchase orders for the vendors. If there is no std report then please let me know how to link Purchase order table with this Condition value table in query to get the desired report.
    Thanks in advance
    Benny

    Hi,
    there is no standert report to fullfill this requierment
    you have to create this report with the help of abaer
    for that which tax code you are using its importnat thing
    for po table EKPO
    1. A524 (Normal supply point / Material) it will return condition record number for condition type.
    2. KONP (Conditions (Item)) .
    3. J_1IMTCHID (Combination of Material Number and Chapter ID).
    4. J_1IEXCTAX (Tax calc. - Excise tax rates
    5 get the IR no. from RBKP and RSEG, and get the relevant FI doc no. and goto BSET table
    for IR number  to get from table apply logic for doc type RE ,you will get fi number nad in refernce field you will get invoice number + fiscal year
    Map this by refernig on po for which grn and invoice happen
    Regards
    Kailas Ugale

  • Purchase Order and Fixed Asset Module.

    Hi all,
    I want to print my purchase order of fixed asset for record purposes.  But the thing, I can't link purchase order or any of A/P documents to my fixed asset.
    Meaning, if A/P invoice has been added into the system, it will not update my fixed asset master data.
    Therefore, I have to use PO for printing, since there's no way to print Fixed Acquisition as a document. By doing this, i need to maintain both Item Master Data and Fixed Asset Master Data with Fixed Asset items, which i find tedious.
    Is there a solution for this, like perhaps there's a way to copy info from PO to FA acquisition, or Posted A/P Invoice that contains Fixed Asset item will be linked to FA Acquisition, or perhaps there's a way to print FA Acquisition (like a PLD) that i am not aware of?
    Please do help.
    Thanks upfront!
    Rgrds,
    Kevin
    Edited by: Kevin Lau Sieh Huo on May 20, 2008 7:25 AM

    Hi Kevin,
    I am afraid to inform you that the print layout function is not
    supported for Fixed asset transactions such as acquisition.
    As you mentioned, if you want to use it as PO document, you will need to create PO in business one since no integration is realized between Purchasing in business one and acquisition in Fixed asset addon.
    If you think this will have critical impact on your business process, please post your requirement in our SAP Business One Product Development Collaboration.
    /community [original link is broken]
    Please refer to SAP Note 1028874
    https://service.sap.com/sap/support/notes/1028874
    Regards,
    Ivy Zhang
    SAP Business One Forums Team

  • Report for the changes made in Purchase Order

    Hi Friends,
    In my location, changes are made to the purchase orders as and when required. Is there any report which shows the changes made to the Purchase Orders?? I am aware of the Item changes option in the Purchase Order.
    Thanks in advance..
    Regards,
    Phani

    Hi,
    You have to develope an own ABAP report for this, based on the change tables CDHDR and CDPOS
    CDHDR - Header Change
    CDPOS - Item Change
    EREV - Version Change
    Check the link
    Purchase order change log
    Regards
    KK
    Edited by: Kishore Kumar Galla on Apr 5, 2010 1:16 PM

Maybe you are looking for

  • RESIZING WINDOWS IN MAC OS X 10.7.3

    Why is it when I have a small pdf window open in Acrobt, I can simply click the green dot to have it fill the ENTIRE screen.  Yet if I go to do this, say with Safari, it just expands the window top to bottom, not also left to right? I have to drag it

  • Forms 6i prints ugly when using the Forms print command from the menu

    When we use the Oracle Forms print built-in to print the screen-shots, the print-out turns out to be ugly with lots of dots all over. We are using Forms 6i (6.0.8.11.3) running on 9iAS on Windows 2000. The version of JInitiator we are using is 1.1.7.

  • Wireless problem after system update

    After installing system updates to OS X 10.3, the system stopped connecting to my wireless network. I'm pretty sure the updates were the cause, because I downloaded and installed the updates over the wireless network. The problem is not in the networ

  • AME Crashing? Running slowly? Acting weird?

    If so, then check what version is running.  Is it 64-bit or 32-bit?  If you're using the AME to encode queued sequences from Premiere Pro, or if you've set up Encore to use the AME for transcoding assets, or if you launch the AME from a Start menu sh

  • Is there a fix for this stupid theme cand ringtone...

    Hey guys is there a fix for the 6233 to stop the default ringtones changing back when you change the theme? It does my head in. this phone is full of bugs i am sure of it.