Unable to Cancel approved blanket release. system gettinghanged.

Hi ,
I have a blanket release and when I try to cancel the release wither at header or line or shipment level, it gets hanged...
Any idea, why it is getting hanged and how to cancel this release ?
Thanks
Anil

you can use V$LOCKED_OBJECT table to find out the locked objects and then kill that session using ALTER SYSTEM KILL SESSION '< sid>,<serial#>';
you can get the serial# from V$SESSION corresponding to the session_id from V$LOCKED_OBJECT
also you can use UTLLOCKT.SQL provided by oracle to get a report of locked objects.
Thanks
Tapash

Similar Messages

  • How to create a Blanket Release in iProc from a approved requistion

    Hi Gurus,
    How to create a blanket Release in iProcurement from a approved requisition. I have followed the below steps.
    1. Created a BPA from Front end.
    2. Run Loader Data program.
    3. Above program reflected the BPA in iProc.
    4. Created requisition from BPA.
    5. Requisition has been approved.
    After this i am stuck. How to proceed ahead. I want to create a Blanket Release from approved PR and then receive in iProcurement.
    please help me on this. We are using 11.5.10.2
    Regards,
    john

    911765 wrote:
    Hi Mahendra,
    Thank you so much for your reply.
    So you mean to say that it all depends upon the Sourcing Rule and ASL based upon that system would automatically create a Blanket Release or If its Automatic Release/Review then we have to manually create release through autocreate.
    The reason why i am asking this query is now when i tested it, system is automatically creating release and starngely there is no Sourcing Rule and ASL has been defined.
    But we are looking for a Manual Release through autocreate window.
    It would be great if you could please suggest.
    Regards,
    JohnJohn,
    When you say system is automatically creating release..as far as i know...it should be referencing a PO..correct...in the releases window..
    can you pull that up..and see if you can get any clue..bcz that PO would BPA...
    Also I am not that much into Iproc...I don't know...whether Iproc has some other setups
    HTH
    Mahendra

  • BLANKET RELEASE가 INPROCESS 상태에서 더 이상 진행되지 않을 경우 해결 방법

    제품: MFG_PO
    작성날짜 : 2006-05-11
    BLANKET RELEASE가 INPROCESS 상태에서 더 이상 진행되지 않을 경우 해결법
    ======================================================================
    PURPOSE
    승인을 위해 Blanket Release가 submit 되었으나,어떤 이유로 인해
    'INPROCESS' 상태로 되는 경우가 있다.
    'INPROCESS' 상태가 된 그 원인 진단을 위란 workflow가 없는경우(workflow
    purge process에 의해 purge 되는 경우 등...) 아래의 방법으로 해결한다.
    Explanation
    Original workflow activities가 더 이상 존재하지 않아서,
    workflow activity를 종결하거나 document 진행을 시도하면 workflow는 fail
    되며 document는 'INPROCESS' 상태로 fail 된다.
    이를 해결하기 위한 solution을 아래의 steps에 따라 작업한다.
    1.아래 sql을 실행하여 Requires Reapproval로 release를 update 한다.
    Update가 성공적으로 끝나면 commit을 한다.
    Script 실행시 Org_id가 prompt 되므로 document가 존재하는 org id를 입력
    한다.
    -- START OF RESET SCRIPT
    set serveroutput on size 100000
    DECLARE
    CURSOR reltoreset is
    SELECT por.wf_item_type, por.wf_item_key, por.po_release_id, por.release_num,
    por.release_type, por.revision_num, poh.segment1
    FROM po_headers_all poh, po_releases_all por
    WHERE poh.segment1 = ' &PO_NUMBER
    and por.release_num = to_number('&REL_NUM')
    and por.org_id = to_number('&org_id')
    and por.org_id = poh.org_id
    and por.po_header_id = poh.po_header_id
    and por.authorization_status IN ('IN PROCESS', 'PRE-APPROVED')
    and NVL(por.cancel_flag, 'N') = 'N'
    and NVL(por.closed_code, 'OPEN') != 'FINALLY_CLOSED';
    CURSOR errwf(pitem varchar2, pkey varchar2) is
    SELECT ITEM_TYPE, ITEM_KEY
    FROM wf_items
    WHERE PARENT_ITEM_TYPE = pitem
    AND PARENT_ITEM_KEY = pkey
    AND END_DATE is NOT NULL;
    CURSOR maxseq(id number, subtype po_action_history.object_sub_type_code%type) is
    SELECT nvl(max(sequence_num), 0)
    FROM po_action_history
    WHERE object_type_code = 'RELEASE'
    AND object_sub_type_code = subtype
    AND object_id = id
    AND action_code is NULL;
    CURSOR poaction(id number, subtype po_action_history.object_sub_type_code%type) is
    SELECT nvl(max(sequence_num), 0)
    FROM po_action_history
    WHERE object_type_code = 'RELEASE'
    AND object_sub_type_code = subtype
    AND object_id = id
    AND action_code = 'SUBMIT';
    submitseq po_action_history.sequence_num%type;
    nullseq po_action_history.sequence_num%type;
    BEGIN
    dbms_output.put_line('------------------------------------');
    dbms_output.put_line('Data Manipulation Scripts Disclaimer');
    dbms_output.put_line('------------------------------------');
    dbms_output.put_line('As always please ask customer to run the scripts on their test instance
    first ');
    dbms_output.put_line('before applying it on production. Make sure the data is validated for ');
    dbms_output.put_line('correctness and related functionality is verified after the script has been
    dbms_output.put_line('run on a test instance. Customer is responsible to authenticate and verify ');
    dbms_output.put_line('correctness of data manipulation scripts.');
    FOR pos in reltoreset LOOP
    dbms_output.put_line('Processing '||pos.release_type
    ||' Release Number: '
    ||pos.segment1||'-'||to_char(pos.release_num));
    dbms_output.put_line('......................................');
    dbms_output.put_line('Closing Notifications...');
    BEGIN
    UPDATE wf_notifications set status = 'CANCELED'
    WHERE notification_id in (
    select ias.notification_id
    from wf_item_activity_statuses ias,
    wf_notifications ntf
    where ias.item_type = pos.wf_item_type
    and ias.item_key = pos.wf_item_key
    and ntf.notification_id = ias.notification_id)
    AND NVL(status, 'OPEN') = 'OPEN';
    EXCEPTION
    WHEN OTHERS THEN
    null;
    END;
    dbms_output.put_line('Aborting Workflow...');
    BEGIN
    WF_Engine.AbortProcess(pos.wf_item_type, pos.wf_item_key);
    EXCEPTION
    WHEN OTHERS THEN
    null;
    END;
    FOR wf in errwf(pos.wf_item_type, pos.wf_item_key) LOOP
    BEGIN
    dbms_output.put_line('Closing Error Notifications ...');
    UPDATE wf_notifications set status = 'CANCELED'
    WHERE notification_id in (
    select ias.notification_id
    from wf_item_activity_statuses ias,
    wf_notifications ntf
    where ias.item_type = wf.ITEM_TYPE
    and ias.item_key = wf.ITEM_KEY
    and ntf.notification_id = ias.notification_id)
    AND NVL(status, 'OPEN') = 'OPEN';
    dbms_output.put_line('Aborting Error Workflow...');
    UPDATE WF_ITEMS SET
    END_DATE = sysdate
    WHERE ITEM_TYPE = wf.item_type
    AND ITEM_KEY = wf.item_key;
    EXCEPTION
    WHEN OTHERS THEN
    null;
    END;
    END LOOP;
    dbms_output.put_line('Updating Release Status...');
    UPDATE po_releases_all
    set authorization_status = decode(pos.revision_num, 0, 'INCOMPLETE',
    'REQUIRES REAPPROVAL'),
    approved_flag = decode(pos.revision_num, 0, 'N', 'R'),
    wf_item_type = NULL,
    wf_item_key = NULL
    where po_release_id = pos.po_release_id;
    OPEN maxseq(pos.po_release_id, pos.release_type);
    FETCH maxseq into nullseq;
    CLOSE maxseq;
    OPEN poaction(pos.po_release_id, pos.release_type);
    FETCH poaction into submitseq;
    CLOSE poaction;
    IF nullseq > submitseq THEN
    dbms_output.put_line('Deleting PO Action History...');
    DELETE FROM po_action_history
    WHERE object_id = pos.po_release_id
    AND object_type_code = 'RELEASE'
    AND object_sub_type_code = pos.release_type
    AND sequence_num >= submitseq;
    END IF;
    dbms_output.put_line('Done Processing.');
    dbms_output.put_line('................');
    dbms_output.put_line('Please issue commit, if no errors found.');
    END LOOP;
    END;
    -- END OF RESET SCRIPT
    2.Script가 error 없이 끝나면 'Commit;'을 실행한다.
    3.Enter Release form에서 문제의 document를 조회하고, 승인을 위해 submit
    한다.
    Reference Documents
    Note 296458.1

  • Not getting Email notification upon blanket release was created

    Hi,
    We are on Oracle EBS 11.5.10 and we have blanket release created by importing PO requisition, and ASL Supplier-Item's Release Method is "Automatic Release". Once the blanket release is created, there is no email notification sent out based on Supplier notification method?
    Now the notification is working for items with release method set to "Release Using AutoCreate" and for regular POs. But we need the "Automatic Release" items to create notification to send to suppliers as well. Anyone has experience to get that to work?
    Thanks!
    Mike.

    All the regular communication methods (print, fax, email) are spawned from the Approval workflow process.
    If the requisition line is sourced to a local BPA and if the ASL release generation option is set to "Automatic Release" then the concurrent request to create the release. This concurrent request will always create the approved releases; the system does not even launch the approval process. So none of the communication methods are triggered. Usually this option is used with batch communication methods like EDI or daily scheduled printed reports (Printed PO Report with NEW documents option).
    If the ASL option is set to "Automatic Release/Review" option then the concurrent request "Create Releases" creates releases in incomplete status. The buyers can then review them and manually submit it for approval. As part of this approval, the communication options can be selected.
    if the ASL option is set to "Release using Autocreate" then the requisition should be either manually created into a release. Optionally if the "Create Documents" workflow is setup that workflow can also create the releases. In the "Create Documents" workflow there is an option to launch the Release approval process. The "Create Documents" workflow never sets the documents to approved status automatically. So the releases created using "Create Documents" workflow will go through Release approval workflow and can leverage the communication methods.
    If you "have to" use the "Automatic Release" then you might need to leverage the standard batch communication methods / provide your own batch communication methods. When the document is communicated (Printed PO Report or EDI and etc), system updates the print count (increment) and print_date (sysdate) in the po_headers / po_release table. Thus when it is scheduled in a batch, it can determine the NEW documents (no print count at-all) and CHANGED documents (print count is one more from archive, but the revision number is same as the one in archive). If you are providing your own communication method, you can also try using similar model.
    Regards, Shiva

  • Unable to Logon to the SAP System after Installing SAPNW2004sSneakPreviewAB

    Hi
       I Installed SAPNW2004sSneakPreviewABAP.
       If i am trying to run the NSP Server it first Starting (Showing Blue Color ) and after few seconds it is becoming Yellow in Color. When i cross checked in Process list it is showing one of the process in yellow color i.e.
    disp+work.EXE whose description is Dispatcher
    and Status is showing as "Running but Dialog Queue standstill"
    May be because of this i am unable to log on the SAP System.
    One more thing i got a licence key from SAP but when i am trying to intall licence key using saplicence -install this is also not working it is showing following error message.
    SAPLICENSE (Release 700) ERROR ***
        ERROR:   Can not set DbSl trace function
        DETAILS: DbSlControl(DBSL_CMD_IMP_FUNS_SET) failed with return code 20
        RC-INFO: error loading dynamic db-library - check environment for:
                 dbms_type = <db-type>  (e.g. ora)
                 DIR_LIBRARY = <path to db-dll>  (e.g. /usr/sap/SID/SYS/exe/run)
    Could you please help in this

    Please refer to this post as this is a duplicate.
    Problem after installing SAPNW2004sSneakPreviewABAP
    Please close this post.  Thanks.
    Regards,
    Rich Heilman

  • Open Interface or Public/Private API for Blanket Release

    Hi All,
    I am on Oracle Apps 11.5.10.2
    Is there any open interface available to import the blanket releases in Oracle system. I have searched the meta link and found the doc 160781.1. According to the document there has been a future enhancement request logged by Oracle for this functionality but I am interest if any one know about some private API available to do same job. I will also appreciate if someone can share his project experience in migrating the blanket release to the Oracle.
    Thanks
    Vishalaksha

    I do not think it is available in 11i -- Please see (HOW TO IMPORT BLANKET SALES AGREEMENT AND BLANKET RELEASE. (Doc ID 336086.1)) for details.
    You may log a SR and confirm this with Oracle support.
    Thanks,
    Hussein

  • Unable to cancel LIV or perform Credit memo/Subsequent Credit

    Hi,
    I have a PO (with commitment from year 2008) that was created in 2008 and LIV in 2009.
    But was unable to cancel LIV or perform credit memo/subsequent credit in 2009, error message indicating that budget exceed year 2008 appear.
    Is there any way i can proceed to cancel this LIV or do a credit memo?
    I have tried to carry the commitment back from 2009 to 2008, still cannot.
    Appreciate if any expert can advise, thanks!

    Hi
    If you deactivate availability control then you can spend as much as you want on purchasing. The released budget and budget have no control on spend amount. When you activate the availability control (yearwise) by that time there should be released budget equal to that of spent amount.
    Generally for some projects (specific to particular coding mask) we remove availabity control and for general projects we put it.
    Thanks

  • Unable to cancel busines completion

    Hi Guus
       Order is closed, Status is CLSD, Iam unable to cancel this status ,
    When I go to function--> cancel the business completion system throws an error as
    Technically complete not allowed.
    I know its not possible , is thier any way to cancel this, either through user exit or some Tcode.
    regards
    Krish

    Hi Pete
    Error is
    "Technically complete" is not allowed (ORD 600036803)
    Message no. BS007
    Diagnosis
    The current status of object 'ORD 600036803' prohibits business transaction 'Technically complete'.
    Procedure
    To process business transaction 'Technically complete', you first have to change the status of object 'ORD 600036803' to allow the transaction 'Technically complete'.
    This gives you an overview of the system and user statuses that affect the transaction. A transaction can only be executed if there is at least one status that allows it and there is no status that forbids it.
    Transaction analysis
    regards
    Krish

  • Unable to Cancel Skype Premium Subscrption

    Hi, I am unable to cancel Skype Premium subscription. When I go to Group Video->Change Subscription Settings-> It returns page cannot be displayed page. I tried it 3 different systems, but same message. Please help. Regards.

    Hi,
    Due to technical difficulties some users are not able to cancel Skype Premium, in such cases please contact customer service and they will help you resolve it: https://support.skype.com/en/faq/FA1170/How-can-I-contact-Skype-Customer-Service
    Andre
    If answer was helpful please mark it with Kudos and if issue is resolved mark it with solution. This will help other users find this answer more easily. Thanks in advance!

  • Is there a way to restrict the blanket release qty or amount to agreed amt

    Hi,
    We have a requirement to restrict the blanket release qty or amt of the item to the amount that is agreed on the blanket Purchase Order line. Is there a setup at supplier or in purchasing that dictates this
    Thanks,
    user12048986

    Hello,
    I've made a few "forms perso" and I think you can deal with this case, depending of course of the business rules you want to apply.
    If you want to apply the field "COMMITTED_AMOUNT" as a global limit for all your release you can test the following :
    All your code will be done in "Not in Enter-Query Mode"
    1/ Create some variables on the WHEN-NEW-FORM-INSTANCE event : this committed amount, and also the amount already consumed,
    2/ Initialize the variables on the WHEN-NEW-ITEM-INSTANCE event, on the PO_SHIPMENTS.SOURCE_LINE_NUM object,
    condition will be :PO_RELEASES.PO_Release_Id IS NOT NULL
    3/ On the WHEN-VALIDATE-RECORD event of the PO_SHIPMENTS object, you will update your variables depending of the item on the current line by some SQL statement, using the variable.VALUE = (your SQL),
    condition will be :PO_RELEASES.PO_Release_Id IS NOT NULL AND :SYSTEM.RECORD_STATUS IN ('CHANGED', 'INSERT', 'NEW')
    4/ Still on the WHEN-VALIDATE-RECORD event of the PO_SHIPMENTS object, you should in your condition compare the amount already ordered (including your current shipment line) to your limit, then in the action display a message to warn the user.
    On this step I use also a variable XX_NB_MSG_DISP because as the WHEN-VALIDATE-RECORD is trigerred several time during the validation, you will display the message several times :°/
    Then condition will looks like something like this :
    :PO_RELEASES.PO_Release_Id IS NOT NULL
    AND :SYSTEM.RECORD_STATUS IN ('CHANGED', 'INSERT', 'NEW')
    AND :GLOBAL.XX_NB_MSG_DISP = '0'
    AND ((:GLOBAL.XX_ORDERED_AMOUNT > :GLOBAL.COMMITTED_AMOUNT)
    At this point the message is only a warning, but it is already a little piece of code, tell me if you succeed in doing something with those explanations. Honestly I do not have time to do any tests about this...
    You can also use the PO_APPROVE event to do a global control, but this is less user-friendly.
    Hope it helps,
    Take care,
    Xavier

  • Problem in cancel the PO release

    Hi,
    I changed the PO release level after that I am not able to cancel the already released POu2019s. How I solve this problem.
    Karthick.

    Hello,
    You can send purchase order via e-mail in SAP system, there are some configurations and pre-requisites to do as follow:
    1. You must maintain an e-mail address in the address in the vendor master.
    2. The same applies to your own user master. You also have to specify an e-mail address there in order to identify the sender.
    Note that it is not possible to change the e-mail address of the vendor via the SAP purchase order transaction (ME21N, ME22N, and so on). The system only uses the e-mail address of the vendor that is maintained in the vendor master!
    3. For the output type for default values, a communication strategy needs to be maintained in the Customizing that supports the e-mail. You can find the definition of the communication strategy in the Customizing via the following path: (SPRO -> IMG -> SAP Web Application Server -> Basic Services -> Message Control -> Define Communication Strategy). As a default, communication strategy CS01 is delivered. This already contains the necessary entry for the external communication. Bear in mind that without a suitable communication strategy it is not possible to communicate with a partner via Medium 5 (external sending).
    4. Use the standard SAP environment (program 'SAPFM06P', FORM routine 'ENTRY_NEU' and form 'MEDRUCK') as the processing routines.
    5. In the condition records for the output type (for example, Transaction MN04), use medium '5' (External send).
    6. You can use Transaction SCOT to trigger the output manually. The prerequisite for a correct sending is that the node is set correctly. This is not described here, but it must have already been carried out.
    7. To be able to display, for example, the e-mail in Outlook, enter PDF as the format in the node.
    For more details, check out the OSS note :191470
    Hope this will help.
    Regards,
    Abdul

  • Background job canceled in  Solution Manager system

    Dear all expert ,
    Two background jobs canceled in solution manager  system before some time.
    details-
    Background jobs :
                        1 -  LANDSCAPE FETCH
        Program name : RSGET_SMSY
    Job log : Job started
    Step 001 started (program RSGET_SMSY, variant ,
    The SLD server connection is inactive
    Job cancelled after system exception ERROR_MESSAGE
                       2 - SEND_SYSTEM_RELATIONSHIP_TO_SUP
        Program name : AI_SC_SEND_SYSTEM_RELATIONSHIP
    Job log :  
                       Job started
    Step 001 started (program AI_SC_SEND_SYSTEM_RELATIONSHIP, variant ,
    SOL determined as monitoring Solution Manager system
    SAP customer number unknown for installation number 0020606335
    Job cancelled after system exception ERROR_MESSAGE
    please help me , what should i do ?
    I am waiting for your positive response.
    Regards
    Shubh

    hi,
    You can try following ....
    For the job SEND_SYSTEM_RELATIONSHIP_TO_SUP
    Program : AI_SC_SEND_SYSTEM_RELATIONSHIP
    1. Up to Support Package 09:
    a) Start transaction SMSY.
    b) Choose Shft+F5.
    c) Select the system named in the message.
    d) Choose F6.
    e) Select the "System Data in SAP Support Portal" tab.
    f) Using the input help, fill the system number field with the correct system.
    g) Save the data.
    2. Up to and including Support Package 08:
    a) Start transaction SOLMAN_CONNECT.
    b) Select the system in question in the ID field and choose the filter pushbutton.
    c) Select the system and select "Create configuration".
    d) Fill the system number field using the input help with the correct system.
    e) For example, select the "BW GUI Connection" service type.
    f) Carry out all of the subsequent steps of the Configuration Assistant until you see the "Finish" pushbutton.
    This establishes a unique relationship between your system in the Solution Manager and the system number in the SAP Support Portal. Problems no longer occur with this system when the SEND_SYSTEM_RELATIONSHIP_TO_SUPP job is next run. However, the problem may still exist for other systems (in these cases, you should follow the same steps).
    Hope this will help to solve your issue..
    Regards
    Bhuban
    RKFL

  • Filestream Creation Unable to Open Physical File Operating System Error 259

    Hey Everybody,
    I have run out of options supporting a customer that is having an error when creating a database with a file stream.  The error displayed is unable to open physical file operating system error 259 (No more data is available).  We're using a pretty
    standard creation SQL script that we aren't having issues with other customers:
    -- We are going to create our data paths for the filestreams.  
    DECLARE @data_path nvarchar(256);
    SET @data_path = (SELECT SUBSTRING(physical_name, 1, CHARINDEX(N'master.mdf', LOWER(physical_name)) - 1)
                      FROM master.sys.master_files
                      WHERE database_id = 1 AND file_id = 1);
    -- At this point, we should be able to create our database.  
    EXECUTE ('CREATE DATABASE AllTables
    ON PRIMARY
        NAME = AllTables_data
        ,FILENAME = ''' + @data_path + 'AllTables_data.mdf''
        ,SIZE = 10MB
        ,FILEGROWTH = 15%
    FILEGROUP FileStreamAll CONTAINS FILESTREAM DEFAULT
        NAME = FSAllTables
        ,FILENAME = ''' + @data_path + 'AllTablesFS''
    LOG ON
        NAME = AllTables_log
        ,FILENAME = ''' + @data_path + 'AllTables_log.ldf''
        ,SIZE = 5MB
        ,FILEGROWTH = 5MB
    GO
    We are using SQL Server 2014 Express.  File streams were enabled on the installation SQL Server.  The instance was created successfully and we are able to connect to the database through SSMS. The user is using an encrypted Sophos. 
    We have tried the following:
    1. Increasing the permissions of the SQL Server server to have full access to the folders.
    2. Attempted a restore of a blank database and it failed.
    There doesn't seem to be any knowledge base articles on this particular error and I am not sure what else I can do to resolve this.  Thanks in advance for any help!

    Hi Ryan,
    1)SQL Server(any version) can't be installed on encrypted drives. Please see a similar scenario in the following link
    https://ask.sqlservercentral.com/questions/115761/filestream-and-encrypted-drives.html
    2)I don't think there is any problem with permissions on the folder, if the user can create a database in the same folder. Am not too sure. Also see the article by
    Jacob on configuring the FILESTREAM for SQL Server that describes how to configure FILESTREAM access level & creating a FILESTREAM enabled database
    Hope this helps,
    Thanks
    Bhanu 

  • Cancellation of PR release after RFQ

    We are able to cancel the release via ME54N after RFQ, but getting error while attempting to do the same via BAPI_REQUISITION_RESET_RELEASE. I was checking to see if there is any OSS note for this, but I could not find anything on this subject.
    I had seen that ME54 has the similar behaviour.. Does it mean we should not use BAPI_REQUISITION_RESET_RELEASE for cancel ling the release?

    OSS Note 686022 - ME54N: error messages ME109 and ME110 not processed.
    explains:
    ME54N allows the user to unrelease a purchase requisition linked to a purchase order or a request for quotation. This is correct behaviour and constitutes a new design.
    so the question left is: is the BAPI older than this new design?
    I guess yes.
    this BAPI calls Funtion module ME_RESET_RELEASE, and there SAP checks if the new release indicator allows RFQ creation. if not, then error ME109 is raised.

  • Unable to Cancel/Suspend few processes in NWA

    Hi All,
    I have few processes in which the Context Data is missing and I am unable to Cancel/Suspend such processes.
    I have remove the task from users work list for which I am trying to Cancel this processes.Can anyone please let me know how to do the same . Thank you so much in advance .

    usually u cannot do too much in the event of this kind of error
    u may find a note if lucky.
    if not, just open ticket to sap

Maybe you are looking for