Change of Sales Order  automatically changes the purchase order

Hi 
   I am working on a scenario where a  as soon as a sales order is created it will also create a purchase order on plant which will supply the item to the plant on which sales order is created.This works fine.
Now when I change sales order( order qty ,requested delivery date, new item added) . On saving the sales order it should change the purchase order which has already been created by updating the schdule lines in the purchase order with new values from the sales order. It is all in same SAP instance.
Here are possible ways I can think of:-
1 Change of SO will create a SO IDOC . The SO IDOC should supply required values to the PO Idoc . The PO IDOC should get posted to SAP to change the existing PO.  Client does not have XI so we cant use XI for conversion.
2 Changing a SO will trigger workflow.The Workflow executes ABAP program which takes data from SO and calls BAPI to change the purchase order and sends notification that PO has changed.   Which BAPI?
Any thoughts are welcome. We are on 4.7 and we dont have XI. So please do not suggest XI based solution.
Prashanta

Prashanta,
For your 2nd part of question, you can use 'BAPI_PO_CHANGE' to change the PO.
Thanks

Similar Messages

  • Sales order -  automatic creation of purchase order - problem on Credit Che

    Hello,
    We have a problem in sales order.
    For one item, we have an automatic creation of Purchase requisation, but we have to give manually the price in the purchase requisition.
    The problem is when we have give the price, the automatic credit check is executed, and the purchase requisition is not created if we block on this credit check.
    When the credit controller, released the Sales order (VKM1), the purchase is not created automatically because the field for the price in purchase requisition is empty and required.
    And when we come back to the sales order, we need to fill the value and the credit check is running a new time. .....
    and we have a loop.
    I have check in OSS Notes, and I not find a solution.
    How can we solve this problem
    Regards
    Jean-Claude Onderbeke

    Hello Buddi,
    It's impossible to change the price in PO, because the PO is not created.
    The problem is on the creation on the PR in the Sales Order.
    I'm not able to create the Purchase Requisition due to Credit Check, and I'm not able to make an automatic credit check because the value price in the PR is not filled automaticaly, and it's required.
    It's a loop known by SAP, but not solve.
    I hope that someone has found a solution to this strange behaviour.
    Regards
    Jean-Claude

  • 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

  • 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

  • Sales Order to Drop Ship Purchase Order -- Carry Over Ship Method?

    Hi everyone,
         When I create a sales order in B1 using the 99 warehouse, it automatically generates the purchase order once the transaction is billed/invoiced.
    This purchase order does not have the same shipping method as the sales order. I have worked around this in Crystal Reports, but is there a way to have SAP carry over the ship method?
    Thanks,
    Chris

    Hi Chris,
    This may only be done through SDK. There is no standard function to achieve it.
    Thanks,
    Gordon

  • Send the purchase order to several email addresses.

    Hi, everybody
    we are in a clasic scenary. SRM 4.0.
    does anybody know how I can send the purchase order (output is configured like automatic output by email) to several email addresses.
    Any idea.
    Jorge

    Has anybody tried to do a bespoke development in order to send the purchase order e-mail to more than one address.
    Alternatively can the PDF file be sent to a central folder or something like that. 
    Any advice would be greatfully received.
    Thank you
    Karen

  • To print Digital signature on the Purchase Order

    How to print Digital Signature, on the PO Print copy (PDF).
    It will be based on release strategy. Whoever is approving the PO, his signature should be printed automatically on the Purchase Order.
    How to achieve this ??
    Please let me know in detail
    thanks
    amit

    Hi Amit,
    I am not sure on how to get the the signature of the person who released the PO, because as per my understanding the Relase Strategy i.e the Relase code is attached to a Basis profile.
    What I would suggest is if you can get all the guys who can release a PO and define him as a Purchaser ie. a Purchasing group then it would be easier to print his signature in the PO.
    Here are the Highlevel steps
    1. Just have the Signature you want to print in a Tiff format.
    2. You can upload the signature as a standard Text using program RSTXLDMC to upload and give a text name.
    3. call the text name in your sap scripts.
    reward if useful.
    Thx,
    MJ

  • Need to find how to relate the purchase order table with account assignment

    i need to reterieve the account assignment from the table bbp_pdacc, what is field or any tables that is between BBP_PDACC and Purchase order number or the purchase order items. I am working on the SRM system

    Jacques-Antoine,
    You can't directly translate a repeating node or element (such as an Item or a Project Task from the Accounting Coding Block of an Item) to a singular node or element.
    The reason is that, though your use case may have the elements assumed to be the same for all items, this isn't necessarily the case, so ByDesign won't assume that you can use that kind of logic.
    The simplest approach would be to do an On-Save at the Root node of the Purchase Order along the following lines:
    this.projecttaskpo = this.Item.GetLast().ItemAccountingCodingBlockDistribution.AccountingCodingBlockAssignment.ProjectTaskKey.TaskID;
    i wouldn't actually recommend this code.
    You'd need validations for IsInitial, IsSet, and those kinds of functions.
    i'd at least use some foreach loop to check that all the accounting coding blocks were for the same task, raise warnings if they weren't, etc.

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

  • Changing the Condition type Text in the Purchase Order

    Hi SAP,
    Hi,
    We have a requirement where by we need to change the Description of the condition type text in the Purchase order.
    The condition type is a entered at item level.
    Normally this description comes from the Condition type Definiton i.e., T685T-VTEXT.
    can any one of you suggest a User exit or a method where by we can change this text at PO.
    Has any one of you came across such situation before. if so please provide me with your inputs.
    Thanks
    Best Regards
    ShitalD
    Edited by: Shital Deshpande on Feb 21, 2010 1:07 PM

    Hi,
    I think it is a config setting..Please check with your functioal consultant regarding the same.. I won't suggest to change the standard SAP table T685T but you can keep it as last option .
    From SPRO you can follow the below path
    Sales and Distribution->Basic Functions -> Pricing > Pricing Control -> Define condition types.
    Regards,
    Nagaraj

  • Reset Release Strategy for any change in the Purchase Order

    Hi,
    Is it possible in SAP standards to reset release strategy for even minor changes in the Purchase Order irrespective of whether it is value change or any change in the text or Purchasing group change or whatever it is?
    If so, where do we need to make the configurations.
    I have seen in some thread about resetting the release strategy for decrease in Purchase Order value.Even that was possible through some BAPI.
    Thanks in Advance.
    S.Raghavan

    hi sandesh,
    sorry, i know it's too late.
    i tried your suggestion, it works blocking the purchase order after release strategies are setted.
    sandesh, raghavan:
    i need to reset the strategies after to make any change in the po. i'll appreciate your help if you can give it.
    regards
    f

  • Change the Purchase Order : Item - Conditions value

    Hi,
    How to change the Purchase Order : Item - Conditions value.
    In my PO, Item conditions shows the SKTO - Cash Discount value is 0. I want to change the Discount value 10.
    How can i change it??

    Hi,
    Goto the Transaction code MN05 and give the CONDITION TYPE SKTO and change the value
    MN05 is the Transaction code for Purchase order  condition types.
    Please check and revert back if you need more details.
    regards,
    santosh

  • Release have to be retrigger if any body changes the purchase order

    Hi all,
    Actually my requirement is.....once a PO is released by a purchasing group.....and later any body  have changed the  purchasing group in  the same PO release should be retrigger how to configure this.
    Regards,
    Bhargav...

    Go to SPRO > Materials Management > Purchasing > Purchase Order > Release Procedure for Purchase Orders > Define Release Procedure for Purchase Orders > Release indicator
    Select the release indicator for the final release.
    Once you are there, make "Chgable" = 6 and "% Value change" needs to be "blank".
    Hope this helps.

  • Accomodate the changed BOM in the purchase orders

    Hello,
    I have the 2000 subcontracting purchase orders created with the Old BOM. The BOM was changed in the inbetween. How do I update the purchase orders in a single transaction, I do not want to go in all the Purchase orders and change the PO manually.

    LSMW and SECATT are standard transactions.
    Not everything is possible ot change with MASS transaction.
    It is quite unusual to have 2000 open POs with wrong bill of material.
    How did you create thiose 2000? Manually? how many weeks did it take?

  • Price to be changed in the service activity after saving the purchase order

    Hi Gurus,
    I am doing sap project system implementation in power project. I am creating the service activity and giving unplanned services as 1000 rupees and released the project. The purchase requisition is converted to purchase order and the purchase order no is generated.
    now the price of service activity is 1500 rupees and i want to edit the service activity price and in the project system price is greyed and it is not able to edit.
    So pls help me how can i do edit of the price and change it in the purcahse order.
    regards,
    muralips

    Hi Abdul,
    The above query which i mentioned is of using unplanned services and what ever the price i edit in purchase order is not reflected in the network activity.
    If it updates in tne network activity then my planned cost should change and at present it is not changing in my project.
    so please suggest me how to get the cost updated in the network activity.
    regards,
    muralidhar tallam

