Problem in getting the R/3 system

Hi,
i am getting data from R/3 system by using 2 input fields like integers (those r mandatory)  -
> it's fine
whenever i go for adding 2 more input fields(now 4 fields r mandatory) for that (these 2 r date format)
component controller init()
=====================
Zvendor1_Input input = new Zvendor1_Input();
    wdContext.nodeZvendor1_Input().bind(input);
  Date d = new Date(01/01/2008);
    wdContext.currentZvendor1_InputElement().setVendor("");
    wdContext.currentZvendor1_InputElement().setCo_Code("");
     wdContext.currentZvendor1_InputElement().setPosting_Date_From(d);
     wdContext.currentZvendor1_InputElement().setPosting_Date_To(d);
on action button()
===============
try{
execute
invalidate           r         hereee
catch{}
when i rebuild, compile ,run the appl it shows empty white screen without i/p,o/p fields
if we can write msg  but it gives
can any one solve this problem
Sahithi.

Hi
my problem not solved, ones check it. in ABAP sys date is 2008.01.01 but our wdAppl doesnot accepts this format so i have taken like 01/01/2008
component controller init()
=====================
Zvendor1_Input input = new Zvendor1_Input();
        wdContext.nodeZvendor1_Input().bind(input);
     Date d = new Date(Calendar.getInstance().getTimeInMillis());
        wdContext.currentZvendor1_InputElement().setVendor("");
        wdContext.currentZvendor1_InputElement().setCo_Code("");
        wdContext.currentZvendor1_InputElement().setPosting_Date_From(d);
        wdContext.currentZvendor1_InputElement().setPosting_Date_To(d);
action button()
=================
try {
          wdContext.currentZvendor1_InputElement().modelObject().execute();
          wdContext.nodeOutput().invalidate();
     } catch (WDDynamicRFCExecuteException e) {
          e.printStackTrace();
     int i = wdContext.nodeItab().size();
     if(i==0)
          wdComponentAPI.getMessageManager().reportException("records not found",true);
     wdContext.currentZvendor1_InputElement().modelObject().modelInstance().disconnectIfAlive();
if i can print any msg it can show but it does not show fields(i/p,o/p) and search button  without details
it doesn't show any errors
when i take the i/p of date formates problem raises  otherwise it shows(fetches) correct data
Regards,
Sahithi.

Similar Messages

  • Problem in getting the database connection from a connection pool

    Hai All,
    I am facing a problem in getting the database connection from a connection pool created on weblogic server 8.1.
    I am using the Oracle database 8.1.7.
    I have configured my connection pool, datasource and JNDI in weblogic.
    In my java program i have the following code to retrieve the connection.
    import java.sql.*;    
    import java.util.Hashtable;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    class jdbcshp1 {
        public static void main(String[] args) {
         Connection connection = null;
         try {
               Hashtable ht = new Hashtable();
               ht.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");  // Wanna get rid of this.
               ht.put(Context.PROVIDER_URL,"t3://localhost:7001"); // wanna get rid of this.
               // Get a context for the JNDI look up
               Context ctx = new InitialContext(ht);
            javax.sql.DataSource ds = (javax.sql.DataSource) ctx.lookup ("myjndi1");
              //Create a connection object
              connection = ds.getConnection();
         The above code is working fine but, the two ht.put statements are creating problem.
    The problem is, after converting the application into WAR file it can be deployed
    on any machine or different port on same machine. My application fails if its deployed on
    weglogicserver which is at different port.
    Is there any way that i can get rid of those ht.put statements or any other way to solve the problem.
    any help is appreciated.
    Thanks in advance
    Pooja.

    Hai All,
    Firstly, thanks for ur reply.
    Even i have seen some code which uses context constructor with out any parameter and works fine.
    i dont understand why its not working for my code.
    When i remove those ht.put code and use context constructor with out any parameter, it giving an error.
    Context ctx = new InitialContext();
    javax.sql.DataSource ds = (javax.sql.DataSource) ctx.lookup ("ocjndi");
    connection = ds.getConnection();The error is as follows:
    javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
    the above error is forcing me to include those code but if the port number is changed the code will not work. Plz let meknow if some setting have to be made.
    I appreciate all ur valuable help.
    Thanks once again.
    Pooja.

  • A problem to get the value of a selected cell

    Hi all,
    I am trying to get the value of a cell in JTable. The problem that I have is ListSelectionListener only listens if the selection changes(valueChanged method).
    It means that if I select apple then rum, only rowSelectionModel is triggered, which means I do not get the index of the column from selectionModel of ColumnModel.
    apple orange plum
    rum sky blue
    This is a piece of code from JTable tutorial that I modified by adding
    selRow and selCol variables to keep track of the location so that I can get the value of the selected cell.
    Thank you.
    if (ALLOW_ROW_SELECTION) { // true by default
    ListSelectionModel rowSM = table.getSelectionModel();
    rowSM.addListSelectionListener(new ListSelectionListener() {
    public void valueChanged(ListSelectionEvent e) {
    if (e.getValueIsAdjusting()) return;
    ListSelectionModel lsm = (ListSelectionModel)e.getSource();
    if (lsm.isSelectionEmpty()) {
    System.out.println("No rows are selected.");
    } else {
    int selectedRow = lsm.getMinSelectionIndex();
    selRow = selectedRow;
    System.out.println("Row " + selectedRow + " is now selected.");
    else {
    table.setRowSelectionAllowed(false);
    if (ALLOW_COLUMN_SELECTION) { // false by default
    if (ALLOW_ROW_SELECTION) {
    table.setCellSelectionEnabled(true);
    table.setColumnSelectionAllowed(true);
    ListSelectionModel colSM = table.getColumnModel().getSelectionModel();
    colSM.addListSelectionListener(new ListSelectionListener() {
    public void valueChanged(ListSelectionEvent e) {
    //Ignore extra messages.
    if (e.getValueIsAdjusting()) return;
    ListSelectionModel lsm = (ListSelectionModel)e.getSource();
    if (lsm.isSelectionEmpty()) {
    System.out.println("No columns are selected.");
    } else {
    int selectedCol = lsm.getMinSelectionIndex();
    selCol = selectedCol;
    System.out.println("Column " + selCol + " is now selected.");
    System.out.println("Row " + selRow + " is now selected.");
    javax.swing.table.TableModel model = table.getModel();
    // I get the value here
    System.out.println("Value: "+model.getValueAt(selRow,selCol));
    }

    maybe you can try with :
    table.getSelectedColumn()
    table.getSelectedRow()
    :)

  • I have the Mac Os 10.4.11, and iTunes store will no longer come up on my screen to order tunes.  A download screen appears for the new iTunes. I can't download the new iTunes unless I get the new operating system for my mac.  Is there a way around this?

    I have an iMac with a 10.4.11 operating system.  When I click on iTunes Store, I no longer get the iTunes screen, instead, I get a new iTunes download screen.
    I can't download the new iTunes without upgrading my operating system.  Is there a way around this problem without buying the new operating system?
    I haven't been able to download songs for awhile now.

    which version of iTunes are you on ? if it's earlier than iTunes 9.2.1, get it here.

  • When i try to open my flash player in system preferences i get the message that system preferences quit unexpectedly while using the flash player plugin.

    when i try to open my flashplayer in system preferences i get the message that system preferences quit unexpectedly while using the flashplayer plugin. thanks for any help

    The problem has been fixed with the most recent OS X software update.

  • The problem is with the new operating system  and sending photo via email when used in my iPad.   From photo I selected 3 photos to send via email. I choose the upload key and choose to send by email. Typing text on the email is very slow.

    The problem is with the new operating system  and sending photo via email when used in my iPad.
    From photo I selected 3 photos to send via email. I choose the upload key and choose to send by email. Typing text on the email is very slow. This is solved by saving the email as a draft and opening the email again from mail.
    Can you amend he system to allow emails to be sent from photo as previously.

    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after the iPad shuts down, then press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds). Ignore the "Slide to power off"

  • I got a iphone 5 but it does not work on my MacBook with Mac OSx 10.5.8  it says i need OSX 10.6.8 but it will not download because I need OSX 10.6 but it would load either. How do I get the older operating system to work with the IPhone5?

    I got a iphone 5 but it does not work on my MacBook with Mac OSx 10.5.8  it says i need OSX 10.6.8 but it will not download because I need OSX 10.6 but it would load either. How do I get the older operating system to work with the IPhone5?

    You don't. Since you have an Intel Mac, buy a Mac OS X 10.6 DVD from the online Apple Store.
    (71894)

  • How to get the current logical system?

    Dear Abapers:
    I can't find the logical system value from the table SYST, pls tell me how to get the current logical system name, Thanks!

    Hi,
    Check with the table T000, the Logical system field name is LOGSYS.
    Regards
    Thiru

  • Problem in getting the function template object from the repository.

    Hi all,
    I have created a par file. I have a JCO connection in that. I am facing problems in getting the function template object from the repository. This thing is running successfully when i try to deploy it in Tomcat. But i am facing problems when i try to deploy it in SAP EP 6.0.
    Below is statement which is giving error after being deployed to SAP EP6.
    This is executing fine when executed in Tomcat Server.
    // getting the object of function template
    IFunctionTemplate functionTemplate =
    aRepository.getFunctionTemplate("YADDNEWUSER");
    Note : YADDNEWUSER is the name of the RFC which I am calling from my JAVA Code.
    Thanks in advance,
    Divija

    This sounds like a bug in the smart upload code. I have used this stuff before, but it's probably an older version, so maybe they broke something. Enumerations aren't usually guaranteed to keep things in any particular order. I would say for now, make a method to take the enumeration and a param name to find the value. And write to the JSPSmart people.

  • HT5624 I don't want Icloud.  I believe it drains the battery of my phone.  How do I get the old operating system back on my new iphone 4G?

    I just got a new upgrade iphone from a 3G to 4G.  My son updated the software with Icloud.  I do not like it, it drains my battery.  How do I get the old operating system back (without icloud).  Also, I don't know how to close an APP anymore and I think that could be draining my battery as well.  It doesn't work the same way when I doubled click and then touch the APP it doesn't give me a dash to close it up again.

    Apple does not support downgrading the iOS.
    As for icloud, go to   Settings>icloud, scroll to bottom of screen and tap Delete Account.
    As for battery drain... 
    Look through this...
    http://osxdaily.com/2013/09/19/ios-7-battery-life-fix/
    Also, Settings>General>Background App Refresh:   turn off apps you don't want refreshing data - this can preserve battery life.
    Also try a reboot:  press and hold the home and power buttons until the Apple icon is displayed, then let go.

  • Problem about get the workflow context

    There are 2 servers.
    One is Weblogic server (server1), deployed a fusion web project on it.
    Another is BPM server (server2), deployed the bpm process on it.
    On the fusion web project, we use API to get the tasks. But we encountered a problem about get the workflow context.
    There are 2 method to get the workflow context.
    1. getTaskQueryService().authenticate(userId, password, null, null), this method need to pass in useId and password, we can get the user form request but can't get
    password.
    2. getTaskQueryService().createContext(request), we pass the request on server1, but can't get the context on server2, exception thrown.
    Appreciate if you can give some help.

    javax.el.ELException: java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[jcooper, ERole]
         at javax.el.BeanELResolver.getValue(BeanELResolver.java:266)
         at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
         at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)
         at com.sun.el.parser.AstValue.getValue(Unknown Source)
         at com.sun.el.ValueExpressionImpl.getValue(Unknown Source)
         Truncated. see log file for complete stacktrace
    Exception thrown when createContext()

  • Problem in getting the application login page

    Hi Firends,
    I am facing problem in getting the application login page.
    http://localhost:7777/pls/apex/f?p=102:1
    when i am clicking this link it is not directing me to the login page for this application.please let me know what could be the reason behind this.
    Thanks in advance

    Hi Martin, many thanks for replying. Let me know how this could effect in not getting the login page. I have checked in my application,it is by default "No application authorization required " and other option is " must not be a public user " . Should i change it to " must not be a public user from no application authorization required"
    please put more light on it. Y i am saying this because it was working fine day b4r yesterday but today i am getting problem in finding the login page of my application aftr providing the url. i am following the SSO authentication scheme and under Home>Application Builder>Application 102>Shared Components>Edit Security Attributes , i have given f?p=&APP_ID.:1:&SESSION. as home link and under Home>Application Builder>Application 100>Page 101>Edit Page Process, this code i have provided
    wwv_flow_custom_auth_std.login(
    P_UNAME => v('P101_USERNAME'),
    P_PASSWORD => :P101_PASSWORD,
    P_SESSION_ID => v('APP_SESSION'),
    P_FLOW_PAGE => :APP_ID||':1'
    as a source code.
    i am really stucked into it, and i need to finish is ASAP. Please provide all possible reasons for this problem.

  • Is it okay to upgrade from os x 10.6.8 to yosemity without first getting the other operating systems?

    is it okay to upgrade from os x 10.6.8 to yosemity without first getting the other operating systems?

    Hey there jpenilla,
    Welcome to Apple Support Communities.
    Yes. The webpage below provides the answer to your question, about upgrading to Yosemite from OS X Snow Leopard (v10.6.8), and it provides additional information that you may find helpful.
    Apple - OS X Yosemite - How to Upgrade
    You can upgrade to OS X Yosemite from the following:
    OS X Snow Leopard (v10.6.8)
    OS X Lion (v10.7)
    OS X Mountain Lion (v10.8)
    OS X Mavericks (v10.9)
    So long,
    -Jason

  • Problem with getting the little blackberry icon

    Hi the blackberry I'm using is working and up to date. I was setting up my mates blackberry 9320 but having a problem with getting the little blackberry icon to appear in the top right corner of my phone where the GMS is and signal bar and stuff its something to do with blackberry.
    I tried downloading bbm and it say associating bbm with blackberry id and constant loads with nothing happening bbm not working
    I NEED THE TINY BB ICON AT TOP RIGHT???

    Hi neal123
                            That BlackBerry icon will appear near signal bar when we activate  BIS on a 3G device. Did he activated BIS on his account. ? 
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • I currently have the Mac OS X v10.5.8 and want to get the new operating system but I don't know how to do it. I don't have the Mac App Store and can't get it because of my version. What do I do?

    I currently have the Mac OS X v10.5.8 and want to get the new operating system but I don't know how to do it. I don't have the Mac App Store and can't get it because of my version. What do I do?

    The Early 2006 model 1,1 Core Duo can only run a maximum of 10.6 Snow Leopard. The models Late 2006 Core 2 Duos 2,1 through Early 2008 4,1 can only run a maximum of 10.7 Lion. The Late 2008 model 5,1 Aluminum Unibody through the Mid 2010 White Unibody model 7,1 can run 10.8 Mountain Lion.
    To see which model you have go to the Apple in the upper left corner and select About This Mac, then click on More Info. When System Profiler comes up check the Model Identifier and post it back here.
    The Snow Leopard 10.6 DVD should still be available from Apple for $20. You will have to call Apple Customer Care 1-800-692-7753 or 1-800-676-2775 to purchase it. It may still be in the Legacy Products list.
    If they no longer have any in stock you will have to buy it from eBay or Apple resellers that still have stock. But you will have to pay a premium since the DVDs are no longer being made. Snow Leopard DVDs are already up to $100 on Amazon.
    http://www.ebay.com/sch/i.html?_nkw=10.6+snow+leopard&_sacat=0&_odkw=mac+os+10.6 &_osacat=0
    Once you are at 10.6.8 Lion is still available from Apple. You will have to call Apple Customer Care 1-800-692-7753 or 1-800-676-2775. to purchase it. Then within 3 days you will get an email with a code which you can use to download Lion from the App Store.  The price is still $29. You must have at least a model 2,1 MacBook.
    Lion will require at least 2gb of RAM but really needs 4gb to run smoothly.
    As for third party programs see this list for compatibility with 10.7 http://roaringapps.com/apps:table
    Also Lion doesn't run any Power PC programs. To see if you have any Power PC programs go to the Apple in the upper left corner and select About This Mac, then click on More Info. When System Profiler comes up select Applications under Software. Then look under Kind to see if any of your applications are listed as Power PC. Universal and Intel will run under Lion.
    Before Mac switched to Intel processors in 2006 they used Power PC processors from 1994 to 2005. Power PC 601 through 604, G3, G4 and G5. Applications written for the Power PC processors need the application called Rosetta to run on Intel processors. This was part of the Operating System in 10.4 and 10.5 but was an optional install in 10.6. With 10.7 Lion Apple dropped all support for Power PC applications.

Maybe you are looking for

  • Doubt in memory allocation

    Hi.. I have doubt in object memory allocation. for example see the following code, String str = new String(JAVA PROGRAMMING); 1) int index = str.toLowerCase( ).indexOf("ram", 0); 2) String temp = str.toLowerCase( ); int index = temp.indexOf("ram", 0)

  • SQL Developer 3.0 EA2 quick feedback (outdated there is an EA3 now)

    Ok, this post is outdated. Once I've tried EA3 I'll give my feedback again, hopefully not just before EA4 or the final release is released. Since I don't see another way to give feedback about the new SQL Developer EA release, here a brief summary of

  • REPORT ON JOB ARCHITECTURE

    Hi Experts. Do we have any report available from which we can get the upward mobility of an employee in the Job Architecture? Eg. If the HR Manager wants to know that how many people have grown from "Field Sales" to "Manager Sales"?  So , do we have

  • How to convert a row value in CSV file to column value

    Hi We have one requirement where we have to show the row value to column level value for Example: Source file will be in below format Component Name :101 **Batch #     **100% Mod     200% Mod      300% Mod      400% Mod     Tensile     Elongation    

  • TS1702 Trying to download pp but says it rehired iSO5. I have iSO5 but it still will not load.  Help please.....Thanks

    I am trying to download an app but it says it requires iOS5.  I have iOS5 but it still will not load.  What do I need to do?