HOW TO ACCESS MY VISION INSTANCE GLOBALLY?

Dear legends,
Since i have installed a VISION INSTANCE 12.1.1 and i have a domain name, and my entries as follows OS : ORACLE LINUX 5.7 x86_64
OUR ORGANISATION'S IP EXAMPLE
IP FOR THE MACHINE USING : 192.168.1.1
SUBNET MASK : 255.255.255.0
DEFAULT GATEWAY : 192.168.1.10
PRIMARY DNS : 50.51.52.53
SECONDARY DNS : 300.200.100.1
vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.1.xxx
HWADDR=xx:xx:xx:xx:xx:xx
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes
IPADDR=192.168.1.1
NETMASK=255.255.255.0
NETWORK=192.168.1.0
#GATEWAY=192.168.1.10
vi /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=devl.rel.net -- example hostname
GATEWAY=192.168.1.10
cat resolv.conf
# Generated by NetworkManager
search rel.net
nameserver 50.51.52.53 -- example DNS 1 or primary DNS
EITHER i give or edit all the above mentioned files to access my EBS home page using the url http://devl.rel.net:8000/ i cant able to access the page but other sites can be browsed, since at the time of installation of oracle linux i have given the hostname as devl.rel.net and our domain name is rel.net.
Please can anyone help how to access my EBS globally. I have accessed the EBS login page for the first time at the time of installation only after that i cant able to access. Instance is working fine, everything has been started. I have pinged the same url ping devl.rel.net it says 0% packet loss from a terminal.
Lots of thanks and Great help would be appreciated more.
With Regards,
Karthik Singh

Hi,
As per your request I have posted here HOW TO ACCESS MY VISION INSTANCE GLOBALLY?
Thanks a lot

