Problems with Standard Apps views (eBusiness Suite)

Hi all,
I am working with Oracle Application Express and Oracle eBusiness Suite 11.5.10. We have integrated OAE with EBS, but now we are having problems with the standard views (owner APPS).
I would need the help from somebody that works with OAE and EBS.
Once we want to query one of the standard views, like ap_invoices, it is necessary to initialize the session with a script like this:
begin
DBMS_APPLICATION_INFO.SET_CLIENT_INFO(219);
end;
This script lets us to access to the data from the table AP_INVOICES_ALL using the view AP_INVOICES.
Once I have run the script from SQL Commands (SQL Workshop), I try to run a query using the standard view, for example:
SELECT * FROM apps.ap_invoices
From a Report or from SQL Commands (SQL Workshop) always I get the next error:
"ORA-01722: invalid number."
However, if I run this query from SQL Plus (same db user), there is any problem, the query works and retrieves rows.
If I get the source code of the view, remove all the columns, keeping the next SQL:
SELECT 1
FROM ap.AP_INVOICES_ALL
WHERE NVL(ORG_ID,NVL(TO_NUMBER(DECODE(SUBSTRB(USERENV('CLIENT_INFO'),1,1),' ',NULL,SUBSTRB(USERENV('CLIENT_INFO'),1,10))),-99)) = NVL(TO_NUMBER(DECODE(SUBSTRB(USERENV('CLIENT_INFO'),1,1),' ',NULL,SUBSTRB(USERENV('CLIENT_INFO'),1,10))),-99)
Run this SQL in OAE and I obtain the error again, however from SQL Plus the query works correctly.
I suppose somebody that works this EBS and OAE has had this problem. How did you solve it?
Thanks in advance.
Regards, Luis
PD. I have tried to not used the views and use the tables filtering the ORG_ID and looks it can work, but I do not like this option.

Luis - I don't know where you are running these blocks - the SQL Command Processor in APEX? Anyway, for every APEX page request the engine executes something like the following, depending on your version:    begin
    dbms_application_info.set_client_info(g_user);
    dbms_session.set_identifier(substr(g_user,1,(64 - length(g_instance)-1))||':'||to_char(g_instance));
    dbms_application_info.set_module('APEX:APPLICATION '||to_char(g_flow_id),'PAGE '||to_char(g_flow_step_id));       
    exception when others then null;
    end;In the above code, the value of g_user is the logged-in username, perhaps ADMIN in your case.
Keep in mind that when you do a set_client_info in the database session, that persists only for the duration of the session. On the next page request, you'll get a new database session (or a recycled one).
Scott

