jsp:useBean, oc4j does not allow more than one???

Hi,
I have a jsp in which i access a bean class.In the same jsp i have another included jsp in which i use one more bean class.The error i get is: "Tag attempted to define a bean which already exists:2nd bean id". Does oc4j not support more than one bean class?Can anybody suggest where i am going wrong?

Hi Shilpa,
Is this a Z module pool or you are talking about the standard.
If it is Z module pool create a new lock object of type exclusive or look out for standard lock object for purchase order in SE11.
after generating the custome lock object SAP would generate 2 function modules 1) Enqueue_<lock object name> (Request lock) 2) Dequeue_<lock object name>(Release lock).
call these lock FM'S in your module pool likely in the PBO call the Enqueue FM and process your transaction and finally by the end of the transaction call the Dequeue FM to release the lock locked.
I believe you can try with the lock object 'EMEKKOE'
Hope this helps you.
Thanks and Regards,
Ranjith Nambiar

Similar Messages

  • Should not allow more than one attendance or absence code on any given day

    Hi Hr Experts ,
    I need to use customer enhancement in my program.
    CATS should not allow more than one attendance or absence code on any given day. requirement is
    that each day will be either a full attendance or full absence and there will not be any mixture.
    Function/Program: u2022
         EXIT_SAPLCATS_006: CATS: Validate Entire Time Sheet
    transaction code CAT2.
    how to code the same?

    hai,
    check the Time constraint class for absence/attendance types.
    Regards,
    Chiran Reddy.

  • Not allow more than one person to change program

    Hi All,
    My requirement is that i want to change details of purchase order in module pool programming. I dont want more than one prson to change the same purchase order at the same time. Can someone tell me how can i achive this.
    Regards
    Shilpa

    Hi Shilpa,
    Is this a Z module pool or you are talking about the standard.
    If it is Z module pool create a new lock object of type exclusive or look out for standard lock object for purchase order in SE11.
    after generating the custome lock object SAP would generate 2 function modules 1) Enqueue_<lock object name> (Request lock) 2) Dequeue_<lock object name>(Release lock).
    call these lock FM'S in your module pool likely in the PBO call the Enqueue FM and process your transaction and finally by the end of the transaction call the Dequeue FM to release the lock locked.
    I believe you can try with the lock object 'EMEKKOE'
    Hope this helps you.
    Thanks and Regards,
    Ranjith Nambiar

  • Add_dim  does not allow more than 1 member - Important

    Hi,
    Im performing correctly some data copy to another app.
    The problem is that when I use  add_dim  it is not possible  to input more than 1 member per dim.
    How can i fix this?
    I.e. 
    Conceptos.vap (all this members) -->   account 40000 (destination member)
    Conceptos "toner"  --->  account 50010 (destination member)
    I wanted to simplfy my script  by typing this (to me this is supposed to work, is very simple, also running a script separately works for both Conceptos)
    *select(%conceptos%,"id","conceptos","vap='i'")
    *xdim_memberset conceptos=%conceptos%
    *xdim_memberset moneda=mxn,usd
    *xdim_memberset lob=servicios_out
    *xdim_memberset metrica=importe_p
    *xdim_memberset consumibles=consumibles_dummy
    *xdim_memberset tiempo=%tiempo_set%
    **WHEN conceptos
    **IS %conceptos%,toner*
    WHEN metrica
    *IS importe_p,importe_r
    *REC(FACTOR=1,metrica="dummy_metrica")
    *ENDWHEN
    *ENDWHEN
    *COMMIT
    *DESTINATION_APP= ALLDORA_FINANZAS
    *xdim_memberset moneda=mxn,usd
    *xdim_memberset lob=servicios_out
    *xdim_memberset metrica=dummy_metrica
    //*xdim_memberset oi <> oi_dummy
    *xdim_memberset tiempo=%tiempo_set%
    *skip_dim = conceptos
    *skip_dim = consumibles
    *add_dim ceco=A010ops001
    *add_dim cuenta=40000, 50010  --->  ERROR !!!!
    *add_dim empleado=empleado_dummy
    *WHEN conceptos
    *IS %conceptos%
    *REC(FACTOR=1,cuenta="40000")
    *IS toner
    *REC(FACTOR=1,cuenta="50010")
    *ENDWHEN
    *commit
    If I just type separately the logic for each one WITHIN the same script, the Account destination member taken is the one found at the bottom of the script, i mean, it is not performing the input in the final Account (40000 and 50010), just for one of them.
    However... since i have to do 14 different logics, it is very awkward to execute 14 scripts... in order for this logic to work,
    Thanx
    Velázquez

    Hi Velázquez,
    The *ADD_DIM statement only allows you to assign one new dimension and one new dimension member to your destination application.
    from the documentation:
    *ADD_DIM {dimension name}=[,{dimension name}=,u2026]
    Sorry this is a limitation.
    Instead of skipping and then adding the following:
    skip_dim = consumibles
    *add_dim ceco=A010ops001
    *add_dim cuenta=40000, 50010 ---> ERROR !!!!
    Maybe you could try renaming:
    i.e.
    *RENAME_DIM consumibles=cuenta
    And then add that dim to REC statement:
    *WHEN conceptos
    *IS %conceptos%
    *REC(FACTOR=1,consumibles="40000")
    *IS toner
    *REC(FACTOR=1,consumibles="50010")
    *ENDWHEN
    You may need to play around with your logic and see what works.
    Thanks,
    John

  • HTTP GET Error - PI does not allow more than 200 chars in the dynamic URL

    Hi Everyone,
    Scenario RFC <-> PI <-> HTTP (GET).
    PI 7.1, Service Pack 05.
    HTTP Setup > URL Address
    The response comes back from the target server when stuffing the URL path in the communication channel "Path" field.
    /rest?&xml_request=......................................................
    The requirement is to dynamically create the URL in the mapping program. While doing this the interface error out saying the URL exceeds the character limit of 200.
    Any thoughts on this would be highly appretiated.
    Thanks,
    AJ

    Please check Mark's reply
    http://forums.sdn.sap.com/thread.jspa?threadID=1944129

  • Best way to not allow more than one user on page.

    Do not want another user editing a record on a page when another user is on that page.  Any ideas on the approach I should use?

    Please provide more information. What you describe is the normal, default situation anyway.
    A thousand of us have opened a page. Our browsers each caches a copy of the page. So, in normal circumstances, one is not really on the page. If the 1001st client were to open the page and edit the record, we wouldn't be aware of the change till we refresh or revisit the page.

  • The History item in FireFox 7 does not offer more than one day; earlier versions offered day, week & month. Can I have this in version 7?

    When selected, the FireFox tab at the extreme leeft of the screen gives a dropdown with two colums. The right hand colums includes History, but, when selected, only gives the history of the day, whereas earlier versions gave the histories of that day, week and prior months.
    How can I get this in version 7? Or must I download an earlier version, say 4?
    Thanks.

    Unfortunately I tried that and it didn't work. Thanks for the help though. I tried to uninstall and it said I couldn't because the file is corrupt or something, but I think I finally got it uninstalled and/or deleted or whatever, but now I try to reinstall/download it again from the beginning and I can't. No matter what I do I can not get Firefox working again. No matter how many times I try to redownload it. Any other suggestions?

  • HD-DVD created with DVDSP will not use more than one subtitle track

    I have made an HD-DVD with DVD Studio Pro 4.1.2, and added 4 subtitle tracks. When I play the dvd on a Toshiba A1, Apples DVD player and in the emulator I can change the subtitle track in the way that I can see the country code is changing, but no matter what it will only show me the subtitles from the first subtitle track. If I try to change the subtitle track using the remote, I can only turn the first subtitle track on and of, not switch between the different subtitle tracks. I'm a skilled dvd author, and have had several other authors look into the project finding no errors in my programming, so could this be a bug in DVD SP? Does it not allow more than one subtitle track?

    Could be a bug in DVDSP. Also could be a bug in the players firmware. DVDSP never really made it has a fully functional HD DVD authoring tool.

  • Firefox will not open more than one window and upon restarting will not open the previous tab and refuses to open bookmarks

    Firefox does not open more than one window. I can open plenty of tabs, but not more than one window. Upon closing firefox and trying to restart the browser will not open and needs to be closed through windows task manager. Upon trying to re-open Firefox I receive the 'oops this is embarassing , firefox cannot re-open your tabs" message. When I click on "new session" the bookmarks do not load. It is becoming very frustrating as I am a student and often do lots of research on the web while using lots of open windows.

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    See also "Hang at exit":
    * http://kb.mozillazine.org/Firefox_hangs
    * [[Firefox hangs]]

  • Please, the battery of my mac air does not last more than two hours, it's been over 30 days I sent for technical assistance and nothing! I am very disappointed with the mac air, I had a very different expectation of apples products!!

    Please, the battery of my mac air does not last more than two hours, it's been over 30 days I sent for technical assistance and nothing! I am very disappointed with the mac air, I had a very different expectation of apples products!!!

    Maybe the problem is not your MB Air......
    Try these:
    Make sure bluetooth is turned off if you're not using it.
    Set your screen brightness to 4 bars.
    See what's loading in your login items.  Delete the ones you don't need.
    Open Activity Monitor - under All Processes see what's using most of your CPU's resources.
    Highlight the ones with the highest %CPU and hit quit process.
    Remember that when Apple says that your battery should last 7 hours, they tested it just browsing the web and not have anything open in the background and screen is set at 50% brightness.

  • In Query mode, date items does not accepts more than 10 characters..Why?

    Dear All,
    In my form, While querying my date items, it does not accepts more than 10 Characters. Could it be changeable.
    Actually i want to search like greater than specified date( >01/01/2007 ).
    But i can specify like >01/01/07. After tabbing out from that item, it displays like >01/01/200.
    How to overcome this issue.
    Please help.
    Regards,
    Balaji

    You are absoletely correct Francois!
    Previously i have made a mistake that both of my maximum length and query length property to 20. That time it was not worked. Now i changed my maximum length to the old one like 11 and i changed only the query length to 20.
    Now it is working. I understood the concept wrongly.
    Thanks Francois!

  • In which IT To Date is not allowed & not having more than one record

    Hi all,
    Could you please tell me "In which IT To Date is not allowed & not having more than one record ?"
    Thanks in advance
    Regards,
    Asiya

    Hi,
    Just go through IT0003 and see if it fulfills the requirements or not.
    Param

  • Iphone does not sync more than 3 mobile numbers with outlook

    as title says: iphone does not sync more than 3 mobile numbers with outlook.
    when i have a contact in iphone and i add more mobile numbers than just one, they do not pass through to outlook 2007. i realize this is because there is no room in outlook for more than 2 (if i remember correct) mobile numbers,but is there a workaround?

    I've got the same problem but with a "4 number" limit. Many of my outlook contacts have more than 4 numbers associated with them but the iPhone contacts app only shows/syncs 4 numbers. Any way to increase this limit on the iphone?

  • How to write validation in java sript item should not allow more than 20 ch

    HI,
    I need to write validation in java script for a item it should not allow more than 20 characters.
    Thanks
    Nr

    If this answers your question, please mark your question as answered (so everyone knows it is answered) and assign points where you see fit..
    Thank you,
    Tony Miller
    Webster, TX

  • Adobe Reader does not print more than 5 pages Toshiba E-Studio 232 in Windows 7

    Adobe Reader does not print more than 5 pages Toshiba E-Studio 232 in Windows 7.
    I contacted Microsoft representatives said the problem is the Acrobat Reader once all other applications print without problems.
    Please help me!

    We have the same problem with our TOSHIBA e-STUDIO6540C. We've tried different versions of adobe reader, even acrobat and many times it will only print some pages of any given document. Did you find a solution? To me it sounds like a toshiba issue but just wondering.

Maybe you are looking for

  • Support for "escape-uri-attributes" in xsl:output ???

    Does XSLT processor supports new attribute "escape-uri-attributes" for xsl:output element?

  • Can't see shared iPhoto library

    Computer A can't see Computer B's shared iPhoto library, but B can see A's. Both are running identical versions of iPhoto. Both can see each other's iTunes library. Both can connect to each other over the network and transfer files to and fro (they'r

  • Error while navigating to a View in one Application from another Applicatn

    My Application has a set of views and in one view lets say View A  there is a link while clicking on the link it triggers a outbound plug and a new view gets opened.There is another application which calls the View A of my application (when a navigat

  • How to disable weblogic built-in HTTP session filter?

    Hi, I want to use my own HTTP seesion filter to manage HTTP session on weblogic clustered servers. It seems that weblogic servers plugin its HTTP session filter already for servlet. How can I use my own HTTP session filter to replace WebLogic built-i

  • Microsoft Office for Mac a good installation?

    Have given a grand daughter a 15 inch RetMBKPro running OS 10.9.4 for college. Is Microsoft Office for Mac a recommended piece of software to install? Is it supported by Microsoft? Are there any known problems with its use in a MAc?