Similar Messages

  • How to access AM/VO instance from a Java Service class

    Hi,
    I have a Java service class that is loaded by Java ServiceLoader (http://download.oracle.com/javase/6/docs/api/java/util/ServiceLoader.html) at run time, and I need to access database tables inside that service class. So is there any way that I can access AM/VO instances from that Java class in order to read database table? Thanks.
    Regards,
    K Hein

    You can access an application module with the the two methods below:
        YOURAppModule mAM;
        public void setUpAM()
            throws NamingException
            try
                String AMDefName = "YOUR_APP_DEF_NAME";
                Hashtable env = new Hashtable(2);
                env.put(JboContext.INITIAL_CONTEXT_FACTORY, JboContext.JBO_CONTEXT_FACTORY);
                env.put(JboContext.DEPLOY_PLATFORM, JboContext.PLATFORM_LOCAL);
                ApplicationModule am = null;
                InitialContext ic = new InitialContext(env);
                ApplicationModuleHome home = (ApplicationModuleHome) ic.lookup(AMDefName);
                am = home.create();
                // Connect the AM to a database connection
                String jndiDB = "jdbc/HRDS";
                am.getTransaction().connectToDataSource(null, jndiDB, false);
                boolean connected = am.getTransaction().isConnected();
                mAM = (YOURAppModule) am;
            catch (NamingException nex)
                // do some error processing
                throw nex;
            catch (Exception eee)
                // do some error processing
                throw eee;
        public void tearDownAM()
            if (mAM != null)
                if (mAM .getTransaction().isConnected())
                    mAM .getTransaction().disconnect();
                    mAM .remove();
        }You find the YOUR_APP_DEF_NAME in your application module under 'Configurations' -> AppModuleJndiName.
    Make sure you tear down each AM you set up. Otherwise you are running out of resources pretty fast.
    Timo

  • How to access the global data in user exit.

    Hi All,
    How to access the global data in user exit.
    the question is that when we were writing a code in the FM. i need to read data from the standard program like newly created documen and this document number need to be accessed in my program.
    this document number is not imported to the FM i needed to access for frther proceed.
    Thanks in advance.

    Hi,
    See the below PDF file by Jeff Goldstein. There you can find all the details about accessing data outside of the exit.
    [SAP User Exits and the People Who Love Them|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/208811b0-00b2-2910-c5ac-dd2c7c50c8e8]
    This will help you to solve your problem.
    Regards
    Karthik D
    Edited by: Karthik D on Dec 2, 2008 4:18 PM

  • How can I access the "vision info" in an image

    Hi,
    Development Environment:
    LabVIEW 2012 32-bit (12.0f3)
    Vision 2012
    Description:
    I would like to get more information regarding the "vision info" in an image.
    There is a VI called IMAQ Is Vision Info Present 2 - which tells me whether any vision info is present in the image.
    But then what can I use to read or access this vision info, aside from using IMAQ Read Custom Data - or is this all there is?
    ie.  I have created a template in Vision Assistant using the Template editor and highlighted some mask areas - how can I open this up in LabVIEW and get this information?
    The Vision help files don't seem to define this to a low level of detail.
    Thanks!
    Christopher Farmer
    Certified LabVIEW Architect
    Certified TestStand Developer
    http://wiredinsoftware.com.au
    Solved!
    Go to Solution.

    Hi Christopher,
    Have you tried our IMAQ Get Geometric Template features VI? Information on this VI can be found here: http://zone.ni.com/reference/en-XX/help/370281P-01/imaqvision/imaq_get_geometric_template_features/
    This VI will allow you to reference your created template image and returns the features of that image giving the ‘Feature Type’ and the associated data with that feature. This should allow you to access the data you need.
    Blake C.
    Applications Engineer
    National Instruments
    www.ni.com/support

  • How to setup the sequence order's of PO's vision instance

    I need to create PO's in a sequential order in vision instance. How should I do that?
    Thanbks
    regards,

    Hi,
    We have already mentioned how to create PO sequence in earlier post in this thread...
    You need to follow below steps:
    1) Login to Purchasing Super user
    2) Open "Purchasing Options" form.. (Setup --> Organizations --> Purchasing Options)
    3) In Document numbering section, do mention the details of PO Number, like PO Entry (Manual/Automatic), PO Number type (Numberic/Alphanumeric), Next number (e.g. 10000)
    For your case use Next Number : 100000 (6 digits)
    4) Save
    5) Return to PO creation page and start creating POs.
    Hope this will help.
    Kind Regards,
    S.P DASH

  • How to loging into the vision instance.

    Hi gurus ,
    I m new to oracle 11i and have manage to install the vision instance and it was succesfull how do i log in (11.5.5) i mean the url for vision and secondly do i need to install the j iniatiator or not.I dont know if it comes with the system or not.

    For 11.5.5 installation, check 'config.txt' for all the parameters you set during the installation. It would help you to get the hostname/domainname/port or any other details.

  • Accessing Your Own R12 Vision Instance remotely

    Hi, so I've got a Mac Mini (home server) setup at home which is on 24/7 and running EBS R12 Vision instance via Oracle Virtual Box.
    I have configured my hosts file on a separate stand along machine so that I can access the R12 Vision instance and all works fine.
    I have also been able to configure a VPN connection from my laptop to my home server and again can access the R12 Vision instance and all works fine.
    What I want to be able to do is access my R12 Vision instance from any machine without having to connect via VPN.
    i.e. I go to my url http://www.mydomain.com:8000 and I'm able to access my R12 Vision instance.
    I have an apple time capsule at home as my router and I'm not sure if there's some kind of configuration required on it to allow acces.
    I would appreciate it if anyone else has come across this!
    Regards,
    John

    Hi, so I've got a Mac Mini (home server) setup at home which is on 24/7 and running EBS R12 Vision instance via Oracle Virtual Box.
    I have configured my hosts file on a separate stand along machine so that I can access the R12 Vision instance and all works fine.
    I have also been able to configure a VPN connection from my laptop to my home server and again can access the R12 Vision instance and all works fine.
    What I want to be able to do is access my R12 Vision instance from any machine without having to connect via VPN.
    i.e. I go to my url http://www.mydomain.com:8000 and I'm able to access my R12 Vision instance.
    I have an apple time capsule at home as my router and I'm not sure if there's some kind of configuration required on it to allow acces.
    I would appreciate it if anyone else has come across this!
    Regards,
    John

  • How to access instance name? need help here.... :D

    using actionscript..
    if i have a movie clip in my Scene 1 and inside that movie clip is another symbol e.g. a button, how will i reference the instance name of that button in my Scene 1. tnx!

    Use the dot operator. Say for example you have a movieclip with instance name mysymbol and it has a child symbol button with name childsymbol then you use mysymbol.childsymbol on the main timeline. Try also to trace the symbols to see if they exist like trace(mysymbol) or trace(mysymbol.childsymbol)

  • How to access Oracle Apps R12.1.1 from Linux

    Greetings!
    I have managed to install the R12.1.1 Vision instance on a Linux server and can access the Applications from windows Client, but when I try to run the Applications from the Linux Server console (where it is installed) I am able to Login and Open the Responsibilities page. But as soon as I click on any Oracle Forms function (Java Applet) it asks to install the J2SE Plug-in (like a Window Client). Therefore, I cannot open any Form :(
    Any guidance on how to run the Applications on the Linux Server Console ?
    TIA.

    I have managed to install the R12.1.1 Vision instance on a Linux server and can access the Applications from windows Client, but when I try to run the Applications from the Linux Server console (where it is installed) I am able to Login and Open the Responsibilities page. But as soon as I click on any Oracle Forms function (Java Applet) it asks to install the J2SE Plug-in (like a Window Client). Therefore, I cannot open any Form :(
    Any guidance on how to run the Applications on the Linux Server Console ?Linux is NOT certified as a client tier.
    Linux Client
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Linux+AND+Client&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Recommended Browsers for Oracle E-Business Suite Release 12 [ID 389422.1]
    Thanks,
    Hussein

  • R12(12.1.3) Vision Instance Cloning Issues

    Hi guys
    I setup a vision instance R12(12.1.3) using Oracle VirtualBox and Oracle VM templates & the instance is up and running fine. I tried to clone the instance over another VM, which is built on VM embedded OS (prerequisites fulfilled) and I have done the following
    Done pre-clone on database tier
    Done pre-clone on application tier
    shut down both db, application
    created tar ball for both database, application folders /u01/E-BIZ/db , /u01/E-BIZ/apps and copied to the target VM server
    extracted the files to /u01/E-BIZ/db , /u01/E-BIZ/apps/
    switched to /u01/E-BIZ/db/tech_st/11.2.0.2/appsutil/clone/bin
    and ran perl adcfgclone.pl dbTier
    After 50% the cloning fails and the MAKE file has an errorcode = .58
    I have checked the MAKE log and the bottom part is like this
    /u01/E-BIZ/db/tech_st/11.2.0.2/srvm/lib
    ins_srvm.mk:68: warning: overriding commands for target `libsrvm11.so'
    ins_srvm.mk:31: warning: ignoring old commands for target `libsrvm11.so'
    ins_srvm.mk:71: warning: overriding commands for target `libsrvmocr11.so'
    ins_srvm.mk:34: warning: ignoring old commands for target `libsrvmocr11.so'
    ins_srvm.mk:74: warning: overriding commands for target `libsrvmhas11.so'
    ins_srvm.mk:37: warning: ignoring old commands for target `libsrvmhas11.so'
    make: *** No rule to make target `iodbagrp'.  Stop.
    Failed linking target iodbagrp on Sun Oct  6 23:01:53 EDT 2013...
    /u01/E-BIZ/db/tech_st/11.2.0.2/bin
    $Id: genorasdksh.sh /linuxamd64/15 2010/04/28 22:10:13 aime Exp $
    Generating BASE ORASDK library...
    Creating /u01/E-BIZ/db/tech_st/11.2.0.2/lib/liborasdkbase.so.11.1
    -rwxr-xr-x 1 root root 11733746 Oct  6 23:01 liborasdkbase.so.11.1
    lrwxrwxrwx 1 root root 21 Oct  6 23:01 liborasdkbase.so -> liborasdkbase.so.11.1
    Completed linking target liborasdkbase on Sun Oct  6 23:01:54 EDT 2013...
    /u01/E-BIZ/db/tech_st/11.2.0.2/bin
    $Id: genorasdksh.sh /linuxamd64/15 2010/04/28 22:10:13 aime Exp $
    Generating FULL ORASDK library...
    Creating /u01/E-BIZ/db/tech_st/11.2.0.2/lib/liborasdk.so.11.1
    -rwxr-xr-x 1 root root 41617377 Oct  6 23:01 liborasdk.so.11.1
    lrwxrwxrwx 1 root root 17 Oct  6 23:01 liborasdk.so -> liborasdk.so.11.1
    Completed linking target liborasdk on Sun Oct  6 23:01:54 EDT 2013...
    /u01/E-BIZ/db/tech_st/11.2.0.2/rdbms/lib
    rm -f /u01/E-BIZ/db/tech_st/11.2.0.2/lib/libskgxp11.so
    cp /u01/E-BIZ/db/tech_st/11.2.0.2/lib//libskgxpg.so /u01/E-BIZ/db/tech_st/11.2.0.2/lib/libskgxp11.so
    Completed linking target ipc_g on Sun Oct  6 23:01:54 EDT 2013...
    The value of IS_RAC:false
    Error found while relinking
      return code = .58
    I have referred few other threads discussing the same issue, unfortunately, I don't have access to Oracle support at this point of time. Hence would request one of you to provide me the instructions available with ""Fatal error: Don't know how to make target `iodbagrp' " [ID 1365015.1]
    regards,
    raj

    Hi Asif
    It's all right I didn't mean sharing the document either, just the content, lol
    As I have mentioned, I was trying to clone an instance which was live and "rocking", couldn't understand why the clone will fail, while all the prerequisites were in place (As the new virtual machine was a copy of the existing VM with instance live)
    Later I changed the OS level rights for user oracle, changed the mode of /u01/E-BIZ to 777 and tried to run the adcfgclone once again and the entire process went through smoothly.
    Anyway, I would say, the case is closed now.
    Thanks once again
    regards,
    raj
    Removed the "actual solution" which didn't work

  • How to access _global variables in different domain

    hi
    i am loading a swf in local and this has to be communicate the swf which was in the server(different domain). using the system.security.allowdomail i can access the variables, but i can't able to access _global variable.
    Pls tell how to access _global variable in different domain
    Thanks in advance
    @flash

    Ganesh,
    It should work the way you mentioned it. I don't see why it
    didn't unless there is a spelling mistake or something. If there
    is you should have a got an error message. :-)
    I actually don't recommend using globals at all, I would rather
    use a PL\SQL Package Specification to define Global Variable.
    These variables are valid for the duration of the Session and
    they are restricted to Char(255) limit. It reduces the number of
    mistakes when converting dates and Such. It also forces the
    developers to place all the globals in one place instead of
    multiple places. Read Feurstein's book on PL\SQL Programming for
    more details.
    Sunil
    MS Ganesh (guest) wrote:
    : Hi Steve,
    : I know how to assign values to global variables.
    : I did the following
    : Form Name : FIRST_FORM
    : :global.group_id := 'SUPERVISOR'
    : call_form('SECOND_FORM');
    : In Second Form
    : When New Form Instance
    : Message(:global.group_id);
    : No message is displayed.
    : Please explain to me the steps in detail.
    : Thanks in advance.
    : Bye
    : MS GANESH
    : Steve (guest) wrote:
    : : Just assign value to global variable i.e.
    : : :global.foo := 'anything'; or
    : : COPY('anything', 'global.foo');
    : : to remove global variable
    : : ERASE('global.foo');
    : : Note: global variables are always VARCHAR2(255);
    : : MS Ganesh (guest) wrote:
    : : : Dear OTN Members,
    : : : I would like to pass values between forms,
    : : : I know it is possible to do it by using Parameters.
    : : : But I would like to know how to use global variables to
    : : : accomplish the same task.
    : : : Thanks in Advance.
    : : : Bye
    : : : MS Ganesh
    null

  • HELP : How to access a datasource rowset in the AM class ?

    Hi,
    i have an AM "TestAM" which contains the viewobject "ViewTest".
    in the class "TestAMImpl.java" i added a method called "verify()".
    in my JSP i have initialised the AM and a datasource based on the VO "ViewTest" :
    <jbo:ApplicationModule id="am" configname="TestAM.TestAMLocal" releasemode="Stateful" />
    <jbo:DataSource id="ds" appid="am" viewobject="ViewTest" />
    <%
    TestAM am = (TestAM) am.useApplicationModule();
    String Message = am.verify();
    %>
    My question is how to access to the rowset of the datasource "ds" in the code of the method
    "verify()" ?
    public class TestAMImpl extends ApplicationModuleImpl implements TestAM {
    public String verify()
    How to access the rowset initialised in the JSP???????????
    Thanks for your help

    This is correct. Think of the AM as having a hashtable of instances of view objects that you can lookup by instance name.
    The <jbo:DataSource> tag lets you lookup an instance by name in the AM and get a reference to it to use in the JSP page. Within your AMImpl class, you can either:
    [list]
    [*]Call findViewObject("YourViewInstanceName"), or
    [*]Just call the generated getYourViewInstanceName() method which is ok to call inside the Impl class to get hold of the same VO.
    [list]

  • How to access attribute in its owner method?

    var group : Group = Group{
    content: for(i in [0..10])
    for(j in [0..10])
    Rectangle{
    x:20
    onMouseClicked: function( e: MouseEvent ):Void {
    var xc = x // why can't access here x???? How to access?
    insert
    Line {
    startX: x//How to access x attribute from rectangle??
    startY: y //How to access y attribute from rectangle??
    endX: x+gap
    endY: y+gap
    strokeWidth: 1
    stroke: Color.BLACK
    into stage.scene.content
    };

    You can define global variables by using a public variable on script-level. Just make sure you define it outside of any class definition. For example if you want to define a global environment, you can create a script Environment.fx and put there your global variables:
    public var GLOBAL_VAR1 = 42;You can access this variable from anywhere with:
    Environment.GLOBAL_VAR1 = ...

  • How to access var in outter class inside inner class

    I've problem with this, how to access var number1 and number2 at outter class inside inner class? what statement do i have to use to access it ? i tried with " int number1 = Kalkulator1.this.number1; " but there no value at class option var y when the program was running...
    import java.io.*;
    public class Kalkulator1{
    int number1,number2,x;
    /* The short way to create instance object for input console*/
    private static BufferedReader stdin =
    new BufferedReader( new InputStreamReader( System.in ) );
    public static void main(String[] args)throws IOException {
    System.out.println("---------------------------------------");
    System.out.println("Kalkulator Sayur by Cumi ");
    System.out.println("---------------------------------------");
    System.out.println("Tentukan jenis operasi bilangan [0-4] ");
    System.out.println(" 1. Penjumlahan ");
    System.out.println(" 2. Pengurangan ");
    System.out.println(" 3. Perkalian ");
    System.out.println(" 4. Pembagian ");
    System.out.println("---------------------------------------");
    System.out.print(" Masukan jenis operasi : ");
    String ops = stdin.readLine();
         int numberops = Integer.parseInt( ops );
    System.out.print("Masukan Bilangan ke-1 : ");
    String input1 = stdin.readLine();
    int number1 = Integer.parseInt( input1 );
    System.out.print("Masukan Bilangan ke-2 : ");
    String input2 = stdin.readLine();
    int number2 = Integer.parseInt( input2 );     
         Kalkulator1 op = new Kalkulator1();
    Kalkulator1.option b = op.new option();
         b.pilihan(numberops);
    System.out.println("Bilangan yang dimasukkan adalah = " + number1 +" dan "+ number2 );
    class option{
    int x,y;
         int number1 = Kalkulator1.this.number1;
         int number2 = Kalkulator1.this.number2;
    void pilihan(int x) {
    if (x == 1)
    {System.out.println("Operasi yang digunakan adalah Penjumlahan");
            int y = (number1+number2);
            System.out.println("Hasil dari operasi adalah = " + y);}
    else
    {if (x == 2) {System.out.println("Operasi yang digunakan adalah Pengurangan");
             int y = (number1-number2);
             System.out.println("Hasil dari operasi adalah = " + y);}
    else
    {if (x == 3) {System.out.println("Operasi yang digunakan adalah Perkalian");
             int y = (number1*number2);
             System.out.println("Hasil dari operasi adalah = " + y);}
    else
    {if (x == 4) {System.out.println("Operasi yang digunakan adalah Pembagian ");
             int y = (number1/number2);
             System.out.println("Hasil dari operasi adalah =" + y);}
    else {System.out.println( "Operasi yang digunakan adalah Pembagian ");
    }

    Delete the variables number1 and number2 from your inner class. Your inner class can access the variables in the outer class directly. Unless you need the inner and outer class variables to hold different values then you can give them different names.
    In future place code tags around your code to make it retain formatting. Highlight code and click code button.

  • How to access BAPI in enterprise portal perspective?

    hi,I am venkat new to the portal.can anyone plz tel me how to access BAPI in enterprise portal perspective?is done through JCo or any other database connection?I hav not seen in System Landscape about BAPI access.plz give guidance about BAPI interface in enterprise portal.Hope u  will understand the question and answer the query.
    thanx in advance.
    Regards:
    Venkataramana.

    Guys,
    Herez how you call a BAPI:
         public void buildConnection(){
              try {
                        System.out.println("**** DI2 *****");
                     //      Add a connection pool to the specified system
                     //    The pool will be saved in the pool list to be used
                     //    from other threads by JCO.getClient(SID).
                     //    The pool must be explicitely removed by JCO.removeClientPool(SID)
                       com.sap.mw.jco.JCO.addClientPool( SID,         // Alias for this pool
                                             10,          // Max. number of connections
                                             "040",       // SAP client
                                             "USERNAME",   // userid
                                             "PASSWORD",  // password
                                             "EN",        // language
                                             "IPADDRESS",// host name
                                             "40" );
                     //      Create a new repository
                     //    The repository caches the function and structure definitions
                     //    to be used for all calls to the system SID. The creation of
                     //    redundant instances cause performance and memory waste.
                       repository = com.sap.mw.jco.JCO.createRepository("MYRepository", SID);
                        JCO.Client client = null;
                        client = JCO.getClient(SID);
    //                 Get a function template from the repository
                        //IFunctionTemplate ftemplate = repository.getFunctionTemplate("BAPI_CUSTOMER_GETDETAIL2");
                        IFunctionTemplate ftemplate = repository.getFunctionTemplate("YGGLB_BAPI_YGGLB9PRK_PRKDOCU");
    //                 Create a function from the template
                        JCO.Function function = ftemplate.getFunction();
    //                 Get import (of Function Module) "Parameter list"
                        JCO.ParameterList input = function.getImportParameterList();
    //                 Set inputs for import parameters
                        //input.setValue("0000009000", "CUSTOMERNO");
                        //input.setValue("0248","COMPANYCODE");
    //                 Get import (of Function Module) "Structure list".
                       //JCO.Structure importStructure = function.getImportParameterList().getStructure("CUSTOMERADDRESS");
                        JCO.Structure importStructure = function.getImportParameterList().getStructure("IM_DOCUMENTHEADER");
    //                 Set values for import parameters (of Function Module) "Structure list"                     
                        importStructure.setValue( "SA", "DOC_TYPE" );
                        importStructure.setValue( "20080910", "PSTNG_DATE" );
                        importStructure.setValue( "20080910", "DOC_DATE");
                        importStructure.setValue( "BHARDWS", "USERNAME" );
                        importStructure.setValue( "2008", "FISC_YEAR" );
                        importStructure.setValue( "FRE1", "COMP_CODE" );
    //                 Get import (of Function Module) "Table list - 1".
                        JCO.Table orderPartners = function.getTableParameterList().getTable("TBL_ACCOUNTGL");
    //                 Set values for import parameters (of Function Module) "Table list - 1"
                        //Append Row -1
                        orderPartners.appendRow();
                       orderPartners.setValue("0000000001", "ITEMNO_ACC" );
                         orderPartners.setValue("0000400100", "GL_ACCOUNT" );
                        orderPartners.setValue("H", "DE_CRE_IND" );
                        orderPartners.setValue( "ANYTHING", "ITEM_TEXT" );
                        //orderPartners.setValue( "AG", "PROFIT_CTR" );
                        orderPartners.setValue( "AIG0000007", "COSTCENTER" );
                        //Append Row -2
                        orderPartners.appendRow();
                       orderPartners.setValue("0000000002", "ITEMNO_ACC" );
                        orderPartners.setValue("0000400100", "GL_ACCOUNT" );
                        orderPartners.setValue("S", "DE_CRE_IND" );
                        orderPartners.setValue( "NOTHING", "ITEM_TEXT" );
                        //orderPartners.setValue( "AG", "PROFIT_CTR" );
                        orderPartners.setValue( "AIG0000007", "COSTCENTER" );
    //                 Get import (of Function Module) "Table list - 2".
                        JCO.Table orderItems = function.getTableParameterList().getTable("TBL_CURRENCYAMOUNT");
    //                 Set values for import parameters (of Function Module) "Table list - 2"
                        //Append Row -1
                        orderItems.appendRow();
                       orderItems.setValue("0000000001", "ITEMNO_ACC" );
                        orderItems.setValue("USD", "CURRENCY" );
                        orderItems.setValue( "2000", "AMT_DOCCUR" );
                        //Append Row -2
                        orderItems.appendRow();
                       orderItems.setValue("0000000002", "ITEMNO_ACC" );
                        orderItems.setValue("USD", "CURRENCY" );
                        orderItems.setValue( "2000", "AMT_DOCCUR" );
    //                 Execute client
                        client.execute(function);
    //******************Start to work on fetching values now********************************
    //                 Get export (of Function Module) "Structure list".
                        /*JCO.Structure returnStructure = function.getExportParameterList().getStructure("CUSTOMERADDRESS");
                        JCO.Structure returnStructure2 = function.getExportParameterList().getStructure("CUSTOMERGENERALDETAIL");
                        returnStructure.getString("NAME");
                        returnStructure2.getString("ENTERED_BY");*/
    //                 Get export (of Function Module) "Table list"./// Create a new template if fetching table data from a different function module than above
                        //IFunctionTemplate ftemplateTable = repository.getFunctionTemplate("BAPI_CURRENCY_GETLIST");
                        //JCO.Function functionTable = ftemplateTable.getFunction();
                        //client.execute(functionTable);
                        JCO.Table table_return = function.getTableParameterList().getTable("RETURN");
                        Vector tbl = new Vector();
                        Vector row = new Vector();
                        Vector colNames = new Vector();
                        //Loop over all rows
                        do {
                        //Loop over all columns in the current row and add all those colums values to the current row
                        for (JCO.FieldIterator e = table_return.fields();
                             e.hasMoreElements();
                             JCO.Field field = e.nextField();
                             row.add(field.getString());
                             System.out.println(field.getName() + ":\t" + field.getString());
                             } // end for
                             //Add this newly built row to the table     
                             tbl.add(row);
                             } while (table_return.nextRow());
                             table_return = null;
                             table_return = function.getTableParameterList().getTable("RETURN");
                             table_return.nextRow();
                             for (JCO.FieldIterator e = table_return.fields();
                             e.hasMoreElements();
                             JCO.Field field = e.nextField();
                             colNames.add(field.getName().toString());
                        //DefaultTableViewModel dtvModel = new DefaultTableViewModel(tbl, colNames);
                        //beanObj.setModel(dtvModel);
                             System.err.println("getting value for you from session in Get Data 1:-");
                             JCO.releaseClient(client);
                        //     return dtvModel;
                   catch (JCO.Exception ex) {
                     System.out.println("Caught an exception: \n" + ex.getMessage());
                   }catch (Exception e){
                        System.out.println("Final Message" + e.getMessage());

Maybe you are looking for

  • WEbsite says "plug-ins needed to view this content" how do I know what plug-ins to load?

    I read a newspaper on line and the page by page version seems to require a plug in as noted in the subject line. When i hover the cursor over the site to activate the page version, it says that a plug in is required. How do I know which one is requir

  • FI  G/L flow

    Hi all ,             i am new to finance .send me the FI G/L flow.

  • Reg: UDF for removing values after decimals

    HI,   Please help me on the below issue,   I need an UDF for the follwing requirement, as my input value is 12354.12354875 then the result will be like 12345.123, After deceimal it should get only 3 values. Please help me points will be awarded. Edit

  • Update BP currency failed in DTW

    Dear All, I tried to update BP currency by using DTW. I have the recordkey, BP code, currency code  in the txt file. However, only 4 of them are done. Others are failed. I got an error message: cannot find this object in B1Application-defined or obje

  • SPROXY transaction not working

    Hi, We are facing a problem while executing transaction SPROXY. since a recent patch implementation at SAP-HR Box. Basically, the test tool for sproxy transaction is resulting into dump. Furthermore report "SPRX_INBOUND_TEST" has been deleted from sy