Similar Messages

  • Problem with Local DCs View in NWDS 7.0

    Hi!
    I' ve got a problem with Local DCs view in NWDS: None of the standard-DCs (BI_MMR, BI_UDI, CAF a.s.o.) can be expanded and show their content. I already reinstalled IDE, but without success.
    Has anybody got an idea?
    Thanks a lot in advance!
    Regards,
    Thomas

    Hi,
    This is due to some files missed in Local development.
    Let me know Are you able to see <b>.confdef, .syncdb</b> and <b>buildvariant.config </b> files under Local Developement.
    If you are not able to see, UnInstall your NWDS, Remove Local developement under .dtc folder, then Re-Install NWDS.
    Hope this will help you.
    Thanks & Regards
    Vasundhara

  • Problem with Local DCs View in NWDS

    Hi!
    I' ve got a problem with Local DCs view in NWDS: None of the standard-DCs (BI_MMR, BI_UDI, CAF a.s.o.) can be expanded and show their content. I already reinstalled IDE, but without success.
    Has anybody got an idea?
    Thanks a lot in advance!
    Regards,
    Thomas

    Your setup might be incomplete: The SAR file extraction creates very long paths on your filesystem. If you do not extract to the rootfolder of disk, chances are the paths become too long and the installation exits, without any warning.
    If this is not the cause of your problem, check if the .dcdef files for the local DCs (plugin com.sap.tc.ap if I'm correct) were copied during installation.

  • Having problem with buying apps....   Recently upgraded to iOS 6

    Having problem with buying apps.... Get a error msg stating that I am logged in Egyptian store, and need to log in Emirates(UAE) store!!! But I am currently in UAE... This started after I upgraded to iOS 6

    Found a solution from one of the community posts
    One needs to go to the apps store --> select featured apps --> go to bottom of the screen and select your apple id tab --> on the pop up screen select 'view apple id' --> go to region and change to appropriate region.... Cheers

  • Folio download problem with Android app

    I still have a problem with the app. It's ok with the certificate now and ok on google play store.
    The app was updated on two android tablets and when I try to download an issue which was uploaded a few months ago with v30 DPS tools, the app can't download it because I need to upgrade the app.
    The first one was build with v25 tools, is this something with the certificate.
    Yves

    What version number shows in the about dialog of your application? You can get to the about dialog from the "..." or hardware menu button on your device while in the library view. Select "About".
    Also, can you send me a private message with the adobe ID that you're using to publish your folios?
    Neil

  • Problems with n97 apps connecting to network (Voda...

    Problems with n97 apps connecting to network (Vodafone UK – 3G)
    Recently a number of my apps which used to connect automatically to the internet (which ever was available – known wi-fi or 3g) have stopped doing this.  They now only connect to one known wi-fi.
    I’ve tried uninstalling and reinstalling each app, but this hasn’t solved the problem.  I’ve checked for software updates and do not believe any have been applied or are available.  All apps have been downloaded via Ovi on the phone.  I still am able to access the internet by the web browser which was installed on the phone and via google maps (which also still manages GPS position, search, etc).
    The apps which I notice causing a problem are:
    Sainsbury’s/nectar
    Tesco
    Map my tracks
    Snaptu
    Opera Mini
    Any one got any ideas???

    I have the same problem since i updated my mac to 10.5.6.
    Each time I have to do a diagnostic and retype the WEP password to have the internet connection.

  • Problems with Remote App on iOS 4?

    I have a new iPhone 4 and tried to use the Remote App in Connection with Apple TV. While I'am able to pair the remote app with Apple TV, I cannot use it properly. It works for a while, then it get's disconnected with a message that maybe a Firewall might be activated in the Router.
    I have no problems with Remote App connected to my iTunes Library. I also tried it with a iPod Touch which is still on iOS 3.1.3, no problems to connect to the Apple TV from there as well.
    Are there any known problems with iOS 4 and Apple TV?

    Chenks wrote:
    maybe for you, but isn't for me.
    i have the remote app on my iphone4 and it's connected to 2 appletv's.
    i don't experience any dropping of connection etc.
    May I ask what wifi hardware you use? It might be an wifi issue, but one which is only related with the "Bonjour" protocol which seems to be used for the Remote App. I found this thread which is older (iOS 3) but describing exactly the same problems:
    http://discussions.apple.com/thread.jspa?threadID=2048555&start=0&tstart=0
    bear in mind that the iphone4 is now "n" wifi compatible (2.4Ghz), so could it be that the "n" part of your network is poor and thus why you only see the problem on the iphone4 ?
    At least it is not poor when using it from other devices or moving a lot of data in other Apps. It is all Apple Hardware (nothing older than 2 years), and maybe that's the problem. I never had network hardware which made so much trouble, as Apples Airport series. I wouldn't wonder if it is an incompatibility between a new wifi chip in the iPhone 4 and a older Revision of an Airport device. But I don't know how to check - is there a system.log on the iPhone which I can access somehow?

  • HT204266 Hi, I have a problem with my app store. It doesn't open. Can you help please ?

    Hi, I have a problem with my app store. It doesn't open. Can you help please ?

    Morning lekogni,
    Thanks for using Apple Support Communities.
    For troubleshooting on this, take a look at this article:
    Mac OS X: How to troubleshoot a software issue
    http://support.apple.com/kb/ht1199
    For more information on this, take a look at this article:
    Troubleshooting the Mac App Store
    http://support.apple.com/kb/ts3624
    Best of luck,
    Mario

  • I'm having problems with my app, plants vs. zombies 2. It'll open and stay open for a few seconds then shut down. Help please.

    I'm having problems with my app, plants vs. zombies 2. It'll open and stay open for a few seconds then shut down. Help please.

    Check to see if there are Updates available... If already up to date...
    Try This...
    Close All Open Apps... Sign Out of your Account... Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
    Wait for the Apple logo to Appear...
    Usually takes about 15 - 20 Seconds... ( But can take Longer...)
    Release the Buttons...

  • I have a problem with your app store, always I want to update a new app, I want to know what Schiffer and novelty app! Most of my applications are in English, and they write what the improvement and renewal are written in English, and I do not speak the

    Hi
    I have a problem with your app store, always I want to update a new app, I want to know what Schiffer and novelty app! Most of my applications are in English, and they write what the improvement and renewal are written in English, and I do not speak the language! I try to copy the text, color (gray) is not successful, the variance can it, so we can copy the text and translate?
    I thank you for your help, it can help to humanize

    You are right, but how could i send it to Apple? when the phone company first replaced my iphone they had in stock alots of iphones and they just sent mine back to Apple and gave me a new one, so all i did is to give them my phone, but now how could i sent it to Apple? and i cant send it by myself, and the store wont do that, its a lost for them.. so sending it to Apple wasnt an option from the begining.
    and for the record, i dont think the store where i bought it is an authorized shop.. its just a store who boughts phone's from Apple in a low price and sells it in much more money..

  • I have a problem with buying apps in itunes Store. When you purchase the application fails payment. Asked to update the map. I have 2 credit cards with a positive balance. In what could be the reason?

    I have a problem with buying apps in itunes Store.
    When you purchase the application fails payment.
    Asked to update the map.
    I have 2 credit cards with a positive balance.
    In what could be the reason?

    contact itunes support

  • Hi , I have an iPhone 5S and I have got a problem with the app store : iI can't update my apps  , it is asking me to change frim the UK store to go to the french one , but i have already changed it and I am in the French one !! Help ! :(

    Hi , I have an iPhone 5S and I have got a problem with the app store : iI can't update my apps  , it is asking me to change frim the UK store to go to the french one , but i have already changed it and I am in the French one !! Help !

    Have you tried signing out of your iTunes & App Store on your device and then back in again - Settings>iTunes & App Store, click on Apple ID, then on Sign Out. Then sign in again and see if it accepts the password.
    If that doesn't resolve the issue,  try resetting your device (nothing will be lost): Hold down the Home and Power buttons at the same time and continue to hold them down until the Apple appears (up to 30 seconds). Once the reset is complete, the Slide to Unlock screen will display. See if the problem is resolved.
    Cheers,
    GB

  • Problem with pdf chrome viewer and javascript

    I have a problem with chrome pdf viewer. We have created a form with acrobat 9 pro, this form contains a javascript. When the form is printed or saved the javascript checks that all the mandatiry fields are completed and displays a message if some fields are uncompleted. The chrome pdf viewer doesn't display the warning message when the form is saved, and doesn't display the check box included in the warning message pop up to confirm that the user accepts to print the form. The control is correct with FF et IE
    Thanks for your help

    There are many PDF viewers. Adobe's, third party downloads, things that come with systems (Apple Preview, Microsoft 8 Reader), things built into browsers (Chrome, Firefox...) Adobe's software understands the full set of JavaScript. Some ignoresJavaScript altogether. Some do selected JavaScript. This is a bit of a mess, but nothing can be done about it EXCEPT that you can demand your users use Adobe Reader. Whether they actually will depends on how important your needs are to them.

  • I had problem with my apps,they open for a while and closes with in seconds i cant acess them

    i had problem with my apps,they open for a while and closes with in seconds i cant acess them and i had this with all apss,expect apple apps

    Do you have a lot of apps? Did you use a lot of apps recently? If so, many of them may still be resident in memory even if you aren't currently using them. Double-tap the home key and you should see the app tray with a list of most recently used programs. Press and hold the icons in the tray and remove the ones you don't use often to remove them from memory. Powering off and then back on might also help.
    My wife's iPod does that sometimes, and it's usually because we run out of memory due to apps remaining in memory even when not used. The suggestion above is how we normally fix the problems.

  • Hi i'm using iphone 4 and i have problem with viber apps while i'm installing

    hi i'm using iphone 4 and i have problem with viber apps while i'm installing & registration process its says error on system mainternance. can you please help me out?
    thank you.

    OK, let's try again. Wind is NOT a supported carrier. In order to use tethering, it must be supported and activated by your carrier for the iPhone. This usually involves an additional fee.  You will have to ask your carrier if they can enable it. Odds are, since they are not a supported carrier, they can not. If you want to use tethering, you will most likely have to switch to a supported carrier that offers this feature on the iPhone.
    A list of supported carriers can be found here: http://support.apple.com/kb/ht1937

Maybe you are looking for

  • How can I restore my old Apple ID?

    I can not use my old Apple ID. I update app from Apple store by my IPhone 4S. I type my password and receive message "you are not member of administrator group". And I can not use my Apple ID any more. I create a this new one for ask this question. H

  • After syncing songs are still showing on my iPhone even though I did not check them in my library. These songs were originally on my iPhone but I no longer want then there.

    I have an iPhone 5S.  I am on iOS 7.1.1.  After selecting the music from my itunes library and synced with my iPhone, some old songs still remain on my iPhone.  How do I remove those songs.  I want them to be in my library but not on my phone?

  • Problem when updating af:table with new records

    Hi, I have a page that shows two tables from the same DB table but with different VOs. Table1 displays records where date_column is within the current month, table2 displays all records. The problem is that when I add new record and return to the pag

  • BAPI ERROR RECORDS

    Hi Gurus, In Bapi i am able to get the error document number in debugging(background) but i could not able show the same in the out put message. Scenario: when uploading excel file related to goods movememnt from functional module goods_movemvt_ crea

  • DW8 CSS Window display problem

    Paging the font of all knowledge! In my CSS display window I have lost the 'tree' display - it's now showing the individual properties per item in a grid box - how do I get the original tree display back?? TIA! Buzby "There's nothing more dangerous t