Update Purchase Requisition from Sales Order

Hi,
My requirement is to Update Purchase Requisition from Sales Order based on the Vendor number in
Purchase Requisition .
I have used Userexit         :- MV45AFZB
                 Customerexit :- EXIT_SAPFV45E_002
                 BADI             :- ME_REQ_OI_EXT, ME_REQ_POSTED
for my requirement, but in vain.
Of these Userexit  MV45AFZB, Customerexit EXIT_SAPFV45E_002, BADI ME_REQ_OI_EXT are getting triggered in Sales order creation but, Purchase requisition is not yet triggered and we dont have the VENDOR value with which i need to do perform some checks and update the Purchase requisition.
After I SAVE sales order, BADI ME_REQ_POSTED is getting triggered.Here, the purchase requisition is created ( not yet inserted into the database ) .I also have required VENDOR value, but in the given
BADI ME_REQ_POSTED I can make checks according to my requirement but not able to update the new values into purchase requisition.
Literally speaking, Iam struck up..Dont know what to do.....
Please let me know any Userexit/BADI/BTE where I can  Update Purchase Requisition from Sales Order based on the Vendor number in
Purchase Requisition .
Thanks,
Shivaa..

Hi Max,
It just struck to me...
As suggested by you, I thought of calling BAPI BAPI_REQUISITION_CHANGE  from user exit USEREXIT_SAVE_DOCUMENT in MV45AFZZ .
I f I give PReq no. , BAPI BAPI_REQUISITION_CHANGE  will take the particular PReq no., from database and then change it according to our requirements...
But, in our scenario I am calling the BAPI BAPI_REQUISITION_CHANGE  and passing a PReq no..which doesnt exist in the d/b itself.....
Anyways, let me try......
Meanwhile ,please suggest any other options for resolving the issue in question......

