How to clear the message which are in scheduled Status in PI 7.3

Hi,
We want to clear/cancel the message in Message monitor which are in scheduled status in PI 7.3.
It only a JAVA Stack System , We have been trying to  clear the message manually but it take more time resulting into performance issue.
Is there some other way we can clear it from Database level.
Our Database is Db2 9.7 with Fix Pack 5
Can anyone help me in clearing the message at fast speed ?
Thanks in advance
Amit Shedge

Hi,
First we check the status of Message
a) db2 => select count(*) COUNT, status from sap<sid>db.bc_msg group by status
COUNT STATUS     
110        DLVD       
641623   NDLV       
  2 record(s) selected.
Then we update the status of Message to Failed
b) UPDATE BC_MSG SET STATUS='FAIL' WHERE STATUS IN ('DLNG', 'TBDL', 'WAIT', 'HOLD', 'NDLV')  AND SENT_RECV_TIME <= '2014-22-03 00:00:00'
c)
select count(*) COUNT, status from sap<sid>db.bc_msg group by status
COUNT STATUS     
183      DLVD       
641623 FAIL       
d) Then we started the Standard deletion Job in NWA
db2 => SELECT COUNT(*), STATUS FROM SAP<sid>DB.BC_MSG GROUP BY STATUS
1 STATUS     
98 DLVD       
And the message got deleted.
Thanks & Regards
Amit

