PO creation against deleted PR

Hi All,
I noticed that we can create PO for a deleted PR. How can we avoid/ stop this.
Thanks
Sanjay
PS : Suitable points will be awarded.

Hi,
these messages relate to the use of a P req that has been flagged as deleted and what you are doing is NOT deleting the requistion you are just disconnecting it and the P req is not flagged as deleted and that is why these messages are not having an effect.
If you want to prevent the req from being used then you have to manually flag the line as deleted (although I have heard that in ECC5 / 6 you can choose to delete the req when you disconnect it from the PO in ME22n, that would be the ideal solution).
Steve B

Similar Messages

  • Designer hangs during universe creation against SAP BW

    Hi,
    We are trying to create OLAP universe against SAP BW 3.5 and we are running into issue wherein the designer just hangs and is not able to create the classes and objects, in most cases we have waited for about 30-35 mins and still it doesn't come back. We tried this for both against an Infocube as well as against BW query.
    I have couple of questions regarding the process flow for universe creation against SAP BW,
    Does universe stores/extracts any data from BW, like storing LOVs for the hierarchies? I know it does reads the rows, columns, free characterstics etc. in case of BW Query.
    The time to create the universe depends on what factors, size of the cube or amount of metadata? The customer is concerned regarding what is the guideline on how much time would this process take when the universe comes back with the classes and objects. If there is any such guideline, what is it?
    Any response on this is appreciated.
    Thanks,
    Amit Banavalikar

    I had similar problems, setting the "Connection timeout" on the SAP/BW connection within Designer (default 10 minutes) from 10 min. to 60 or 120. ALSO: uncheck the universe limits on "number of rows (5000)" and "query duration (10 min)".
    This solved the problem.
    The connection timeout which is set directly on the SAP-BW connection in designer seems to be used in a wrong way. The definition of the "close connection after xx minutes" means that the connction should be closed after xx minutes of  not being used by any process.
    With SAP BW the connection seems to be closed regardless of it's use after the specified time period.
    regards,
    Walter

  • Z database table needs to have field creation/update/deletion tracked

    Hi,
    I have a Z database table.
    I have a program that gets data from an excel file and uploads the content to the Z database table.
    I need to track the creation/update/deletion of the records in the Z database table.
    The Z database table can also have records changed/updated/deleted manually thru table maintenance. These changes also need to be tracked.
    How do I do this?
    ~ Eric

    Hi
    For a my z-table (called ZFAGTD01), I created the object for change documents, this is the log after generating it:
    Change documents: Display information about generated sources                                                                               
    Change doc. object Z_PROAGE_PRV                                                                               
    Generation on      23.07.2004 11:51:28                                 
                of     SVIL01                                                                               
    Include programs and function modules                                  
    Data declaration, TOP...................... FZAGPCDT                   
    Consisting of............................. FZAGPCDF                   
    and....................................... FZAGPCDV                   
    Update function module..................... Z_PROAGE_PRV_WRITE_DOCUMENT
    Call update function module................ FZAGPCDC                                                                               
    Dictionary structures                                                  
    VZFAGTD01
    Just as you see, the system has created the fm and some includes containing all data it needs to call the fm.
    So u need only to use those includes, just only u need to consider before calling the fm u need to fill:
    - The change flag: usually called UPD_<Z table>;
    - Fill the header Y<ZTABLE> of z-table with old data;
    - Fill the header X<ZTABLE> of z-table with new data;
    - Fill the variables   TCODE, UTIME,  UDATE,  USERNAME,
    - Fill the variable OBJECTID with the key of Z-table
    For example my object is used in my program in this way:
    FORM INSERT_CHANGE_DOCUMENT.
      CHECK FL_CHANGE_DOC = 'X'.
      CHECK SY-SUBRC = 0.
      CONCATENATE XZFAGTD01-MANDT XZFAGTD01-BUKRS XZFAGTD01-GJAHR
                                              XZFAGTD01-BELNR INTO OBJECTID.
      TCODE = SY-TCODE.
      UTIME = SY-UZEIT.
      UDATE = SY-DATUM.
      USERNAME = SY-UNAME.
    * Load old data: header
      IF ZFAGTD0K IS INITIAL.
        CLEAR YZFAGTD0K.
      ELSE.
        SELECT SINGLE * INTO YZFAGTD0K
                        FROM ZFAGTD0K WHERE BUKRS   = XZFAGTD01-BUKRS
                                        AND GJAHR   = XZFAGTD01-GJAHR
                                        AND BELNR   = XZFAGTD01-BELNR.
      ENDIF.
    * Load old data: items
      SELECT * INTO TABLE YZFAGTD01 FROM ZFAGTD01
                                FOR ALL ENTRIES IN XZFAGTD01
                                       WHERE BUKRS   = XZFAGTD01-BUKRS
                                          AND GJAHR   = XZFAGTD01-GJAHR
                                          AND BELNR   = XZFAGTD01-BELNR
                                          AND POSNR_P = XZFAGTD01-POSNR_P.
      SORT: XZFAGTD01 BY POSNR_P,
            YZFAGTD01 BY POSNR_P.
    * Check if heade was changed
      IF YZFAGTD0K <> ZFAGTD0K.
        UPD_ZFAGTD0K = 'U'.
      ELSE.
        CLEAR UPD_ZFAGTD0K.
      ENDIF.
      UPD_ZFAGTD01 = 'U'.
      PERFORM CD_CALL_Z_PROAGE_PRV.
      REFRESH XZFAGTD01.
    ENDFORM.                    " INSERT_CHANGE_DOCUMENT
    Max

  • FIFO break during delivery creation against STO

    Hi,
    I am running a batch job which is responsible for delivery creation against STO.
    There are 3 STOs I have in system - STO1 from receiving plant - RP1 & STO2 & STO3 from receiving plant RP2.
    In all 3 STO, I have same issuing plant(IP1).
    I expect, when the delivery creation batch job gets triggered, it should create delivery against STO1, later to STO2 & STO3.
    Important parameters as per configuration is set to as below -
    Logistics execution -> Shipping -> Worklists -
    The batch job has shipping due list with
    option "1 Ship-to party and source document" and package type as 1 "All items for  document type and ship to party"
    Any body has any clue, how we can address this?
    Regards,
    Dipak

    Hi,
    Thank you for your reply.
    Below is my MD04 screen -
    The situation is, once GR is done in above plant, stock gets reflected in this issueing plant.
    Next activity is delivery creation batch job triggers.
    System should create delivery for the STO PO for receiving plant SP1.
    Rather than that system creates outbound delivery for receiving plant SP2 & SP3.
    Which I feel is FIFO break.
    My shipping due list has below parameter -
    Delivery creation profile -
    So any idea what causes this FIFO break.
    Also not sure what is this "planned delivery creation dates" you referred earlier.
    Regards,
    Dipak

  • BAPI for Production order creation against wbs element

    dear all,
    I am using BAPI (BAPI_PRODORD_CREATE) for Production order creation against wbs element.I am putting following input paramters in this
    material no,
    order type
    plant
    qty
    basic start dt & end dt
    wbs
    But during GRN it is not taking the account assignment as project stock i.e. its picking movement type 101 but it should be 101Q.
    For this what changes are required.
    regards
    ravi arora

    Hi,
    2 options i can think of:
    1. Create a BDC program by recording co10
    2. Create a planned order with order type PR using BAPI_PLANNEDORDER_CREATE, specify the WBS element & other details. Now use BAPI_PRODORD_CREATE_FROM_PLORD to create a production order with reference to the planned order created earlier.
    I believe option 2 should meet your need. Check & revert.
    Regards,
    Vivek

  • TCODE for Process order creation against Sales order

    Hi gurus,
    Pls tell me what is the TCODE for Process order creation against Sales order
    Eg. CO07 is for production order from sales orde

    Typically, in MTO scenario after the sales order is created you run MRP which will create planned order and then you convert that into production order using MD04.
    Or if you have SD settings correctly directly from the release of Sales Order it will create planned order or production order.
    please check and revert back.

  • Any BAPI available for mass creation/change/delete for dependency net

    Hi guys,
    Any BAPI available for mass creation/change/delete for constraints in dependency net. I mean any uploading option in mass for creation, change and delete.
    Regds
    Regds

    Hi,
    Check if the below FM's meet your need:
    CAMA_CNET_CONSTRAINT_MAINTAIN
    CAMA_CONSTRAINT_NET_MAINTAIN
    CAMA_DEPENDENCY_MAINTAIN
    Regards,
    Vivek

  • Open PR quantity against deleted PO

    Dear colleaguesu2019,
    Recently we are facing a weird situation. Suppose a PO is created with reference to PR. When I display PR status tab there I can see the PO details but if I delete PO item, although it says u201Crequisition quantity 1 ST open againu201D, PO details are not deleted from PR status tab and standard reports show that, such as ME5A, PO number and other details as if PR is fully converted to PO and the status of PR seemed to be "B" which means "PO created".
    As far as I remember there was no such behavior in previous releases such as 4.7 etc.
    Metin

    Hi,
    Recently we are facing a weird situation. Suppose a PO is created with reference to PR. When I display PR status tab there I can see the PO details but if I delete PO item, although it says u201Crequisition quantity 1 ST open againu201D, PO details are not deleted from PR status tab and standard reports show that, such as ME5A, PO number and other details as if PR is fully converted to PO and the status of PR seemed to be "B" which means "PO created".
    As you are saying after creating PO against PR you will the status updated in PR as PO created with PO no & qty as 1.
    But at the same time you can check the  Proc.Status as PO created & Ord.Qty as 1 updated.
    Next after you delete the Line Item in PO then also system will show the Status in PR as PO created with PO No because you already created PO against that PR Even if you delete Line Item from PO system will not delete PO no from Database it will only show as a delete Indicator only.
    But when you check in PR under Status Tab all the info remains same except Ord.Qty is 0 after delete PO line item.
    This is std SAP functionality.
    Hope it clears your doubt.
    Regards,
    Rahul Patil.

  • How to release Stock blocked against deleted line items from  Sales order.

    We have Scenario as follows.
    Sales order made for  items available in stock.  Deleted few lineitems from sales order balance items delivered and invoiced. Sales cycle is complete in all sense.
    What we have noticed is when we are creating new sales order / Delivery for deleted items from above Sales order it shows deleted quantity is blocked against old sales order. These line items are no longer
    available in old sales order since it is deleted also it is not appearing in open sales order report (VA05).
    Overall stock available is same as quantity mentioned in deleted line item.
    In MD04 - Sales requirenment transaction it shows sales order / line item against which it is blocked.
                    i.e deleted line item.
    How to release these stock and make available for sales. Any standard process available ? or any other solutions
    Thanks & Regards,

    I got a solution for my question from other forum. for info
    Go to SE38 and enter program SDRQCR21 then execute...
    Enter line item which is blocked for sales order in MD04 and enter plant then check Data
    transfer box and uncheck other boxes... It will pop up information and click yes...
    You will get one report and Stock inconsistency will go off and then check it in MD04....
    regards

  • Scheduling agreement creation against Sales Order

    Hi All,
    Can we create a Scheduling agreement automatically against a Sales order in Standard SAP? Whenever Sales order is generated, system will be creating a Scheduling agreement automatically in the background for further processing -- is the requirement.
    Or if there is any user exit available please let me know.
    Satisfactory answers will be rewarded.
    Thanks & regards,
    Indrashish

    Hi
    This requirement can be handled with user exit.This can be done by developing customized program.For customized program you need to define a variant for back ground job scheduling or u can use a exit to trigger the customized program.
    you have to pass the details like Materials,Quantity,Delivery schedules from sales order top scheduling agreement creation program.
    Normally, we will use scheduling agreement to generate automatic schedule linesby running MRP for Sales orders or Planned independent requirements.I think u can use this std functionality to map your requirements.
    Regards
    Ramakrishna

  • Check For not allowing Subcontracting PO creation against the ROH Items

    Dear Sir,
    We are looking for help on the following scenario :
    For PO Creation , in the Item Category  we type blank for "Standard PO" and L for "Subcontracting PO" . We intend to put a check so that users are not able to create the PO for Subcontracting against the Material type "ROH" . Rather Subcontracting PO must be allowed only for the Material having the type as "HALB" .
    Kindly guide me on the above scenario please .
    Regards
    B Mittal

    Dear mittal ,
    You can do this. create a separate document type in IMG>MM>PURCHASING>PURCHASE ORDER>DEFINE DOCU TYPES. Set the allowed item categories for the document type as only standard. Now raise the purchase order for ROH using this document type. Now in case if you set the item category "L" system will throw an error.
    try this if it satisfies you. reward if any.
    yuvi.

  • Build BAPI to automate user creation/change/deletion .

    Hi,
          Want to automate repeating request of user creation, change and deletion and can be called from external application hence consider to build a BAPI. The question is how to find what's abap system program to call in methods of BAPI corresponding function modules?
    Thanks,
    David

    Hi David,
        Run BAPI transaction and search for USER in the alphabetical order list of BAPI's, there you will find BAPI's related to User Creation, Change, etc.
       Hope this may help you in your process

  • SQL job creation/modification/deletion auditing?

    I have a job 'pop-up' 3 days ago on one of our Servers and of course 'nobody' is coming forward and saying 'I did it'. Is there a way to determine who created the job after the fact?
    Going forward, is there a way to be notified via email when jobs are created/modified/deleted in SQL 2005 Enterprise? Trigger maybe? I'm not having much success searching the web on this.

    --Job creator / owner
    select a.name 
    as job_name ,b.name
    as job_owner from sysjobs a
    , sys.syslogins b
    where a.owner_sid
    = b.sid

    Trigger on sysjobs table
    create
    trigger trigg on msdb.dbo.sysjobs
    after
    insert ,
    update
    as
    EXEC msdb.dbo.sp_send_dbmail
    @profile_name
    = 'name_of_mail_profile',
    @recipients = '[email protected]',
    @body = 'New job creation alert',
    @subject = 'Automated Message'
    -- Who ran the job ?
    select a.name 
    as JOB_NAME , b.message
    from msdb.dbo.sysjobhistory b
    , msdb.dbo.sysjobs a
    where
    a.job_id=b.job_id
    and a.job_id
    = 'AD5AAF63-4C4D-496A-AAFB-98F981E69BC2'
    and b.step_name =
    '(Job outcome)'
    Thanks, Leks

  • Universe creation against SAP Cubes/Queries with same connection

    Hello,
    I am creating universe against the connection for SAP BW system, once I have created a connection and selected a cube or query and built a universe on top of it....If I go back and create a new universe and this time change the connection to point towards a new cube/query the old universe stops working.
    Is it a limitation for SAP database where we need to have a new connection setup for each universe...or is there a different way to use same connection pointing towards different cubes/queries for different universes.
    Please let me know.
    Thanks
    Dharma.

    Hi
    when you build a universe based on the connection and want to use the universe with reports you can not change the underlying connection because then your universe will not work anymore.
    You can have multiple universe on a single connection.
    here some more details:
    Web Intelligence and SAP BI
    /people/ingo.hilgefort/blog/2008/03/24/businessobjects-and-sap-part-5
    Web Intelligence - Delegated Search and Delegated Measures
    /people/ingo.hilgefort/blog/2008/08/27/businessobjects-and-sap-part-6--web-intelligence-and-sap-bi
    OLAP Universe Change Management
    /people/ingo.hilgefort/blog/2008/08/29/businessobjects-and-sap-part-7--olap-universe-change-management
    Web Intelligence Best Practices with SAP NetWeaver BI
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/008d15dc-f76c-2b10-968a-fafe5a121129
    ingo

  • Sales Order Creation against Quotation reference using FM IDOC_INPUT_ORDERS

    Hi Experts,
      I have to create sales order against reference of Quotation using Function module IDOC_INPUT_ORDERS. Can any one help me out regarding this.
    In which segment of IDOC do we need to populate QUOTATION NO.? I am using WE19 with a IDOC and executing FM IDOC_INPUT_ORDERS.
    Regards,
    Rajiv Singh.

    e1edp02-qualf = '004'.
    e1edp02-belnr = vbap-vbeln.
    e1edp02-zeile = vbap-posnr.
    vbap-vbeln is the quotation document and vbap-posnr the item number of the quotation.
    Regards Jack

