Create an Event to trigger in Purchase Requisition Create

Hello Experts,
How to create an event which can be triggered on Purchase Requsition create, change  & delete?
There are standard events for Purchase Requisition release's. But Events are not available for PR create, change & Delete.
How can I cerate those?
Thanks in advance,
Sandhya.

Hi Sandhya
first check if standard event is available or not:
go to transaction SWED, in the column "leading table in change doc", search for "EBAN".
This is the header table used for purchase requisition. Note down the value in column "change doc object" for table "EBAN".
Go to tcode SWEC.
in the column  "change doc object", search if any entry exist which you got from previous step.
from col: create, change, delete, you will know when event is triggering.
run transaction SWU_EWCD. it will initiate a wizard for event creation.
click "continue".
in object type enter "BUS1230" . (business object used for PR)
click "continue". without filling any details, click on "back" and remove the check "extended object type with event".
Choose the event which was not checked when we executed SWEC earlier.
click " continue".
finish the wizard and your event linkage will be created in SWEC.
you can directly create an entry via SWEC but one should go by wizard.
Thanks
Vishal Kapoor

Similar Messages

  • Custom Event for Purchase Requisition Create, Change & Delete

    Hello Experts,
    I want to create a custom event which triggers on Purchase Requisition Create, SAP provide's standard event's for purchase requisition release but not for create.
    What are all the steps and how to create a new event.
    Thanks in Adavance,
    Sandhya.

    Hi Sandhya,
    may i know the reason why you are trying to create custom methods.
    You have business object BUS2009(for PR line item wise release) and BUS2105(for PR overall release).
    Both those business object have events RELEASESTEPCREATED (for PR creation) and SIGNIFICANTLYCHANGED(For PR change).
    Even then if you want to create custom events, create a subtype of the standard business object, then click on events, and then select create. Now create your Z-events, say ZCREATED (For creation), ZCHANGED (for changed) and ZDELETED (for deleted). Now select each event, click on edit -> Change release status -> object type component -> to be implemented. Follow the same for all the events. Then select each event, click on edit -> Change release status -> object type component -> to be released.
    Now click on your custom object, click on edit -> Change release status -> object type component -> to be implemented.Then click on your custom object, click on edit -> Change release status -> object type component -> to be released.
    After this in SWEC tcode, click on new entries. Select change document object as BANF, business object as say ZBUS2105 and event as ZCREATED. make sure radio button on create is checked.
    Similary create entries for ZCHANGED event and ZDELETED.
    Select on change and on delete radio button for event ZCHANGED and ZDELETED event respectively.
    let me know if you have any queries.
    Regards,
    Raj

  • Deletion Purchase requisition created by sales orders

    Hi gurus,
    in my SAP system there are purchase requisition created by schedule line from sales orders. For different reasons the sales orders were deliveried and billed with stock free and not with customer stock.
    When I try delete de purchase requisition, because the sales order is completed, the system alarms a message that is not posible to delete in purchase requisition else in sales order. But the sales order is completed and we don't touch it.
    Any idea to delete this purchase requisitions?
    Thank you, I will revvard all answers..

    Hi ,
    We can not delete the purchase requisition if there is any subsequesnt documents created against this.
    If you want to delete the same then reverse the delivery then delete the delivery and then delete the purchase requisition by using the guide lines given in below path.
    www.passhe.edu/.../ME52N%20-%20Delete%20a%20Purchase%20Requisition.pdf
    Hope it helps.
    Regards,
    Pasapula.

  • "Creating many PO's using same Purchasing Requisition"

    Hi Gurus,
    How do one configure the system that when once a Purchase Requistion has been used to create a PO, u dont use it anymore, unless u delete the order i know it will be opened for use again, i know when i was still working at Transnet they had it that way. Now here you can create 2PO using one Purchase Requisition.
    Secondly, how do you configure the system that it gives you an Error message if you want to create a Standard PO using a Purchase Requisition of Document Type PA(Pojects). Currently it just gives a warning and some people just bypass that warning and eventually we have a wrong PO  Number.
    I put all my TRUST to The Forum for this Problems.
    Regards
    Charles

    Hi RiTiG,
    Thank you for the kind words, they are always welcome especially from other people that I respect such as yourself.
    Thank you for buying a copy of my book, I have heard that it is not easy to get hold of books such as this where you are (I have never found out why though?)
    As for my other book, it is called "SAP - A Map of the minefield" and if you liked the Invoice Veriifcation book then I beleive that you will enjoy this one even more. It has no screen shots, but it does cover a broad range of information about getting the most out of SAP and it has many sections (most in fact) that are some of the tricky parts of MM in full detail.
    I am not a great person (but thank you for that), I am just a person who has had chance to dig deep into the SAP functionality and see how great the system can be if used correctly, and I enjoy helping others to find out just how good the system can be also.
    Once again thank you for making my day with your comments, I wish you good luck, good health and a happy life.
    Steve B

  • Create a Header Text ID in Purchase Requisition

    Hi All,
    I have a requirement of creating a Header Text ID in Purchase Requisition.
    I tried to create it using SPRO but it only creates Texts for Item level.
    I think we can do it using copy control. Please share your input.
    Regards,
    Amit

    Hi Amit ...
    i dont think we can maintain Header Texts at PR header ( also check in MM forums )....
    what you can do is , maintain same text for Vendor(LFM1-Object) ..then it wll automatically can copy to following documents ..ie. PO.
    regards
    Prabhu

  • How to create an Event on Purchase Requisition Create

    Hello Experts,
    I need to trrigger an event when ever a purchase requistion is created.
    How can I do this, what are the steps invloved in it.
    Please help, I am in critical position.
    Thanks,
    Suma

    Hi,
    You could trigger an event using event linkage
    use the transaction swe2 for event linkage also you could use
    the business object bus2012 or your own customised one for
    triggering event.
    Kind Regards
    Hari Sankar M

  • Purchase Requisitions created instead of Schedule lines

    Hi Experts,
    When I run MRP for materials with mrp type as PD, MRP creates Purchase Requisitions instead of Schedule lines
    I have Scheduling agreement in place.
    Kindly let me know what could be the possible reasons for this
    Thanks & regards,
    Shashidhar

    Hi
    While running the MRP, Check the input parametrs.
    Check the MRP control Parametrs
    Delivery schedules - ensure that Schedule lines has been created.
    Check it out.
    Raman

  • Problems for creating a header text in a Purchase Requisition by IDOC

    Hello,
    I´m creating Purchase Requisition by IDOC. I use PREQCR02  like basic type (   Message type PREQCR-Create purchase requisition )
    I don´t have any proble for creating item text, but I can´t create a header one.
    Any Idea?
    thanks for all.

    What is "it" that you cannot do (+ hate)???
    What is "status"? LineStatus???
    What is your problem when you try to skip an item?
    PS: You should always use enums instead of hard-coded values e.g.: Use the BoAPARDocumentTypes Enumeration for delivery.Lines.BaseType

  • How to Change delivery date of Purchase Requisition created from PM  module

    Hi all,
         We are creating service PR from PM module. There is a need that user should be able to change the
    Delivery Date of the PR. When we use ME52N , the field is grayed out.
    If the PR is created with same data manually with ME51N, we are able to change the delivery date.
    Please suggest how to do this.
    Thanks

    I´m sorry, but my english, is not better.
    Why in the Scheduling for External Procurement, the Purchase Requisition take (or picks up) as Delivery date, the Basic End Date of the Maintenance Order (PM). 
    What must I do in the customizing so that the Purchase Requisition takes (or picks up) the delivery date as the Basic End Date of the Maintenance Order.
    Please, helpme..
    Cristian Torres

  • Purchase requisition create/release

    Hi
    I am creating purchase requisition. And i want to release this requisition.
    But in my created purchase requisition there is no tab such as release strategy
    And i want to keep my purchase requisition as blocked initially and later i want to release it. Can u please tell me what are the configuration or release procedure i've to do to make this happen.
    I know purchase requisition can be released be me54n. But my created purchase requisition is not release relevant.
    I hope u understood.
    with regards
    mandeep

    Hi Mandeep,
    For release strategy cstomising u need to go spro
    Matl mgmt>Purchasing>Purchase requisition>Release procedure with classification
    there u maintain, characteristics, class, create release strategy and maintain, release group, release code and indicator etc. Once u do all this then u will get the tab in PR
    hope this helps
    regards
    Anand.c

  • Purchase Requisition created from Maintenance Order can not deleted

    Hi Gurus,
    I've create a Maintenance Order for External Service (Control Key: PM02) and Purchase Requisition already created related to this Maintenance Order.
    But when I want to cancel/delete the Purchase Requisition, there is error message "This item is only deletable via the associated production order". So II can not delete the PR.
    Any solution for this problem ?
    Regards,
    Tri W

    Hi,
    If the PR has not been approved and no PO has been created yet, you have to delete the external service operation (PM02) in the work order. This should delete the Pruchase Requisitions.
    Regards,
    Joey

  • Automatic purchase requisition created from routing needs to be have material no. information in it.

    Hello Experts,
    There are some operations in my routing where external service , from an outside vendor shall be required.
    We are doing this by using a particular control key PP02, for this routing, so that purchase requisition is created automatically, when the production order is created.
    Through customization, I have also been able to make the setting so that instead of single, collective requisition gets  created for the entire order.The requisition that is getting created is a service requisition and can be later converted to a Purchase order.
    Requirement :-  I need to enter material information in this requisition automatically. By material, I mean the material no. and preferably qty of the material,  which will have to be sent out to the external vendor for his services.
    How can I achieve this, in SAP?
    Regards
    P.R

    Hello Caetano,
    Right now we are not considering best practices , so not considering BADI implementation as such.
    So far I have done the following:
    I created a subcontracting purchasing info record for the material and a vendor.
    Then, I have created a routing for the material and the operation which expects to go for external processing, I have used control key YBP2 (tried with PP02) in it.
    I have assigned the subcontracting PIR under the external processing section of this operation in the routing.
    My Production version combines the BOM and routing in the material master.
    Now ,,when I try to create the production order, I get the following errors in succession:
    Control key YBP2: Maintain external processing data
    Message no. CO558
    Diagnosis
    The control key specifies that the operation is processed externally. However, not all data relevant to external processing has been maintained.
    respond by entering the material group where the cursor is.
    Then I get the following error.
    Material class differs from material class  from info record
    Message no. 06354
    Diagnosis
    The material class or material group of the info record differs from that of the item.
    I checked in the material master and the material group there is same as the material group in the info record . Field name is MATKL.
    What material class is it talking about?
    I cannot get past this error and therefore cannot complete the order creation.
    Regards
    P.R

  • Purchase requisition created only for the vendor lead time

    Hello MRP experts,
    I have a requirement that the purchase requisitions should be created by MRP only in the vendor lead time and rest of them should be in planned orders. Can this done and if so how. Thanks in Advance and due points will be awarded.

    Hi,
    As per my understanding there is no standard settings to achieve this requirement.
    Regards,
    Manish

  • INTERFACE : Purchase Requisition Create

    Scenario :- User giving the relevant data from a third party software. Then this software pass the data to  sap system and the Purchase Requisition is created . Then the Purchase Requisition Number is send back to the Third party software.
    Steps taken : I have used a bapi(bapi_requisition_creat) .In the transaction code sproxy i have written the relevant code. Here in the in bound method i have written the code using the above mentioned bapi.I have used the structure bapiebanc,bapiebkn,bapireturn.
    It is running fine if we pass the minimum mandatory data to create a pr.
    Problems : But here there is a scenario where user will give the material classification data when creating the pr. and all this data will come from the middleware(from the third party software).
    In me51n there is a button under the Item detail----->Material data tab. The tab name is 'Configuration'. Here user can maintain the characteristic value assignment. But in the bapi_requisition_creat there is no option to map these data.
    so please help me to do that.
    thanks and regards
    Pratik Ghosh

    Hi,
    I think there is no userexits available during the processing using function module "IDOC_INPUT_PREQCR".  You have to copy this function module to a Z function module.  Change as per your requirement and attach the new function module with the Z Process code created by you.
    Regards
    Vinod

  • Two Purchase Requisitions created on MRP for one Sales Order

    Hi,
    A Sales Order has been created with one schedule line and one delivery date. When MRP is run it creates 2 Purchase Requisitions. The material in the Sales Order is a Prepack Material and has a component attached in the BOM. Please advice as to why the order is splitting when MRP is run and also why 2 PR's are created.
    Thank you for your help.

    Please check in OVZG................assembly type........if u maintained .3 or 4. It may be the reason
    Dynamic assembly order ---SAP HELP DOCUMENT
    If you create a sales order for a material with the 'assembly processing' technique, the system carries out an availability check for the components needed for the assembly. Depending on the results of the availability check, either one or several procurement elements are created. The quantity for a one-time delivery and/or the next possible deadline for a full delivery and/or a delivery proposal with then ext possible deadline are displayed on the availabililty control screen.

Maybe you are looking for

  • Making a text box expand as you type into it?

    I was wondering if it is possible to make a text box (or any kind of box) expand as you type into it.  Currently the box does not have a caption, I simply want to allow the value box to expand as i type into it.  It would also be great if it would ex

  • My Mac is suddenly very slow

    Hello, I recently purchased my Mac late last December, and within the past week and a half, I have noted a substantial amount of overall slowness. It's slow to boot up, slow when I am surfing the internet, and when I run my usual applications. Can an

  • My Ipod 4th gen. will not update. Download will not complete. Help!

    In the past i have had no problems updating my ipod touch 4th gen but recently i cannot update it. I will click update and the loading bar will load all the way, then it will say that it is processing the file. It will say this for a minute or 2 and

  • Acrobat X versions after 10.0.3 PDF/A Issues - Fixes?

    Every update after 10.0.3 will not let me save as or use preflight to covert documents to PDF/A. I get an error message.  I am able to create a PDF/A1b with some scanned documents, but any time I try to make a PDF/A (any version) from a document gene

  • MM process with tcodes pl

    Hello Guru's, Iam New to MM. will anyone help me, about the various steps involved in purchasing process cycle.  from purchase to invoice making with T- codes pl.