Exempted cost element not working for budget availability control

Hi,
I have configure the exempted cost element in our sandbox client. In the SAP IMG menu Project System -> Costs ->Budget-> Specify exempted cost element I maintain the following entry.
COAr      cost element        Origin Group
0200         433010                     *
Then in the material master of a material I maintain the origin group in costing 1 view as 001. Then I do a material issue against the network of a WBS in MB1A tr code mvt type 281 and post the cost to the cost element 433010. As per the exempted cost element logic this should not affect the budget availability since the cost element 433010 is define as an exempted cost element. But the system shows actual incurrence for this transaction and reduce that must amount from the budget. I check this is the S_ALR_87013558 report. To re-ensure I do the Project Info database rebuilt in CJEN tr code then activate the availability control in CJBN but this is of no use. The S_ALR_87013558 still shows the budget available as total budget minus the cost incurred in the cost element 433010 in the above transaction.
Please let me know if anybody has configured the exempted cost element in their client and have resolve this issue.
Thanks and regards'
Preetam

Hi,
This is a std SAP Functionality and system should exempt the costs for the cost element maintained in the Configuration for that Controlling Area.
Muzamil

Similar Messages

  • Oc4jadmin not working for application server control in SOA suite 10.1.3.1.

    Hi,
    We have installed the SOA suite, and I can login to the various components using oc4jadmin/password (bpel, esb, rules author), but for some reason that oc4jadmin password is not working for Application Server Control, which is the only piece of this I really need to log in to.
    Any thoughts on what is going wrong?
    Cheers,
    Pat Rock

    Maybe you change this password internally for another application (such BPEL, WSM,etc) and didn't make change for your main OC4J container.
    You can try to change this password by...
    1. Open the file [OASHome]\j2ee\home\config\system-jazn-data.xml
    2. Find the section that looks like this
    [user]
    [name]oc4jadmin[name]
    [display-name]OC4J Administrator[display-name]
    [guid]88836370D11611DC9F30F9C1CD6F1A73[guid]
    [description]OC4J Administrator[description]
    [credentials]{903}F+iG1A46edXG9RdfY0pD2O4Ge/qyEjsg[credentials]
    [user]
    3. Replace the value separated by the "Credentials" starting and ending tags with your new desired password, prefixed with an exclamation point
    Example:
    [user]
    [name]oc4jadmin[name]
    [display-name]OC4J Administrator[display-name]
    [guid]88836370D11611DC9F30F9C1CD6F1A73[guid]
    [description]OC4J Administrator[description]
    [credentials]!newpassword[credentials]
    [user]
    4. Save the file and restart OAS
    This should not affect other applications.
    Greetings.

  • Translate not working for Budget rate for different scenarios

    I have created 2 new scenarios and the custom4 exchange rates is only working for [None] but not for BUDR, BUDRPY, or CONR.
    I can't see anything obvious within the translate rule that affects these new scenarios.
    '     =========================
    '      (25) Translation
    '     =========================
    Sub Translate()
         Dim strYear,aC2,aC3,aC4,aC5,aC6,opinp,curr,svt16,op,fxinp
         strYear = HS.Year.Member()
              aC2 = HS.Custom2.List("MVMT_EQ","[Base]")
              aC3 = HS.Custom2.List("MVMT_IFA","[Base]")
              'aC4 = HS.Custom2.List("MVMT_IFA_DEPN","[Base]")
              aC5 = HS.Custom2.List("MVMT_MASTER","[Base]")
              aC6 = HS.Custom2.List("MVMT_INVEST","[Base]")
              opinp = ".C2#OPBAL_INP.C4#[None]"
              curr = ".C4#[None]"
              svt16 =     ".C2#MVT1600.C4#[None]"
              op = ".C2#OPBAL.C4#[None]"
              fxinp = ".C2#FXINPUT.C4#[None]"
    HS.Trans "C4#BUDR", "", "A#BUDR", ""                                             
    HS.Trans "C4#BUDRPY", "", "A#BUDRPY", ""                                        
    HS.Trans "C4#CONR", "", "A#CONR", ""
    Both these new scenarios are setup the same as our main Actual scenario as YTD for data input.
    We do expand on the translation rule for specific C2 balances for just the Actual scenario for the various balance sheet sections like Equity, Investments to apply specific exch rates for OPE and movements but this should not affect these new scenarios I would not have thought.
    Grateful for any assistance.
    Thanks
    LG
    I found another rule that could be where my problem stems from: - halfway down it refers to Budget and Forecast scenarios and my new scenarios are Cashflow and Strategy so do I have to add them here??
    Sub copyC4None()
         'Debug
         If Debug = True then
              Writetxt("Debug," & HS.Entity.Member() & ",CopyC4None sub-routine started")
         End If
         'Copy all data for conversion to Budget rates
         dim strReviewStatus,strScenario,strYear,strPeriod,strEntityDefCurrency,strEntity,strView,strDataUnit,myDataUnit,lNumItems,i,lAccount,lICP,lCustom1,lCustom2
         dim lCustom3,lCustom4,dData,strCustom4,lC4Dest,strAccC4Top,sAccount
         strScenario=HS.Scenario.Member()
         strPeriod=HS.Period.Member()
         strYear=HS.Year.Member()
         strEntity=HS.Entity.Member()
         strReviewStatus = HS.ReviewStatus("")
    ' Copy Entity Currency to Entity Currency and Entity Curr Adj to Entity Curr Adj on the alternate translation members
              'strDataUnit = "C4#[None].V#<Entity Curr Total>"
              Select Case lcase(Left(strScenario, 6))
              Case "budget", "forecast", "budget_final"
                   strDataUnit = "W#YTD.C4#[None]" ' changed by sarav on 29-05-2008 from W#Periodic to W#YTD
              Case Else
                   'strDataUnit = "C4#[None].V#<Entity Curr Total>"
                   strDataUnit = "C4#[None]"
              End Select
              SET MyDataUnit = HS.OpenDataUnit(strDataUnit)
    lNumItems = MyDataUnit.GetNumItems
              IF strScenario <> "" THEN
    For i = 0 To lNumItems - 1
         Call MyDataUnit.GetItemIDs2(i, lAccount, lICP, lCustom1, lCustom2, lCustom3, lCustom4, dData)
                             sAccount = HS.Account.MemberFromID(lAccount)
                             sAccountUD1 = Left(HS.Account.UD1(sAccount),2)
                             strAccC4Top = HS.Account.C4Top(sAccount)
                             If strAccC4Top = "TotalCustom4" And sAccountUD1 = "TB" Then
                                  For Each strCustom4 In HS.Custom4.List("EXCHANGE", "[Base]")
                   If strCustom4 <> "[None]" Then
                   lC4Dest = HS.Custom4.IDFromMember(strCustom4)
              Call HS.SetData(0, lAccount, lICP, lCustom1, lCustom2, lCustom3, lC4Dest, dData, False)
              End If
              Next
                             End If
                        'End If
    Next
              END IF
    Edited by: jamdom on Aug 3, 2011 11:42 PM

    I have worked it out - the first issue was the scenarios in the Select Case were not all stated nor were they 6 characters in length
    Select Case lcase(Left(strScenario, 6))
    Case "budget", "forecast", "budget_final"
    now Case "Budget", "Foreca", "Cashfl", "Strate", "Actual"
    The second issue was the account list in UD1 - I had to amend the member list to include these new accounts, then in the metadata tag the UD1 for these codes then amend the sAccountUD1 to include this new list
    sAccount = HS.Account.MemberFromID(lAccount)
    sAccountUD1 = Left(HS.Account.UD1(sAccount),2)
    strAccC4Top = HS.Account.C4Top(sAccount)
    If strAccC4Top = "TotalCustom4" And sAccountUD1 = "TB" Then
    now If strAccC4Top = "TotalCustom4" And sAccountUD1 = "TB" or sAccountUD1 = "CF" Then
    and it works!! Yeh!!
    LG

  • Adobe Elements not working for Photo Sync

    I purchased Adboe Photoshop Elements 6.0 for the sole purpose of not having to sync my photos via Windows iTunes 7.4 using only top level directory names. I've been some albums in Elements however when I go into iTunes and select the Sync Photos, the pulldown for location only has the Pictures directory of Folder selection.
    How do I see the Element Albums that I created?

    I don't think iTunes supports Photoshop Elements 6 yet -- it was just released a few days ago. I was using PSE 5 with iTunes/AppleTV quite successfully, but when I upgraded to PSE 6, no albums show up in iTunes to sync.

  • Cost distribution not working for -Ve Transactions

    Hi,
    We are spliting the cost for an misc transaction. The Splitted cost are got cost distributed. But the Reversal expenditure (-ve Transaction) is not get cost distributed.
    The cost distribute flag is enabled for the reversal transaction. but no credit or debit account populated. Please let me know what might be the issue.
    Thanks In advance
    Thanks
    Raj

    Check the cost distribution concurrent request's output. It will tell you the reason. It might be an auto-accounting issue too. Post the error code here.
    Sathish Raju
    www.projectsaccounting.com

  • Can Budget Availability Control be turned off at WBS elements Level?

    For Project and WBS elements, we activate the budget  availability control in the budget profile and assign the budget profile to the Project. So once we budget one WBS elements under that project and release the project, the availability control is active for all WBS elemens under this project.
    My question is whether we can turn off the availability control for one WBS element under that Project and let the availability control on for the other WBS elements under that project.
    thanks,
    Ting

    Hi,
    I doubt if this can happen. CJBW will deactivate avalability control for entire project. Try OPSX for that particular WBS, it will reset budgeted status. Not sure if this will help, try and confirm.
    One more way could be assigning userstatus to the WBS and restricting 'Availablity control' by that status. This option looks more practical.
    Regards
    Edited by: Shrikant Rakate on Sep 10, 2008 9:21 AM

  • Substitution written under cost center accounting is not working for tcode MB1B but working for MIGO_GI

    Hi All
    Do you know why this behaviour different for subtitution written under cost center accounting.
    We have written substitution using coding block table. Logic of substitution is in case of any GL maintained in a set is being used for posting , then we will replace the cost center with profit center vlaue. Reason being we have same naming convention for Cost center and Profit center.
    Thanks
    Sonia

    Hi,
    MB1B is t-code for stock transfer posting.
    Stock transfer posting generate FI document using balance sheet account, not P&L account.
    Because you don’t create cost elements using balance sheet accounts related to stock, I think that Substitution written under cost center accounting is not working for tcode MB1B is right.

  • I purchased Adobe photoshop elements II and Adobe premiere elements II. They are both on one disc. My computer crasded and I had to reload Windows. I only have one serial number and it only works with photoshop II. The same serial number will not work for

    I purchased Adobe photoshop elements II and Adobe premiere elements II. They are both on one disc. My computer crasded and I had to reload Windows. I only have one serial number and it only works with photoshop II. The same serial number will not work for Premiere. I dont have any other serial numbers. What do I do???

    Static_Unit
    I am getting a bit concerned about what is happening in your situation. Yesterday you posted your question in at least two different forums, one of them being here in the Premiere Elements Forum.
    Don't Have Serial Number for Premiere, Only Photoshop?
    Wherever you posted, the reply was to contact Adobe via its Adobe Chat. It is the only one who can sort out this matter for you.
    In the thread cited above I offered to help you with the difficulties that you were having visualizing the Adobe Chat in its web page. I was waiting for your follow up on that in the above thread. Instead, I find your same question in a new Adobe Premiere Elements Forum thread this afternoon with no refer the prior threads or prior recommendations given you.
    I will also mention again...when you buy the Photoshop Elements and Premiere Elements bundled in one packaging and with installation files for each on the same installation disc, each program has its own serial number. The Photoshop Elements serial number does not work for Premiere Elements and vice versa. The serial numbers are on labels on a box which houses the installation disc envelope(s). So, if you purchased both programs and found the Photoshop Elements serial number, then the Premiere Elements serial number should be in a label right underneath the label with the serial number for Photoshop Elements. I recall writing this in your yesterday's thread on this matter.
    The moderator will no doubt be along shortly to close or delete this thread. So, just in case, please bookmark your yesterday's thread cited above so that we can continue this communication which is trying to help you.
    Thanks.
    ATR

  • TS1814 This is not working for me. I tried the Windows 7 Resolution steps multiple times to no avail. Please help. I am obviously connected to the internet (as is iTunes Store).

    This is not working for me. I tried the Windows 7 Resolution steps multiple times to no avail. Please help. I am obviously connected to the internet (as is iTunes Store).
    I am connected to the internet through a Verizon Wireless card, that is my regular internet connection.

    I did all that HT1925 recommended and it was no help.  My computer still won't recognize my iPhone.  Often trying to start Apple Mobile Device Service fails with an error message that it starts and then stops immediately.

  • Apple id not work for mac app store, what happen? It is available for others such as iTunes, my iPhone and iPad

    apple id not work for mac app store, what happen? It is available for others such as iTunes, my iPhone and iPad

    Try deleting the cache associated with the App Store..
    Quit the App Store if it's open.
    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type this exactly as you see it here:
    ~/Library/Caches/com.apple.appstore/Cache.db
    Click Go
    Move the Cache.db file to the Trash.
    Relaunch the App Store. See if that made a difference.

  • Cost Elements not to br created

    Hi Gurus,
    Which Cost Elements should not created againts the GL accounts apart from Assets & Laibilties' GL.
    Like WIP change A/c should not created as Cost Elements.
    regards
    Shiv.

    Hi,
    There are different kind of Cost Elements which depends upon the Cost Element Category...
    01: Primary costs / cost-reducing revenues
    This cost element category can be debited for all primary postings, for example, in Financial Accounting (FI) or in Materials Management (MM).
    Cost-reducing revenues are revenues that are to be handled in CO similarly to overhead costs, and which reduce the prices of an activity type or the costs to be assessed. This is the case, for example, with rent revenues, which reduce the room costs to be assessed. Cash discount amounts and exchange rate amounts are also cost-reducing revenues.
    03: Accrual Calculation Using the Percentage Method
    You can only use this cost element category during accrual calculation in Cost Center Accounting (component CO-OM-CCA) when you are using the percentage method. You can post directly from FI to take account of the actual costs incurred. The system also uses cost elements of this category to post the accrual amounts within Cost Center Accounting CO-OM-CCA.
    If you do take actual costs into account (say, for additional costs), create cost elements of this category in Controlling (CO) only. The account must be defined in the chart of accounts, but you do not need to create the general ledger account in FI.
    04: Accrual Calculation Using the Target=Actual Method
    Used in Cost Center Accounting (CO-OM-CCA) only for accrual calculation when you are using the target=actual method. You can post costs directly from FI to register actual costs incurred. At the same time, the system uses this category of cost element to post accrual cost amounts within Cost Center Accounting CO-OM-CCA.
    If you do take actual costs into account (say, for additional costs), create cost elements of this category in Controlling (CO) only. The account must be defined in the chart of accounts, but you do not need to create the general ledger account in FI.
    11: Revenues
    Used to post revenues. These revenues are generally posted during make-to-stock-production directly into the operating profit, or with make-to-order-production to the sales order.
    In Controlling (CO) revenues are displayed with negative +/- sign. An exception to this is Profitability Accounting  (CO-PA, costing-based), in which all values, including revenues, are displayed with a positive +/- sign.
    12: Sales Deductions
    Used to post deductible items (sales adjustments, sales corrections) such as discounts and rebates. Certain deductible items (freight charged separately in the invoice, surcharges for small quantities, special orders) are not classified as sales deductions, but as revenue elements.
    You can use this category in the same manner as revenue elements (category 11). Values on cost centers are displayed as statistical only.
    22: External Settlement
    Used to settle order costs, project costs, or cost object costs to objects outside of CO. These objects could be assets (Asset Management), materials (Materials Management), or general ledger accounts (Financial Accounting). The R/3 System creates an accounting document when the costs are settled.
    Cost elements of this category cannot be used for settlement within CO (cost centers, orders, projects, and so on). Use secondary cost element category 21 for this purpose. The system does not create an accounting document when costs are settled within CO.
    U can also create the cost element for Balance Sheet Account for below mentioned purpose
    90: Cost Elements for Balance Sheet Accounts in FI
    Automatically assigned when you create cost elements in CO whose general ledger accounts in FI are asset reconciliation accounts (special balance sheet accounts), not income statement accounts. You cannot change this category in CO master data maintenance.
    FI does not require CO account assignments to cost elements of category 90. However, if you enter an account assignment, it is only recorded statistically for true objects.
    Category 90 cost elements enable you to check the budget of an order or project when you acquire fixed assets that can be directly capitalized. To do this, enter the capital investment order or the WBS element in the corresponding field of the asset master data. Asset Management (AM) ensures that the specified order or WBS element is automatically entered in the document during the asset acquisition.
    In CO the order or WBS element is debited statistically. This statistical debiting is checked by the system using the budget during availability control.
    Hope you Understood....
    Reward Points to Help You Better
    Regards,
    Jigar

  • After Photoshop Elements quit working for the second time in three months, I uninstalled it and now cannot get it to reinstall from the disc. Nothing happens when I insert the disc. All I can do is look at the folders and files and see nothing that tells

    After Photoshop Elements quit working for the second time in three months, I uninstalled it and now cannot get it to reinstall from the disc. Nothing happens when I insert the disc. All I can do is look at the folders and files and see nothing that tells me how to start the installation. Clicking "open with Auto play" gives me irrelevant options, view photos, share, etc. I'm running Windows 8. This program has worked, although buggy, for the past year.

    reinstall by clicking setup on your disk or downloading and installing,
    Downloads available:
    Suites and Programs:  CC | CS6 | CS5.5 | CS5 | CS4 | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  12 | 11, 10 | 9,8,7
    Lightroom:  5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • Motion tracking is not working for videos but works for images?

    Motion tracking is not working for videos but works for images. When the videos is drop onto the tracking object the videos corner don't appear highlighted. I am working on windows 7 with version 13.1.

    ivanhoeeurope
    Are you within 30 days of purchase for the Premiere Elements 13? And, did you purchase as a download from Adobe? If so, you can
    apply for a return/refund for 13. If you purchased elsewhere, then you would be governed by the return/refund policy of the seller.
    Adobe no longer sells version 12, so you would have to find a vendor who still has it in stock and purchase it. There is no way to "downgrade"
    13 to 12.
    What you may want to do is to download and install the Premiere Elements 12 tryout from the following web site to verify that 12 Motion
    Tracking works for you; whereas 13 cannot with regard to use of video for the Motion Tracking source media.
    Adobe Photoshop Elements 12 Direct Download Adobe Photoshop Elements 12 Direct Download Links, Premiere too | ProDesignTools
    Apparently this web site does not sell the tryout. It just makes it available for use.
    Before I posted my reply to you I looked at Motion Tracking with video source media on both Premiere Elements 12/12.1 and 13/13.1 on the same Windows 7 64 bit computer.
    If any questions or need clarification, please do not hesitate to ask.
    Thank you.
    ATR

  • Software Update Point Switching is not working for some Clients

    Hi there,
    I found nothing similar here and I hope this is the right section.
    I´m running ConfigMgr 2012 R2 where one of the Site Systems from one of the Primaries is located in an untrusted Forest in a perimeter Network. The Site System there has the MP, SUP and DB Roles. In general it works great. The Systems in that untrusted Forest
    get the SCCM Agent pushed, see and can install published Software packages and receive Windows Updates. But there are a few systems where everything works, except Windows Updates.
    So I had a deeper look at what is happening and found out that the SUP switching is not working for them. They always try to contact the SUP from the Primary, which they cannot reach (this is intended).
    From how I understand SUP switching as described here
    http://blogs.technet.com/b/configmgrteam/archive/2013/03/27/software-update-points-in-cm2012sp1.aspx#pi140062=1
    the Windows Update Agent tries to connect to a SUP every 30 minutes and after 4 failed attempts he will try to connect to the next one until he finds one which works.
    As I said before, this seems to work for most systems in the untrusted forest, but some do not make any intentions to switch the SUP.
    So my next step was to find out from where the Update Agent can get the information of the available SUPs. I think they either don´t receive the information that other SUPs exist, or if the Information is there, they don´t realize that there´s an error and
    make no attempt to switch.
    I used the System Center Support Center to gather all Information from some of the systems with that problems (Log Files, WMI information, registry information, policies etc.) but I cannot find where SCCM or the Update Agent store the information which SUPs
    are available in my environment.
    I´m sure the problem is on the Systems which fail to connect to the right SUP and not in the SCCM infrastructure itself, because for most of the systems everything is working just perfect. Unfortunately in the Blog Post above there´s also no information
    where this information is stored and how it is obtained by the clients. In the comments there´s even one post which describes the same problem I have here, but there was no answer. I hope someone can point me into the right direction, because I´m stuck currently.
    Things I tried additionally to all the log file / WMI / registry sniffing:
    Removing the Software Distribution Folder and restarting the Windows Update Agent
    Removing the WindowsUpdate Registry folder in the HKLM\SOFTWARE\Policies\Windows section in the Registry and restarting the Windows Update Agent.
    Tried to reset the WUAgent with wuauclt /Resetauthorization additionally to the steps above.
    I also tried to manually set the WUServer and WUStatusServer Keys in the registry to the new Server, but as soon as the next Update Scan cycle runs, the value is set back to the URL of the Primary Sites SUP
    Is someone having additional ideas? It seems to me older systems are more affected (which were configured for a standard WSUS before SCCM 2012 was deployed) than newer ones which were installed when SCCM was in place already. But I don´t know what else to
    "reset" on those machines without reinstalling them.

    Thank you very much for your response. I must have missed that one by looking through numerous Logfiles. In this, there´s indeed a list of all available SUPs. So according to the LocationServices.log the machine should have a choice.
    The WMI Key however, contains just one entry and this is the URL of the Primaries SUP which is not reachable in the untrusted forest. Is it OK that the WMI entry includes only one entry? If yes, what process is putting the results from the LocationServices
    into WMI? It seems like the Windows Update Agent is feeded from the WMI Key then. If this is the case my problems seems to be the "communication path" between these two components.
    Is this the job from the SCCM Agent, the Windows Update Agent or maybe some third component I´m not aware of? I wonder how I can fix this.

  • Auto_lexer (stemming) not working for other languages(other than english)

    Hi All,
    We are planning to use AUTO_LEXER instead of MULTI_LEXER and observed that stemming is not working for German where as it is working for English when I use AUTO_LEXER. I even used query templates but of no use.
    But when i use MULTI_LEXER, creating sub lexers for German and Enlgish, Stemming is working for German also after changing the session language and setting stemmer of wod list to German (Which is expected).
    Following is the code for AUTO_LEXER creation:
    CREATE TABLE test_auto_lexer(pkey NUMBER(5,0),
    lang_index VARCHAR2(3),
    content_text CLOB,
    CONSTRAINT test_auto_lexer_pk primary key (pkey))
    INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
    VALUES (1,'eng','I drive a bike')
    INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
    VALUES (2,'eng','I drove a bike')
    INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
    VALUES (3,'eng','I have driven a bike')
    INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
    VALUES (4,'eng','Just check for other things')
    INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
    VALUES (5,'eng','always drive a car')
    INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
    VALUES (6,'eng','it is nothing')
    INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
    VALUES (7,'ger','Ich fahre ein Fahrrad')
    INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
    VALUES (8,'ger','Ich fuhr ein Fahrrad')
    INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
    VALUES (9,'ger','Ich habe ein Fahrrad gefahren')
    INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
    VALUES (10,'ger','Aktivieren Sie einfach für andere Dinge')
    INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
    VALUES (11,'ger','immer Auto fahren')
    INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
    VALUES (12,'ger','es ist nichts')
    INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
    VALUES (13,'ger','sprechen')
    INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
    VALUES (14,'ger','sprach')
    INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
    VALUES (15,'ger','gesprochen')
    INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
    VALUES (16,'ger','tale')
    INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
    VALUES (17,'ger','Indlæg')
    INSERT INTO test_auto_lexer(pkey,lang_index,content_text)
    VALUES (18,'ger','tales')
    BEGIN
    ctx_ddl.create_preference('auto_lexer1', 'auto_lexer');
    END;
    BEGIN
    ctx_ddl.set_attribute('auto_lexer1','index_stems','yes');
    END;
    BEGIN
    ctx_ddl.set_attribute('auto_lexer1','language','danish english german');
    END;
    BEGIN
    ctx_ddl.set_attribute('auto_lexer1','alternate_spelling','german');
    END;
    CREATE INDEX test_auto_lexer_ix1
    ON test_auto_lexer(content_text)
    INDEXTYPE IS ctxsys.context
    PARAMETERS ('datastore ctxsys.direct_datastore filter ctxsys.null_filter lexer auto_lexer1')
    select to_char(content_Text) from test_auto_lexer where contains(content_text,
    '<query>
    <textquery lang="ger" grammar="context">
    $fahren
    </textquery>
    <score datatype="integer"/>
    </query>') > 0
    this doesnt work even after changing the session language. My default Sesson language is AMERICAN.
    Could any one help me with this, in case I am missing something here. I would be really thankful.
    Edited by: Nagendra Prasad on Jan 23, 2010 12:05 AM

    In the future, please begin a new thread for a new question and provide a link to a related question.
    According to the online documentation, Oracle only supports stemming for English, Dutch, French, German, Italian, Spanish, and Japanese. Oracle does not support Russian stemming, although you may have gotten some accidental results, due to identifying it as a different language and applying stemming rules for that language. The following manual sections show the languages available for the index_stems attribute of the basic_lexer and stemmer attribute of the basic_wordlist:
    Basic_lexer attributes:
    http://docs.oracle.com/cd/E11882_01/text.112/e24436/cdatadic.htm#CIHHBAAD
    Basic_wordlist attributes:
    http://docs.oracle.com/cd/E11882_01/text.112/e24436/cdatadic.htm#g1019326
    Also, please see the following note:
    Features not available in 11.2.0.3:
    http://docs.oracle.com/cd/E11882_01/readmes.112/e22488/toc.htm#BABDGGDB
    "Certain Oracle Text functionality based on third-party technologies, including AUTO_LEXER and CTX_ENTITY, have been disabled in this release (reference Bug 12618046). For BASIC_LEXER, the usage of the INDEX_STEMS attribute values that depend on third-party technologies, is also affected. If this impacts an existing application, contact Oracle Support Services for guidance."
    Also, the auto_lexer has been replaced by the world_lexer, which only has one attribute:
    http://docs.oracle.com/cd/E11882_01/text.112/e24436/cdatadic.htm#BHCJEGFJ
    I don't work for Oracle, so I don't know why they do things the way they do.
    So, you need to stick with the basic_wordlist for stemming, not the lexers. However, you may get better performance by combining the multi_lexer with the basic_wordlist, as the multi_lexer eliminates time spent on automatic language detection. But, you need to remember not to use the index_stems with your lexer, since it will conflict with the wordlist. I am not experiencing any time problems as you have. Please see the demo below. I have provided the whole script below that, so that you can reproduce it on your system. If you still have problems, then it may be due to differences in versions.
    -- demo:
    SCOTT@orcl_11gR2> select * from v$version
      2  /
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE     11.2.0.1.0     Production
    TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    5 rows selected.
    SCOTT@orcl_11gR2> select value from v$nls_parameters
      2  where  parameter = 'NLS_CHARACTERSET'
      3  /
    VALUE
    AL32UTF8
    1 row selected.
    SCOTT@orcl_11gR2> DROP TABLE news
      2  /
    Table dropped.
    SCOTT@orcl_11gR2> EXEC CTX_DDL.DROP_PREFERENCE ('my_wordlist')
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> EXEC CTX_DDL.DROP_PREFERENCE ('global_lexer')
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> EXEC CTX_DDL.DROP_PREFERENCE ('english_LEXER')
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> EXEC CTX_DDL.DROP_PREFERENCE ('german_LEXER')
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> CREATE TABLE news
      2    (pkey            NUMBER,
      3       lang            VARCHAR2 (2),
      4       short_content  CLOB)
      5  /
    Table created.
    SCOTT@orcl_11gR2> INSERT ALL
      2  INTO news (pkey, lang, short_content)
      3    VALUES  (1, 'en', 'I drive a bike.')
      4  INTO news (pkey, lang, short_content)
      5    VALUES  (2, 'en', 'I drove a bike.')
      6  INTO news (pkey, lang, short_content)
      7    VALUES  (3, 'en', 'I have driven a bike.')
      8  INTO news (pkey, lang, short_content)
      9    VALUES  (4, 'en', 'I always drive a car')
    10  INTO news (pkey, lang, short_content)
    11    VALUES  (5, 'en', 'This is nothing')
    12  INTO news (pkey, lang, short_content)
    13    VALUES  (6, 'de', 'Ich fahre ein Fahrrad.')
    14  INTO news (pkey, lang, short_content)
    15    VALUES  (7, 'de', 'Ich fuhr ein Fahrrad.')
    16  INTO news (pkey, lang, short_content)
    17    VALUES  (8, 'de', 'Ich habe ein Fahrrad gefahren.')
    18  INTO news (pkey, lang, short_content)
    19    VALUES  (9, 'de', 'Ich habe immer ein Auto fahren.')
    20  INTO news (pkey, lang, short_content)
    21    VALUES  (10, 'de', 'Es ist nichts.')
    22  SELECT * FROM DUAL
    23  /
    10 rows created.
    SCOTT@orcl_11gR2> BEGIN
      2    -- word list:
      3    ctx_ddl.create_preference ('my_wordlist',   'basic_wordlist');
      4    ctx_ddl.set_attribute      ('my_wordlist',   'stemmer',           'auto');
      5    -- english lexer:
      6    ctx_ddl.create_preference ('english_lexer', 'basic_lexer');
      7    -- german lexer:
      8    ctx_ddl.create_preference ('german_lexer',  'basic_lexer');
      9    ctx_ddl.set_attribute      ('german_lexer',  'composite',       'german');
    10    ctx_ddl.set_attribute      ('german_lexer',  'alternate_spelling', 'german');
    11    ctx_ddl.set_attribute      ('german_lexer',  'mixed_case',       'no');
    12    ctx_ddl.set_attribute      ('german_lexer',  'base_letter',       'yes');
    13    -- multi_lexer:
    14    ctx_ddl.create_preference ('global_lexer',  'multi_lexer');
    15    ctx_ddl.add_sub_lexer      ('global_lexer',  'default',            'english_lexer');
    16    ctx_ddl.add_sub_lexer      ('global_lexer',  'german',            'german_lexer');
    17  END;
    18  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> create index search_news
      2  on news (short_content)
      3  indextype is ctxsys.context
      4  parameters
      5    ('lexer            global_lexer
      6        language column  lang
      7        wordlist       my_wordlist')
      8  /
    Index created.
    SCOTT@orcl_11gR2> EXEC DBMS_STATS.GATHER_TABLE_STATS (USER, 'NEWS')
    PL/SQL procedure successfully completed.
    SCOTT@orcl_11gR2> COLUMN short_content FORMAT A30
    SCOTT@orcl_11gR2> ALTER SESSION SET NLS_LANGUAGE = 'AMERICAN'
      2  /
    Session altered.
    SCOTT@orcl_11gR2> set timing on
    SCOTT@orcl_11gR2> select * from news
      2  where  contains (short_content, '$drive') > 0
      3  /
          PKEY LA SHORT_CONTENT
             1 en I drive a bike.
             2 en I drove a bike.
             3 en I have driven a bike.
             4 en I always drive a car
    4 rows selected.
    Elapsed: 00:00:00.05
    SCOTT@orcl_11gR2> select * from news
      2  where  contains (short_content, '$drove') > 0
      3  /
          PKEY LA SHORT_CONTENT
             1 en I drive a bike.
             2 en I drove a bike.
             3 en I have driven a bike.
             4 en I always drive a car
    4 rows selected.
    Elapsed: 00:00:00.05
    SCOTT@orcl_11gR2> ALTER SESSION SET NLS_LANGUAGE = 'GERMAN'
      2  /
    Session altered.
    Elapsed: 00:00:00.01
    SCOTT@orcl_11gR2> select * from news
      2  where  contains (short_content, '$fahr') > 0
      3  /
          PKEY LA SHORT_CONTENT
             6 de Ich fahre ein Fahrrad.
             7 de Ich fuhr ein Fahrrad.
             8 de Ich habe ein Fahrrad gefahren.
             9 de Ich habe immer ein Auto fahren
    4 rows selected.
    Elapsed: 00:00:00.07
    SCOTT@orcl_11gR2> select * from news
      2  where  contains (short_content, '$fuhr') > 0
      3  /
          PKEY LA SHORT_CONTENT
             6 de Ich fahre ein Fahrrad.
             7 de Ich fuhr ein Fahrrad.
             8 de Ich habe ein Fahrrad gefahren.
             9 de Ich habe immer ein Auto fahren
    4 rows selected.
    Elapsed: 00:00:00.16-- script for you to reproduce the demo on your system:
    select * from v$version
    select value from v$nls_parameters
    where  parameter = 'NLS_CHARACTERSET'
    DROP TABLE news
    EXEC CTX_DDL.DROP_PREFERENCE ('my_wordlist')
    EXEC CTX_DDL.DROP_PREFERENCE ('global_lexer')
    EXEC CTX_DDL.DROP_PREFERENCE ('english_LEXER')
    EXEC CTX_DDL.DROP_PREFERENCE ('german_LEXER')
    CREATE TABLE news
      (pkey           NUMBER,
       lang           VARCHAR2 (2),
       short_content  CLOB)
    INSERT ALL
    INTO news (pkey, lang, short_content)
      VALUES  (1, 'en', 'I drive a bike.')
    INTO news (pkey, lang, short_content)
      VALUES  (2, 'en', 'I drove a bike.')
    INTO news (pkey, lang, short_content)
      VALUES  (3, 'en', 'I have driven a bike.')
    INTO news (pkey, lang, short_content)
      VALUES  (4, 'en', 'I always drive a car')
    INTO news (pkey, lang, short_content)
      VALUES  (5, 'en', 'This is nothing')
    INTO news (pkey, lang, short_content)
      VALUES  (6, 'de', 'Ich fahre ein Fahrrad.')
    INTO news (pkey, lang, short_content)
      VALUES  (7, 'de', 'Ich fuhr ein Fahrrad.')
    INTO news (pkey, lang, short_content)
      VALUES  (8, 'de', 'Ich habe ein Fahrrad gefahren.')
    INTO news (pkey, lang, short_content)
      VALUES  (9, 'de', 'Ich habe immer ein Auto fahren.')
    INTO news (pkey, lang, short_content)
      VALUES  (10, 'de', 'Es ist nichts.')
    SELECT * FROM DUAL
    BEGIN
      -- word list:
      ctx_ddl.create_preference ('my_wordlist',   'basic_wordlist');
      ctx_ddl.set_attribute     ('my_wordlist',   'stemmer',            'auto');
      -- english lexer:
      ctx_ddl.create_preference ('english_lexer', 'basic_lexer');
      -- german lexer:
      ctx_ddl.create_preference ('german_lexer',  'basic_lexer');
      ctx_ddl.set_attribute     ('german_lexer',  'composite',          'german');
      ctx_ddl.set_attribute     ('german_lexer',  'alternate_spelling', 'german');
      ctx_ddl.set_attribute     ('german_lexer',  'mixed_case',          'no');
      ctx_ddl.set_attribute     ('german_lexer',  'base_letter',         'yes');
      -- multi_lexer:
      ctx_ddl.create_preference ('global_lexer',  'multi_lexer');
      ctx_ddl.add_sub_lexer     ('global_lexer',  'default',             'english_lexer');
      ctx_ddl.add_sub_lexer     ('global_lexer',  'german',              'german_lexer');
    END;
    create index search_news
    on news (short_content)
    indextype is ctxsys.context
    parameters
      ('lexer            global_lexer
        language column  lang
        wordlist         my_wordlist')
    EXEC DBMS_STATS.GATHER_TABLE_STATS (USER, 'NEWS')
    COLUMN short_content FORMAT A30
    ALTER SESSION SET NLS_LANGUAGE = 'AMERICAN'
    set timing on
    select * from news
    where  contains (short_content, '$drive') > 0
    select * from news
    where  contains (short_content, '$drove') > 0
    ALTER SESSION SET NLS_LANGUAGE = 'GERMAN'
    select * from news
    where  contains (short_content, '$fahr') > 0
    select * from news
    where  contains (short_content, '$fuhr') > 0
    /

Maybe you are looking for

  • Error while invoking a scenario from another scenario through ODIStartScen

    hi, my requirement is to call a scenario from another scenario. the main scenario contains an interface to get data from jms que and put that in DB and then invoke the inner scenario through ODIStartScen and am executing the scenario through an agent

  • Question about proper export for 480 sequence out to 720

    I have 480 4:3 DV-NTSC footage in a 480 timeline. When I export it out, I choose 720. Now no matter which way I have exported these videos out, when I upload them to youtube and choose to view in full screen, the vid is always squished horizontally.

  • Asian characters in TOC

    Hi, I'm using Robohelp 7.0.2 and I'm having problems getting Japanese and Chinese characters to display correctly in the TOC of my project. My HHC and HHK files are correctly encoded as UTF-8 and show up correctly in the main Robohelp interface. My t

  • Customer Service - handling Warranty process for Materials

    Our Business, 1. Our Plant is 1000 - sold a Equipment to a Customer "C100" 2. A Material is broken in the part of Equipment - where the Material[M100] is under Warranty. 3. This Material[M100] is received in Plant 1000. 4. Then this Material[M100] is

  • Error deploying composite with  Human Workflow

    SOA 11.1.1.4 I have included Human Workflow and generated task flow in my composite/bpel process. When I deploy the bpel project, I get below error. [Error deploying archive sca_ProjectName_rev1.0.jar to partition "default" on server soa_server1 Depl