Maybe you are looking for

  • How do I sync my MacBook Air with my iPhone?

    I just purchased a new MacBook Air.  While setting it up, I created a new Apple ID.  Unfortunately, I am now experiencing difficulties when trying to sync my new MacBook Air with my iPhone, which is synchronized to my old Apple ID.  I want all of my

  • Regarding  to enable transfered option for enhanced field  in BI 7.0

    Hi Experts,     I am working on a requirement for which  i have enhanced fields  at RSA 6  extractor level and then  I removed hide options from those enhanced fields and then I had replicate it at BI system but  then what happen na for those fields

  • Mac Mini to Samsung HDTV

    My new mini should be here Wed. I was going to connect it to my Samsung HDTV. I just noticed that the mini has a DVI-I connection in back, while my TV has a DVI-D connection in back. Is there a cable for this? I'm not having much luck finding one.

  • How to keep Uploaded file's content between calls-content is lost in region

    hi, UploadedFile content lost when saving to pageFlowScope. the use case is to upload a binary file into db. jdev 11.1.2.3 i try to start from http://tompeez.wordpress.com/tag/affiledownloadactionlistener/ and instead of making all the handling in in

  • Exporting MPEG2's????

    I am using an uncompressed quicktime graphic within final cut that I have to take into dvd studio pro to create a dvd. When I export an mpeg2 and burn my dvd the graphic seems to look like I have lost Alot of contrast. The quality has been greatly lo