SALES BOM - request facility to add to purchase order

It would be of great marketing advantage if we could change the load a "sales BOM" to a pucrhase order either directly or indirectly (based on sales order).
Regards
Jeff Patch

Ciao Elisa,
If PO item was delete, system will update the PO qty in PR statistics with ZERO.  And appear information to advise this item has been opened. But 'Processing stat' will still keep 'B' - Ordered.
For your reference, please also kindly review the note 493315
FAQ: Purchase requisition (general)  -> question 1
~~~~~~~~~~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~
1.  You delete a purchase order item with reference to the purchase requisition. Why is the last purchase order in the purchase  requisition not reset and why is processing status "B" not changed?
Answer:
See Note 65839.
"This is actually not an error. This is because checks for whether a purchase requisition has already been completed are always made on the basis of the quantity ordered. The processing status and the last purchase order are not used in this case.
Thus the processing status and the last purchase order are not reset, since it very often occurs that purchase requisitions are completed via several purchase orders - that is, they are partially ordered several times. In this case, it would even be completely incorrect to reset the status when deleting the last purchase order item, since the previous purchase order can still exist.
However, since the program no longer has this information, namely, which purchase order is the last active one, the processing status is left on "B" and the purchase order number is not corrected, because this could only cause "even more incorrect" statistics."
Regards,
Mauro

