SMQ2: how to avoid manual reprocessing in SMQ2

Hi All,
Most of the time in our production server, lots of messages say more than 1 lakh, stuck in Inbound queue and we have to manually reprocess all the messages in SMq2 to make queue empty.
it is a huge human workload.
Is there any transaction or any Job which need to be run so that we can avoid this manual reprocessing of messages in SMQ2?
Thanks in advance
Regards
Sandeep Sharma

Hi,
Use these reports.
RSARFCRD: tRFC Monitor (transaction SM58)
· RSARFCSE: Restart an LUW (background job)
· RSARFCEX: Restart tRFC LUWs (background job)
· RSQOWKEX: Restart QOUT qRFC LUWs
· RSQIWKEX: Restart QIN qRFC LUWs
· RSARFCSE: Delete an LUW (background job)
· RSARFCER: Delete various LUWs  
Thanks!

Similar Messages

  • I'm receiving some personnal SMS (through iOS 5 imessage) on an old iphone I've already sold. How to avoid that?

    Hi,
    I used to have an iPhone 3GS, which I recently upgraded to iOS 5 and sold. This device doesn't have any of my personnal information inside anymore (several resets and reinstall iOS5 from an blank iTunes on a seperate computer) and doesn't have my chip inside anymore.
    I am using a new smartphone (not Apple) now and when I text friends who have iPhone (with iOS 5 and iMessage), I receive some of the personnal responses on the old iPhone. It seems those messages are sent through iMessage...
    How to avoid that? I sold this iPhone and I don't want the buyer to receive my personnal message + I don't want to miss them on my new phone!
    Thanks for the help.
    Franck.

    I would suggest you read the user guide.  There IS no Facetime App for the iPhone.
    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf
    < Edited By Host >

  • LD_ASSUME_KERNEL does not work in recent distros. How to avoid?

    LD_ASSUME_KERNEL=2.4.XX does not work in all recent distros.
    $ export LD_ASSUME_KERNEL=2.4.20
    $ ls
    ls: error while loading shared libraries: librt.so.1: cannot open shared object
    EBS contains very old cmponents like MWA wich not compiled without this setting. How to avoid errors?

    You can unset LD_ASSUME_KERNEL and EBS 11i (11.5.9 and 11.5.10) will work fine on 2.6.16 kernels (SLES-10 and RH 5.0).
    The following instructions should get you going:
    1) Setup the environment as you would for running Applications on RH 4 or SLES9
    I.E. follow Oracle Applications Installation Update Notes, Release 11i (11.5.10.2)
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=316806.1
    2) Remove any LD_ASSUME_KERNEL references in O/S /etc/profile.d files
    3) Comment out LD_ASSUME_KERNEL entries in $ORACLE_HOME/appsutil/bin/adgetlnxver.sh and $AD_TOP/bin/adgetlnxver.sh
    if [ ${setflag}x = "x" -a $os = "Suse" ]; then
    # LD_ASSUME_KERNEL="2.4.21"
    # export LD_ASSUME_KERNEL
         os="Suse"
    fi
    if [ ${setflag}x = "x" -a $os = "RH" ]; then
    # LD_ASSUME_KERNEL="2.4.19"
    # export LD_ASSUME_KERNEL
         os = "RH"
    fi
    If doing a rapid install, the database startup will fail and rapidwiz will prompt to ignore or retry. At this point, edit $ORACLE_HOME/appsutil/bin/adgetlnxver.sh as shown above and click on retry. It will then run to the autoconfig step at the end and error out. Just hit cancel, edit $AD_TOP/bin/adgetlnxver.sh and run autoconfig.
    On Suse, one needs compat-gdbm for libgdbm.so.2
    rpm -Uhv compat-gdbm-1.8.0-7.i586.rpm
    Preparing... ########################################### [100%]
    1:compat-gdbm ########################################### [100%]
    Also in /usr/lib run ln -s libdb.so.2 libdb.so.3
    Ref:
    Note:300807.1 for Suse
    create symbolic link called libdb.so.2 pointing to libdb.so.3, as follows:
    $ cd /usr/lib
    $ ln -s libdb.so.3 libdb.so.2 (or install db1-1.85-85.1 which does the same)
    Note:294043.1 for Red Hat
    As per an internal Bug 4045349, this is an issue with O/S side installation of compat-db rpm.
    libdb.so.3 gets installed when compat-db rpm is installed.
    - The O/S installation CD would contain compat-db
    e.g compat-db-4.1.25-6.i386.rpm ( may change as per your version ).
    - Manually install the compat-db rpm
    e..g "rpm -ivh compat-db-4.1.25-6.i386.rpm"
    OR
    Note:345172.1
    A library is missing: libdb.so.2 is from gnome-libs-1.4.1.2.90-34.1.i386.
    This error also occurs in SLES9, same cause, slightly different resolution. SLES9 comes with libdb.so.3 and libdb.so.4 but not libdb.so.2 - need to install db1-1.85-85.1 to get libdb.so.2.
    4) In order to relink cplex library executables (MSC, MSO, MSR, MST, WIP, etc), edit $AD_TOP/bin/adrelinknew.sh and add the following LD option (-Wl,--noinhibit-exec) in the LINUX section:
    LINUX)
    LDFLAGS='-s -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -ldl'
    DEBUG_LDFLAGS='-g -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -ldl'
    exe_line='ELF .*executable'
    SHRLIB_LD='gcc'
    LD='gcc'
    SHRLIB_LDFLAGS='-L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -shared'
    if test -f "/etc/redhat-release"; then
         CPP_LIBS='/usr/lib/libstdc++-2-libc6.1-1-2.9.0.so'
    elif test -f "/etc/SuSE-release"; then
         CPP_LIBS='/usr/lib/libstdc++.so.2.9'
    else
    CPP_LIBS=''
    fi
    CPP='g++'
    CPP_LDFLAGS='-s -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs
    set CPP_LDFLAGS='-s -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs
    to CPP_LDFLAGS='-s -L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/lib/stubs -Wl,--noinhibit-exec'
    After this chance, you can apply any MRP, ASCP patch and all executables will relink correctly. You can also use adadmin to relink all executables and it completes without error.
    5) Discoverer 4.1.38.08 Follow Metalink Note 280598.1 Discoverer 4i On Linux: Required Patch and Configuration for Discoverer Server Stability to use JDK 1.3.1 and oadj. I updated the autoconfig template files with this change after applying 3895177. Discoverer viewer and plus standard BIS reports all open correctly on SLES-10

  • How do I manually cleans the garbage of FF?

    How do I manually cleans the garbage of FF?
    Hi
    I know FF has built-in functionality to clean history, cache, cookies
    I know there are programs such as CCleaner that do the same
    I want to learn ok?
    When I want to clean (index.dat, Temp, Cookies, History..) running IE 8, I create another account and from this "new account" I move all the IE 8 contents to another folder, next I create a partition and move this folder to this partition, finally Format and Wipe this partition with Acronis
    I know the locations where all the "garbage" stores in IE 8, but I am lost with Firefox
    IE 8
    In IE 8 I delete all the content in these locations manually
    \Documents and Settings\<Username>\Cookies\index.dat
    \Documents and Settings\<Username>\Local Settings\History\History.IE5\index.dat
    \Documents and Settings\<Username>\Local Settings\History\History.IE5\************\index.dat
    \Documents and Settings\<Username>\Local
    \Settings\History\History.IE5\************\index.dat
    \Documents and Settings\<Username>\Local
    \Internet Files\Content.IE5\index.dat
    And others paths
    I hash of the folders and subfolder of FireFox/Mozilla
    Which folder do I have to delete? I do not want to have any "garbage"
    If I can understand how to clean all the Temporary files, history, cookies, download history, form history manually using FF it will change my Life!!!
    Cookies (Tracking cooking found) *
    I do not have History, No Bookmark (Testing) **
    I do not know if this are the Bookmarks **
    Could you pleace mark as -Garbage- the path I have to delete?
    C:\Documents and Settings\Camelia Colin\Application Data\Mozilla\
    profiles.ini
    C:\Documents and Settings\Camelia Colin\Application Data\Mozilla\Firefox\Crash Reports\
    InstallTime20120614114901
    C:\Documents and Settings\Camelia Colin\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default
    cert8.db
    chromeappsstore.sqlite
    compatibility.ini
    content-prefs.sqlite
    cookies.sqlite -GARBAGE*-
    downloads.sqlite
    extensions.ini
    extensions.sqlite
    formhistory.sqlite
    key3.db
    localstore.rdf
    mimeTypes.rdf
    parent.lock
    permissions.sqlite
    places.sqlite -GARBAGE**-
    pluginreg.dat
    prefs.js
    search.json
    search.sqlite
    secmod.db
    sessionstore.bak
    sessionstore.js
    signons.sqlite
    urlclassifierkey3.txt
    webappsstore.sqlite
    C:\Documents and Settings\Camelia Colin\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\bookmarkbackups
    bookmarks-2012-06-26.json -GARBAGE ***-
    bookmarks-2012-06-27.json -GARBAGE ***-
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default
    urlclassifier.pset
    urlclassifier3.sqlite
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache
    _CACHE_001_
    _CACHE_002_
    _CACHE_003_
    _CACHE_MAP_
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\0\A2
    FDB9Fd01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\1\26
    F41D8d01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\1\3C
    5A23Ad01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\1\4D
    BA260d01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\1\91
    73C2Bd01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\2\31
    87467d01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\2\32
    76A90d01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\2\C0
    13646d01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\2\D0
    9FCA5d01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\2\E3
    6BF1Cd01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\3\FC
    F93FEd01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\3\FD
    01AD1d01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\4\5B
    9BDDAd01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\4\92
    3CE61d01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\4\F4
    C8179d01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\5\C5
    5C5F4d01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\6\6D
    EE8CCd01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\6\76
    CB2CBd01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\6\B8
    58B8Ed01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\6\C9
    E831Cd01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\7\49
    8C718d01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\8\1B
    70757d01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\8\69
    AE8B6d01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\8\AE
    CC4D6d01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\8\DF
    C832Cd01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\9\CE
    C08CBd01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\A\16
    B5FEAd01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\A\8A
    994ABd01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\A\A0
    08EE6d01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\B\84
    AFDA8d01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\B\88
    F0DA4d01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\C\C6
    7C3ECd01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\D\13
    1E981d01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\E\14
    333E2d01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\E\91
    F5FD0d01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\E\B4
    BCD3Dd01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\E\D4
    1CD3Cd01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\E\FA
    DE3B9d01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\F\8A
    BAE5Bd01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache\F\A4
    099BAd01
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\OfflineCache
    index.sqlite
    C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\startupCache
    startupCache.4.little
    Thank you very much

    The cache is in this location and all its sub-folders.
    *C:\Documents and Settings\Camelia Colin\Local Settings\Application Data\Mozilla\Firefox\Profiles\tj6un7g4.default\Cache
    The urlclassifier3.sqlite file stores the encrypted contents of the phishing protection database and it is best to leave this file to avoid Firefox having to rebuild it.<br />
    You can remove the file if it really gets to large (around 50 MB is not unusual).
    The bookmarkbackups folder stores the daily created JSON backups with a maximum of 10.<br />
    You can set that maximum in Firefox via the browser.bookmarks.max_backups pref on the about:config page.
    It is best to leave the other files in the Firefox Profile Folder (Application Data\Mozilla\Firefox\Profiles\) intact, and use Clear Recent History if you want to remove data, to avoid database corruption.
    *https://support.mozilla.org/kb/Clear+Recent+History

  • How to avoid withholding tax posting in the case of ERS

    Hi
    We are trying to process Rent using Frame work Order.
    The issue here is withholding tax codes maintained for other purposes like Professional Fee, etc in the vendor master gets picked up automatically in this Rent invoice and the relevant WH Tax postings are made in the accounting document.
    Being ERS and usage of T code MRRL, the invoice generation is automatic instead of manual MIRO. Hence, user has no control to deselect withholding tax codes while generating invoices.
    Appreicate any suggestions how to avoid this?
    OR
    Is there any way of posting rent using frame work order instead of ERS (ie MRRL)?
    Please let me know if I m not clear.
    Thanks
    Sridevi
    PS: In Spain, there is no WH tax on Rent

    Hi,
    Assign a new Accounting Document to T. Code "MRIS" in OMR4.
    First create a new Document Type
    Then Assign Document Types in Invoice Verification
    Now go to OBBH - Substitution in Accounting Documents and write substitution for this new FI Doc Type and T. Code MRIS. Here take help of your FI consultant.
    You can use field XREF3 - Cash Flow, and keep constant vale for this as "Blank" since it is Relevant with Cash Flow.

  • How to avoid printing a balnk page at the end in the Adobe form output

    Hello Experts,
        Can anyone please let me know as how to avoid/delete the blank page at the end of adobe form output.
    I have a master page with header n footer and a body page seperate.
    For ex.. I have 3 line items and i want each line item to be displayed in the new page. I am able to get this functionality . I have set the settings in the paginationb tab of the subform as
    "after " Go to Next content Area" " but an extra page is getting printed at the end. 3 + 1 extra pages total. I want to avoid this blank page. I have checked the Allow page break with in content box but it is still not working.
    Can someone guide me as how to solve this problem.
    Any help is appreciated. Thanks in advance.
    Regards,
    Mahesh

    hey mahesh,
    this normally happens because of triggering a new page manually, what u would have done is that you would be checking for the new line item and when this condition is satisfied , you are triggering a new page , the reason for the last blank page is that the condition gets satisfied ( beacuse the line item number changes from the last line item no to  initial or space).
    This can be handled by doing the following
    By knowing the number of line items by the following stmt.
    describe table itab lines v_lines.
    Now you have the value in v_lines.
    use a counter in ur form and keep it increasing it by 1  ( say v_sno ) ie v_sno = v_sno + 1 in the loop of ur internal table.
    ONLY WHEN V_LINES IS LESS THAN OR EQUAL TO V_SNO , TRIGGER THE NEW PAGE
    this should be along with the condition which u have already put, ie when ever line item no changes
    when both these conditions are satisfied , then only the new page will be triggered.
    Hope it helps,
    Reward if useful,
    Regards,
    KP.

  • How to avoid special stock indicator for intercompany sales transitions.

    Hi Friends
    I have an issue Intercompany sales .if I  enter intercompany plant(Delivering plant) in the sales order system is taking special stock indicator and looking for sales order stock.
    If I enter company code plant for sales from unrestricted stock, system is not taking special stock indicator.
    Please advice how to avoid special stock indicator for intercompany sales transitions.
    Thanks in advance.
    SRK

    Ravi,
    Special stock is generally determined by the MRP strategy group in the material master of the plant against which you place your order.  The strateg(ies) contained in the strategy group will determine the SO requirements type, which will in turn determine whether or not the order is 'account assigned' (special stock).  
    It is normal to only have one strategy contained in a strategy group.  However (and I seldom recommend this) SAP will support multiple strategies within one strategy group.  In this case, you could have both MTS and MTO orders against the same plant/material, by manually altering the requirements type in the sales order.  This scenario is usually difficult for a planner, and involves additional manual attention to make everything work.
    I suggest that your first avenue is to change the Strategy group in the material master of the delivering plant to one that supports MTS.  This has a big impact in Controlling and in Production Planning, so ensure that all affected functional groups are aware of what you are doing, and of the resulting changes that they will experience.  The transition from MTO to MTS must be carefully controlled.
    If you are not a PP expert, I suggest you consult with your local PP expert before embarking on this change.
    Best Regards,
    DB49

  • How to avoid clear record when tab pages changes

    Hi All
    I am using oracle forms 10g and db 10g.
    I have created a form with four tab pages. Namely "EXPENSE" , "AMOUNT_DETAILS", "SUPPLIER" , "ACCOUNT".
    When i enter a data in page 1 ie Expense and move to next page page2 "AMOUNT_DETAILS", and enters data in page3 "SUPPLIER" and when i come back to page1 "EXPENSE" and also Page2 "AMOUNT" the data get cleared in Tab pages. There is no data again i need to enter the data manually.
    Can any one suggest me how to avoid this clear data.
    Thanks & Regards
    Srikkanth

    Hi,
    Thanks once again for your quick response.
    I have checked it , i was working with oracle apps.Now i have entered all the datas in the four tab and press save button in the screen at that time also the data get cleared.Can you please tell is there any work around for this.
    regards
    Srikkanth

  • How to avoid data lost in Dataguard failover ?

    Hi gurus,
    We are implementing Dataguard with manual failover (Not with Fast Start feature)
    How to avoid/minimize lost of data if the primary server goes down before the last log is sent ?
    Thank you for your help,
    xtanto

    Most important the dataguard protection mode, you have 3 choices: Maximum Performance,Maximum Availability,Maximum Protection . If you are interested in no data loss choose Maximum Protection, that's the definition:
    Maximum Protection
    This protection mode ensures that zero data loss occurs if a primary database fails. To
    provide this level of protection, the redo data needed to recover a transaction must be
    written to both the online redo log and to at least one synchronized standby database
    before the transaction commits. To ensure that data loss cannot occur, the primary
    database will shut down, rather than continue processing transactions, if it cannot
    write its redo stream to at least one synchronized standby database.
    Because this data protection mode prioritizes data protection over primary database
    availability, Oracle recommends that a minimum of two standby databases be used to
    protect a primary database that runs in maximum protection mode to prevent a single
    standby database failure from causing the primary database to shut down.
    For details see the documentation for your unknown database version.
    Werner

  • How to avoid the duplicate values, I do not want the duplicate............

    i have one database table called "sms1" that table is updated every day or on daily basis it has the following fields in it:
    SQL> desc sms1;
    Name Null? Type
    MOBILE NUMBER
    RCSTCNATCNATCNATCNAWTHER VARCHAR2(39 CHAR)
    SNO NUMBER
    INDATE DATE
    From this table the is one column "RCSTCNATCNATCNATCNAWTHER VARCHAR2(39 CHAR)" . I am splitting it into different columns like :
    SQL> desc smssplit;
    Name Null? Type
    R VARCHAR2(2 CHAR)
    C VARCHAR2(2 CHAR)
    S VARCHAR2(1 CHAR)
    TC VARCHAR2(3 CHAR)
    NA VARCHAR2(3 CHAR)
    TC2 VARCHAR2(3 CHAR)
    NA2 VARCHAR2(3 CHAR)
    TC3 VARCHAR2(3 CHAR)
    NA3 VARCHAR2(3 CHAR)
    TC4 VARCHAR2(3 CHAR)
    NA4 VARCHAR2(3 CHAR)
    WTHER VARCHAR2(10 CHAR)
    SNO NUMBER
    INSERTDATA VARCHAR2(25 CHAR)
    Now I am written a procedure to insert the data from "Sms1" table to smssplit table...
    CREATE OR REPLACE PROCEDURE SPLITSMS
    AS
    BEGIN
    INSERT INTO scott.SMSSPLIT ( R,C,S,TC,NA,TC2,NA2,TC3,NA3,TC4,NA4,WTHER,SNO)
    SELECT SUBSTR(RCSTCNATCNATCNATCNAWTHER,1,2) R,
    SUBSTR(RCSTCNATCNATCNATCNAWTHER,3,2) C,
    SUBSTR(RCSTCNATCNATCNATCNAWTHER,5,1) S,
    SUBSTR(RCSTCNATCNATCNATCNAWTHER,6,3) TC,
    SUBSTR(RCSTCNATCNATCNATCNAWTHER,9,3) NA,
    SUBSTR(RCSTCNATCNATCNATCNAWTHER,12,3) TC2,
    SUBSTR(RCSTCNATCNATCNATCNAWTHER,15,3) NA2,
    SUBSTR(RCSTCNATCNATCNATCNAWTHER,18,3) TC3,
    SUBSTR(RCSTCNATCNATCNATCNAWTHER,21,3) NA3,
    SUBSTR(RCSTCNATCNATCNATCNAWTHER,24,3) TC4,
    SUBSTR(RCSTCNATCNATCNATCNAWTHER,27,3) NA4,
    SUBSTR(RCSTCNATCNATCNATCNAWTHER,30,10) WTHER, SNO
    FROM scott.SMS1 where SNO=(select MAX (sno) from SMS1);
    END;
    Now in order to update the second table with data from first table on regular basis I have written a job scheduler and I am using oracle 9.0. version...
    DECLARE
    X NUMBER;
    JobNumber NUMBER;
    BEGIN
    SYS.DBMS_JOB.SUBMIT
    job => X
    ,what => 'scott.SPLITSMS;'
    ,next_date => SYSDATE+1/1440
    ,interval => 'SYSDATE+1/1440 '
    ,no_parse => FALSE
    :JobNumber := to_char(X);
    END;
    Now this job scheduler is working properly and updating the data for every one minute but it is taking or updating the duplicate values also ..like example:
    R C S TC NA TC2 NA2 TC3 NA3 TC4 NA4 WTHER SNO
    INSERTDATA
    33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
    06-SEP-2012 03:49:16
    33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
    06-SEP-2012 03:49:16
    33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
    06-SEP-2012 03:50:17
    R C S TC NA TC2 NA2 TC3 NA3 TC4 NA4 WTHER SNO
    INSERTDATA
    33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
    06-SEP-2012 03:50:17
    33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
    06-SEP-2012 03:51:19
    33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
    06-SEP-2012 03:51:19
    R C S TC NA TC2 NA2 TC3 NA3 TC4 NA4 WTHER SNO
    INSERTDATA
    33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
    06-SEP-2012 03:52:20
    33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
    06-SEP-2012 03:52:20
    33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
    06-SEP-2012 03:53:22
    R C S TC NA TC2 NA2 TC3 NA3 TC4 NA4 WTHER SNO
    INSERTDATA
    33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
    06-SEP-2012 03:53:22
    33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
    06-SEP-2012 03:54:45
    33 35 2 123 456 789 543 241 643 243 135 RRRRRR 55
    06-SEP-2012 03:54:45
    Now I do not want the duplicate values to be updated ...and want them to ignore them.....
    please I need a help on this query........How to avoid the duplicate values............

    Look at the posts closely:might not be needed if formatted ;)
    create or replace procedure splitsms as
    begin
      insert into scott.smssplit (r,c,s,tc,na,tc2,na2,tc3,na3,tc4,na4,wther,sno)
      select substr(rcstcnatcnatcnatcnawther,1,2) r,
             substr(rcstcnatcnatcnatcnawther,3,2) c,
             substr(rcstcnatcnatcnatcnawther,5,1) s,
             substr(rcstcnatcnatcnatcnawther,6,3) tc,
             substr(rcstcnatcnatcnatcnawther,9,3) na,
             substr(rcstcnatcnatcnatcnawther,12,3) tc2,
             substr(rcstcnatcnatcnatcnawther,15,3) na2,
             substr(rcstcnatcnatcnatcnawther,18,3) tc3,
             substr(rcstcnatcnatcnatcnawther,21,3) na3,
             substr(rcstcnatcnatcnatcnawther,24,3) tc4,
             substr(rcstcnatcnatcnatcnawther,27,3) na4,
             substr(rcstcnatcnatcnatcnawther,30,10) wther,
             sno
        from scott.sms1 a
       where sno = (select max(sno)
                      from sms1
                     where sno != a.sno
                   ); ---------------> added where clause with table alias.
    end;Regards
    Etbin

  • I am trying to edit my music list and then sync it to my iPhone 5 so I don't run out of storage space. However, I see the check marks on the iTunes library but am unable to uncheck them? How do I manually edit what will be synced to my phone?

    I am trying to edit my music list and then sync it to my iPhone 5 so I don't run out of storage space. However, I see the check marks on the iTunes library but am unable to uncheck them? How do I manually edit what will be synced to my phone? (the check marks are not bolded, does this mean they are not in my library but only on my phone?)

    You uncheck the music in your iTunes library on your computer and along with sync only checked songs and videos selected under the Summary selection for your iPhone sync preferences with iTunes, only checked songs in your iTunes library will be transferred to your iPhone or remain on your iPhone and the unchecked songs in your iTunes library that are currently on your iPhone will be removed when syncing.
    Or make use of iTunes playlists and choose selected playlists, albums, artists under the Music selection for your iPhone sync preferences with iTunes and select the playlists below that you want transferred to your iPhone.

  • How to avoid Line Items(fields) in BAPI mapping.

    Hi
    Does any body help me for mapping between header and line items in BAPI..
    my scenario is filerfcmail(wokflow)!
    File is CSV based :
    (ex: 001150,,1123,JERM,08122006,,,
         ,,,ANN,,01082006,
    If you look at example csv file , there is some fields mixed with header and line items. But in RFC header can be 1 to 1 and line item should be 0 to Unbound.
    Now my problem is if I sent above example csv file as source :
    The payload coming like this(sxmb_moni) :
    </HEADERDATA>
    - <GLACCOUNTDATA>
    - <item>
      <COSTCENTER />
      <PROFIT_CTR />
      </item>
    - <item>
      <GL_ACCOUNT>738100</GL_ACCOUNT>
      <ITEM_AMOUNT>60000</ITEM_AMOUNT>
      <COMP_CODE>001150</COMP_CODE>
      <ITEM_TEXT>*777-8030-861</ITEM_TEXT>
      <COSTCENTER>7320</COSTCENTER>
      <PROFIT_CTR>7320</PROFIT_CTR>
      <ALLOC_NMBR />
      </item>
    - <item>
      <GL_ACCOUNT>738100</GL_ACCOUNT>
      <ITEM_AMOUNT>40000</ITEM_AMOUNT>
      <COMP_CODE>001151</COMP_CODE>
      <ITEM_TEXT>*777-8030-861</ITEM_TEXT>
      <COSTCENTER>6010</COSTCENTER>
      <PROFIT_CTR>6010</PROFIT_CTR>
      <ALLOC_NMBR />
      </item>
      <item />
      </GLACCOUNTDATA>
    You can find there is one more item coming after headerdata with null values. It means map reading first line and one by one , if any field found in rows which belogs to GLAccount(Line item), then it writing one more item after headerdata with that fields only.
    Remainig GLAccount data coming as per map after the item .
    Can you tell me how to avoid extra line items.
    Thanks,
    Sankar

    Yes, It exist..
    I cross checked ..with out givig fileds and giving some fields...its writing another items in after headerdata tag.
    hope you understand , what my problem..
    See: GLACCOUNTDATA under subnode
          item is 0 to unbound in BAPI side, because of this its reading all rows , and if find any field which belongs to GLAccount , then it writing another item tag after headerr data.
    Thnaks,
    Sankar

  • HT3228 Please let me know how to avoid receiving the spam into my email accounts on the iPad.  It is very annoying! My server puts it in the spam folder...why do I get it on the iPad?    Is it avoidable and how?

    Please let me know how to avoid receiving the spam (from the spam folder on the server) into my email accounts on the iPad.  It is very annoying!
    My server puts it in a spam folder and I do not receive it in the Ms Outlook on my desk computer...why do I get it on the iPad?    Is it avoidable and how?b

    You actually cannot do anything to your ipad when its locked but look at pictures the time and date, you need to restore it, and if it dosent let you restore, good luck chuck Heres how to restore it: Okay, i only know the itunes way soz, lol. Try to connect your ipad to itunes, if it does let you then you should be able to select the device you have in the corner somewhere, once you do that you should see a screen that looks sort of like your ipads setting, you should have a button that says "Restore" click that and your ipad should be restored. If that dosent work you should try going to your regular office depot or something. Good Luck!

  • How to avoid printing a blank page when there is 'no data' in the report.

    how to avoid printing a blank page when there is 'no data' in the report.

    try like this
    if@section:IND=1
    this template
    end ifsectionbreak
    if@section:IND=2
    this template
    end if

  • How to avoid creation of _(file.*), coping from tiger to pc?

    how to avoid the creation of this file for ever on a pc environment??
    I explain: as i copy any image file, it goes to a spooler directory and that begins instantly to process the file to an OPI server, separating CMYK channels, converting it to high and low resolution...
    but as this _(file) is created (same name and extension, but 0Kb and with this _ underscore in the beggining of it name), it begins to process it, and as it really does not exists as an image itself, it crashes the OPI server, forcing us to restart it...
    and then, you can imagine the mess, because we're a newspaper, with more than 100 machines logged in two cities simultaneously...
    thanks for those who replied last topic I posted about some softwares to delete it! it really worked!!
    but now, can anyone have a clue how to DON'T create this file?
    thanks in advance!
    alex borba
    [email protected]

    I believe that command is supposed to stop the creation .DS_Store files on servers. Also, I think the plist file gets written to the user ~/Library/Pref, it probably ought to exist both there and in the /Library/Pref folder to really work.
    I didn't think the Save for Web option would work for your purposes. I don't believe anything will work except to strip the resource fork off the files before you send them. There is an Applescript that will do it, using a UNIX command in the script. You select a folder, run the Applescript, and it strips the resource fork off all files in the folder and creates a sub-folder called Stripped with resourceless copies of the files in the original:
    -- Strip resource fork and metadata in Tiger for one file.
    -- If a folder is selected creates an unresourced subfolder of the selected folder
    tell application "Finder"
         try
              set aFile to the selection as alias
              set aFolder to the container of aFile
         on error
              display dialog "Select a file"
              return
         end try
         set aFile to the quoted form of POSIX path of aFile
         do shell script "rsync -a " & aFile & " " & aFile & "Stripped; mv " & aFile & "Stripped " & aFile
         update aFolder
    end tell
    The "do shell script" line must be all a single line in Script Editor. It might wrap funny in the browser. Anyway, copy it, paste into Script Editor, hit compile, and save it as an application. I've only fooled with it a little tiny bit, so I'm not sure whether the rsync process would have any strange effects on complex Photoshop and EPS files or not.
    As far as I know the only way to send Mac files without resource forks to a server is to strip them from the files.
    Francine

Maybe you are looking for