Maybe you are looking for

  • After installing Lion, I cannot get my MacPro 1,1 to boot Leopard..

    I have a Mac Pro 1,1 - just got it, came with Leopard installed. I reformatted the internal hard drive and restored it to original factory OS, using the discs which came with the computer - which happened to be Tiger. Then I went thru the process of

  • Macbook Pro to IMac (2009, no thunderbolt) external monitor

    Hi I have just got my new Macbook Pro and wanted to connect it to my IMac to use that as a second display. I have done a bit of research and it looks as if I need a mini display cable to mini display cable, is this correct? I am assuming that this ca

  • Clearing documents rules ?

    Hello, Which rules determine whether a clearing document contains lines or not ? On my system, I get different results on 2 companies : - on company A, if clearing two items of which the sum is zero, a clearing document with lines is created - on com

  • Creating an A5 brochure in Illustrator CS5.1

    Hi, I have been trying for hours to create an A5 Brochure in Illustrator (I have version CS5.1) I have looked at tutorials and help guides, a lot of them say select 'A5' in the new document option, but there ISN'T an A5 option! :-( Please help! Kind

  • Acrobat 8.0 professional

    I need to redownload my acarobat 8.0 professional and I cannot find where to get the download.  I registered this and purchased from adobe they have the informaiton on the site but no way to download can anyone help.