Similar Messages

  • Item text in Purchase request is not copied to Purchase orders.why?

    que1:Item text in Purchase request is not copied to Purchase orders.why?
    que.2:where this item text is get stored, i mean to ask which table.
    please reply asp.
    SAP Learner.

    hi
    >que1:Item text in Purchase request is not copied to Purchase orders.why?
    spro >mm>Purchase Order>Texts for Purchase Orders>Define copying rules for item(line item) texts.
    spro >mm>Purchase Order>Texts for Purchase Orders> Define copying rules for header text.
    >que.2:where this item text is get stored, i mean to ask which table.
    use function module  READ_TEXT and table STXL
    regards
    KI

  • Add in purchase order by B1WS

    I m facing error "command not found" on add in purchase order using B1WS.What mendatory data should send using B1WS for add in purchase order?

    There is no function/BAPI to configure a Purchase order item.
    Your best bet would be to do a recording of ME22 (and not ME22N).

  • Can you add a Purchase Order with Sales Order as its Base Type using DI-API

    Is it possible to set the basetype on a PurchaseOrder document line to 17 to create a document as you would using the Procurement Confirmation Wizard in the UI?
    I am using 8.81 SP00 PL09.

    Anyone?
    We already have code to automatically generate Sales Orders using the DI-API, and if we could automate the create of the Purchase Orders as well, it would save a lot of end-user time.
    We would like to do it with the Base/Target references set so that end users can navigate between them in the UI.
    You can do it with the Procurement Confirmation Wizard, and I would like to know if it is possible to replicate this functionality through the DI-API or if I should move forward by just creating the Purchase Orders without reference to the Sales Order and using a UDF to tie them together.

  • Sales BOM not exploding automatically while creating an order

    Hi CRM experts,
    While creating an order in CRM, the sales BOM is not exploding automatically. It explodes when doing a request download of it and then entering in order.
    Found that the FM CRM_BOM_EXPLOSION_EC is responsible for exploding the BOM and it is being called as an event call in CRMD_ORDER.
    CRMD_ORDER is making this event call successfully in development but not in quality system.
    Could you please provide help in this regard.
    Regards,
    Santosh

    Can you elaborate what happens when  the BOM explosion happens in Quality System ?
    Do you see a dump , message or exception in your WebUI ?
    If you see anything above mentioned do post for more information.
    Regards
    Kavindra

  • Purchase request referring to a deleted purchase order

    Hi,
    I'm working at a release upgrade from 4.6 to ECC 6.0 and I'm facing the following issue.
    I created a purchase order referring to a purchase request.
    Although I've deleted the purchase order, its number is still displayed in the purchase request.
    Instead in the previous release 4.6c, after having deleted the purchase order, its number disappeared.
    Do you know how to solve this different behaviour?
    Thanks!

    Ciao Elisa,
    If PO item was delete, system will update the PO qty in PR statistics with ZERO.  And appear information to advise this item has been opened. But 'Processing stat' will still keep 'B' - Ordered.
    For your reference, please also kindly review the note 493315
    FAQ: Purchase requisition (general)  -> question 1
    ~~~~~~~~~~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~
    1.  You delete a purchase order item with reference to the purchase requisition. Why is the last purchase order in the purchase  requisition not reset and why is processing status "B" not changed?
    Answer:
    See Note 65839.
    "This is actually not an error. This is because checks for whether a purchase requisition has already been completed are always made on the basis of the quantity ordered. The processing status and the last purchase order are not used in this case.
    Thus the processing status and the last purchase order are not reset, since it very often occurs that purchase requisitions are completed via several purchase orders - that is, they are partially ordered several times. In this case, it would even be completely incorrect to reset the status when deleting the last purchase order item, since the previous purchase order can still exist.
    However, since the program no longer has this information, namely, which purchase order is the last active one, the processing status is left on "B" and the purchase order number is not corrected, because this could only cause "even more incorrect" statistics."
    Regards,
    Mauro

  • SDK-DI - Add purchase order based on sales order through DI-API

    Today it is only possible to add a purchase order based on a sales order though the UI. This option should also be supported in the DI-API.

    hi,
    try removing the double quotes for basetype, baseline, baseentry.
    if it doesn't solve the problem
    make sure that you are assigning the docentry only but not the docnum of the sales order to the purchase order lines' baseentry.
    rgds,laks.

  • 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?

  • Down payment request based on purchase order

    Dear all,
    How to make down payment request(F-47) based on purchase order(not line item wise) ?,
    Currently in F-47 it is asking to enter amounts purchase
    order line item wise,because downpayment is made only for entire purchase order value not line item wise.
    How to solve this issue ?
    Jeyakanthan

    Hi,
    This is SAP standard functionality. you have to specify line item, though you specify line item system will check for whole PO. and while posting invoice you will get information of the down payment.
    Regards,
    Raj

  • Another BOM is attaching to Purchase Order

    **In our company we have 2 plant say plant1 and plant2.  i created a purchase order in plant 1 for vendor "mahesh" which contains two items , but when i take the print of purchse order , it contans two material along with a BOM of attached to it. This bom is of plant2.. Again i created new order with different material for vendor "mahesh" this time also the bOM of plant2 is coming in PURCHASE ORDER.. Why BOM of plant2 is attaching to the vendor "mahesh" since we are creating purchase orde for plant 1. OUR vendor master data is centralized

    Hi,
    This has nothing to do with workflow. Please ask this for example in the materials management forum.
    Kind regards,
    Karri

  • How to add Purchase Order entry using B1WS?

    Hi,
    I have implemented B1WS in DI server, I am trying to add purchase order entry, but after adding it via B1WS, I am not able to find entry in SAP;
    My code using B1WS:
    public void SAPPurchaseOrder(string _SID)
                _PIService = new PurchaseInvoicesService();
                Document doc = new Document();
                doc.Address ="ab";
                doc.AgentCode = "ab";
                doc.BaseAmountSCSpecified = false;
                doc.CardCode = "VEND7";
                doc.CardName = "Baker & Taylor";
                doc.DocDate = DateTime.Now.Date;
                doc.CreationDate = DateTime.Now.Date;
                doc.DocType = DocumentDocType.dDocument_Items;
                doc.DocumentStatus = DocumentDocumentStatus.bost_Open;
                doc.BaseAmount = 100000;
                doc.DocCurrency = "USD";
                MsgHeader msgHeader = new MsgHeader();
                msgHeader.SessionID = _SID;
                msgHeader.ServiceName = MsgHeaderServiceName.PurchaseInvoicesService;
                msgHeader.ServiceNameSpecified = true;
                _PIService.MsgHeaderValue = msgHeader;
                _PIService.Add(doc);
    Also, I found error while I have use "ADD FUNCTION" as;
    can not empty list of tables, doc1, doc3 and doc10
    Please suggest me a proper entry flow or code to implement.
    Thank you.
    Piyush
    (Rob IT team - Parabox Media Group)

    Hello,
    Just like DI API, you need add doc lines to purcahse order, here is a sample to add a purchase order.
    Public Function Add() As DocumentParams
                Dim myPOParams As DocumentParams = Nothing
                Try               
                    ' Create Input parameters
                    Dim poDoc As Document = New Document
                    poDoc.DocDueDate = Date.Now
                    poDoc.CardCode = "V10000"
                    Dim docLine1 As DocumentDocumentLine = New DocumentDocumentLine
                    docLine1.ItemCode = "A00001"
                    docLine1.Quantity = 1
                    docLine1.TaxCode = "NY"
                    poDoc.DocumentLines = Array.CreateInstance(docLine1.GetType(), 2)
                    poDoc.DocumentLines.SetValue(docLine1, 0)
                    Dim docLine2 As DocumentDocumentLine = New DocumentDocumentLine
                    docLine2.ItemCode = "A00002"
                    docLine2.Quantity = 1
                    docLine2.TaxCode = "NY"
                    poDoc.DocumentLines.SetValue(docLine2, 1)
                    ' Create Service
                    myPOService = New PurchaseOrdersService
                    ' Create Header
                    Dim msgHeader As MsgHeader = New MsgHeader()
                    msgHeader.SessionID = GlbData.sessionID
                    msgHeader.ServiceName = MsgHeaderServiceName.PurchaseOrdersService
                    msgHeader.ServiceNameSpecified = True
                    myPOService.MsgHeaderValue = msgHeader
                    ' Call command with output return
                    myPOParams = myPOService.Add(poDoc)
                    MsgBox("Purhcase Order added: " + myPOParams.DocEntry.ToString(), MsgBoxStyle.DefaultButton2)
                Catch ex As System.Exception
                    MsgBox(ex.Message, MsgBoxStyle.DefaultButton2)
                End Try
                Return myPOParams
            End Function
    Kind Regards
    -Yatsea

  • Purchase order need to add to Standard program

    Hi Folks,
    i have standard program RFDEPL00, i have to copy this one into Zprogram and need to add the purchase order number and text into the output display(purchase order number will take from VBAK-BSTNK),
    could any one help me how to bild the logic for this and where to build?
    thanks in advance

    In include program FDEPL00_SHOW line 18, call the alv function module.The out put internal table is gt_data.I think you can debug the program and add find the right position to add new field to the gt_data table.
    But i found include program FDEPL00_READ use LDB method to get the vendor information.So i think it is not very easy to add code in FDEPL00_READ.
    Maybe you can add code before call alv function.
    Regards Chris.

  • Create a purchase order linked to sale order with DI

    Hello all,
    I tried to create a purchase order based on a sale order with the DI but I get an error message "the business partner selected in base document is different than the target document"
    As you understand, this is normal to have a different business partner. So my question is : is it possible to create with the DI a purchase order linked to a sale order or is this a missing functionality ?
    Thank you
    Sebastien

    Hi sébastien,
       oDoc.Lines.ItemCode = "A00001"
        oDoc.Lines.Quantity = 1
        oDoc.Lines.BaseType = 17
        oDoc.Lines.BaseEntry = 213
    A Purchase document's BaseType can only be a Purchase document itself.
    A Sales document's BaseType can only be a Sales documento itself.
    To create a Purchase Order based on a Sales Order you must go through each row of the Sales Order and copy the values (ItemCode, Quantity, Discounts, VatGroup, etc.) to the Purchase Order.  And remember the VATCode used in a Sales document cannot be the same as the one used in a Purchase document.
    Best Regards,
    Vítor Vieira

  • Purchase Request 'copy to' Purchase Order

    Hi Experts,
    Is it possible to select specific Items in Purchase Request before converting it to Purchase Order?
    For example, I have 100 Items on Purchase Request and only 5 items should be converted to Purchase Order.
    I am using SAP B1 9.0 pl.5
    Thanks!

    Hi,
    Is the issue is rectifed ???
    if yes,can u please close the thread ....!
    By marking the "Correct Answer"...
    Regards,
    Prasad

  • How to get Sales Text & Purchase Order Text in MM based on (MSEG-MATNR)

    Hi
      Am working on a Report based on Purchase order & Sales, Could any body tell How to get Sales Text & Purchase Order Text in MM based on (MSEG-MATNR).
    the Field i need to get are : SALES TEXT, PO TEXT.
    Sunil.

    Hi Sunil,
    For getting Material PO text and sales text, you have to rely on Purchase Order and Sales Order. And use READ_TEXT function module to fetch the text.
    Below are examples of PO text and Sales Text:
    1. PO text:
        CALL FUNCTION 'READ_TEXT'
         EXPORT
           ID = 'F03'
           LANGUAGE = SY-LANGU
           NAME = '450000011200010' conacte PO number and line item number
           OBJECT = 'EKPO'
         TABLES
           LINES = INT_TLINES "you will get text in this table
    2. Sales order text:
            CALL FUNCTION 'READ_TEXT'
         EXPORT
           ID = '0001'
           LANGUAGE = SY-LANGU
           NAME = '0000000036000010' conacte SO number and line item number
           OBJECT = 'VBBP'
         TABLES
           LINES = INT_TLINES "you will get text in this table
    ref: STXH and STXL tables.
    Hope it will solve the problem.
    Regards
    Krishnendu

Maybe you are looking for