Auto Purging of Purchase Requisition

Does anyone has any experience in auto purging of incomplete purchase requisition? Currently it can be done manually but we would prefer to run a concurrent program to do it periodically. Any information will be appreciated.

I have seen a PO program called "Purge System-saved Requisitions" (POXSSPG, execution method is SQL*Plus) - may be you can analyze it for your custom concurrent program.

Similar Messages

  • Auto PO using Purchase requisition

    What are the steps and procedure for creating auto Po
    I have tried the following at my end and failed
    1) Material Master tick Auto Po
    2) vendor master tick auto Po
    3) source list
    4) info record
    5) ME59N,ME59
    let me know what could be the possible problem i have commited cause of which my attempt was not succesful
    I would like to create a Purcahse order with a non standard PO document type

    Hi,
    You can create auto P.O. from purchase requisition using assignment list.
    Prerequisites for auto P.O.generation from assignment list are;
    Sources must have already been assigned to the requisitions to be converted
    Create P.O.using assignment list:
    SAP Menu-Logisticsmaterial management-purchasing-purchase ordercreate-via requisition assignment list
    Second Alternative is:
    In automatic PO Generation, the system selects only those requisition items that satisfy the following conditions
    :The Automatic Purchase Order indicator must have been set in the plant specific purchasing data of material master record
    :The Automatic Purcahsr Order Indicator must have set in the purchasing data of the Vendor Master Record
    : Valid Conditions must have been determined for the assigned source
    Thanks,
    Tushar Patankar

  • Auto Creation of Purchase Requisition at Contract Level

    Hi All,
    I am having business requirement for creation of purchase requisition at contract level for third party Products.
    Brief Business requirement
    My client is in trading business of telecom product.  They are sourcing product from different-different vendors and some of the product is also supplied by him self. As a business practice the system will automatically create an Installed base as per structured by business owner once delivered the product to end customer and also assigned warranty norms.
    Once warranty is over then customer will called for contract since at the time sailing the product warranty will be liability of the company which in terns had some mutual contract with supplier (back to back replacement).
    But once the same will come under service agreement/contract on that time they want installed base selection of components should had a functionality to segregate component based on vendor because they want to calculate % margin based on net sale value of the product.(e.g 10% of net sale Value 10,0000)  not only that they also wants based on that system should automatically create Purchase requisition so that logistic department will take care of third party agreement part.
    If any body come across with such kind of business scenario. Please share the proposed solution.
    Regards
    Neeraj

    Hello,
    I noticed that this question had status answered.  We have the same requirement.... how did you resolve this?
    Best Regards
    Kristof

  • Auto PO  creation using purchase requisition

    Hi,
    I have tried the following steps for auto PO creation using purchase requisition.
    i. Maintain Auto PO in Material master Purchasing view
    ii. Select Automatic purchase order in Vendor master- Purchase data
    iii. Maintain info-record
    iv. Create PR through ME51
    v. enable source determination during creation of PR
    vi. Execute using ME59N
    But Auto PO is creating with the same document type (e.g NB) which is used while creating purchase requisition (e.g NB). Following steps have done in SPRO.
    1. SPRO - MM - Purchasing - purchase requisition - define  document type
    a. NB- PR document type LINK TO DI01- PO document type
    2. SPRO - MM - Purchasing - Purchase order - Define document type
    a. DI01- PO document type LINK TO NB- PR document type
    3. There is no linking from NB - NB & DI01 - DI01 but still it is creating auto PO with document type NB iif requisition has been created with document type NB.
    Please suggest on this . waiting for ur quick response.
    Thanks...
    ARATI.
    Thanks!
    Arati.
    Edited by: Rakesh Gupta on Aug 20, 2009 11:00 AM

    Hi
    Please check the below thread
    PR to PO  via  ME59 -Doc type issue
    Thanks/karthik

  • Purchase Requisition Auto Close

    When a Standard Purchase Requisition get auto closed. although we have created Purchase Order from Requisition and Delivered items to locations but still it is in Open Status.
    Edited by: Abdul Wasi on May 24, 2012 12:02 AM

    Abdul Wasi wrote:
    Hi Mahendra,
    As Items are Already places on PO and the Purcahse Order is fully Received and also Invoicing is done. now the PO status is finally close. Same as like PO why the Requisition is not getting Finally Close status.
    Thanks. As far as i know..This is the what provided functionality is..
    If you think requisitions should also be closed...
    Please Log SR or Enhancement request with Oracle :)
    Thanks
    Mahendra

  • Auto delete Purchase Requisition!!

    Dear,
    I make a Material and attach that material in BOM and run MRP. I got the Purchase Requisition. Again I delete that material from BOM, and Run MRP. But the Purchase Requisition is still there. I want to delete the PR, when the material is deleted from BOM.
    Kandly help me in this.
    Regards
    Biswaranjan

    Just assiging a material to a BOM will not effect that MRP plans this material.
    It plans this material if you e.g. create a production order in reference to this BoM.
    Removing the material from the BoM will not effect the MRP, you would need to change the existing production order  and remove the component there  as well (or delete the entire production order)

  • Is there any way to create a Purchase Requisition without Purchase Inf Rec?

    Hi,
    i am dealing with the Preq creation for services when there is not any previous contract and i have noticed that the vendor and the net price are posible to populate them directly in the Purchase Requisition. if then i try to run the ME59 it is not possible to automatically convert it to a Purchase order because there is no PIR (when i assign the source of supply in the Preq then the PO is correctly created using ME59).
    I have been reviewing customizing but there is not any point related to that.
    Someone knows if it is possible to create a Preq for services without PIR?
    thanks
    ivan

    Hi,
    For Service auto- PO from PR, you need to activate Automatic Purchase order creation for Service requisitions in ML91 t.code.
    Note:
    For material :automatic PO creation from PR, follow the steps.
    1) Material Master purchasing view tick automatic PO check box
    2) Vendor Master purchasing view tick automatic PO check box.
    3) Maintain Source list for Vendor & Material.(ME01)
    4) Maintain Purchase Info Record.(ME11)
    5) Create a Purchase Requisition.(ME51)
    6) Use T.Code: ME59 & execute for PR for vendor, you will be able to create automatic PO.
    During creation of PR , select check box of Source Determination in the 1st screen of ME51
    Ensure that Purchase Info Record should be there.
    If you have more than one vendor then fixes only one vendor in source list.
    Regards,
    Biju K

  • MRP creating additional purchase requisitions for the existing sales order

    Hi,
    We have scenario where we switch materials from POD material to ARP material. POD material is just like make to procurement which creates purchase requisition and purchase order upon saving the sales order. ARP (Auto replenishment) material creates purchase requisition based on sales order and re-order point while running MRP.
    When the material is POD title, it created purchase requisition and purchase order (example: 4500000110) while saving the sales order (example: 1000000010) for the quantity 10. After some time this material is switched to ARP and it has open sales order (1000000010) and purchase order (4500000110).
    We have special MRP run for ARP materials based on MRP type, which creates purchase requisition.. What is happening is when we run MRP; it is creating new purchase requisition for the old sales order (1000000010) for the quantity 10. But old sales order (1000000010) is already having purchase order (4500000110) to fulfill. So we donu2019t want to create new purchase requisition for the old sales orders. It should create purchase requisition only for new sales orders.
    Please advise
    Thanks in advance
    Srinivas

    Mangesh,
    If the components are Inhouse production then you can think of using collective orders by assigning special procurement key 52. If raw material exists then your requirement cannot be met..as i think your scenario is of assembly processing. The idea of assembly processing is that component materials will always be available and only assembly will be done based on Sale Order.
    Regards,
    Prasobh

  • Purchase Requisition for Order BOM components ?

    Dear Members :
    Can I generate purchase requisition for Order BOM components from VA01 ? Mine is TAQ - the header itm cat and TAE for sub-items (finished prod) . While navigating within Sales Order and branching to a particular component's shced. line - the pruch req col is blank. The schedule line cat for the sub-item is CT.
    Could someone please explain the configuration steps I need to maintain for the above ? What I am expecting is when I save the Sales Order it should create Purch Req for the components which do not have enough stock.
    Thanks
    Atanu

    Hi :
    Thanks for your advice. Couple of things :
    1. In my system in auto acc assignment, I already have consumption acc under posting key GBB. Now I am getting error in VA01 - which states that "The system was not able to determn a consumption acc for purchase order item with acc assignment" and also suggesting to address "GBB posting key". I made the following changes for CT :
        movt : 101
        order type : NB
        item cat : 0
        acc assignment cat : F/C
    2. Obviously SAP is expecting a consumption GL acc, which though is there under GBB-AUF from my existing setup. For generating purch req this is strange becoz I haven't yet gone upto PO generation step nor released the supposed to be Purch Req.  for BOM component - and this is before I save the Sales Order .
    3. In spro->acc grouping for mov type; I don't see the following combination in SAP  ie,
    101(MvT) - B (MvT) - GBB (TEKey) - AUF. I need B instead of F which is already there and is for production order but the BOM comp has to be for PO but the combination is not there.
    Do you think this could be the reason that SAP couldn't find the GL acc ?
    4. Also my purpose was not just to raise a purch req every time the sales order is created for the BOM components - only if there is shortage in stock - but then again for CT once I assign the above, it doesn't allow to check the boxes like Availbility , Requrmnt etc. (??)
    Am I clear and could you please suggest me what I am missing or doing wrong ? What movement type do you siggest to enter in CT fields.
    Thanks so much for your time.
    Atanu

  • Purchase requisition flow

    hiiiiiiiiii
    i m new in company as a Abapr.
    i want to know proper flow of purchase requisition and step by step procedure for making them.
    its urgent
    thanks.

    tcode me51n
    give material
    give plant
    give quanity
    give purchase group
    give purchase org
    give requester
    if u want u can asign the source of supply auto. or maually by marking the check box of source determination
    to create pr u need to have
    vendor master data ,material master data

  • Archiving Purchase Requisitions - MM_EBAN

    Hello All,
    My name is Charlie Azzopardi. I am the SAP/Oracle DBA at Parmalat Canada. I have been
    charged with the responsibility of managing our SAP Data Archiving project. I have had
    no formal training on the data archiving side of things. I have been researching this
    on and off for the last couple of years and we are now ready to start archiving a
    couple of objects. These being MM_EBAN and MM_EKKO.
    We have purchase requisitions and purchase orders, which we would like to archive.
    They date back to the beginning of 2003.
    How would we write an auto-close program for these and get around the "date changed"
    being changed to the current date ?
    Please bear in mind I am not an abap programmer.
    For example:
    If I ran an auto-close program today, the "date changed" field would contain today's date.
    Today's date does not fall within my residence time criteria for purchase orders or purchase requisitions.
    Thus, they would not be selected for archiving.
    How do I get around this ?
    Would you be able to provide an example of a program which would allow us to get past this ?
    Thank you in advance.

    Hello,
    With this message i understand that, there are higher percentage of PR's and PO's that are old and still open so now you want to close and archive those documents. Due to this reason you are looking for Auto-Close program?
    Suggestion:
    Even after setting last change date for today still you can archive by changing Residence Time1 and Residence Time 2 = 0.
    If this is a one time activity then during System Quite period you can do changes in Residence time1 & 2 =0 and Run the Archiving job and later bring back customizing to the original settings.
    If you have not got the right answer then revert back with reason why you are looking for Auto-close program.
    I can suggest you some workaround activities.
    -Thanks,
    Ajay

  • Purchase requisitions to schedule lines conversion

    hi,
    Is there a way to mass convert purchase requisitions to schedule lines directly?
    The material for this scenario would have a scheduling agreement and source list defined but i am unable to use ME59 to do this. All the indicators for auto PO have been checked.

    Hi,
    For creating schedule lines automatically, you have to maintain at source list the vendor & schedule agreement number & mark at MRP column as 1 (MRP relevant). Then system will generate the schedule lines from MRP
    Regards,
    Prashant Kolhatkar

  • Auto creation of purchase orders in background

    Hi,
    Can anyone help me with auto creation of purchase orders in background while saving production order as in standard sap only purchase requisition is getting created.

    Hi,
    Yes according to standar SAP only requisitions get created while saving production order ..........if you want to have Purchase order also to be created you can approch this way...
    1.     use exit PPCO0001
    2.     fm EXIT_SAPLCOBT_001
    create a background job id in SM36 .....call the methof for external event triggering
    CALL METHOD cl_batch_event=>raise
        EXPORTING
          i_eventid                      = 'ZME59'
          I_EVENTPARM                     = V_MANDT
        EXCEPTIONS
          excpt_raise_failed             = 1
          excpt_server_accepts_no_events = 2
          excpt_raise_forbidden          = 3
          excpt_unknown_event            = 4
          excpt_no_authority             = 5
          OTHERS                         = 6.
    Thanks,
    Shailaja Ainala.

  • ME52N: Purchase Requisition Change GL Account Number

    Requirement: ABAP auto-change the GL Account field number in a Purchase Requisition after the Material Group is changed.
    Background: This custom logic has been successfully applied to all types of Purchase Requisitions using  BADI ME_PROC_REQ_CUST, with the exception of a Purchase Requisition type that is called a 'Service Limits'. There are differences that are important to note between a 'Service Limits' Purchase Requisition and the other Purchase Requisitions that had custom code added without any problems.
    1)This type of Purchase Requisition uses a item category of 'B', and the logic has a tendency to flow through SAP differently.
    2)This type of Purchase Requisition's GL Account number is under-intensified on the 'item' subscreen, and cannot be changed manually on that screen like the others..
    3)In order for the GL Account to be changed manually, or for the GL Account to be changed once my code has changed the GL Account Number, the user must select the 'Limits' tab and select the Account Assignment arrow, then a popup appears where the GL Account can be changed manually, or, my coded GL Account number change then occurs.
    Problem: I want the custom code to be able to change the GL Account NUmber without having to go into thge 'Limits' tab, where the icon has to be selected. I believe the problem is that the field is protected, because it displays as under-intensified, thus, preventing my new GL Account NUmber from displaying. I also have the subsequent SAP code below that appears to reject set_exkn because protect is set to 'X'.
    CODE1: Is my custom code.
    CODE2: Is the SAP code that my will flow into where this field appears to be unchangeable.
    My question:
    I am thinking that this GL Account field is protected and cannot be changed because it is under-intensified on the subscreen on the Purchase Requisition. Can it be changed with custom code, a way to 'unprotect it'? Or, are there settings that should be changed in SPRO for the Purchase Requisition to allow this functionality to change the GL Account number.
       Thank-You
    (CODE1)
    METHOD IF_EX_ME_PROCESS_REQ_CUST~PROCESS_HEADER.
    *Purchase Requisition Item Declarations
      DATA: LT_ITEMS        TYPE MMPUR_REQUISITION_ITEMS.
      DATA: LS_ITEM         TYPE MEREQ_ITEM.
      FIELD-SYMBOLS: <FS_ITEM> TYPE LINE OF MMPUR_REQUISITION_ITEMS.
    *Purchase Requisition Accounting Declarations.
      DATA: LT_ACCT         TYPE MMPUR_ACCOUNTING_LIST.
      DATA: LS_ACCT         TYPE EXKN.
      DATA: LS_SETX          TYPE MEPOACCOUNTING_DATAX.
      FIELD-SYMBOLS: <FS_ACCT> TYPE LINE OF MMPUR_ACCOUNTING_LIST.
      CALL METHOD IM_HEADER->GET_ITEMS
        RECEIVING
          RE_ITEMS = LT_ITEMS.
      LOOP AT LT_ITEMS ASSIGNING <FS_ITEM>.
        LS_ITEM = <FS_ITEM>-ITEM->GET_DATA( ).
        LT_ACCT = <FS_ITEM>-ITEM->IF_ACCT_CONTAINER_MM~GET_ITEMS( ).
        LOOP AT LT_ACCT  ASSIGNING <FS_ACCT>.
          LS_ACCT =  <FS_ACCT>-MODEL->GET_EXKN( ).
          LS_ACCT-SAKTO = 'N500300   '.
          LS_SETX-SAKTO = 'X'.
          <FS_ACCT>-MODEL->SET_EXKN( LS_ACCT ).
          <FS_ACCT>-MODEL->SET_EXKNX( LS_SETX ).
        ENDLOOP.
      ENDLOOP.
    ENDMETHOD.
    (CODE2)
    METHOD if_accounting_model_mm~set_exkn.
      DATA: ls_buffer     LIKE LINE OF my_data_input_buffer,
            ls_bufferx    LIKE LINE OF my_data_input_bufferx,
            l_buffered    TYPE sy-subrc,
            l_data_old    TYPE exkn,
            l_data_oldx   TYPE mepoaccounting_datax,
            l_data_newx   TYPE mepoaccounting_datax,
            l_indx        TYPE sy-tabix.      "1478013
      *PROTECT EQ 'X'
      CHECK my_state->protect EQ mmpur_no.
    Edited by: Tom Matys on Dec 12, 2011 10:55 AM

    Your PO release strategy must have been based on Cost Center as one of characteristics.
    Pl check & confirm.
    Regards
    Bhavesh Mistry

  • Wrong Release date in Purchase requisition wh later than requisition date

    Hi,
    Purchase requisition created through Planned order then Source (contract) is assinged through Transaction ME57.
    After that in display of PR as found below mentioned below,
    Release date is 27.11.2008 and Requisition date is 04.12.2008. MRP type maintained in Material is Auto Reorder point.
    Checked In display changes of PR as Planned delivery time new value is 45 (45 maintained in Contract and contract assigned in source list) and old value is 0 (Material master-MRP 2 view) on 04.12.2008.
    My question is How come PR release date as past as 27.11.2008 when requisition (PR creation date) date is 04.12.2008. Suggest any setting required to check.
    Looking forward to your expeditious response.
    Regards,
    C. Sundar Rajan

    Hi,
    If I guess, there is an exception message "06" on the PR.
    check with MDO4,  if there is the exception message 06 that means :
    In order to get material at requested time you have to release the PR in the past. This message help the purchaser to detect the problem and try to reduce to lead time by calling the supplier.
    PR release date = Requested date - safety time- lead time - setup time - processign time- ....
    If you want to change the system behaviour you have to change to chage the item strategy ont the:
    MRP3/Planning/Strategy group.
    best regards

Maybe you are looking for

  • IPhone is not seen by iTunes

    I have a brand new iPhone and it has only been recognized once by iTunes and that was after a complete uninstall re-install of iTunes and connecting and re-connecting multiple times. iTunes sees the device every time I put the iPhone in recovery mode

  • What are templates and how does one use them?

    I'm in the process of migrating from TheBat! (on WinXP) to TBird (on Xubuntu 12.04.4) and the terminology used by the two programs is drastically different. I'm finding the TBird "help" pages focussed almost entirely on brand new users who know nothi

  • Query regarding Forms Personalization

    Hi , I have a requirement to execute the following code in a WHEN-NEW-FORM-INSTANCE trigger to update the WHERE clause of the Item Category flexfield in the Purchasing module. Normally I would have executed this code from within the trigger. How can

  • Start working with APEX

    Dear All, I have Dev6i certification. I want to know 1) if it is possible to develop a database application with APEX with all Developer's functionalities? 2) How can I get complete guide or training on APEX? Thanks a lot

  • How to write  procedure for creating a row

    Hi How to write procedure for creating a new row in data table when button clicked.