Similar Messages

  • Create purchase requisition from Sales Order

    Hi,
    Is there a transaction to convert directly a sales order into a purchase requisition or even purchase order?
    When our sales orders are too big our suppliers send the material directly to our customers and right now we do the PO manually.
    Best Regards,
    Carlos

    Goto VOV6 and assign SLca CS with Order type for PR
    Goto IMG>SD>Sales>Sales Documents>Sales Document Item > Assign Item Categories - Assign TAS to the Sales document
    IN material master, Assign the Item category group (BANS)
    Create a sales order, and upon saving in shedule lines you can see that the PR is created.
    Maintain a source list and a vaild info record for the material vendor combination
    Run ME59N, which will automatically converts the PR to PO
    Award points if helpful

  • Create purchase requisition form  sales order

    What are all the settings required for autiomatic creation of Purchase requisition from sales order. I am new to this topic

    Hi,
    When the material is trading / externally procured, then the requirement in the Sale order generates PR. This is because the material is required in the sale order & seperate manual data entry for generating material requirement is avoided.
    Regards,
    Prashant Kolhatkar

  • Purchase requisition from sales document' not possible due to a credit bloc

    hi experts,
    i have to confirm delivery date and quantity for some purchase order items but i'm not able because i receive following message:
    Subsequent function 'Purchase requisition from sales document' not possible due to a credit block'
    Purchase requisition belongs to a sales order which has customer 10000.
    The customer 10000 was block from FD32 but now i have unblock the customer from FD32, i have assigned customer to a category risk which is only a warning. (in OVA8 risk category 002 static check, reaction C, status/block uncheck )
    There is any possiblilities to confirm quantity ?? I mean ... i understand that sales order was created when the customer was block due to credit limit exceded ... but now the customer is not blocked.
    What should i do?
    Thank you.

    Hi Dan
    If you want to  confirm the delivery date then change the static check reaction to B . in OVA8 . But if you change the static check reaction to A , you can do Delivery and billing also
    Regards
    Srinath

  • Purchase Requisition and Sales Order Linkage (Order Costing)

    Dear, Gurus
    I have a scenario where in the Purchase Requisition you can assign acct cat C for Sales Order to item 010 for example. What exactly is this used for I mean is it used to transfer the price of the purchase into the Sales Order? Or its just a linking for reporting purpose? User would like if the purchase order or its requisition price come into the conditions of my Sales Order. Is this possible if yes how or thru which condition type? I was told this is order costing and I have no idea how to configure my sales order in terms of order costing to pull the price of the purchase requisition or purchase order.
    Recap
    1)     What is the purpose of the linkage to the Sales order?
    2)     Can the price be linked into the sales order this way?
    3)     Any other valuable information I should know please feel free.
    Thanks and hope to hear from you geniuses.

    Aroop thanks for your reply.
    My scenario is not the same as in 3rd party processing. In fact my scenario is make to order and even repairs of other companies machinery. Now what we are trying to achieve is lets say in the repair or in production of the customers machinery or service, MM needs to make a purchase for a part or tool etc. That in itself has a price. Meaning our purchase mm dept has to pay the vendor for the purchase made and in return we need to charge our customer for that purchase. So we would like for the price of the purchase order come in our sales order condition type as a surcharge.
    We were able to fetch the price of the production order automatically thru condition type EK02.
    We would like to do the same from purchase order.

  • Creation of Purchase Requisition with Sale order

    Hi,
    I have a scenario where I need to create a Purchase requisiton for the requirement from the sale order (like the Third party sale order).
    I have done the required configurations to create the Purchase requisition.
    My Sale order has three line items and each line item has different Item category and schedule line category.
    I have configured different Purchase requisition document types for every schedule line.
    When sales order is saved, I need seperate Purchase requisition since the PR document type are different for every schedule line.
    But system creates only 1 PR with multiple lines. It picks the PR doucment type assigned to the schedule line category of 1st line item in the sale order.
    How can I get different PR for different doucment type in a single Sale order?
    Regards

    This can is happening b'coz at your sale order only one I cat is determining by default.
    So, determine diff I cat with diff desired the sch lines cat in the doc.
    Say,
    maintain, I Cat determination(VOV4)
    Sales Order(VOV8) - I Cat Group(material- MM02) - I Cat(VOV7)
    ZTPS - ZTA1 - ZTA1
    ZTPS - ZTA2 - ZTA2
    ZTPS - ZTA3 - ZTA3
    and also check.
    I Cat (VOV7) - Sch Line Cat (VOV6)
    ZTA1 - Z1
    ZTA2 - Z2
    ZTA3 - Z3
    Hope this can assist you in understanding.
    Thanks & Regards
    JP

  • Thard party Purchase requisition From Production order

    Hi ,
    We have a Concept like third party PR ( Purchase Requisation) should raise Thorugh Production order
    Normally We are raising the PR based on Sales Order and Item category is TAS,
    But my clint Want some of the material in Production BOM After running the MRP it become a third party material,
    It meens Some small components are third party material
    Please let me know how shall i do this process.
    Regards,
    Gangi Reddy.

    Hello,
    As Silvia says, what we want to know is if it is possible in a standard SAP to assign different account assignments depending on the plant.
    In the two scenarios we have, the account assignment would be different:
    1. Modify the production order: in one operation we change the control key from PP01 to PP02 so a purchase requisition is created ACCOUNT ASSIGNMENT F (PRODUCTION ORDER)
    2. One of the components in the BOM is purchased, so when the MPS is execute, a planned order is generate for the finished product and a purchase requisition for the component. ACCOUNT ASSIGNMENT C (SALES ORDER).
    Is it possible to have in transaction OPJP account assignment C and then via  user exit COZF0001 Change purchase req for externally processed operation determine account assignment F for case one?
    Thanks so much for your help,
    Ana

  • Purchase Requisition Against Sales Order Required Flow

    Dear All,
    I want to create Purchase Requisition against the Sales order user Defined committed quantity (i.e in Mtr) and on the basis of Purchase requisition i want to create Purchase Order.
    Here the Purchase order is standalone or we can take the reference of  one or more than one Purchase Requisition no.,
    Please help me out to map the perfect flow of this scenario to map purchase requisition.
    Note: we can also able to  generate standalone Purchase Order.
    Regards,
    Sumeet Vaity

    Hi Sumeet Vaity
    Use SAP B1 8.81 . Purchase  Requisition available in SAP B1 8.81. You not need to make Purchase  Requisition AddOn  update your product and use it . if u want to developed add on for lower version so u can install 8.81 and can take idea about it.
    Thanks
    Khan Imran

  • Purchase requisition without sales order

    Hi experts,
    I'm facing with a very strange problem. In our system,  purchase requisition are created automatically when sales order are created. Problem is that some purchase requisition does not contain linkage to sales order (does not have any linkage in account assignment). From this strange behaviour,  when i want to create purchase order (ME58), sap gives me error: Enter sales order.
    Does anyone know where is the problem?
    Thanks in advance.

    Dear,
    Please check following config,
    Step 1)
    If you are always followwing a third party process for a material then you have to create the material using item category group BANS in Material Master.
    The procument type should be marked as External procurement (F) in MRP 2 view of the material master record.  if you are not always allowing third party order processing then u can create a material master record with item category group as NORM and the procurement type should be marked as ( X) meaning both types of procurment ( in house manufacturing and external procurement).
    step 2)
    the item category in the order should be manually changed as TAS.
    For that you need to confugure the item category determination
    Ord type + item cat grp + usge + Hiv level = Item cat + Manual item cat
    OR + NORM +      +       = TAN . + TAS
    OR + BANS +       +       = TAS
    Step 3)
    make sure that during the item category configuration for TAS  you need to mark relevnat for billing indicator as F
    step 4)
    The schedule line cateogry for this type should be CS.
    make sure that you mark  subsequent type as NB - purchase requisition  in this schedule line category as this will trigger the purchase requision order immediately after the creation of the sales order and the PO to vendor is created against this purchase requiesion.
    Regards
    AJIT K SINGH

  • Report purchase price from Sales order to delivery.

    Please, is there anyone knows a solution for a resumption of the purchase price was register in a libne of sales order when we created by the DI API corresponding delivery ?
    Edited by: Rui Pereira on Dec 23, 2008 3:08 PM

    Hi Jane,
    Thank for your answer.
    In my sales order, the purchase price is the field GrossBuyPr.
    But when I create a new delivery from this sales order the price is take from Item.
    I used DI_API, because in my sales order, delivery's quantity is an user field. I generates the delivery with an addon.
    Best regards.
    Patrick
    Edited by: Rui Pereira on Dec 23, 2008 2:58 PM

  • Delivery Date - Purchase Requisition from PM Order

    Hi All,
    For "normal" material added to the PM Order (on an Operation of Control Key PM01), the system picks up the Early Start Date from the Operation as the Delivery date of Purchase Requisition for the material. However, if a "service" is added to the PM Order (on an Operation of Control Key PM03), the system picks up the Early End Date from the Operation as the Delivery date of Purchase Requisition for the service. I'm not sure if the problem is being caused by the Control Key PM03 configuration or if it is being caused by something related to the "services" setup.
    Any Clues?
    Regards
    Pankaj.

    Hi,
    I think that you will find that it is the "scheduling" indicator on the control key that is doing this.
    In PM03 it is normally left unflagged and this means that these operations use a duration of 0 and so it assumes a start and end date of the previous operation end date.
    Try it in your "play" client and see if setting this flag sorts it out for you.
    Steve B

  • Tell me the link between Purchase Requisition and Sales Order Number

    tell me the link between Purchase Requisition(MEREQ_TOPLINE-BANFN_EXT) and Sales Order Number(COBL-KDAUF)

    Hi Puja,
    If you have created sales order  for matrial which has both procurement type,after MRP run you will get
    planned order.This planned order you can convert to purchase requisition for external procurement or
    subcontracting.
    You will find sales order number in details of purchase requisition ( ME52N) in Account assignment tab.
    Hope this help you.
    Regards,
    Raja

  • Block Plan Order and Purchase Requisition in Sales order creation.

    Please tell me, how to block Plan Order and Purchase Requisition while creating Sales Order. When we create a sales order, plan order and purchase requisitions are also created by their own, please tell me, how can we block them while creating sales order. Please do let me know as soon as possible.

    hi,
    generally thy wil not be created automatically.
    may be som configuration or exit is used in ur system.
    check in debugging mode while saving ur salesorder.

  • Automatic Service purchase requisiton from sales order

    Gurus,
    We have a business scenario where , service purchase requsition needs to be created automatically from a sales order.
    Could you please let us know whether anybody has worked on this scenario ?
    Kindly also suggest if any workaround can make this scenario possible ?
    Thanks & regards,
    Aditya
    For useful answers - Do not worry about reward points.

    You can enable it from schedule line category. In the configuration of Schedule line category fill the PR document type in the Order type field and click the P.req.del.sched checkbox on. Then , when  you create sales order, a PR will be automatically created.
    Reward if this helps.

  • Userexit to update purchase docs like sales orders

    Hi,
    For sales documents, there is a user exit MV45AFZZ which has lot of form routines, that get invoked before saving the sales document. Similarly for purchase orders which is the user exit include which will have such form routines. I want to modify a single field in a purchase order before saving it based on some criteria. How do I achieve that. Thanks for the help in advance,
    Regards,
    Vijay

    In my previous report I have already mentioned the enhancement name "MM06E005"
    Goto T-code SMOD Enter enhancement name "MM06E005"
    Click on components, you will get all the FMS.
    Message was edited by: Amandeep  Singh

Maybe you are looking for

  • Calling main vi in sub vi

    I have created the project  in Lab view.  Created main  Vi and calling sub vi to perform certain functionality . We have requirement at end of the last sub vi....it should return to main front panel. I have tried calling main vi in  the sub vi to get

  • Best practice for phone number column data type

    Hi, I hope I have posted this in the right forum, if not just notify me and i will remove it to the correct area. What would be considered best practice for storing a phone number. Number of Varchar2. Ben

  • Feel unsafe about replace my device in apple store

    Hi all, Last week i have replace my old iphone 6 to a new phone at apple store because of the camera problem, a guy took my old phone and when i ask him to erase all my data on my old phone, they say they will do it later. But now when i open my iclo

  • Measurement in Photoshop CC

    In some of the Photoshop "Extended" versions, there was a function in which one could apply a known measurment to an image and then determine other dimensions in the image. For example, if one were designing a sign for a building and shot a picture o

  • Search issue with plurals?

    RH9, webhelp, merged project. Just reported to me and I can confirm: There seems to be a content search issue where the singular works, but not the plural, even if the plural is what we use. Specific example: Enhancement vs. Enhancements. We have sev