Calling funcntions from OA Framework

Hi OAF Guru's
I have a task regarding calling function of a pl/sql package from OAFramework. I will explain a little my requirement.
Function is taking 3 parameters(one is IN,the other is OUT variables). When I calling this function from the AMImpl, this function returns a value. I can catch the OUT variables by registering them and getting as cs.getString(1) like that.But how can i catch this returning value in the program? If you have any example, send it asap
Thanks & Regards
U.Palakondaiah.
Thanks & Regards
U.Palakondaiah.

you can use another bind variable to get the result, like
:1=package.function(:2,:3);
Thanks,
Tapash

Similar Messages

  • Calling Oracle stored procedure with out param of user define type from Entity Framework 5 with code first

    Guys i am using Entity Framework 5 code first (I am not using edmx) with Oracle and all works good, Now i am trying to get data from stored procedure which is under package but stored procedure have out param which is user define type, Now my question is
    how i will call stored procedure from entity framework
    Thanks in advance.

    I agree with you, but issue is we have lots of existing store procedure, which we need to call where damn required. I am sure those will be few but still i need to find out.
    If you think you are going to get existing MS Stored Procedures  or Oracle Packages that had nothing to do with the ORM previously to work that are not geared to do simple CRUD operations with the ORM and the database tables, you have a rude awakening
    coming that's for sure. You had better look into using ADO.NET and Oracle Command objects and call those Oracle Packages by those means and use a datareader.
    You could use the EF backdoor, call Oracle Command object and use the Packages,  if that's even possible, just like you can use MS SQL Server Stored Procedures or in-line T-SQL via the EF backdoor.
    That's about your best shot.
    http://blogs.msdn.com/b/alexj/archive/2009/11/07/tip-41-how-to-execute-t-sql-directly-against-the-database.aspx

  • How to call RFC from Power Builder

    Hi,
    I am using Power Builder Tools and I want to know how can i call RFC from Power Builder
    Thanks for ur reply

    Hi,
    Although I have not worked with Powerbuilder, I am sure if you have a certain level of proficiency with it, you will be able to code your logic that will call your wrappers written in VB/C/.NET etc. Check out the wonderful weblog by Thomas Jung on integrating ActiveX controls with ABAP Control Framework at https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/995. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    Do get back if you have further queries.
    Regards
    Message was edited by: Shehryar Khan

  • Messages from Adapter framework  to IS disappear

    During processing of interfaces, it happens some times that the sending of messages from Adapter Framework to Integration Server is broken but no status message is traced. Before this break, the messages’ state is correctly visible on integration server (SXMB_MONI), after that, messages are no more contained in persistence layer of the adapter framework or of the integration server. So it’s very difficult to know which messages have been processed, and for this reason there is a great effort for application/functional team to reprocess interfaces’ file.
    After the last succesfully processed message, there are a lot of log messages on application and default trace of this type:
    for location com.sap.aii.adapter.file.File2XI.processFileList():
    Module Exception 'com.sap.aii.af.mp.module.ModuleException: senderChannel 'd902100e953f3e15b0e04b3caf9dc415': Catching exception calling messaging system' found, cause: com.sap.aii.af.ra.ms.api.ConfigException: Some of the IS access information is not available. SLDAcess property may be set to true, but SLD is not available.
    Channel CC_File_OUT02_1058: Sending file failed with com.sap.aii.af.ra.ms.api.ConfigException: Some of the IS access information is not available. SLDAcess property may be set to true, but SLD is not available. - continue processing
    Delivery Exception for guid'87b54890-ae37-11da-c751-001125a5fff4' - non recoverable error, retry anyway
    For location com.sap.aii.adapter.file.File2XI.addAuditLog( ... ssageKey, AuditLogStatus, String, String,Object[]):
    FILE_ERR_211
    This behavior is independent of interface type and happens randomly (about 2-3 times a week).
    We try, without success, to implement a workaround setting SLDaccess parameter to false for AF CPA cache service and specifying the xiadapter.isconfig.<parameters> for adapter service. With this configuration File Adapter didn’t work and CPA cache didn’t contain any comunicaton channels. Maybe we have to set the correct value of parameter directoryURL (which it is?).
    Thank a lot in advance
    Danilo Vaccarella

    Thank you for your suggestion, but nothing seems to be wrong in configuration (however I'm contuining my checks). In the meantime, are there other suggestions?
    Hi
    Danilo

  • Call methods from view controller to another (enhanced) view controller!

    Dear All,
    Is it possible to use/call methods from view controller to another (enhanced) view controller? Iu2019ve created a view using enhancement in standard WD component. I would like to call one method from standard view controller in the enhanced view controller.
    Is it possible to include text symbols as enhancement in standard class?
    u2026Naddy

    Hi,
    If you have just enhanced an existing view then you can call the standard methods in one of the new methods which you will create as part of enhancement.
    If you have created a totally new view using enhancement framework option ( Create as Enhancement ) then in this new view you won't be able to use existing methods in other view as a view controller is private in nature. So all the view attributes, context nodes and methods are Private to that view only.
    Regarding text elements, I guess adding a new text element is just a table entry in text table and is therefore not recorded as enhancement.( Not very sure about this, need to double check )
    Regards
    Manas Dua

  • Calling COBOL from Forte

    To: [email protected]
    cc:
    Subject: Calling COBOL from Forte
    We have a large complex COBOL program that we've purchased that we
    currently run on our mainframe system. We are in the process of re-writing
    our system into FORTE but we want to keep this COBOL program. This COBOL
    program would need to be called from FORTE and it in turn would need to
    call FORTE methods. The interface between FORTE and COBOL would be done by
    passing large data structures as parameters containing both Character and
    Integer data fields. Can this be done since I'm not looking forward to
    having to re-write this entire program in FORTE?
    David Wilbur email: [email protected]
    University of Windsor phone: 519-253-4232 ext. 2779
    Windsor, Ontario Canada
    -----------------------------------------------

    Another alternative is to use the ExternalConnection class (in the
    Framework project).
    This would entail developing a "COBOL Function Server" on the mainframe to
    "serve" the COBOL functions. I don't know if you can use COBOL for that,
    but you should be able to use C, or PERL, or some other scripting language
    that you can code a simple socket listener with on the mainframe.
    This server would listen for requests to execute a COBOL function at a
    designated port, call the COBOL function, and return its results via the
    socket. On the Forte side you would use ExternalConnection to connect to,
    send requests, and receive responses from the COBOL server. You can also
    have a Forte server listen in on another port for requests from the COBOL
    program and "serve" it Forte functions.
    You would, in essence, be developing a COBOL/Forte gateway.
    You would need to think about a simple application protocol to make the
    requests/responses work. Something based on paramter=value pairs should
    work well, is simple to code for, and simple to synchronize. For example :
    request=get_employee_data
    employee_no = 12345
    <end_of_request>
    request=produce_payroll_report
    report_no=1705
    format_no=1001
    output_to=xyz
    <end_of_request>
    ExternalConnection class is a great way to create general Forte interfaces
    to external systems. It does require some setting up, but is is worth the
    effort.
    Hope this helps.
    -Nabil
    At 03:21 PM 2/6/97 PST, Digital/Forte 06-Feb-1997 1512 wrote:
    The only way I am aware of calling COBOL programs from Forte is through
    C-wrappering since Forte does not provide a direct interface to COBOL.
    This has been done on various platforms but with complex data structures
    this can be turn out to be messy.
    There are a lot of other middleware supported by Forte like
    ObjectBroker&DCE but COBOL is not supported directly by these productseither.
    >
    I am not aware of what kind of processing your COBOL and Forte apps
    do (interactive/batch) or what databases (if any) are involved,but it may be
    easier for both to interact with a common database if it is feasible.
    Does anyone else have better ideas?
    - Arvind
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Arvind Kumar Krishnaswamy
    Digital/Forte Software Products Group
    Digital Equipment Corporation ______________________
    1800,Harrison Street,Suite 1700, | | | | | | | |
    Oakland.CA 94612 USA |d |i |g |i |t |a |l |
    | | | | | | | |
    Tel : 510-251-6537 ----------------------
    Fax : 510-251-6531
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ==================================================
    Nabil Hijazi Optimum Solutions, Inc.
    [email protected] 11654 Plaza America Drive
    Phone: (703) 435-3530 #501
    Fax: (703) 435-9212 Reston, Va 20190
    --------------------------------------------------

  • Calling Serializer from Java

    Hi,
    I am calling xsql from Java.
    Can I set FOPserializer with help of oraclesql like i can set other attribute of xsql.
    e.g
    OracleXMLQuery ors = new OracleXMLQuery(conn, selectStmt);
                   ors.setRaiseNoRowsException(false);
    ors.setSkipRows(skipRows);
    ors.setMaxRows(maxRows);
    an example would be helpful.
    Thanks in advance
    Raju

    The FOPSerializer (and the concept of serializers in general) is a feature of the XSQL Pages Framework. Your code example here is using the XML SQL Utility's OracleXMLQuery class. To use XSQL programmatically, you should use the oracle.xml.xsql.XSQLRequest class, documented in the XSQL Online Documentation
    hope this helps.

  • Secure AJAX calls made from a JSR 168 portlet

    I am investigating methods to secure AJAX calls made from a JSR 168 portlet to a servlet using the Direct Web Remoting framework (DWR) and Weblogic Portal. The portlet can have more than one instance and different entitlements depending on the desktop it is available from. The Portal has several desktops and does not require the user to authenticate for some of the desktops.
    So far the only method I have come up with is to pass a token from the portlet to the servlet which indicates the entitlements the user should have to access the documents from the portlet and check in the servlet if the User has the appropriate global roles to access the documents.

    no , that doesn't work, the token passed can be modified by a malicious user (unless the token is random or signed)
    You need to store the desktop(s) the user is on in probably the HttpSession and read that from the servlet and make the decisions accordingly.
    regards
    deepak

  • Calling JPA from a Java Stored Procedure

    Is it possible to call JPA from a java stored procedure? If so, does anyone have example? How do you setup the persistence.xml?
    How does the peformance compare with straight JDBC in a java stored procedure?
    Thanks for any help!
    Johnny

    Hi Johnny:
    Basically you can run any JDK 1.5 framework inside your Oracle 11g JVM, I have experience integrating Lucene IR library as a new [Domain Index for Oracle 11g/10g|http://docs.google.com/View?id=ddgw7sjp_54fgj9kg] .
    I am not familiar with JPA internals but my advice is howto handle the connection inside the OJVM and the configuration files.
    Some time ago I took a look to SpringFramework integration and I found that writing a new ApplicationContext class which handles the loading of beans.xml from XMLDB repository instead a file should be enough to work.
    Another important point is the life cycle of the [Oracle internal JVM|http://download.oracle.com/docs/cd/E11882_01/java.112/e10588/chtwo.htm#BABHGJFI]. Unlike an standard JVM the OJVM is created once you first connect from the middle tier at OCI level and remains in execution during the connection pool existence.
    I mean, if you connect using a JDBC pool the JVM will remains running across multiple soft open/close connections of your middle tier application. This is good because you can read your persistence.xml file using a Singleton class and this expensive operation will be re-used by multiple open/close operation done from the middle tier.
    I suggest you do a simple Proof of Concept with a Hello World application and check if it works.
    Remember that any security issues will be notified to the .trc files, security issues are related to the strong security layer configured by default inside the OJVM, for example you can not read any files from the OS file system without an specific grant, you need another grant to access to the class loader and so on, but you can simply grant this specific needs to a database role and then grant this role to the user which connect to the OJVM.
    Another important point is related to the [End-of-Call Optimization|http://download.oracle.com/docs/cd/E11882_01/java.112/e10588/chtwo.htm#BABIFAAI] this can be useful if you want to perform some clean up in your Singleton class at the level of per-statement execution.
    Best regards, Marcelo

  • Call EJB3 from Controller

    Hi everybody,
    my post here is intended to clarify couple of things i might have misunderstood specially with my lack of experience in UI5 technology
    Is it possible to call an EJB session bean from Controller without exposing it as a web service, or it must be exposed as Restful service since the SAP UI5 is running on browser and not on server. if it's possible is there example somewhere?
    as far as I understood from SAPUI5 framework, the code will run on the browser and not on the application server. is this right?
    Thanks for your relpies
    Sam

    Hi,
    I do not have much information on calling EJB from sapui5 but found out this blog Todos application with SAPUI5, Jersey, and JPA
    Please go through it...may be useful for your requirement.
    Regards,
    Chandra

  • Calling report from form. Need PDF output

    I am calling a report from a form using RUN_PRODUCT. I need to display the form in PDF format. When the user clicks the button in the form to run the report, acrobat reader should open up and the report displayed there. Please help.
    Thanks

    Thanks for the response. The first part worked. I am able to get the output in PDF format. In the 2nd part where I want to open acrobat and display the output, I am having some trouble with the code. When I compile, it says
    win_api_environment.read_registry must be declared. Is there some package I need to attach?
    Also, in the After reports trigger, how do I pass vFile (I am assuming this is the PDF file name)?
    Thanks
    The first thing you'll want to do is pass parameters to the report IE DESTYPE, DESNAME and DESFORMAT where these could be FILE, 'c:\temp\report' and PDF.
    Then, you can try this piece of code I wrote (with some help from other people at Metalink and here) sometime back. Now, I call it from forms, but in your case, you'd have to run it in the after report trigger. Since with RUN_PRODUCT you don't know when the report is finished, if you did it from the form, it wouldn't work correctly.
    PROCEDURE OPEN_PDF(vFile IN VARCHAR2)
    IS
    vcServerApp varchar2(40);
    vcServerTag varchar2(600);
    vcCommand varchar2(2000);
    iArgPos pls_integer;
    dummy NUMBER;
    BEGIN
    -- 1 get the Server App for .PDF files
    vcServerApp := win_api_environment.read_registry('HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\.PDF','',true);
    -- 2 get the executable
    vcServerTag := 'HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES\'||
    vcServerApp||'\SHELL\OPEN\COMMAND';
    vcCommand:= win_api_environment.read_registry(vcServerTag,'',true);
    -- 3 Sort out how to specify the Filename
    iArgPos:= instr(vcCommand,'%1');
    if iArgPos = 0 then --no substitution Var on the command line
    vcCommand := vcCommand||' '||vFile;
    else
    vcCommand := substr(vcCommand,1,(iArgPos-1))||
    vFile||substr(vcCommand,(iArgPos+2));
    end if;
    -- 4 Run using Winexec (or Host if preferred).
    win_api_shell.winexec(vcCommand);
    EXCEPTION
    when no_data_found then
    abortt('Acrobat Reader was not found! Please consult with your help desk to install it and try again.','N');
    END;
    Chad
    I am calling a report from a form using RUN_PRODUCT. I need to display the form in PDF format. When the user clicks the button in the form to run the report, acrobat reader should open up and the report displayed there. Please help.
    Thanks

  • Contact name not showing in call/sms log even when I call/sms from my address book.

    Two things have changed on my phone recently.
    1. I ran the latest update 4.3.2
    2. My phone was not showing all the contacts in my address book that is in my Mobile Me account. Mobile me had 166 contacts. The iPhone 4 had 136. I I unchecked the syncing of my contacts on my phone. This removed all the contacts from my phone. Then I check the syncing options again. All 166 appeared on the phone.
    I'm not sure which of the two caused the issue but now anytime someone who calls their name does not appear on the display or log, just their number. I can even call people from my address book and the display shows that I am calling them with their name and photo on display. However, in the call log the name does not show just their number.  This applies for text messages. I send a message directly from within the contact card in the address book and in my text log it shows only the number and not the name.
    I've turned the phone off and on a couple of times.
    I would appreciate any advice.
    Cheers

    Thanks iraghib,
    In the end I reset my phone to factory settings. I created a back up of my address book and ical. Reset the phone and did a sync again. This fixed it all. I didn't need to use the backups but is was nice to know they were there. I felt entering the various passwords for all my installed apps was a much better deal than adding the international area code to the 166 contacts I have in my address book.
    Good luck. And thanks for the post.

  • How can I access my Call Handlers from outside line (outside district)

    CISCO VoIP System Info:
    Cisco Unity Connection version: 8.6.2ES25.21900-25
    CM Admin System version: 8.6.2.21900-5 on C200M2 Servers
    Our engineer setup our Call Handlers so that in our to change the recordings on them, you diall 7800 from a phone inside the office, or as he put it in the procedures, from within the district.  Once you dial, you need to enter the user code, password, then the extension of the Call Handler, and we have no problems recording/changing any Call Handlers.  However, due to possible inclement weather approaching in the next few weeks, I was asked how we cna change them from an outside line (manager's home, etc.).  We cannot access from an outside line.  7800 is not a DID, it is simply the extension he assigned to access the call handlers.  I even went so far as to setup a dummy phone and forward it to 7800, but this does not work either.  It forwards to the extension's voicemail.  Is there a way we can access the Call Handlers from an outside line?  Any help would be gretaly appreciated.  Thank you in advance.

    Hey Joseph,
    Go Flames ....errrrrrrrrrrrrrrrrrr maybe not so much
    What you are trying to get to is really just the Greetings Administrator
    conversation and there are multiple ways to get there.
    For example, you can set up a Caller Input off any mailbox (Press 1-9) let's say 7 to
    go to Conversation> Greetings Administrator. So you could set this on the managers mailbox
    and when he calls his own number from home once his greeting
    kicks in he can press 7 to link to the Greetings Administrator conversation
    or
    You could set up a DID DN xxx-xxx-2345 as a CTI-RP and set Call Forward All to reach Unity Connection.
    In this case you will need to use the Forwarded Routing Rules = xxx-xxx-2345 route to
    Greetings Administrator. Make sure to move this rule to the bottom of the list!!
    Cheers!
    Rob
    "Why do the best things always disappear " 
    - The Band

  • Call tcode from alv report and passing  group of values

    hi all .
    i want to call tcode from alv report and passing an internal table or group of values to a selection option of that t code ? how
    ex. passing group of GL to fbl3n and display the detials of all .
    thank you

    Dear,
    You have done a small mistake
    --> rspar_line-option = 'EQ'.
         rspar_line-HIGH = PDATE-HIGH.
    u r passing "high" value and in "option u r passing "EQ" so how it will work!!!
    So if u r passing only 1 date or more dates like 01.01.2010 , 15.02.2010 , 10.03.2010 then pass
    rspar_line-selname = 'SO_BUDAT'.
    rspar_line-kind = 'S'.
    rspar_line-sign = 'I'.
    rspar_line-option = 'EQ'.
    rspar_line-LOW = PDATE-HIGH.
    APPEND rspar_line TO rspar_tab.
    or if u r passing low & high date means in range like 01.01.2010 to 30.01.2010, then pass
    rspar_line-selname = 'SO_BUDAT'.
    rspar_line-kind = 'S'.
    rspar_line-sign = 'I'.
    rspar_line-option = 'BT''.
    rspar_line-LOW = PDATE-LOW.
    rspar_line-HIGH = PDATE-HIGH.
    APPEND rspar_line TO rspar_tab.
    try above code , hope it helps...
    i think u cannot use "call transaction using bdcdata" in ur case bcoz as u said in ur 1st post u want to display the details of all but still if u want to use then u should pass all parameters in  loop.
    PROGRAM
    DYNPRO
    DYNBEGIN
    FNAM
    FVAL
    ex:-
    LOOP AT GT_TEMP INTO GS_TEMP.
    CLEAR bdcdata_wa.
    bdcdata_PROGRAM = 'SAPXXXX'.
    bdcdata_DYNPRO = '1000'.
    bdcdata_DYNBEGIN = 'X'.
    bdcdata_wa-fnam = '''.
    bdcdata_wa-fval = ''.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_PROGRAM = ''.
    bdcdata_DYNPRO = ''.
    bdcdata_DYNBEGIN = ''.
    bdcdata_wa-fnam = 'SD_SAKNR'.
    bdcdata_wa-fval = GS_TEMP-GLACCOUNT.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_PROGRAM = ''.
    bdcdata_DYNPRO = ''.
    bdcdata_DYNBEGIN = ''.
    bdcdata_wa-fnam = 'BDC_OKCODE'.
    bdcdata_wa-fval = 'XXX'.
    APPEND bdcdata_wa TO bdcdata_tab.
    ENDLOOP.
    try above code if u r using call transaction...
    Edited by: mihir6666 on Jul 9, 2011 3:10 PM
    Edited by: mihir6666 on Jul 9, 2011 3:11 PM
    Edited by: mihir6666 on Jul 9, 2011 3:13 PM

  • Open a pop up from JJT framework

    Hi
    I have a requirement to open a pop up from JTT framework
    I have made one Order Details page in OA framework
    In this page,when you click on one link, it opens a one popup and it works a modal window.
    There are many ways to come to this page
    When we come from Home page through function, it opens a Order details page,and if you click on link, pop up opens and it works as a modal window.
    Another way to come to this page from Quote details page
    On Quote details page, i have provided one link and if you click on this link,Order details page should open.
    so i have used jtfcrmchrome.jsp&page=<path> and it opens my Order Details page
    but on my order Details page when we click on a link, the pop up is not opening and it does nothing.it does not give any error.
    The code to open a pop up is following.
    public static void registerOpenSearchPage ( OAPageContext pageContext,OAWebBean webBean, String pageName , String imageID , String[] itemListToBeRefreshed , HashMap paramList, String refBaseFlag , String event)
    String url = "/OA_HTML/cabo/jsps/frameRedirect.jsp?redirect=/OA_HTML/OA.jsp&page="+pageName+"&retainAM=Y";
    String paramStr = "";
    if ( paramList != null )
    Set keyList = paramList.keySet();
    Object[] keyArray = keyList.toArray();
    for ( int i = 0 ; i < keyArray.length ; i++ )
    String keyName = (String) keyArray;
    String keyValue = (String) paramList.get(keyName);
    paramStr = paramStr+"&"+keyName+"="+keyValue;
    url = url+paramStr;
    //System.out.println("inside another registerOpenSearchPage url is "+url);
    OAUrl popupUrl = new OAUrl(url, OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    String strUrl = popupUrl.createURL(pageContext);
    imageID = "lineQty1";
    if ( imageID == null ){ imageID = "DetailsLink"; }
    if ( itemListToBeRefreshed == null )
    itemListToBeRefreshed = new String[4];
    itemListToBeRefreshed[0] = "customLOVLineId";
    itemListToBeRefreshed[1] = "customLOVDelID";
    itemListToBeRefreshed[2] = "customLOVTaskID";
    itemListToBeRefreshed[3] = "customLOVObjVersion";
    String refBaseFun = "refreshBaseFor"+imageID;
    String fun = " function openCustomLOVFor"+imageID+"() "+
    " { "+
    // " alert ('opening new window'); "+
    " top.closewin = true; "+
    //" var win = openWindow(window, '"+strUrl+"', 'lovWindow',{width:750, height:550}, true,'dialog','null'); "+
    " var win = openWindow(window, '"+strUrl+"', 'lovWindow',{width:750, height:550}, true,'dialog',"+refBaseFun+"); "+
    " var itemArray = new Array(); ";
    String temp = "";
    for ( int i = 0 ; i < itemListToBeRefreshed.length ; i++ )
    temp = temp + " itemArray["+i+"]='"+ itemListToBeRefreshed[i] +"';";
    fun = fun + temp;
    fun = fun + " top.itemArrayList"+imageID+" = itemArray; "+
    System.out.println("inside another registerOpenSearchPage before putjavascript");
    StringBuffer funName = new StringBuffer("openCustomLOVFor");
    funName.append(imageID);
    pageContext.putJavaScriptFunction(funName.toString(), fun);
    // ********* REGISTERING THE REFRESH BASE FUNCTION **********
    String refBaseFn = "";
    //refBaseFlag = "Yes";
    if ( "Yes".equals(refBaseFlag) )
    if ( event == null )
    event = "GET_FOR_TABLE";
    //refBaseFn = " submitForm('DefaultFormName',0,{'event':'"+event+"'} ); ";
    refBaseFn = " submitForm('DefaultFormName',0,{'event':'"+event+"'} ); ";
    //refBaseFn = " submitForm('DefaultFormName',0,{'lovReturn':'true','event':'"+event+"'} ); ";
    String fun2 = " function "+refBaseFun+"(lovwin , event) { "+
    // " alert ('refresh function'); "+
    " if ( !lovwin.popupSL ){ return false; } "+
    " else { "+
    " var listOfEl = new Array(); "+
    " listOfEl = top.itemArrayList"+imageID+" ; "+
    " var result = lovwin.returnValue; "+
    // " alert ( lovwin.returnValue ); "+
    " for ( var i = 0 ; i < listOfEl.length ; i++ ) { "+
    " id1 = document.getElementById(listOfEl[i]); "+
    " id1.value = result[i]; "+
    " } "+
    " top.closewin = false ; "+
    refBaseFn+
    " }"+
    //System.out.println("before javascriptfunction refBaseFun");
    pageContext.putJavaScriptFunction(refBaseFun, fun2);
    //System.out.println("after javascriptfunction refBaseFun");
    OABodyBean bodyBean = (OABodyBean)pageContext.getRootWebBean();
    //System.out.println("before onload javascriptfunction");
    bodyBean.setOnLoad("javascript: "+funName.toString()+"()");
    //System.out.println("after onload javascriptfunction");
    Could anyboy throw some points on this?
    Regards
    Hitesh

    Hitesh, the javascript Api you are using for opening Modal window, is specially for oa framework, as framework uses the same method to open a LOV.While in JTT there is no such available API, for that you have to use normal
    window. open.... (in javascript)
    that you use in any web tech like jsp etc, and attach it to button or link click.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for