Similar Messages

  • How to identify the SQLs which are using the tables and new columns

    Hi
    I m using oracle 10G Database in windows. Developers have added some columns in some of the database tables and were asking to check whether there is some impact on performance or not. I have not done this performance tuning before. Kindly help me how to proceed further.
    How to obtain the sqls which are touching the tables and the new columns? It would be really great if you can help me with this.
    Thanks

    You can try to use DBA_DEPENDENCIES to get PL/SQL objects using tables: http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/statviews_1041.htm#i1576452.
    However if SQL code is not stored in database in a trigger, a procedure, a function, a package or a view, it is impossible to retrieve all SQL code referencing some table from database dictionary: for this you would have to analyze application source code.

  • How to remove the tasks which are not manually recoverable?

    How to remove the tasks which are not manually recoverable?
    I tried performing manual recovery for the BPEL processes but there are few tasks which cant be manually recoverable..
    Could you please tell me how to remove those tasks and also tell me which information in the console is the task_id in the database?

    This article explains how to cleanup bpel process instances, you can find task instance id by searching for data in payload using api.
    Managing a BPEL Production Environment
    http://www.oracle.com/technology/pub/articles/bpel_cookbook/blanvalet.html
    Cheers,
    Rad

  • How to clear the node which has multiple attributes

    Hello ,
               how to clear the node which has multiple attributes.
    I've tried this using the method SET_STATIC_ATTRIBUTES_NULL but it's not working.
    Thanks,
    Sandhya.

    Hello,
    I suggest you to create an internal table or structure clear it and the bind it to the context node.
    Another possibility is to try to invalidate the node (method INVALIDATE of interface IF_WD_CONTEXT_NODE).
    Regards.

  • How to clear the message coming on bottom of page at output.

    Hi ,
    I have developed one BDC program for running standard transaction code MMRV .
    I used the call transaction method to run BDC and BDC is running in backround mode.
    In this program in output to display message I used FORMAT_MESSAGE function module . with this function module I am capaturing the message which is coming when standard transaction code MMRV is run. now in my program the message is displaying in output  which I needed and also it is coming on the status bar also which I don't wan't because same message is coming in output and status bar also.
    I want the message which  is coming on the status bar is to be clear, it should not display in output so can anyone please guide me in this issue.   
    the below attach is the code which is in my program.
    FORM BDC_TRANSACTION USING TCODE.
      DATA: L_MSTRING(480).
      DATA: L_SUBRC LIKE SY-SUBRC.
      DATA: L_Message(255) TYPE C .
      REFRESH MESSTAB.
      CALL TRANSACTION TCODE USING BDCDATA
                       MODE   CTUMODE
                       UPDATE CUPDATE
                       MESSAGES INTO MESSTAB.
      L_SUBRC = SY-SUBRC.
      IF SMALLLOG <> 'X'.
        LOOP AT MESSTAB.
          CALL FUNCTION 'FORMAT_MESSAGE'
            EXPORTING
              ID        = MESSTAB-MSGID
              LANG      = '-D'
              NO        = MESSTAB-MSGNR
              V1        = MESSTAB-MSGV1
              V2        = MESSTAB-MSGV2
              V3        = MESSTAB-MSGV3
              V4        = MESSTAB-MSGV4
            IMPORTING
              MSG       = L_MESSAGE
            EXCEPTIONS
              NOT_FOUND = 1
              OTHERS    = 2.
          IF SY-SUBRC <> 0.
            MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
          wa_tab-v_message = l_message.
        ENDLOOP.
      ENDIF.
      REFRESH BDCDATA.
    ENDFORM.                    "BDC_TRANSACTION

    LOOP AT MESSTAB.
    IF MESSTAB-MSGTYP NE 'S'.
    CALL FUNCTION 'FORMAT_MESSAGE'
    EXPORTING
    ID = MESSTAB-MSGID
    LANG = '-D'
    NO = MESSTAB-MSGNR
    V1 = MESSTAB-MSGV1
    V2 = MESSTAB-MSGV2
    V3 = MESSTAB-MSGV3
    V4 = MESSTAB-MSGV4
    IMPORTING
    MSG = L_MESSAGE
    EXCEPTIONS
    NOT_FOUND = 1
    OTHERS = 2.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    wa_tab-v_message = l_message.
    ENDIF.
    ENDLOOP.

  • How to remove the buttons which are coming from a report?

    Hi All,
    I need to remove the buttons from an iview which is a sap transaction. when i execute the  report program which uses a ldb (PCH) shows a selection screen having all the buttons.
    We have created variants for this.Now i want to remove the buttons which are coming from the report program.how to do this ?
    Lakshmi.

    Hi,
    I think u r mentioning about the addition buttons that appear in the selection screen when using a logical database. for removing these buttons u can use a function module RS_SET_SELSCREEN_STATUS  for setting ur own pf-status
    do this in "at selection screen output" of the program..
    in the tables parameter, u have the option for giving the ok-codes that u want to remove. append all the ok-codes into this table.
    for getting the ok-codes u can use "tab" and go the button.. press F1. it will give the ok-code.
    Regards,
    Anoop

  • How to find the LoginNames which are only having the special chars %, @, .

    I have a table called LoginTable in that I have a column called LoginName
    I want to select only the LoginNames which are having the special charecters like %, @ and . how to write the query
    Please help me out.
    it is some thing like select LoginName from LoginTable where LoginName like (%, @, .) please correct my query

    Please use regexp_like, if your database is Oracle10g 10.1 or higher.
    Otherwise...
    how to search for '%' in data
    select * from LoginTable
    where
    LoginName like '%\%%' escape '\'
    or
    LoginName like '%@%'
    or
    LoginName like '%.%'
    ;

  • How to see the tables which are in the physical layer of SampleAppLite rpd

    Hi Everyone,
    I am new to OBIEE and I installed OBI Apps with Oracle 11g in my laptop. I tried to create reports using the OracleBIAnalyticsApps rpd. How can I know from which schema the tables are coming in the physical layer of the repository so that I can create a connection pool to the database. I got the default SampleAppLite rpd when I install the OBIEE but I am unable to see those tables in the database schema which are used in the SampleAppLite physical layer. Can anyone tell me how can I see the tables in the database which I see in the rpd. Actually my question may be wrong as I am new to this field, so please let me know if this is a wrong question. As I unable to express my question correctly. Thanks.

    For the OracleBIAnalyticsApps rpd - the tables are under "Catalog" then "dbo" in database "Oracle Data Warehouse" in the physical layer. The RPD comes out of the box with the required connection pools - you dont need to create any. The connection pools "Oracle Data Warehouse Repository Initblocks Connection Pool" and "Oracle Data Warehouse Connection Pool" in "Oracle Data Warehouse" read the data from the business analytics warehouse that you created in a schema name of your choosing with the DAC. All you need to do is edit the user name and password and the data source name with a connect string - which is the local net service name to your database for default call interface OCI 10g/11g assuming you used an Oracle database for your warehouse. One way to test the connection pool is to right click any table/alias then "Update Row Count".
    BTW Using the Admin Tool open the OracleBIAnalyticsApps rpd then do "Tools" then "Utilities" then "Repository Documentation" then "Execute". This will create a spreadsheet showing you all the mappings from the presentation to business to physical layers.

  • How to find the tables which are the candidates for gathering stats in 10g

    Hi,
    In 10g how can we find the tables, partitions which are the candidates for gathering the stats.
    I want to findo those tables, partitions and gather the stats on daily basis.
    Thanks,
    Mahi

    The probem you describe has been posted about before. There are known issues with the default dbms_stats parameter settings for some environements.
    What you can do is just go ahead an manually submit dbms_stats commands with appropriate parameters for tables that have not been analyzed or modify the maintenance window to give it more time.
    I would rather just generate the missing statistics myself then the job can continue to run in the normal maintenance window. Since the job should be looking only for tables that meet the stale requirements then once everything is analyzed it is likely the job can keep the statistics updated in the default time allowed.
    Be warned that the default parameter settings do not work well for some tables in some environments and if that proves true for your shop you can generate workable statistics on a table and then lock them so the nightly job ships regenerating the statistics for that table. You would then manually unlock, generate, and lock that statistics for that table as necessary.
    HTH -- Mark D Powell --

  • How to play the videos ,which are stored in server ..?

    Hi,
    my requirements is : I want to play an video on web page(jsp) Which are stored on server ...how we can impliment that ....
    The video should not ask download and save option .......in webpage it should start playing once i click on play ..as similar to Youtube.com ...

    Hello
    Here you can find an applet example example
    it is made with javafx
    Edited by: Virux on Feb 12, 2009 10:59 PM

  • How to get the Objects which are used in the webi Report.

    Hi Expert,
    I am trying to get the list of  WebI reports and Objects which are present in the report at  BO 4.0.
    I can able to get details  for only the list of reports and universes.
    Could  any one help me to get those details.
    Regards,
    Murali S

    With 4.0, there is no longer a way to do this using just the .NET SDK because the ReportEngine SDK no longer exists for .NET.  Instead, you'll have to look at using the RESTful Web Services SDK for Webi which runs in the Web Application Container Server on your report server (NOT on the web server!)
    RESTful web services are platform-independent and don't require the installation of any SDK files.  Everything is done through standard HTTP Get, Put, and Post commands and the results are returned in either XML or JSON format.  You don't mention which service pack of 4.0 you're on, but the RESTful web services have evolved over the course of the 4.0 service packs, so more recent is definitely better.
    You can find the documentation for this in the "Development Information" section at help.sap.com/bobip40.  There is also a "space" on SCN for this at http://scn.sap.com/community/restful-sdk and there are some links on this page for various resources and sample code.
    -Dell

  • How to activate the queries which are inactive

    Hello All,
    1) After BW upgradation from 3.5 to 7.0 we found some of the queries are inactive. Can anyone let me know how to activate those inactive queries.
    2) How to find what all roles are inactive nd how to activate them.

    Hi,
    After upgrade or client copy you'll need to set the release indicator for queries (prog. RSAQUM40), in general it is only possible to transport those queries that are created in the global area. For conversion of queries refer OSS notes 92124/109094/119655.
    However if you wish to move queries from the standard area use program RSAQR3TR, execute the program via TX SA38 then click in the blue "i" (information button) for full details of the program.
    Best Regards,
    Chandrasekhar

  • How to copy the bookmarks which are created in SAP BW 7.3 to New SAP BW on Hana System?

    Hi,
    We have requirement of moving the Bookmarks from SAP BW 7.3 system to New  SAP BW on Hana System.
    Please let me know if it is possible?  If possible  how to do it.?
    Thanks,
    tms

    Hi TMS,
          Are you talking about Web template bookmark or QueryDesigner bookmark?
    If yes then in both the cases its is stored in your client machine as a browser favourite.This has nothing to do with HANA or BW system.So you can transfer browser favourite file from one system to other.
    If you are talking about in anyother context please be precise and more elaborate .
    Thanks & Regards
      A.Dinesh

  • How to use the Events which are in BOR?

    HI Experts
    In SAP Business Object Repository, under each object, we can see some events. What are these events, can we use them in our programs. For instance the business object type BUS2010-Purchase order; I can see some events for it, If I want to use these events in my custom program, can I use them?
    What is the use of it SAP R/3. If you feel my question is baseless also, please provide me the information about this once.
    Thanks in advance
    Praveen

    Hi,
    If you want to raise BOR event from your program you can use function module SWE_EVENT_CREATE.
    If you want to register for the event and handle it you can go to transaction SWEC and register your function module there.

  • Do you know how to purge B2B messages which are in MSG_WAIT_TRANSMIT state

    Is there a commandline option to purge these sort of messages?

    Also you can refer to below thread :
    Re: Oracle B2B to Tibco integration
    Rgds,
    Nitesh Jain

Maybe you are looking for

  • Base64Binary OSB and File Adapter Issue

    Hi all, I am converting an xml to flat file after that i want to write the flatfile to a file using File Adapter in OSB. So using java callout we converted the binary content to base64 string and we are able to write the data using file adapter . But

  • Implementing Comparable in an abstract class

    Hi all, I am making my first sortie with abstract classes. I have had a good look around, but would still appreciate some advice with the following problem. In my application I have several classes that have many things in common. I have concluded th

  • Reg: IDoc Process for Shipment

    Hi All, For EDI Outbound process i am using the exit EXIT_SAPLV56K_002 to populate the new Extended IDoc type for SHIPMNT01. The problem is when i am appending the records into the IDOC internal table in exit..and  process IDoc, all segments are disp

  • How can I remove the HDD password?

    Did anyone know how I must reset the Toshiba 2.5" SATA or IDE password? Or how I can use a password protected HDD?

  • Acrobat Professional 8.0 Question

    I work with the IT and came across a problem I could'nt fix with my client. Problem: - updated the Adobe Acrobat Pro 8.0 - everytime she opens a document, it will not show the advanced editor What is needed for problem to be solved - every time you o