Integrating Oracle APPS with APEX using popay_apex package...

Hi,
I am a newbie in APEX and tried to explore it only a few months back...
I must admit that this tool is Awesome..!!!
Also, I tried to integrate Oracle EBS 11i with APEX using [popay package |https://sites.google.com/a/popay.be/apex-on-apps/integration] and the integration was absolutely fantastic...!!!
h6. (Thanks Thierry for your impecabble work on developing and releasing this excellent package under BSD License !!!)
My question is,
I have created an Online Leave Application (OLA) in APEX which should retrieve the username from EBS Login and display the leave information of that particular user.
I have created the OLA in APEX and registered it in EBS as a form function and also attached it to a user responsibility.
When I run the form thru the EBS Responsibility logged in as a EBS user, the OLA Application opens in a new window...
But,
The username is retrieved as APPS instead of the user's login info.
because of this retrieval the global variable :APP_USER is storing the username as APPS and all my internal references with :APP_USER has been erroring with "NO DATA FOUND", since there is no user login as APPS.
Is there any way to overcome this bottleneck...?
Or Do I need to add any code in the APEX >Application >Security > VPD
Thanks in Advance...
Ben

Hi,
I have solved the issue, Thanks to Rod & Thierry !
I have created a cookie to send the apps username to my APEX application.
(Added this code snippet in the popay_apex.start_application procedure)
--------<CODE>------------------------------------------
l_user := fnd_global.USER_NAME;
OWA_COOKIE.send
+(NAME=>'APEX',+
VALUE=>l_user,
path=>'/');
---------<ENDS>----------------------------------------
(Created an on-load before header process at page 1 and fetched the cookie value to an application item.)
-----------<CODE>-------------------------------------
DECLARE
c OWA_COOKIE.cookie;
a wwv_flow_global.vc_arr2;
BEGIN
c := OWA_COOKIE.get('APEX');
a := htmldb_util.string_to_table(c.vals(1));
+:F101_USER := a(1);+
EXCEPTION WHEN OTHERS THEN
NULL;
END;
-------------<ENDS>---------------------------------------
It's a mashup of Rod & Thierry's work....!
Hat's off to Rod & Thierry !
Ben

Similar Messages

  • Integration of Oracle Apps with the Third Party Label Printing Software

    Hi,
    I am integrating Oracle Apps R12 with the third party Label Printing Software(Bartender).
    For generating the Label, I have to create the XML file in Oracle Apps and with the help of Oracle WMS i have to transfer the XML file to the TCP/IP Port.
    Third Party Label Printing Software will pick the file from the TCP/IP Port.
    I am not able to find the way to send the XML file generated by the concurrent program to the TCP/IP Port using Oracle WMS.
    Below are the few links for Oracle WMS:
    http://docs.oracle.com/cd/B25284_01/current/acrobat/115wmsug.pdf
    http://docs.oracle.com/cd/E18727_01/doc.121/e13434/T210618T210847.htm#T210864
    Thanks In Advance..

    Hi,
    I assume, i have already setup profile 'WMS: Label Print Mode' to Synchronous - TCP/IP.
    Basically, you dont have to create any concurrent program for XML creation, Oracle will do it for you 'out of box'.
    Also set 'WMS: Synchronous TCP/IP label request delay' to 100, this is a required step, though none of the documentation talks about it.
    if you think that all the requests are not handled correctly, then you will need to increase this delay further.
    Lastly, verify that the printer is setup correctly in Oracle (Place where you specify IP Address and port)
    Thanks,
    Hrishikesh

  • Integration of Oracle Apps with the Third Party Label Printing Software(Bar

    Hi,
    I am integrating Oracle Apps R12 with the third party Label Printing Software(Bartender).
    For generating the Label, I have to create the XML file in Oracle Apps and with the help of Oracle WMS i have to transfer the XML file to the TCP/IP Port.
    Third Party Label Printing Software will pick the file from the TCP/IP Port.
    I am not able to find the way to send the XML file generated by the concurrent program to the TCP/IP Port using Oracle WMS.
    Below are the few links for Oracle WMS:
    http://docs.oracle.com/cd/B25284_01/current/acrobat/115wmsug.pdf
    http://docs.oracle.com/cd/E18727_01/doc.121/e13434/T210618T210847.htm#T210864
    Thanks In Advance..

    Pl do not post duplicates - Integration of Oracle Apps with the Third Party Label Printing Software

  • Integration Methods - Oracle Projects with Primavera using API

    Hi,
    We are trying to do manual integration in between Oracle Projects with Primavera using API, if some one can able to help us on the process and procedure that would be really helpful....
    Thanks
    Rgds,
    Vijay
    [email protected]

    Hi,
    The Primavera intergration works with the "Standard Intergration" of Oracle 11i & R12.1 with the version of P6, this is the statement was in by the market experts. Even I have not worked on this intergration part of primavera with Oracle. still, I can provide you some search engine links, which could help you in http://www.projectp.com/products/op3.php ; http://www.projectedconsulting.com/index.php/community/blog/2010/04/primavera-and-oracle-projects-integration/
    Lavanya

  • INTEGRATION OF ORACLE APPS  WITH MOBILE SMS

    {color:#3366ff}Dear All,
    I would like to Integrate the Oracle Apps with Mobile SMS,
    The Task is that..
    " WHENEVER THE PURCHASE ORDER IS RELEASED BY A SENIOR PURCHASE MANAGER, THEN A SMS MESSAGE HAS TO COME TO HIS SENIOR MANAGERS MOBILE Phone "
    Is it Possible to Integrate Oracle Apps with Mobile Phone if it is possible then send me the DEMO Application procedure.....................
    Please help me out..
    Regards,
    Vijay .
    {color}

    Sending an SMS is a relatively small customisation if you work with an SMS aggregator such as Clickatel or TXTLocal. Both expose simple Web Service api's that you call with the phone number and message text as parameters. The aggregator then hands the message off to the mobile phone network for delivery to a users phone. The aggregators also provide web services that allow you to be notified when they receive an SMS message for you. So if you wanted to be really smart you could allow the user to reply to the original SMS with "Approve" or "Reject" and update the status of the PO/requisition automatically and advance the workflow.
    Edited by: mzjarvis on 19-Nov-2008 15:36

  • Best practice for integrating oracle atg with external web service

    Hi All
    What is the best practice for integrating oracle atg with external web service? Is it using integration repository or calling the web service directly from the java class using a WS client?
    With Thanks & Regards
    Abhishek

    Using Integration Repository might cause performance overhead based on the operation you are doing, I have never used Integration Repository for 3rd Party integration therefore I am not able to make any comment on this.
    Calling directly as a Java Client is an easy approach and you can use ATG component framework to support that by making the endpoint, security credentials etc as configurable properties.
    Cheers
    R
    Edited by: Rajeev_R on Apr 29, 2013 3:49 AM

  • How to integrate Oracle Financials with Oracle9iAS using portlets

    Hi,
    Can any one help me out on integrating Oracle 9iAS with Oracle Apps. Please let me know, possible ways to do integration and how do I go about it?. Any help in this regard is greatly appreciated.
    Cheers,
    Madhu

    Hi
    You can only paste the Apps sign url to (portal) then you could be able to launch the Oracle financials sign on when you clicked on portel link.
    Hope it helps..
    Thanks and Regads
    Riyas
    Oracle Consultant
    [email protected]

  • How to Integrate Oracle Apps with BPEL

    hi
    How to Integrate Oracle Apps with Fusion Middleware(BPEL) ?
    Please Provide me steps:
    Regards,
    Khushal

    hi,
    There is an adapter thats being provided with the standard adapter set with SOA installation . There are several ways of integrating with Oracle Apps . The adapter has all the options listed out.
    Regards,
    Ajay

  • Integrating Oracle Help with Discoverer Plus

    Folks -
    Has anyone tried integrating Oracle Help with Discoverer Plus. I want to add my customized help (generated in RoboHelp - Oracle) to the help in Discoverer Plus. Is this doable? I don't want to use Oracle Help exclusively unless I need to.

    Hi, Johnny.
    I think you might have better luck getting your question answered on the forum for Discoverer at Discoverer
    I'm not sure whether Discoverer supports extensions, but I would assume that they do in some way. Discoverer ought to provide a standard mechanism for extensions to provide help content.
    Hope this helps,
    Ryan Pollock
    Oracle Help Team

  • How can i get apps with out using credit card info because i do not have a card ?

    how can i get apps with out using credit card info because i do not have a card ?

    Yo Chris. I've been following your answers to different threads and quite frankly, you're very keen in answering everybody regarding this stupidity that Apple has brought upon its customers. Kudos to you. But the problem is, most of the time, in some devices, your solution doesn't work because the NONE option is not there. The same goes for me.
    Meanwhile, I found a temporary workaround for the iPhone 4s, iPad 2 and iPod Touch 4th Gen.
    Register a free Apple ID from the iCloud Settings.
    Go to Settings>iCloud>Account>Tap Payment Information on the Storage Plan Category.
    Fill in the other boxes and choose "None" on Credit Card Information.
    That's it! Hope I helped those who still couldn't find the "None" Option.
    Must be running IOS 5.0.1 though, else there would be no iCloud.

  • I want to get a free app with out using a credit card?

    I want to get a free app with out using a credit card? How can I ?

    Lawrence01 wrote:
    I want to get a free app with out using a credit card? How can I ?
    Search before posting or see the "more like this"s section on the right side of this page.  Your question has been asked and answered many times.

  • Integrating oracle iStore with portal

    Hi,
    We need to build a B2C product catalog. I need answers to a couple of the questions listed below:
    1.Is there any inbuilt commerce functionality present in Oracle 9ias Portal?
    2. Is there any third party product available for building a product catalog of say eg. shoes?
    3. Is it correct to say that oralce iStore is the ans. to building the product catalog?
    4. what are the integration issues for integrating oracle iStore with portal?
    Prompt reply would be a great help.
    Thanks in advance.
    Ankita

    Hi Kishore,
    Here you find information on integrating Reports with Portal: Oracle Application Server Reports Services Publishing Reports to the Web.
    Peter

  • Integrating Oracle EBS and ApEx Aplication with Responsibilities and SSO.

    Good day all.
    I am looking forward from getting somebody 's help, the trouble I am facing is described below:
    a) I am currently working on SSO with EBS. I mean, my users can connect and work perfectly.
    b) ApEx is Configured as Application Partner with SSO, and the application we built (it's call PR-Auto)
    is working good under SSO platform. I mean I am able to login using TEST user and password TEST in
    both applications (EBS and PR-Auto).
    c) The thing is that I need to call PR-Auto from one responsibility in EBS;
    Following my setup for the responsibility:
    - I have created a function:
    Name: APEX_FA_PR
    Properties:
    Function type: SSWA plsql
    Web HTML :apps.apex_launcher.launch_fa_pr
    Web Host agent: pls/apex
    - I have created a menu, application and responsibility using the function APEX_FA_PR.
    - I have create launcher package:
    create or replace package apex_launcher is
    procedure launch_fa_pr;
    end apex_launcher;
    create or replace package body apex_launcher as
    procedure launch_fa_pr as
    begin
    /** 110 Is ID of PR-Auto, my app **/
    /** 5 is my home page **/
    f(p=>'110:5');
    end;
    end apex_launcher;
    d) New responsibility shows on EBS menu page.
    e) Click on responsibility, and the page shows 'redirecting to login server for authentication', but
    nothing happens, page goes blank with this url:
    http://fahorromex37.fahorro.com.mx:8004/pls/apex/wwv_flow_custom_auth_sso.process_success?urlc=v1.2~42
    03F9A8A1D696097BEA96499E6B6845E80C14A56DF724C3FFF879578FC734C5E1DEEA9129A4117E62A3676A409528E8EB927AA55
    0EA7B208C34F5A3FDB4472679EDE448F8971966BE9BADD22207FE90BDBA2800E6529F3967A18DEC76DCC17DE21D96A65CA2C424
    319F159CC78ED78E8B99F69F1BA8297A1EECF6AD137A6C3896E1C4E8D5F93874A9A08887D3F95058D33F667D7B785FF0A065B53
    891B8B393DFD24530BD0720150F05DE63F0CD5AFD86F0267BAF4C9CAE8C5AA693B4E488B3776BF43450FD412167B402C962BABE
    A54707043AFA6FBB168B29EDB3BE120FFE0C30683D53283B036E781ABF1A5F7374ADF83463D57D2EE958765B0501CE2B0F4E3DF
    24845A54A1CF02526FA39EF60644ED5A0D9D2A05EBFAD3BD01007D0817135989A4B97D68C92C6E2BA767CFDB0AF188054024BB1
    EFFA7DEC8699BBA7485A349D87BA1C15475927E52110DF56FCC3FD560D2CBBA1C0D7D9D3ADFCDB975CD2
    the address of my application pr-auto is http://fahorromex37.fahorro.com.mx:8004/pls/apex/f?p=110
    f) DBA teams follow instructions from the following documentation
    "Integrating Oracle E-Business Suite Release 11i with Oracle Internet Directory and Oracle Single Sign-On"
    and "Note 261914.1 Integrating Oracle E-Business Suite Release 11i with Oracle Internet Directory and
    Oracle Single Sign-On"
    g) We are using:
    DB: Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    SO: Linux 2.6.9-42.ELsmp
    ApEx: 3.0.1.00.07
    Any help will be greatly appreciated.
    J.O.

    Many Thanks Daniel for your prompt reply.
    Tried to understand the white Paper and your thread but I am still facing problem,although able to Call ApEX page but now i
    want to pass th e session Id where I am stuck.
    MY three functions:
    CREATE OR REPLACE FUNCTION SYMAPEX.apex_authorise (
    p_username IN VARCHAR2
    , p_password IN VARCHAR2) RETURN BOOLEAN
    AS
    BEGIN
    IF apex_validate_hash (p_username, p_password) THEN RETURN TRUE;
    END IF;
    RETURN (FND_WEB_SEC.validate_login@VCSDEV2_QA (p_username, p_password) = 'Y');
    END apex_authorise;
    CREATE OR REPLACE FUNCTION SYMAPEX.apex_generate_hash (
    p_string IN VARCHAR2
    , p_offset IN NUMBER DEFAULT 0) RETURN VARCHAR2
    IS
    BEGIN
    IF p_string IS NULL THEN RETURN NULL;
    END IF;
    RETURN RAWTOHEX(UTL_RAW.cast_to_raw(
    DBMS_OBFUSCATION_TOOLKIT.MD5(input_string=>p_string||':'||
    TO_CHAR(SYSDATE-(p_offset/24*60*60),'YYYYMMDD HH24MISS'))));
    END apex_generate_hash;
    CREATE OR REPLACE FUNCTION SYMAPEX.apex_validate_hash (
    p_string IN VARCHAR2
    , p_hash IN VARCHAR2
    , p_delay IN NUMBER DEFAULT 5) RETURN BOOLEAN
    IS
    BEGIN
    FOR i IN 0..p_delay LOOP
    IF p_hash = apex_generate_hash (p_string, i) THEN RETURN TRUE; END IF;
    END LOOP;
    RETURN FALSE;
    END apex_validate_hash;
    MY Launch Procedure:
    CREATE OR REPLACE Package body OAE_PKG1 AS
    PROCEDURE LaunchOAE1 (application IN NUMBER DEFAULT 101
    , page IN NUMBER DEFAULT 111
    , request IN VARCHAR2 DEFAULT NULL
    , item_names IN VARCHAR2 DEFAULT NULL
    , item_values IN VARCHAR2 DEFAULT NULL)
    AS
    BEGIN
    OWA_UTIL.mime_header('text/html', false);
    OWA_COOKIE.send
    (name=>'APEX_APPS_'||application,
    value=>FND_GLOBAL.user_name||':'||apex_generate_hash@QA_VCSDEV2(FND_GLOBAL.user_name),
    domain => '.orvcsd01.symprod',
    path=>'/');
    OWA_UTIL.redirect_url('http://orvcsd01.symprod.com:7780'||'/pls/apex/f?p='||application||':'||page||'::'||request||':::'||ite
    m_names||':'||item_values);
    END LaunchOAE1;
    END OAE_PKG1;
    MY On Load before headre process:
    DECLARE
    c OWA_COOKIE.cookie;
    a wwv_flow_global.vc_arr2;
    BEGIN
    c := OWA_COOKIE.get('APEX_APPS_101');
    a := htmldb_util.string_to_table(c.vals(1));
    :P111_USERNAME := a(1);
    :P111_PASSWORD := a(2);
    IF :P111_PASSWORD IS NOT NULL THEN
    wwv_flow_custom_auth_std.login(
    P_UNAME => :P111_USERNAME,
    P_PASSWORD => :P111_PASSWORD,
    P_SESSION_ID => v('APP_SESSION'),
    P_FLOW_PAGE => :APP_ID||':111');
    END IF;
    END;
    I am doing custom authencitaion and calling apex_authorise function there.
    Although I am able to Call the ApEX and able to validate application server password,but moment i try taking help off cookies
    to pass on my application session details to ApEX so that users would not have to login twice,i am gettign the error.
    Second question:
    Do we have any other methos of passing session to ApEX from Application server other than cookies.
    Please suggest.
    Thanks.
    Ravijeet

  • Integrating Oracle Apps Calendars with Outlook

    From Oracle Apps example :Oracle Learning Management you can schedule a resource (instructor) , many clients are asking for the ability to consolidate this scheduling with with the Outlook. Is there any known solution?
    Thanks in advance

    Hi Naresh,
    Thank you very much for the reply... we have overall description of the scenario but not detailed one... which goes like:
    1) We have to develop a java program to generate password and give it out as an output parameter (the input parameters will be name, age and a character as required by user), the program will use internally date time stamp to make the password generation process more riggid ... which is already in place!
    2) There is a program running in Oracle apps which will process file we provide along with the password (generated for each record using java program mentioned above).
    3) We understand this can be done without SOA/BPEL ... but there are many things coming up which will be added later ... for now what we need is the Oracle program (it will be a procedure that can be run as a concurrent program or called from anywhere) should be integrated with Java program for password using BPEL/SOA (as the java program is lying with third party and we cannot have the code or even the executable).
    In simple words ... a program lying at third party server is accessed to generate password ... a file is accessed from third party server to process the data from it and push the same in Oracle Apps table!
    Regards,
    KPR

  • Using Oracle Text with Apex

    Can someone point me to some resources on how to integrate Oracle Text and APEX to do searches, highlight results, etc (all the features of Oracle Text)?
    The data to be indexed is in files on the filesystem, so I would like to keep it that way and use the FILE_DATASTORE option for Text.
    Thanks for any pointers.
    Update: Yes, I did see http://www.oracle.com/technology/products/database/application_express/pdf/apex_text_application_v1.6.pdf
    but the search results there just returns the URL/file containing the "hit". It doesn't show the actual text fragment that caused the match, doesn't highlight it, etc. I am looking for a real Google-like search. Hm, having said that, I might as well use Google Desktop! Nah, where's the fun in that?

    This is a very simple application for my own use. It started life in 8i when there were fewer Text options.
    As such, it uses the query string as entered. This returns all of the matches:
    select msgid, msgdate, Box, fromaddr, subject
      from eudora.inbox
    where contains(body, :P703_MailSearch) > 0
    order by msgdate descI display the selected result like this:
    select subject,
      Replace(eudora.mmarkup(:P704_MSGID, :P702_SEARCH), Chr(13), '<BR>') Body
      from eudora.inbox
    where msgid = :P704_MSGIDIn a newer application, I experimented with the CTXCAT grammer.
    That query looks like this:
    select m.ID, m.pdpno, m.shortdesc
      from pdp_mast m
    where contains(m.dphistory, '<query><textquery lang="ENGLISH" grammar="CTXCAT">
                                             ' || :P1_Text || '
                                         </textquery>
                                      <score datatype="INTEGER"/>
                                  </query>') > 0     
        or contains(m.shortdesc, '<query><textquery lang="ENGLISH" grammar="CTXCAT">
                                             ' || :P1_Text || '
                                         </textquery>
                                      <score datatype="INTEGER"/>
                                  </query>') > 0As always, once you figure out the syntax, its easy to make it work in Apex.
    Text indexes are very fast. On my old 600MHz PC, searches in 250MB of text take less than a second.

Maybe you are looking for

  • I get error message '-108' when I try to finalise my project

    I get this error message when I tried to finalise my project. I can export it to quicktime, but this doesn't put it into my itunes library etc. Any ideas?

  • Tree view display with ztable data

    Hello... I have seen this post................. Tree View My requirement is to create a Tree view .... looked around a lot but no detailed explanation to this topic. along  with this forums detials i looked into the standard BSP Component CRM_THTMLB_

  • Error al abrir documento PDF

    Cuando intento abrir un documento, el cual en propiedades me indica que ha sido creado con INSO KANSAS CITY PDF FILTER, me aparece el siguiente error: Tipo de operando erroneo. ¿ Alguien sabe como puedo abrirlo, pluggin necesario, .. ? Gracias de ant

  • Disable Default function of "Back" button for Android.

    Hi there! I have tried SO MANY methods to PREVENT the default function of Back button in Android but no success This is one of the codes I have used with no success: stage.addEventListener(KeyboardEvent.KEY_UP, optionsKey, false, 0, true); function o

  • BADI to populate CRM BDOC

    Hi all, I want to transfer condition records from CRM to R/3. To do this we enhance BDOC type:CRM_MKTPL_MKTELEM by creating new child segment with additional fields. We need to populate these fields. How do we find out the BADI to populate these fiel