Help!  Very Urgent!

Dear Sir,
I am using Jbuilder and SQL Server 2000.
I designed a CMP Entity Bean, but when I try
to deploy the jar file(containing this EJB), SunOne Admin Console gave me the following information:
Error
Deployment Error -- Error while running ejbc -- Fatal Error from EJB Compiler -- -- Error while processing CMP beans.
But when I delete four fields from this CMP bean,
it works well.
The four fields are of the same type: varchar.
I do not know why. And how to solve this problem?
Could you give me an answer please?
Thank you very much.

Please check the contents of the server log file - there should be more detailed info as to what went wrong there.

Similar Messages

  • Please i need help very urgent !!! after deleting my exchange account because the company changed the password , I lost 150 200 contacts and i need to get them back very soon ! please help

    Please i need help very urgent !!! after deleting my exchange account because the company changed the password , I lost 150 200 contacts and i need to get them back very soon !  i never backed up on itunes ..please help

    No. The contacts are "owned" by the Exchange server.
    The Exchange server is owned by the company.
    Everything on the Exchange server is owned by the company.
    If you quit or were terminated, and your access to the system has been revoked, then there is nothing you and do at this point. Once you deleted the account from your phone, all of the associated data was deleted.
    NEVER store personal information on company systems.

  • Error Pl help-Very urgent!

    Am getting the following error.Please help very urgent
    500 Translator.CompilationFailedExceptionCompiler errors:
    Found 1 semantic error compiling "D:/JRun4/servers/default/default-ear/default-war/WEB-INF/jsp/jrun__quicklinks2ejspf.java":
    502. for (Enumeration e = prioLinkBean.getGlobalTop() ; e.hasMoreElements() ;)
    <---------->
    *** Error: "prioLinkBean" is either a misplaced package name or a non-existent entity.
    Translator.CompilationFailedExceptionCompiler errors:
    Found 1 semantic error compiling "D:/JRun4/servers/default/default-ear/default-war/WEB-INF/jsp/jrun__quicklinks2ejspf.java":
    502. for (Enumeration e = prioLinkBean.getGlobalTop() ; e.hasMoreElements() ;)
    <---------->
    *** Error: "prioLinkBean" is either a misplaced package name or a non-existent entity.

    prioLinkBean.getGlobalTop();
    are u sure this method returns an Enumeration ???
    post ur code!
    [email protected]

  • Problem with Accessing Deployed Servlets Please help, very urgent.

    Inspite of going through lots of Docs. I am not able to access the JSP which is deployed using JDeveloper 3.2 in the browser? What should be the URL and where should I place the JSP and the related files in the Apache Server (Specific directory)?
    Please help, this is very Urgent.
    Could I get some sites where I can get detailed description of how to deploy and access Servlets and JSPS using JDeveloper 3.2 for OAS 9i?
    Thanks in advance,
    Regards,
    Kavita.
    null

    Hi Kativa,
    In answer to your first question: In most apache installs, you want to place all your JSPs under the Apache/htdocs directory. This htdocs directory becomes the root directory of your HTTP request, so, for example, to access the file
    Apache/htdocs/mydir/myJSP.jsp
    you'd point your browser to
    server:port/mydir/myJSP.jsp]http://server:port/mydir/myJSP.jsp
    As to your second question: Do you mean Oracle 9iAS? If so, look at this HOWTO: http://technet.oracle.com:89/ubb/Forum2/HTML/006398.html
    JDeveloper 3.2 does not support deployment to OAS (the predecessor to iAS), but there was no OAS 9i.
    null

  • SQL Query, please help very urgent

    I am a newbie is sql.
    I have two tables called test_master and test_detail.
    Both tables contains pos_id as common field.
    In test_detail got sub_id and to get the people under a given pos_id, I join with pos_id of test_master.
    In the where condition, when I give the pos_id, it's returning only
    the first level. How can I get the second level and get all the levels?
    Any help is highly appreciable.It's very urgent.
    Looking forward to hear from you.
    Thanks
    Newbie

    Ok, I am pasting the description of the master and detail in the order.
    Master
    EMPLOYEE_NO VARCHAR2(30)
    ORGANIZATION_ID NUMBER(15)
    ORGANIZATION_NAME VARCHAR2(240)
    POSITION_ID NUMBER(15)
    POSITION_NAME VARCHAR2(240)
    Detail
    POSITION_ID NUMBER(15)
    SUBORDINATE_ID NUMBER(15)
    ORGANIZATION_ID NUMBER(15)
    POSITION_NAME VARCHAR2(50)
    Here is the sql, I want to get all the subordinates under a given position_id of the master.
    Looking forward to hear from you.
    select a.employee_no,a.POSITION_ID,a.POSITION_NAME,a.EMPLOYEE_NAME,
    b.position_id,b.subordinate_id from portal_employee_master_test a,
    portal_structure_test b
    where a.POSITION_ID = b.POSITION_ID and a.POSITION_ID='xyz'
    and b.position_ID=a.POSITION_ID

  • MSI MS 7100 K8N Neo 4 Diamond need bios configuration help very urgent

    Hello every body i need very urgent help,
    i need help on above mainboard bios conf. i will attach two seperate hdd (120 GB sata II) and i will setup W2003 standart 32bit ed.
    if possible i won't use any raid configurations, but i need speed
    how should i conf. bios and which controller shouşd i use silicon or nvidia or how and wich has to be used.
    corecction about my configuration
    Mainboard   MSI MS 7100 K8N Neo 4 Diamond (NF4 SLI,GLAN,SATA)
    CPU      AMD Athlon 64 X2 3800+ (2.0GHz,1024K Cache,S939) BOX
    Ram      CORSAIR Value Select DDR400 1024MB Kit (2x512MB)
    Hdd      SAMSUNG 120GB 7200RPM 8MB SATAII     (2x120GB)
    Graphic Card         SAPPHIRE 256MB ATI Radeon X1600 PRO (PCI-E) AVIVO
    Case                      ENLIGHT 7247 400W

    Hello !!
    The Bios configuration depends on many factors.....but we do not know anything about your configuration. ( CPU, RAM, Powersupply.....)
    If you need HDD Speed, RAID 0 will be a good Option and you should consider it.
    Both Controllers, Silicon Image & nvidia, have the same speed. But i think you can not attach Optical drives to the Silicon Image Controller. ( if someone has other experiance please post )
    Good Luck
    Greetz MurdoK

  • Pls help (very urgent)... hit exception on runtime...

    hi,
    hope my help can come in time...
    its pretty urgent as my final presentation is on this coming friday(singapore time)...
    i had coded a class where i can connect to the public UDDI. now i want to get the WSDL document location. but i could not get what i want. then, i used the Service class from the javax.xml.rpc where it has the getWSDLDocumentLocation() function.
    but when i implement it in my class, when i compile, it does not have any errors, but when i run it, it hit the following error:
    java.lang.ClassCastException: com.sun.xml.registry.uddi.infomodel.ServiceImpl
    at FYPJ.NaicsQuery.executeQuery(NaicsQuery.java:131)
    at FYPJ.FYPJ.jButton1ActionPerformed(FYPJ.java:409)
    at FYPJ.FYPJ.access$200(FYPJ.java:22)
    at FYPJ.FYPJ$3.actionPerformed(FYPJ.java:220)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1767)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1820)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:258)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:227)
    at java.awt.Component.processMouseEvent(Component.java:5021)
    at java.awt.Component.processEvent(Component.java:4818)
    at java.awt.Container.processEvent(Container.java:1380)
    at java.awt.Component.dispatchEventImpl(Component.java:3526)
    at java.awt.Container.dispatchEventImpl(Container.java:1437)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
    at java.awt.Container.dispatchEventImpl(Container.java:1423)
    at java.awt.Window.dispatchEventImpl(Window.java:1566)
    at java.awt.Component.dispatchEvent(Component.java:3367)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
    the following is my class for public UDDI connection:
    package FYPJ;
    import javax.xml.registry.*;
    import javax.xml.registry.infomodel.*;
    import java.net.*;
    import java.util.*;
    import java.lang.*;
    public class NaicsQuery
    private Connection m_conn;
    private int cntServices = 0;
    Vector servicesAva = new Vector();
    // empty constructor
    public NaicsQuery()
    public void makeConnection(String conn)
         Properties props = new Properties();
         props.setProperty("javax.xml.registry.queryManagerURL", conn);
         props.setProperty("javax.xml.registry.factoryClass",
    "com.sun.xml.registry.uddi.ConnectionFactoryImpl");
         try
    ConnectionFactory factory = ConnectionFactory.newInstance();
    factory.setProperties(props);
    this.m_conn = factory.createConnection();
    System.out.println("Connection to UDDI created");
         catch (Exception e)
    e.printStackTrace();
    if (this.m_conn != null)
              try
    this.m_conn.close();
              catch (Exception eb)
    public void executeQuery(String serviceName)
         RegistryService rs;
         BusinessQueryManager bqm;
         BusinessLifeCycleManager blcm;
    try
    // Get registry service & managers
    rs = m_conn.getRegistryService();
    bqm = rs.getBusinessQueryManager();
    blcm = rs.getBusinessLifeCycleManager();
    System.out.println("Got registry service, query manager, and life cycle manager.");
    Collection classifications = new ArrayList();
    classifications.add(serviceName);
    BulkResponse response = bqm.findOrganizations(null, classifications, null, null, null, null);
    Collection orgs = response.getCollection();
    // Display info about the organizations found
    Iterator orgIter = orgs.iterator();
    while(orgIter.hasNext())
    Organization org = (Organization)orgIter.next();
    System.out.println("Organization Name: " + org.getName().getValue());
    System.out.println("Organization Description: " + org.getDescription().getValue());
    System.out.println("Organization Key ID: " + org.getKey().getId());
    Collection links = org.getExternalLinks();
    if (links.size() > 0)
    ExternalLink link = (ExternalLink)links.iterator().next();
    System.out.println("URL to WSDL document: " + link.getExternalURI());
    // Display primary contact information
    User pc = org.getPrimaryContact();
    if(pc != null)
    PersonName pcName = pc.getPersonName();
    System.out.println("Contact name: " + pcName.getFullName());
    Collection phNums = pc.getTelephoneNumbers(null);
    Iterator phIter = phNums.iterator();
    while(phIter.hasNext())
    TelephoneNumber num = (TelephoneNumber)phIter.next();
    System.out.println("Phone number: " + num.getNumber());
    Collection eAddrs = pc.getEmailAddresses();
    Iterator eaIter = eAddrs.iterator();
    while(phIter.hasNext())
    System.out.println("Email Address: " + (EmailAddress)eaIter.next());
    // Display service and binding information
    Collection services = org.getServices();
    Iterator svcIter = services.iterator();
    while(svcIter.hasNext())
    Service svc = (Service)svcIter.next();
    System.out.println("Service name: " + svc.getName().getValue());
    System.out.println(" Service description: " + svc.getDescription().getValue());
    //Collection linkURL = svc.getExternalLinks();
    //System.out.println(" WSDL document: " + linkURL.toString());
    javax.xml.rpc.Service rpcSvc = (javax.xml.rpc.Service)svcIter.next();
    System.out.println(" WSDL location: " + rpcSvc.getWSDLDocumentLocation());
    cntServices ++;
    servicesAva.add((String)svc.getName().getValue() + " (" + org.getName().getValue() + ")");
    Collection serviceBindings = svc.getServiceBindings();
    Iterator sbIter = serviceBindings.iterator();
    while(sbIter.hasNext())
    ServiceBinding sb = (ServiceBinding)sbIter.next();
    System.out.println(" Binding description: " + sb.getDescription().getValue());
    System.out.println(" Access URI: " + sb.getAccessURI());
    Collection specLinks = sb.getSpecificationLinks();
    Iterator slIter = specLinks.iterator();
    while(slIter.hasNext())
    SpecificationLink spLink = (SpecificationLink)slIter.next();
    System.out.println(" Usage description: " + spLink.getUsageDescription());
    Collection useParam = spLink.getUsageParameters();
    Iterator useIter = useParam.iterator();
    while(useIter.hasNext())
    String usage = (String)useIter.next();
    System.out.println(" Usage Parameter: " + usage);
    System.out.println("-----------------------------------");
    System.out.println("*****************************************************************");
    catch(Throwable e)
    e.printStackTrace();
    finally
    // At end, close connection to registry
    if(m_conn != null)
    try
    this.m_conn.close();
    catch(JAXRException jaxre)
    public int getNumServices()
    return cntServices;
    public Vector getServicesAva()
    return servicesAva;
    ur help will be greatly appreciated...
    thanx in advance...
    - eric

    Eric ,
    You are trying to cast a javax.xml.registry.infomodel.Service to javax.xml.rpc.Service. This is not right
    This is causing the problem.
    There is an article on how to use the different Java Web services developer pack technologies using the example of the employee portal at
    http://developer.java.sun.com/developer/technicalArticles/WebServices/WSPack2/index.html
    That may give you an idea on how to go about doing it.
    Thanks,
    Bhakti
    hi,
    hope my help can come in time...
    its pretty urgent as my final presentation is on this
    coming friday(singapore time)...
    i had coded a class where i can connect to the public
    UDDI. now i want to get the WSDL document location.
    but i could not get what i want. then, i used the
    Service class from the javax.xml.rpc where it has the
    getWSDLDocumentLocation() function.
    but when i implement it in my class, when i compile,
    it does not have any errors, but when i run it, it hit
    the following error:
    java.lang.ClassCastException:
    com.sun.xml.registry.uddi.infomodel.ServiceImpl
    at
    at
    at
    t FYPJ.NaicsQuery.executeQuery(NaicsQuery.java:131)
    at
    at
    at FYPJ.FYPJ.jButton1ActionPerformed(FYPJ.java:409)
    at FYPJ.FYPJ.access$200(FYPJ.java:22)
    at FYPJ.FYPJ$3.actionPerformed(FYPJ.java:220)
    at
    at
    at
    t
    javax.swing.AbstractButton.fireActionPerformed(Abstract
    utton.java:1767)
    at
    at
    at
    t
    javax.swing.AbstractButton$ForwardActionEvents.actionPe
    formed(AbstractButton.java:1820)
    at
    at
    at
    t
    javax.swing.DefaultButtonModel.fireActionPerformed(Defa
    ltButtonModel.java:419)
    at
    at
    at
    t
    javax.swing.DefaultButtonModel.setPressed(DefaultButton
    odel.java:257)
    at
    at
    at
    t
    javax.swing.plaf.basic.BasicButtonListener.mouseRelease
    (BasicButtonListener.java:258)
    at
    at
    at
    t
    java.awt.AWTEventMulticaster.mouseReleased(AWTEventMult
    caster.java:227)
    at
    at
    at
    t
    java.awt.Component.processMouseEvent(Component.java:502
    at
    at
    at
    t
    java.awt.Component.processEvent(Component.java:4818)
    at
    at
    at
    t
    java.awt.Container.processEvent(Container.java:1380)
    at
    at
    at
    t
    java.awt.Component.dispatchEventImpl(Component.java:352
    at
    at
    at
    t
    java.awt.Container.dispatchEventImpl(Container.java:143
    at
    at
    at
    t
    java.awt.Component.dispatchEvent(Component.java:3367)
    at
    at
    at
    t
    java.awt.LightweightDispatcher.retargetMouseEvent(Conta
    ner.java:3214)
    at
    at
    at
    t
    java.awt.LightweightDispatcher.processMouseEvent(Contai
    er.java:2929)
    at
    at
    at
    t
    java.awt.LightweightDispatcher.dispatchEvent(Container.
    ava:2859)
    at
    at
    at
    t
    java.awt.Container.dispatchEventImpl(Container.java:142
    at
    at
    at
    t java.awt.Window.dispatchEventImpl(Window.java:1566)
    at
    at
    at
    t
    java.awt.Component.dispatchEvent(Component.java:3367)
    at
    at
    at
    t
    java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
    at
    at
    at
    t
    java.awt.EventDispatchThread.pumpOneEventForHierarchy(E
    entDispatchThread.java:190)
    at
    at
    at
    t
    java.awt.EventDispatchThread.pumpEventsForHierarchy(Eve
    tDispatchThread.java:144)
    at
    at
    at
    t
    java.awt.EventDispatchThread.pumpEvents(EventDispatchTh
    ead.java:138)
    at
    at
    at
    t
    java.awt.EventDispatchThread.pumpEvents(EventDispatchTh
    ead.java:130)
    at
    at
    at
    t
    java.awt.EventDispatchThread.run(EventDispatchThread.ja
    a:98)
    the following is my class for public UDDI connection:
    package FYPJ;
    import javax.xml.registry.*;
    import javax.xml.registry.infomodel.*;
    import java.net.*;
    import java.util.*;
    import java.lang.*;
    public class NaicsQuery
    private Connection m_conn;
    private int cntServices = 0;
    Vector servicesAva = new Vector();
    // empty constructor
    public NaicsQuery()
    public void makeConnection(String conn)
         Properties props = new Properties();
         props.setProperty("javax.xml.registry.queryManagerURL"
    conn);
    props.setProperty("javax.xml.registry.factoryClass",
    "com.sun.xml.registry.uddi.ConnectionFactoryImpl");
         try
    ConnectionFactory factory =
    y factory = ConnectionFactory.newInstance();
    factory.setProperties(props);
    this.m_conn = factory.createConnection();
    System.out.println("Connection to UDDI
    ion to UDDI created");
         catch (Exception e)
    e.printStackTrace();
    if (this.m_conn != null)
              try
    this.m_conn.close();
              catch (Exception eb)
    public void executeQuery(String serviceName)
         RegistryService rs;
         BusinessQueryManager bqm;
         BusinessLifeCycleManager blcm;
    try
    // Get registry service & managers
    rs = m_conn.getRegistryService();
    bqm = rs.getBusinessQueryManager();
    blcm = rs.getBusinessLifeCycleManager();
    System.out.println("Got registry service,
    ry service, query manager, and life cycle manager.");
    Collection classifications = new
    tions = new ArrayList();
    classifications.add(serviceName);
    BulkResponse response =
    response = bqm.findOrganizations(null,
    classifications, null, null, null, null);
    Collection orgs =
    tion orgs = response.getCollection();
    // Display info about the organizations
    ganizations found
    Iterator orgIter = orgs.iterator();
    while(orgIter.hasNext())
    Organization org =
    anization org = (Organization)orgIter.next();
    System.out.println("Organization Name:
    anization Name: " + org.getName().getValue());
    System.out.println("Organization
    n("Organization Description: " +
    org.getDescription().getValue());
    System.out.println("Organization Key
    rganization Key ID: " + org.getKey().getId());
    Collection links =
    lection links = org.getExternalLinks();
    if (links.size() > 0)
    ExternalLink link =
    ExternalLink link =
    (ExternalLink)links.iterator().next();
    System.out.println("URL to WSDL
    rintln("URL to WSDL document: " +
    link.getExternalURI());
    // Display primary contact
    primary contact information
    User pc = org.getPrimaryContact();
    if(pc != null)
    PersonName pcName =
    PersonName pcName = pc.getPersonName();
    System.out.println("Contact name:
    ntln("Contact name: " + pcName.getFullName());
    Collection phNums =
    Collection phNums = pc.getTelephoneNumbers(null);
    Iterator phIter =
    Iterator phIter = phNums.iterator();
    while(phIter.hasNext())
    TelephoneNumber num =
    TelephoneNumber num =
    = (TelephoneNumber)phIter.next();
    System.out.println("Phone
    stem.out.println("Phone number: " + num.getNumber());
    Collection eAddrs =
    Collection eAddrs = pc.getEmailAddresses();
    Iterator eaIter =
    Iterator eaIter = eAddrs.iterator();
    while(phIter.hasNext())
    System.out.println("Email
    stem.out.println("Email Address: " +
    (EmailAddress)eaIter.next());
    // Display service and binding
    ice and binding information
    Collection services =
    tion services = org.getServices();
    Iterator svcIter =
    rator svcIter = services.iterator();
    while(svcIter.hasNext())
    Service svc =
    Service svc = (Service)svcIter.next();
    System.out.println("Service name:
    ntln("Service name: " + svc.getName().getValue());
    System.out.println(" Service
    t.println(" Service description: " +
    svc.getDescription().getValue());
    //Collection linkURL =
    ollection linkURL = svc.getExternalLinks();
    //System.out.println(" WSDL
    .out.println(" WSDL document: " +
    linkURL.toString());
    javax.xml.rpc.Service rpcSvc =
    pc.Service rpcSvc =
    (javax.xml.rpc.Service)svcIter.next();
    System.out.println(" WSDL
    .out.println(" WSDL location: " +
    rpcSvc.getWSDLDocumentLocation());
    cntServices ++;
    servicesAva.add((String)svc.getName().getValue()
    lue() + " (" + org.getName().getValue() + ")");
    Collection serviceBindings =
    n serviceBindings = svc.getServiceBindings();
    Iterator sbIter =
    Iterator sbIter = serviceBindings.iterator();
    while(sbIter.hasNext())
    ServiceBinding sb =
    ServiceBinding sb =
    b = (ServiceBinding)sbIter.next();
    System.out.println(" Binding
    m.out.println(" Binding description: " +
    sb.getDescription().getValue());
    System.out.println(" Access
    em.out.println(" Access URI: " + sb.getAccessURI());
    Collection specLinks =
    Collection specLinks = sb.getSpecificationLinks();
    Iterator slIter =
    Iterator slIter = specLinks.iterator();
    while(slIter.hasNext())
    SpecificationLink spLink =
    SpecificationLink spLink =
    (SpecificationLink)slIter.next();
    System.out.println(" Usage
    System.out.println(" Usage description: " +
    spLink.getUsageDescription());
    Collection useParam =
    Collection useParam =
    ram = spLink.getUsageParameters();
    Iterator useIter =
    Iterator useIter = useParam.iterator();
    while(useIter.hasNext())
    String usage =
    String usage =
    String usage = (String)useIter.next();
    System.out.println("
    System.out.println(" Usage Parameter: " +
    meter: " + usage);
    System.out.println("----------------------------------
    System.out.println("**********************************
    catch(Throwable e)
    e.printStackTrace();
    finally
    // At end, close connection to registry
    if(m_conn != null)
    try
    this.m_conn.close();
    catch(JAXRException jaxre)
    public int getNumServices()
    return cntServices;
    public Vector getServicesAva()
    return servicesAva;
    ur help will be greatly appreciated...
    thanx in advance...
    - eric

  • My recirculating pump in sub vi simulation link doesnt work in the second iteration .It opens for maybe half a second whereas i gave the time delay for 5 secs..plz help very urgent

    Hi,
         I have attached my simulation loop.In the model attached i hav eone main pump with constant rpm which drives the 5 smaller pumps and fills the tank at the same time.As soon as the tanks reach their 90% level,the valves of the five pumps close(SP1,SP2,SP3,Sp4,Sp5).After that the recirculating pumps opens for 5 secs of the first tank.As soon as the recirculation finishes,the drain valve(SV1) for tank 1 open and the volume goes to interim storage.This happens for all the remaining tanks.
    My simulation works the first time,but when the second time the loop starts,it skips the recirculation pump even though i gave a time delay for 5 secs.Plz help ..I have attached the simulation.
    Thanks,
    Rami
    Attachments:
    Spatial Logic_2_Final.vi ‏223 KB

    Rami,
    I suspect that you have a race condition. The widespread use of local variables frequently leads to race conditions. Your subVI (Spatial Logic Sub_2.vi was not included) so I cannot run the VI. You have no way of knowing whether the subVI or the inner case structure will execute first, because there is no data dependency between them.
    I think a shift register or a few and some dataflow thinking would allow you to eliminate the inner case structure, the local variables, and, probably, most of your problems.
    Some of the SPi are indicators and some are controls. How are they used?
    The last case of the inner loop retursn to Case 1. Would case 0 be better?
    As for the second time through issue, it may be related to the Elapsed time function Auto Reset. From the help file: "Resets the start time to the value in Present (s) when the Express VI reaches the Time Target (s)." If more than 5 seconds elapses between the first time you use this and the next, it will exit immediately on the subsequent calls.
    Lynn

  • Jaxrpc compilation exception(plz Help very Urgent Plz)

    Hello there....
    while deploying a simple webservice using deploytool i m getting this error while the application that is being deployed is not even using ejbs....
    i m trying to compile the example given on the forum by Qusay H. Mahmoud, so plz help me to get out from this......
    Thank u ....alll
    distribute: C:\Sun\AppServer\apps\Add.war
    deployment started : 0%
    Deploying application in domain failed; Error while running ejbc -- Fatal Error from EJB Compiler -- jaxrpc compilation exception
    ; requested operation cannot be completed
    !!! Operation Failed !!!
    !!! With The Following Failure Messages !!!
    Deploying application in domain failed; Error while running ejbc -- Fatal Error from EJB Compiler -- jaxrpc compilation exception
    ; requested operation cannot be completed
    Error while running ejbc -- Fatal Error from EJB Compiler -- jaxrpc compilation exception
    [Completed (time=24.0sec, status=13)]
    **********************************************************************

    I had a similar problem with Sun App Server.If you can check the domain/log/Server.log.It explains a valid endpoint address is missing in the deployment.To do this open the deployment tool and click the Implementation class in the tree(Bean Shaped).
    You can see a endpoint tab within which you need to configure the Endpoint address.
    The deployment went fine after this.
    Good Luck !!!

  • Problem in JTable,Kindly help very urgent

    I am trying to add /remove rows from JTable whose first column is JButton and others are JComboBox's.If no rows are selected,new row is added at the end.If user selects some row & then presses insert button,new row is added below it.Rows can only be deleted if user has made some selection.I am also using Icon for the button of currently active row.But i am getting exception(ArrayIndexBounds)when i try to add/delete.May be proper refreshing is not taking place.Kindly help me,where i am making mistake.If any function is to be used.My code is as follows....It is running code
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.table.*;
    import javax.swing.border.*;
    import java.util.*;
    public class JButtonTableExample extends JFrame implements ActionListener,TableModelListener
    JComboBox mComboLHSType = new JComboBox();
    JComboBox mComboRHSType = new JComboBox();
    JLabel mLabelLHSType = new JLabel("LHS Type");
    JLabel mLabelRHSType = new JLabel("RHS Type");
    JButton mButtonDelete = new JButton("Delete");
    JButton mButtonInsert = new JButton("Insert");
    JButton check = new JButton("check");
    JPanel mPanelButton = new JPanel();
    JPanel mPanelScroll = new JPanel();
    JPanel mPanelCombo = new JPanel();
    DefaultTableModel dm ;
    TableColumnModel modelCol;
    JTable table;
    JScrollPane scroll;
    int currentRow = -1;
    static int mSelectedRow = -1;
    EachRowEditor rowEditor;
    public JButtonTableExample()
    super( "JButtonTable Example" );
    makeForm();
    setSize( 410, 222 );
    setVisible(true);
    private void makeForm()
         this.getContentPane().setLayout(null);
         mLabelLHSType.setBounds(new Rectangle(26,5,71,22));
         mComboLHSType.setBounds(new Rectangle(83,5,100,22));
         mLabelRHSType.setBounds(new Rectangle(232,5,71,22));
         mComboRHSType.setBounds(new Rectangle(292,5,100,22));
         mPanelCombo.setLayout(null);
         mPanelCombo.setBorder(new LineBorder(Color.red));
         mPanelCombo.setBounds(new Rectangle(1,1,400,30));
         mComboRHSType.addItem("Constant");
    mComboRHSType.addItem("Variable");
    mComboRHSType.setSelectedIndex(0);
    mComboRHSType.addActionListener(this);
    mPanelCombo.add(mLabelLHSType,null);
    mPanelCombo.add(mComboLHSType,null);
    mPanelCombo.add(mLabelRHSType,null);
    mPanelCombo.add(mComboRHSType,null);
         mPanelButton.setLayout(null);
         mPanelButton.setBorder(new LineBorder(Color.green));
         mPanelButton.setBounds(new Rectangle(1,165,400,30));
         mButtonInsert.setBounds(new Rectangle(120,5,71,22));
         mButtonDelete.setBounds(new Rectangle(202,5,71,22));
         mButtonDelete.addActionListener(this);
    mButtonInsert.addActionListener(this);
    check.setBounds(new Rectangle(3,3,71,22));
    check.addActionListener(this);
    mPanelButton.add(mButtonDelete,null);
    mPanelButton.add(mButtonInsert,null);
    mPanelButton.add(check,null);
         dm = new DefaultTableModel()
              public boolean isCellEditable(int row, int col)
              if(row == 0 && col ==1)
                   return false;
              return true;
         dm.addTableModelListener(this);
         //dm.setDataVector(null,
                             //new Object[]{"Button","Join","LHS","Operator","RHS"});
         dm.setDataVector(new Object[][]{{"","","","",""}},
                             new Object[]{"","Join","LHS","Operator","RHS"});
         table = new JTable(dm);
         table.getTableHeader().setReorderingAllowed(false);
         table.setRowHeight(25);
         table.setRowSelectionInterval(0,0);
         rowEditor = new EachRowEditor(table);
         int columnWidth[] = {20,45,95,95,95};
         mPanelScroll.setLayout(null);
         mPanelScroll.setBorder(new LineBorder(Color.blue));
         mPanelScroll.setBounds(new Rectangle(1,28,400,135));
         scroll = new JScrollPane(table);
    scroll.setBounds(new Rectangle(1,1,400,133));
    mPanelScroll.add(scroll,null);
         modelCol = table.getColumnModel();
         for (int i=0;i<5;i++)
         modelCol.getColumn(i).setPreferredWidth(columnWidth);
         setCellTypes();
    this.getContentPane().add(mPanelCombo,null);
    this.getContentPane().add(mPanelScroll,null);
    this.getContentPane().add(mPanelButton,null);
    }//end of makeForm()
    private void setCellTypes()
         modelCol.getColumn(0).setCellRenderer(new ButtonCR());
         modelCol.getColumn(0).setCellEditor(new ButtonCE(new JCheckBox()));
         modelCol.getColumn(0).setResizable(false);
         setUpJoinColumn(modelCol.getColumn(1));
         setUpLHSColumn(modelCol.getColumn(2));
         setUpOperColumn(modelCol.getColumn(3));
         setUpRHSColumn(modelCol.getColumn(4));//By Default contains JTextField
    public void actionPerformed(ActionEvent ae)
         if (ae.getSource() == mButtonInsert)
              int currentRow = table.getSelectedRow();
              if(currentRow == -1)
                   int rowCount = dm.getRowCount();
                   if(rowCount == 0)
                        table.clearSelection();
                        dm.insertRow(0,new Object[]{"","","","",""});
                        mComboRHSType.setEnabled(true);
                        mButtonDelete.setEnabled(true);
                        dm.fireTableDataChanged();
                        table.setRowSelectionInterval(0,0);
                   else
                        table.clearSelection();
                        dm.insertRow(rowCount,new Object[]{"","","","",""});
                        dm.fireTableDataChanged();
                        table.setRowSelectionInterval(rowCount,rowCount);
              else
                   table.clearSelection();
                   dm.insertRow(currentRow+1,new Object[]{"","","","",""});
                   dm.fireTableDataChanged();
                   table.setRowSelectionInterval(currentRow+1,currentRow+1);
    if(table.getRowCount()>0)
         table.setValueAt(new String(""),0,1);
         if(ae.getSource() == mButtonDelete)
    int currentRow = table.getSelectedRow();
    if(currentRow != -1)
    table.clearSelection();
                   dm.removeRow(currentRow);
                   if(dm.getRowCount() == 0)
                        mComboRHSType.setEnabled(false);
                        mButtonDelete.setEnabled(false);
                   dm.fireTableDataChanged();
              else
              JOptionPane.showMessageDialog(null, "Select row first", "alert", JOptionPane.ERROR_MESSAGE);
    //always the first cell is empty and disabled
    if(table.getRowCount()>0)
         table.setValueAt(new String(""),0,1);
         if(ae.getSource() == check)
              int r = table.getSelectedRow();
              for(int i=1;i<5;i++)
                   Object obj = table.getValueAt(r,i);
                   System.out.println("Value is"+obj.toString());
         if(ae.getSource()==mComboRHSType)
              System.out.println(mComboRHSType.getSelectedItem().toString());
              if(table.getSelectedRow() == -1)
                        JOptionPane.showMessageDialog(null, "Select row first", "alert", JOptionPane.ERROR_MESSAGE);
                        mComboRHSType.setSelectedIndex(0);
                   else
                        if((mComboRHSType.getSelectedItem().toString()).equalsIgnoreCase("Constant"))
                             rowEditor.stopCellEditing();
                             table.setValueAt("",table.getSelectedRow(),4);
                             rowEditor.setEditorAt(table.getSelectedRow(), new DefaultCellEditor(new JTextField()));
                             table.getColumn("RHS").setCellEditor(rowEditor);
                        else if((mComboRHSType.getSelectedItem().toString()).equalsIgnoreCase("Variable"))
                        JComboBox comboBox = new JComboBox();
                        comboBox.addItem("Variable1");
                        comboBox.addItem("Constant1");
                        comboBox.addItem("Constant2");
                        rowEditor.stopCellEditing();
                        table.setValueAt("",table.getSelectedRow(),4);
                        rowEditor.setEditorAt(table.getSelectedRow(), new DefaultCellEditor(comboBox));
                        table.getColumn("RHS").setCellEditor(rowEditor);
    }//end of actionPerformed()
    public void tableChanged(TableModelEvent e)
              if(e.getType()==e.DELETE)
                   System.out.println("DELETE CALEED called##################)");
              if(e.getType()==e.INSERT)
                   System.out.println("INSERT CALEED called##################)");
    public void setUpJoinColumn(TableColumn joinColumn)
    JComboBox comboBox = new JComboBox();
    comboBox.addItem("AND");
    comboBox.addItem("OR");
    comboBox.addItem("NOT");
    joinColumn.setCellEditor(new DefaultCellEditor(comboBox));
    //Set up tool tips
    DefaultTableCellRenderer renderer = new DefaultTableCellRenderer();
    renderer.setToolTipText("Click for combo box");
    joinColumn.setCellRenderer(renderer);
    //Set up tool tip for the header.
    TableCellRenderer headerRenderer = joinColumn.getHeaderRenderer();
    if (headerRenderer instanceof DefaultTableCellRenderer)
    ((DefaultTableCellRenderer)headerRenderer).setToolTipText("Click to see list of Join Conditions");
    public void setUpLHSColumn(TableColumn LHSColumn)
    JComboBox comboBox = new JComboBox();
    comboBox.addItem("Participant1");
    comboBox.addItem("Participant2");
    comboBox.addItem("Variable1");
    LHSColumn.setCellEditor(new DefaultCellEditor(comboBox));
    //Set up tool tips
    DefaultTableCellRenderer renderer = new DefaultTableCellRenderer();
    renderer.setToolTipText("Click for combo box");
    LHSColumn.setCellRenderer(renderer);
    //Set up tool tip for the header.
    TableCellRenderer headerRenderer = LHSColumn.getHeaderRenderer();
    if (headerRenderer instanceof DefaultTableCellRenderer)
    ((DefaultTableCellRenderer)headerRenderer).setToolTipText("Click the sport to see Participants or Variables");
    public void setUpOperColumn(TableColumn operColumn)
    JComboBox comboBox = new JComboBox();
    comboBox.addItem("=");
    comboBox.addItem("!=");
    comboBox.addItem("Contains");
    operColumn.setCellEditor(new DefaultCellEditor(comboBox));
    //Set up tool tips
    DefaultTableCellRenderer renderer = new DefaultTableCellRenderer();
    renderer.setToolTipText("Click for combo box");
    operColumn.setCellRenderer(renderer);
    //Set up tool tip for header.
    TableCellRenderer headerRenderer = operColumn.getHeaderRenderer();
    if (headerRenderer instanceof DefaultTableCellRenderer)
    ((DefaultTableCellRenderer)headerRenderer).setToolTipText(
    "Click to see a list of operators");
    public void setUpRHSColumn(TableColumn rhsColumn)
              rowEditor.setEditorAt(table.getSelectedRow(), new DefaultCellEditor(new JTextField()));
              rhsColumn.setCellEditor(rowEditor);
    //Set up tool tips
    DefaultTableCellRenderer renderer = new DefaultTableCellRenderer();
    renderer.setToolTipText("Click for combo box");
    rhsColumn.setCellRenderer(renderer);
    public static void main(String[] args)
    JButtonTableExample frame = new JButtonTableExample();
    frame.addWindowListener(new WindowAdapter()
    public void windowClosing(WindowEvent e)
    System.exit(0);
    }//end of program
    //Button as a renderer for the table cells
    class ButtonCR implements TableCellRenderer
         JButton btnSelect;
         public ButtonCR()
              btnSelect = new JButton();
              btnSelect.setMargin(new Insets(0,0,0,0));
         public Component getTableCellRendererComponent(JTable table,Object value,boolean isSelected,boolean hasFocus,int row,int column)
              if (column != 0) return null; //meany !!!
              return btnSelect;
    }//end fo ButtonCR
    //Default Editor for table
    class ButtonCE extends DefaultCellEditor implements ActionListener
         JButton btnSelect;
         JTable table;
         static int selectedRow = -1;
         public ButtonCE(JCheckBox whoCares)
              super(whoCares);
              btnSelect = new JButton();
              btnSelect.setMargin(new Insets(0,0,0,0));
              btnSelect.addActionListener(this);
              setClickCountToStart(1);
         public Component getTableCellEditorComponent(JTable     table,Object value,boolean isSelected,int row,int column)
              if (column != 0) return null; //meany !!!
              this.selectedRow = row;
              this.table = table;
              System.out.println("Inside getTableCellEditorComponent");
              return btnSelect;
         //public Object getCellEditorValue()
              //return val;
         public void actionPerformed(ActionEvent e)
              // Your Code Here...
              System.out.println("Inside actionPerformed");
              System.out.println("Action performed Row selected "+selectedRow);
              btnSelect.setIcon(new ImageIcon("capsigma.gif"));
    }//end of ButtonCE
    class EachRowEditor implements TableCellEditor
         protected Hashtable editors;
    protected TableCellEditor editor, defaultEditor;
    JTable table;
    * Constructs a EachRowEditor.
    * create default editor
    * @see TableCellEditor
    * @see DefaultCellEditor
    public EachRowEditor(JTable table)
              this.table = table;
         editors = new Hashtable();
         defaultEditor = new DefaultCellEditor(new JTextField());
         editor = defaultEditor;
         * @param row table row
         * @param editor table cell editor
         public void setEditorAt(int row, TableCellEditor editor)
         editors.put(new Integer(row),editor);
    public Component getTableCellEditorComponent(JTable table,Object value, boolean isSelected, int row, int column)
         //editor = (TableCellEditor)editors.get(new Integer(row));
         //if (editor == null)
         //     editor = defaultEditor;
         return editor.getTableCellEditorComponent(table,value, isSelected, row, column);
         public Object getCellEditorValue()
         System.out.println("getCellEditoeValue");
         return editor.getCellEditorValue();
         public boolean stopCellEditing()
         System.out.println("stopCellEditing");
         return editor.stopCellEditing();
         public void cancelCellEditing()
         System.out.println("cancelCellEditing");
         editor.cancelCellEditing();
    public boolean isCellEditable(EventObject anEvent)
    System.out.println("isCellEditable");
    selectEditor((MouseEvent)anEvent);
    return editor.isCellEditable(anEvent);
    public void addCellEditorListener(CellEditorListener l)
    System.out.println("addCellEditorListener");
    editor.addCellEditorListener(l);
    public void removeCellEditorListener(CellEditorListener l)
         System.out.println("removeCellEditorListener");
    editor.removeCellEditorListener(l);
    public boolean shouldSelectCell(EventObject anEvent)
    System.out.println("shouldSelect");
    selectEditor((MouseEvent)anEvent);
    return editor.shouldSelectCell(anEvent);
    protected void selectEditor(MouseEvent e) {
    int row;
    if (e == null) {
    row = table.getSelectionModel().getAnchorSelectionIndex();
    } else {
    row = table.rowAtPoint(e.getPoint());
    editor = (TableCellEditor)editors.get(new Integer(row));
    if (editor == null) {
    editor = defaultEditor;
    }//end of EachRowEditor

    Hello!
    Catch the exception in your event handler:
    try {
    } catch(Exception ex) { ex.printStackTrace(); }
    You can now isolate the wrong line ^;
    Next time if you post such a large code please use code and /code
    enclosed in brackets : []; (See http://forum.java.sun.com/faq.jsp#format)
    class A extends B {
          public void niceCode() {

  • Function group issue in upgrade plz help very urgent

    hi gurus,
    plz help me
    in a big trouble.
    deadline is today.
    when i activated the function group i found this error in an include
    LSVARCLS
    and when i clicked to this field it took me to another include
    LSVARTOP
    here i found
    data: f4_params type onf4_event_parameters_type.
    FYI:
    types: begin of onf4_event_parameters_type.
    types: c_fieldname     type lvc_fname.
    types: cs_row_no       type lvc_s_roid.
    types: cr_event_data   type ref to cl_alv_event_data.
    types: ct_bad_cells    type lvc_t_modi.
    types: c_display       type char01.
    types: end of onf4_event_parameters_type.
    data: f4_params type onf4_event_parameters_type.
    error is :
    Field "F4_PARAMS-C_FIELDNAME" is unknown. It is neither in one of the          
    specified tables nor defined by a "DATA" statement . . . . . . . . . .          
    thanks in  advance

    FUNCTION-POOL ZVAR MESSAGE-ID DB.
    TABLES:
            TADIR,                         " Entwicklungsklasse
            TRDIR,                         " Reportcatalog
            LDBD,                          " logical databases
            VARID,                         " variant properties
            RSVAVA,                        " Variable data in
                                           "  variants( sy-datum)
            RSVAR,                         " new RALDB structure
            RSVARDESC,                     " Report, Variante, Dynnr
            VARIT,                         " variants texts
            VARIS,                         " screennr per variant
            DD23T,                         "
            DFIES,                         "DD-Schnittstelle, get_field
            TPARAT,                        "Texte zu Memory-Ids
            TVARUVN, "#EC NEEDED
            SSCRFIELDS,
            t000.
    DATA  CHOOSE like sy-ucomm value 'PICK'.
    DATA  G_STATUS like sy-pfkey.
    *Includes für Icons
    INCLUDE .
    Include für Symbole
    INCLUDE .
    *Equates für SSCR
    INCLUDE RSDBCOM2.
    *Typen für dynamische Selektionen, verwendet bei RS_REFRESH_...DYNAMICAL
    TYPE-POOLS: RSDS, SYLDB, sydb0.
    data:  GS_TOOLBAR           TYPE STB_BUTTON.
    include lsvarcls.
    Key um unnoetige Datenbankzugriffe zu vermeiden
    DATA: BEGIN OF CHECK_KEY,
          REPORT  LIKE RSVAR-REPORT,
          VARIANT LIKE RSVAR-VARIANT.
    DATA: END OF CHECK_KEY.
    key für get_description
    *DATA: old_key LIKE check_key.
    CATALOG OF VARIANTS, OLD STRUCTURE. WILL BE DELETED BY FIRST
    CALL OF VARIANTS OUT OF FUNCTIONPOOL SVAR.
    INFORMATION WILL BE TRANSFERED TO VARID AND VARIT.
    DATA: VARCAT LIKE RSVARC OCCURS 20 WITH HEADER LINE.
    TEXT (=> VARIT)
    DATA: VARCATT LIKE RVART OCCURS 20 WITH HEADER LINE.
    SAVE INFORMATION ABOUT VARIANTS
    DATA: BEGIN OF SAVEINFO OCCURS 20,
             NAME      LIKE RVARI-NAME,
             NUMB      LIKE RVARI-NUMB,
             PROTECTED LIKE RVARI-PROTECTED,
             FIELDTEXT LIKE RSVAR-FIELDTEXT,
             KIND      LIKE RVARI-KIND,
             TYPE      LIKE RVARI-TYPE,
             VTYPE     LIKE RVARI-VTYPE,
             VNAME     LIKE RVARI-VNAME,
           appendage I= Matchcode, C=Checkbox etc
             APPENDAGE LIKE RSVAR-INVISIBLE,
             VARIS(1),                     " TVARV, FUBAU
           N= Ausgeblendet von Report,X ausgeblendet in Variante
             INVISIBLE,
             USER,
             MEMORYID LIKE RSSCR-SPAGPA,
           nur auf einem Bild vorhanden
             GLOBAL,
             NO_IMPORT,
             SPAGPA,
             NOINTERVALS,
             OBLIGATORY LIKE RSVAR-OBLIGATORY,
             RADIO,
         END OF SAVEINFO.
    DATA: BEGIN OF SAVEINFO_DYN OCCURS 10,
            TABLENAME LIKE RSDSTABS-PRIM_TAB,
            FIELDNAME LIKE RSDSTABS-PRIM_FNAME,
            FIELDTEXT LIKE RSVAR-FIELDTEXT,
            TYPE      LIKE RVARI-TYPE,
            VTYPE     LIKE RVARI-VTYPE,
            VNAME     LIKE RVARI-VNAME,
            VARIS(1),
            PROTECTED LIKE RVARI-PROTECTED,
            GLOBAL(1).
    DATA: END   OF SAVEINFO_DYN.
    data: saveinfo_sav like saveinfo occurs 0 with header line.
    data: saveinfo_dyn_sav like saveinfo_dyn occurs 0 with header line.
    key for import of variants from VARI
    DATA: BEGIN OF $RKEY,
            REPORT  LIKE RSVAR-REPORT,
            VARIANT LIKE RSVAR-VARIANT,
          END OF   $RKEY.
    vari
    DATA: L_VARI LIKE RVARI OCCURS 20 WITH HEADER LINE.
    %_SSCR
    DATA SELCTAB LIKE RSSCR OCCURS 20 WITH HEADER LINE.
    DATA GLOB_SUBMODE(2).
    DATA LOC_SUBMODE(2).
    screenfields
    DATA: XCODE(4).
    DATA: FCODE(4)      TYPE C,
          FUNC(4)       TYPE C.
    DATA: BEGIN OF INFO OCCURS 20,
            FLAG,
            OLENGTH TYPE X,
            LINE  LIKE RSVAR-INFOLINE,
          END OF INFO.
    DATA: VALUTAB LIKE RSPARAMSL OCCURS 40 WITH HEADER LINE.
    Zur allgemeinen Verwendung
    FIELD-SYMBOLS: .
    DATA ILLEGAL_CHAR.                     " Wrong sign in variant
    copy
    DATA: VARIANT2 LIKE RSVAR-VARIANT,
          VARIANT1 LIKE RSVAR-VARIANT.
    *list of parameters and select-options, screenobjects
    DATA: L_SELOP LIKE VANZ OCCURS 20 WITH HEADER LINE.
    DATA: L_SELOP_NONV LIKE VANZ OCCURS 20 WITH HEADER LINE."nonv = non visi
    DATA: L_PARAMS LIKE VANZ OCCURS 20 WITH HEADER LINE.
    DATA: L_PARAMS_NONV LIKE VANZ OCCURS 20 WITH HEADER LINE.
    DATA: SCREENOBJECTS LIKE VANZ OCCURS 20 WITH HEADER LINE.
    list of all variants concerning one report
    DATA: BEGIN OF VARI_LIST OCCURS 40,
                MARKFIELD LIKE RSVAR-MARKFIELD,
                VARIANT   LIKE RSVAR-VARIANT,
                TEXT      LIKE RVART-VTEXT,
                ENAME     LIKE RSVARC-ENAME,
                AENAME    LIKE RSVARC-AENAME,
                PROTECTED LIKE RSVARC-PROTECTED,
                ENVIRONMT LIKE RSVARC-ENVIRONMT,
                XFLAG1    LIKE VARID-XFLAG1.
    DATA: END OF VARI_LIST.
    *Variablen für das Blättern auf den Dynpros 1303 und 306.
    DATA: VARI_LIST_SCROLL LIKE SY-STEPL VALUE '1'.
    DATA: SAVE_OKCODE(4).
    table for  Dynpro 306 (delete variants)
    DATA: BEGIN OF H_VARILIST OCCURS 30,
                MARKFIELD LIKE RSVAR-MARKFIELD,
                FLAG1     LIKE RSVAR-FLAG1,
                FLAG2     LIKE RSVAR-FLAG2,
                FLAG3     LIKE RSVAR-FLAG3,
                VARIANT LIKE RSVAR-VARIANT.
    DATA: END OF H_VARILIST.
    CONSTANTS: C_PDLIST_WIDTH TYPE I VALUE '24',
               C_VARILIST     TYPE I VALUE '10'.
    DATA: CATTOP LIKE SY-TABIX VALUE '3'.  "lines top-of-page in CATALOG.
    *data: listtop like sy-tabix value '3'.  "lines top-of-page in Delete
    "vari
    DATA: PRINT_ALL_VAR.                   "alle Varianten drucken
    DATA: PRINT_CAT_VAR.                   "Katalog drucken
    Systemumgebung
    DATA ENVIRONMENT.                      " S: SAP, C: Customer
    Dynpro 320
    DATA : TEXT0(59).
    *Tables and fields for fitting variants
    *table of variants which must be fitted
    DATA: BEGIN OF FIT_VAR OCCURS 50,
           VARIANT LIKE RSVAR-VARIANT,
           FLAG(1).                        " flag = 'X' => Variante can't be
    DATA: END OF FIT_VAR.                  "fitted.
    DATA: BEGIN OF SINGLE_OPTIONS OCCURS 8,
           OPTION(2),
            TEXT(18).
    DATA: END OF SINGLE_OPTIONS.
    variants which contain variables
    internal table, per line  select-options and parameters which
    use variables
    DATA: BEGIN OF VARIVAR OCCURS 20,
            SELNAME     LIKE RSSCR-NAME,
            SELTEXT     LIKE RSVAR-FIELDTEXT,
            KIND        LIKE RVARI-KIND,
            TYPE        LIKE RVARI-TYPE,
            VTYPE       LIKE RSVAR-VTYPE,
            VTEXT       LIKE RSVAVA-VTEXT,
            FB,
            TVARV,
            VNAME       LIKE RSVAR-VNAME,
            OPTION      LIKE RSVAR-OPTION,
            SIGN(1),
            INFO_TABIX  LIKE SY-TABIX,
            DATES_TABIX LIKE SY-TABIX,
            USER,
            MEMORYID LIKE TPARA-PARAMID,
         END   OF VARIVAR.
    DATA: BEGIN OF VARIVAR_DYN OCCURS 20,
            TABLENAME  LIKE RSDSTABS-PRIM_TAB,
            FIELDNAME   LIKE RSDSTABS-PRIM_FNAME,
            KIND        LIKE RVARI-KIND,
            TYPE        LIKE RVARI-TYPE,
            VTYPE       LIKE RSVAR-VTYPE,
            VTEXT       LIKE RSVAVA-VTEXT,
            FB,
            TVARV,
            VNAME       LIKE RSVAR-VNAME,
            OPTION      LIKE RSVAR-OPTION,
            SIGN(1),
            INFO_TABIX  LIKE SY-TABIX,
            DATES_TABIX LIKE SY-TABIX,
         END   OF VARIVAR_DYN.
    DATA: VARIDATE_S LIKE RSVARIVAR OCCURS 20 WITH HEADER LINE.
    Tabelle der möglichen Datumsberechnungen für Variablen in Varianten
    Parameter
    DATA: VARIDATE_P LIKE RSVARIVAR OCCURS 20 WITH HEADER LINE.
    table of possible TVARV-variables (parameters)
    DATA: TVARV_P LIKE TVARV OCCURS 20 WITH HEADER LINE.
    table of possible TVARV-variables (select-options)
    DATA: TVARV_S LIKE TVARV OCCURS 20 WITH HEADER LINE.
    description of fields  VARIDATES
    DATA: FIDESC_DATES LIKE RSVBFIDESC OCCURS 5 WITH HEADER LINE.
    description of fields TVARV
    DATA: FIDESC_TVARV LIKE RSVBFIDESC OCCURS 5 WITH HEADER LINE.
    description of fields OPTION
    DATA: FIDESC_OPTION LIKE RSVBFIDESC OCCURS 5 WITH HEADER LINE.
    description of fields OPTION
    Feldtabelle für DYNP_VALUES_READ/UPDATE
    DATA DYNPFIELDS LIKE DYNPREAD OCCURS 50 WITH HEADER LINE.
    *desctab
    DATA: DESCTAB LIKE RSBREPI OCCURS 20 WITH HEADER LINE.
    *Hilfsfelder für Übergabeparameter
    DATA:G_SUBRC LIKE SY-SUBRC,
         L_RC LIKE SY-SUBRC.
    *Hilfsfelder für Sperren
    DATA: G_ENQSUB LIKE SY-SUBRC.
    *Hilfsfeld für mandantenabhängiges Löschen von Varianten
    DATA: DEL_ALL_VAR. "=X alle Mandanten, =' ' nur aktueller Mandant
    select variant form list.
    DATA: BEGIN OF VARIANT_TABLE OCCURS 30,
          VARIANT LIKE RSVAR-VARIANT,
          TEXT LIKE VARIT-VTEXT,
          ENVIR LIKE VARID-ENVIRONMNT,
          ENAME LIKE VARID-ENAME,
          AENAME LIKE VARID-AENAME,
          aedat like varid-aedat,
          MLANGU LIKE VARID-MLANGU,
          protected like varid-protected,
          SELSCREEN(80).                  "<= 20 Bilder
    DATA: END OF VARIANT_TABLE.
    DATA: CALL_FLAG.                             "screen 305.
    DATA: MODE_FLAG.
    Print variants  screen 308
    DATA: PRINT_LIST LIKE RSREPVAR OCCURS 30 WITH HEADER LINE.
    parameters in variables
    DATA: BEGIN OF VARIVDAT  OCCURS 5,
                SELNAME LIKE RVARI-NAME.
                INCLUDE STRUCTURE RSINTRANGE.
    DATA: END OF VARIVDAT.
    DATA: VARIVDAT_WORK LIKE VARIVDAT OCCURS 10 WITH HEADER LINE.
    DATA:EXC_SUBC LIKE SY-SUBRC.
    DATA: BEGIN OF LDB_VARIVAR OCCURS 10,
                   MARKFIELD LIKE RSVAR-MARKFIELD,
                   VTEXT     LIKE RSVARIVAR-TEXT,
                   VTYPE     LIKE RSVAR-VTYPE.
    DATA: END OF LDB_VARIVAR.
    *generate subroutinepool
    DATA: BEGIN OF REPDAT_TAB OCCURS 40,
             LINE(72),
          END OF REPDAT_TAB.
    *Tabelle zur Übergabe der alten Selektionswerte wenn sich
    *Parameter oder Select-Options geändert haben.
    *Wird von rs_variant_obsolet benötigt.
    DATA: OLD_SELECTIONS LIKE RSPARAMSL OCCURS 20 WITH HEADER LINE.
    *Flag für Aufruf aus QUERY und Report-Writer.
    *Reportname auf Einstiegsbild nicht sichtbar (not_visible = x)
    DATA: NOT_VISIBLE.
    *Varianten für Query
    DATA: QUERY_SYSVAR.
    *Einstiegsbild mit anderem Titel aufrufen.
    DATA: N_TITLE(40).
    *F4 Hilfe RS_VARIANT_CATALOG mit anderem Titel aufrufen
    DATA: G_TITLE like sy-title.
    *Unterscheidung auf Listdynpro (hauptsächlich 307)
    DATA: CALLER(4).
    *sy-subrc Felder für Import und Export.
    DATA: EXP_SUBRC LIKE SY-SUBRC,
          IMP_SUBRC LIKE SY-SUBRC.
    *Tabellen für dynamische Selektionen
    DATA: DYNSEL_DESC LIKE RSDYNBREPI OCCURS 5 WITH HEADER LINE.
    DATA: DYNS_FIELDS LIKE RSDSFIELDS OCCURS 5 WITH HEADER LINE.
    DATA: DYNSEL_VALUE LIKE RSSELDYN OCCURS 5 WITH HEADER LINE.
    *tabellen für matchcodeselection
    DATA: BEGIN OF MC_DESC OCCURS 5,
                 NAME    LIKE RSSCR-NAME,
                 ID      LIKE MCPARAMS-MCID,
                 OBJECT(10),
                 S_STRING LIKE MCPARAMS-STRING,
                 D_TEXT   LIKE DD23T-MCTEXT,
                 FROM     LIKE VANZ-FROM,
                 TO       LIKE VANZ-TO.
    DATA: END   OF MC_DESC.
    *Tabelle für Umsetzung dynamische Selektionen
    *flag = space -> umgesetzt
    *flag = G     -> Variante z.Z gesperrt
    *flag = I     -> Fehler beim Import
    DATA: BEGIN OF CHANGED_VARIANTS OCCURS 10,
                   NAME LIKE RSVAR-VARIANT,
                   FLAG.
    DATA: END OF CHANGED_VARIANTS.
    *Feld für Ikonen auf Dynpros.
    DATA: IKON(8).
    *Konstanten für Ikonen
    CONSTANTS: POP_WARNING(8) VALUE '@1A@',
               POP_ERROR(8) VALUE '@1B@',
               POP_INFO(8) VALUE '@19@',
               POP_COPY(8) VALUE '@14@',
              c_icon_enter_more(15) value 'ICON_ENTER_MORE',
               C_ICON_DISPLAY_MORE(17) VALUE 'ICON_DISPLAY_MORE'.
    DATA: MORE_ICON LIKE RSSELINT-OPTI_PUSH.
    *Konstanten für Variante ändern, Werte oder Attribute
    CONSTANTS: C_VAL  VALUE 'V'.
    Interne Tabelle für Transport
    DATA: BEGIN OF REP_VAR OCCURS 10,
            MARKFIELD.
            INCLUDE STRUCTURE $RKEY.
    DATA: END   OF REP_VAR.
    DATA: REP_VAR_CURSOR LIKE SY-INDEX VALUE 0.
    Tabelle für RS_SELOPT_INFO -> BBS
    DATA: DEFAULTS LIKE RSPARAMSL OCCURS 10 WITH HEADER LINE.
    Tabelle für Werteanzeige Tvarv.
    DATA: TVARVTAB LIKE TVARV OCCURS 10 WITH HEADER LINE.
    SUBTY-Equates
    INCLUDE RSDBCSTY.
    Textfeld für Dynpro 317.
    DATA: TEXT(4).
    Konstante für Namenskonvention Systemvariante
    CONSTANTS: SYS_VNAME(4) VALUE 'SAP&'.
    CONSTANTS: CUS_VNAME(4) VALUE 'CUS&'.
    Flag für Systemvariante gewünscht.
    DATA: C_SYSVAR.
    data vari_mandt like sy-mandt.
    data sysvar_mandt like sy-mandt value '000'.
    Check für Systemvariante
    DATA: SYSVAR_FLAG.
    Flag für Entwicklungsklasse , Werte Y oder N (aus get_devcalss)
    DATA: NON_LOCAL VALUE 'Y'.
    DATA: TABIX LIKE SY-TABIX.
    *Strutur für freie Abgrenzungen.
    DATA: VARIDYN LIKE RSVARIDYN OCCURS 10 WITH HEADER LINE.
    DATA: VDATDYN LIKE RSVDATDYN OCCURS 10 WITH HEADER LINE.
    DATA: VARIVDAT_DYN LIKE RSVDATDYN OCCURS 10 WITH HEADER LINE.
    DATA: BEGIN OF VARIVDAT_DYN_WORK OCCURS 10,
             TABLENAME LIKE RSVARIDYN-TABLENAME,
             FIELDNAME LIKE RSVARIDYN-FIELDNAME.
             INCLUDE STRUCTURE RSINTRANGE.
    DATA: END OF VARIVDAT_DYN_WORK.
    CONSTANTS: NO_IMPORT VALUE SPACE.
    Teilt IM/EXPORT_VARIANT_STATIC mit, welche übergebeneb Objekte
    im/exportiert werden sollen.
      DATA: BEGIN OF IMEX,
              VARI,
              DYNS,
            END   OF IMEX.
    Tabelle für Selektionsbildnummern
    DATA: DYNNR LIKE RSDYNNR OCCURS 10 WITH HEADER LINE.
    DATA: BEGIN OF CHOOSE_DYNNR OCCURS 10,
            MARKFIELD.
            INCLUDE STRUCTURE RSDYNNR.
    DATA: END OF CHOOSE_DYNNR.
    Sichern vom Selektionsbild, RSVAR_VARIANTT zurücksetzen
    DATA: FLAG_FIRST.     "#EC NEEDED
    DATA: FLAG_PROTECTED. "#EC NEEDED
    Daten für CALL SELECTION SCREEN Varianten
    DATA: HIDE_FLAG.
    DATA: LINE_NUMBER LIKE SY-TABIX.
    DATA: VARISCREENS LIKE RSDYNNR OCCURS 10 WITH HEADER LINE.
    data: variscreens_sav like rsdynnr occurs 10 with header line.
    DATA: FLAG_1000.
    DATA: DYNNR_TFILL LIKE SY-TFILL.
    DATA: VARISCREENS_TFILL LIKE SY-TFILL.
    DATA: DMORE_ICON(40).
    DATA: BEGIN OF  GLOBAL_OBJECTS OCCURS 10,
              NAME LIKE RSSCR-NAME,
          END   OF  GLOBAL_OBJECTS.
    DATA: BEGIN OF DYN_TAB OCCURS 10,
                DBFIELD LIKE RSSCR-DBFIELD,
          END   OF DYN_TAB.
    CONSTANTS: C_P_COLUMN TYPE I VALUE 38,
               C_I_COLUMN TYPE I VALUE 41,
               C_N_COLUMN TYPE I VALUE 44,
               C_S_COLUMN TYPE I VALUE 47,
               C_W_COLUMN TYPE I VALUE 50,
               C_M_COLUMN TYPE I VALUE 53,
               C_O_COLUMN TYPE I VALUE 56,
               MAX_WIDTH_ATTR TYPE I VALUE 77.
    CONSTANTS: MAX_WIDTH_SELVAR TYPE I VALUE 57.
    DATA: FLAG_NOIMPORT.
    DATA: CURR_STATUS(4).
    DATA: SCREEN_TITLES LIKE RSSCRITLE OCCURS 10 WITH HEADER LINE.
    RANGES V_RANGE FOR VARID-VARIANT OCCURS 10.
    DATA: FLAG_ALL_SCREENS.
    CONSTANTS: C_LOW TYPE I VALUE 34,
               C_HIGH TYPE I VALUE 58,
               C_TO   TYPE I VALUE 54,
               C_OUTPUT_LENGTH TYPE I VALUE 26,
               C_DISPLAY_LENGTH TYPE I VALUE 87,
               C_DISPLAY_LENGTH_ATTR TYPE I VALUE 104,
               C_DISPLAY_LENGTH_CAT  TYPE I VALUE 118,
               C_NO VALUE '0',
               C_DYNNR LIKE SCREEN-NAME VALUE 'RSVAR-DYNNR',
               C_ICON_MORE LIKE SCREEN-NAME VALUE 'DMORE_ICON',
               C_SCREEN_1000 LIKE SY-DYNNR VALUE '1000'.
    DATA: BELONGING_DYNNR LIKE RSDYNNR OCCURS 10 WITH HEADER LINE.
    DATA: PREFIX(20).
    DATA: D_320_TEXT(35).
    DATA: OLD_VARI LIKE RSVAR-VARIANT.
    DATA: L_SUBMODE LIKE GLOB_SUBMODE.
    DATA: ICON_1(40), ICON_2(40), ICON_3(40).
    DATA: FLAG_ICON_1, FLAG_ICON_2, FLAG_ICON_3.
    DATA: FLAG_CALLED_FROM_SELSCREEN.
    DATA: VARIVAR_TEXT LIKE RSVAVA-VTEXT.
    DATA: VARIVAR_KIND LIKE RSSCR-KIND.
    DATA: LIST_LINE LIKE SY-LILLI.
    DATA: MOD_LINE LIKE SY-LILLI.
    DATA: G_SP TYPE SYLDB_SP.
    DATA: G_RANGE TYPE RSDS_RANGE,
          G_FRANGE TYPE RSDS_FRANGE,
          G_RSDSSELOPT LIKE RSDSSELOPT.
    DATA: G_ILL_CHAR.
    DATA: FLAG_CHANGE_VARIANT.
    DATA: EXIT_FLAG.
    DATA: COMP_NODI_NAME LIKE RSSCR-NAME.
    DATA: EXCLUDE LIKE RSEXFCODE OCCURS 0 WITH HEADER LINE.
    hidefelder für Attributebild.
    DATA: HIDE(10).
    Feldbeschreibung aufgeklappt oder zugeklappt
    DATA: STATE(4).
    DATA: NO_DISPLAY_VISIBLE TYPE BOOLEAN VALUE 'F'.
    DATA: READ_LINE LIKE SY-INDEX.
    CONSTANTS: C_COLLAPSE(4) VALUE 'COLL',
               C_EXPAND(4)   VALUE 'EXPA',
               C_TRUE VALUE 'T',
               C_FALSE VALUE 'F'.
    CONSTANTS: CAT_LINE_SIZE TYPE I VALUE '127'.
    DATA: G_EXPOREP TYPE SY-REPID.
    DATA: SUBSCREENPROG LIKE SY-REPID,
          SUBSCREENDYNNR LIKE SY-DYNNR.
    data: g_subc like trdir-subc.
    data: status_for_subscreens.
    Data for subscreen processing
    data: begin of g_subscreen,
            ucomm type syucomm,
            submode(2),
            total type i,
            current type i,
            exclude type rsexfcode occurs 0,
            rkey type rsvarkey,
            variscreens type rsdynnr occurs 0,
            sscr type rsscr occurs 0,
         end   of g_subscreen.
    INCLUDE SVARSELO.
    Daten für ALV-GRID
    data:
    GT_TOOLBAR_EXCLUDING TYPE UI_FUNCTIONS,
    GRID1                TYPE REF TO CL_GUI_ALV_GRID,
    GRID2                TYPE REF TO CL_GUI_ALV_GRID,
    alv_fieldcat         TYPE LVC_T_FCAT WITH HEADER LINE,
    EVENT_RECEIVER1      TYPE REF TO CL_EVENT_RECEIVEr1,
    selected             value 'X',
    alv_layout           TYPE LVC_S_LAYO,
    alv_STABLE type LVC_S_STBL,
    ROW_TABLE            TYPE LVC_T_ROW        WITH HEADER LINE,
    alv_container_1      type REF TO CL_GUI_CUSTOM_CONTAINER,
    alv_container_2      type REF TO CL_GUI_CUSTOM_CONTAINER.
    constants: c_search value 'S'.

  • Sync Message Error. Pls help very urgent.

    Hi,
    When I ma sending sync messages in XI I am getting error
    <SAP:Code area="PERSIST">MSG_NOT_FOUND</SAP:Code>
    <SAP:P1>4871E583B6C24C3CE1000000AC140A3B</SAP:P1>
      <SAP:P2>PE_ADAPTER</SAP:P2>
    Pls help.

    Http sender  and Http Receiver so no adapter is used..

  • RFQ User Exit -- Kindly help very urgent

    Hi,
    Can you please tell me , what user exit is used to save RFQ ? While using ME41 to create a RFQ, which user exit is used to Save ?
    Appreciate your help & Will reward with points
    Sorry 2 post the question @ couple of places
    Thanks
    Prithiv

    HI,
    here is list of User exits and BADI.. while saving RFQ in from ME41.
    MEVME001                                WE default quantity calc. and over/ underdelivery tolerance
    MM06E001                                User exits for EDI inbound and outbound purchasing documents
    MM06E003                                Number range and document number
    MM06E004                                Control import data screens in purchase order
    MM06E005                                Customer fields in purchasing document
    MM06E007                                Change document for requisitions upon conversion into PO
    MM06E008                                Monitoring of contr. target value in case of release orders
    MM06E009                                Relevant texts for "Texts exist" indicator
    MM06E010                                Field selection for vendor address
    MMAL0001                                ALE source list distribution: Outbound processing
    MMAL0002                                ALE source list distribution: Inbound processing
    MMAL0003                                ALE purcasing info record distribution: Outbound processing
    MMAL0004                                ALE purchasing info record distribution: Inbound processing
    MMDA0001                                Default delivery addresses
    MMFAB001                                User exit for generation of release order
    MRFLB001                                Control Items for Contract Release Order
    AMPL0001                                User subscreen for additional data on AMPL
    MEQUERY1                                Enhancement to Document Overview ME21N/ME51N
    LMEDR001                                Enhancements to print program
    LMELA002                                Adopt batch no. from shipping notification when posting a GR
    LMELA010                                Inbound shipping notification: Transfer item data from IDOC
    LMEQR001                                User exit for source determination
    LMEXF001                                Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001                                Customer-Specific Source Determination in Retail
    M06B0001                                Role determination for purchase requisition release
    M06B0002                                Changes to comm. structure for purchase requisition release
    M06B0003                                Number range and document number
    MELAB001                                Gen. forecast delivery schedules: Transfer schedule implem.
    MEFLD004                                Determine earliest delivery date f. check w. GR (only PO)
    MEETA001                                Define schedule line type (backlog, immed. req., preview)
    ME590001                                Grouping of requsitions for PO split in ME59
    M06E0005                                Role determination for release of purchasing documents
    M06E0004                                Changes to communication structure for release purch. doc.
    M06B0005                                Changes to comm. structure for overall release of requisn.
    M06E0005                                Role determination for release of purchasing documents
    M06E0004                                Changes to communication structure for release purch. doc.
    M06B0005                                Changes to comm. structure for overall release of requisn.
    M06B0004                                Number range and document number
    Business Add-in
    ME_PROCESS_COMP                         Processing of Component Default Data at Time of GR: Customer
    ME_PO_SC_SRV                            BAdI: Service Tab Page for Subcontracting
    ME_PO_PRICING_CUST                      Enhancements to Price Determination: Customer
    ME_PO_PRICING                           Enhancements to Price Determination: Internal
    ME_INFOREC_SEND                         Capture/Send Purchase Info Record Changes - Internal Use
    ME_HOLD_PO                              Hold Enjoy Purchase Orders: Activation/Deactivation
    ME_GUI_PO_CUST                          Customer's Own Screens in Enjoy Purchase Order
    ME_FIELDSTATUS_STOCK                    FM Account Assignment Behavior for Stock PR/PO
    ME_DP_CLEARING                          Clearing (Offsetting) of Down Payments and Payment Requests
    ME_DEFINE_CALCTYPE                      Control of Pricing Type: Additional Fields
    ME_COMMTMNT_REQ_RE_C                    Check of Commitment Relevance of Purchase Requisitions
    ME_COMMTMNT_REQ_RELE                    Check of Commitment Relevance of Purchase Requisitions
    ME_COMMTMNT_PO_REL_C                    Check for Commitment-Relevance of Purchase Orders
    ME_PROCESS_PO                           Enhancements for Processing Enjoy Purchase Order: Intern.
    MM_EDI_DESADV_IN                        Supplementation of Delivery Interface from Purchase Order
    MM_DELIVERY_ADDR_SAP                    Determination of Delivery Address
    ME_WRF_STD_DNG                          PO Controlling Reminder: Extension to Standard Reminder
    ME_TRIGGER_ATP                          Triggers New ATP for Changes in EKKO, EKPO, EKPV
    ME_TRF_RULE_CUST_OFF                    BADI for Deactivation of Field T161V-REVFE
    ME_TAX_FROM_ADDRESS                     Tax jurisdiction code taken from address
    ME_REQ_POSTED                           Purchase Requisition Posted
    ME_REQ_OI_EXT                           Commitment Update in the Case of External Requisitions
    ME_RELEASE_CREATE                       BAdI: Release Creation for Sched.Agrmts with Release Docu.
    ME_PURCHDOC_POSTED                      Purchasing Document Posted
    ME_PROCESS_REQ_CUST                     Enhancements for Processing Enjoy PReqs: Customer
    ME_PROCESS_REQ                          Enhancements for Processing Enjoy PReqs: Internal
    ME_PROCESS_PO_CUST                      Enhancements for Processing Enjoy Purchase Order: Customer
    ME_COMMTMNT_PO_RELEV                    Check for Commitment-Relevance of Purchase Orders
    ME_CCP_ACTIVE_CHECK                     BAdI to check whether CCP process is active
    ME_BSART_DET                            Change document type for automatically generated POs
    ME_BAPI_PR_CREATE_02

  • How can maintain log file Please help Very Urgent.

    I am developping an application in PDK. From my application I need maintain a log file in the server side. Please help me how can I do this. If you do have links regarding this matter please pass it.

    You might want to use the SAP Logging API. see
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/d2/5c830ca67fd842b2e87b0c341c64cd/frameset.htm">Logging and Tracing</a>
    In NWDS include a reference to logging.jar (use variable SAP_LOGGING_LIB_HOME).
    You can then write to the log in this way:
    public class Xyz {
         private static final Location TRACE = Location.getLocation(Xyz.class);
         // It is not nice to set the severity in static code - only for demonstration purposes.
         // For production-ready code this should be done via a log-configuration.xml
         // to allow configuration of the severity at runtime.
              TRACE.setEffectiveSeverity(Severity.ALL);
         public void myMethod() {
              final String METHOD = "myMethod()";
              TRACE.entering(METHOD);
              TRACE.debugT("whatever");
              TRACE.exiting(METHOD);

  • Require help very urgent - it on delta objects

    Delta Objects (these are BDCs) can any one tell me what are delta objects what has to be done with context to upgrade project

    When it is a technical upgrade from a lower version to ECC6.0, many objects like includes, Function modules, reports, OSS notes, DDIC objects, BDC/Print programs, SAP scripts, screens will get affected due to the upgradation. So we need to check with all these objects.
    So a developer should be aware of the following:
    •Unicode programming is followed in ECC6.0. So we need to be aware of it to rectify certain Unicode errors which are likely to occur.
    •You have to run the transactions SPAU & SPDD to check for list of standard & custom objects that needs modification in the upgraded version.
    Check the below link to find more details on usage of SPAU & SPDD transactions
    http://help.sap.com/saphelp_nw2004s/helpdata/en/60/d6ba7bceda11d1953a0000e82de14a/content.htm
    •Should be aware of the objects that have become obsolete in ECC6.0. They have to be replaced by appropriate ones.
    --> The WS_* function modules have been replaced by GUI_* FMs in ECC6.0 as WS_* FMs have become obsolete from 4.7
    -->Tables like TVARV & TTREX have been replaced by TVARVC & TTREXN respectively in ECC6.0.
    •In case of tables, we need to specify the Enhancement category.
    •Due to upgradation, we will lose out some variants. So we should take a back-up before proceeding with the upgradation.
    •In case of BDC programs, some field names will be changed. So they have to be named appropriately.
    Please check with the below link for more details:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5ac31178-0701-0010-469a-b4d7fa2721ca
    http://help.sap.com/saphelp_nw2004s/helpdata/en/60/d6ba7bceda11d1953a0000e82de14a/content.htmhttps://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/07/upgradeFROMR3TOmySAPERP-PARTII&
    https://wiki.sdn.sap.com/wiki/display/profile/UPGRADEFROMR3TOmySAPERP-PARTIII
    Hope this helps you
    kartikeya

  • Master Detail Help -- very urgent

    There are two things I need to do:
    Auto query the form querying on a detail record week_ending and also on a master record.
    Means this is what query should like :
    select * from user_table a, week_ending_table b
    where
    a.id = b.user_id
    and
    a.user_id = portal30.wwctx_api.get_user
    and
    b.week_ending = '02-MAR-89';
    So when I query this is the query I would like to see but not when i click query button, I want to see it when i bring query up.
    Please help!

    Hi,
    I have written what I needed to in reply to the other question, but just thought if something.
    I want week ending hardcoded like 99-MAR- 02. In Method 1 , where do I put that? You have used variable l_week_ending but never defined what it is. One thing is I am not really querying on detail, I just want week ending to always be a certain date...
    Thanks,
    Amrita

Maybe you are looking for

  • ASAP!!  Flash Player Works on Computer But Not Live.  (Could Be Easy)

    I need to present this site in a couple of hours and ran into this problem. I just added a Flash button that works perfectly on every single page except my gallery.php.  All the other pages are .html.  On my computer I can see the button perfectly, b

  • Welcome to the Novell Plug-in SDK Forum!

    Hello all, This forum is dedicated to the Novell Plug-in SDK, which currently provides a framework for the development of Sentinel and Identity Manager plug-in components, namely Reports, Collectors, Actions, and Solution Packs, although we do hope t

  • Ipod displays charging icon when not plugged in

    Hey, i have had a 30GB ipod video for almost a month now but recently it has had this problem. When i unplug my ipod from the computer, the charging icons do not turn into the default battery icon. It still says its charging. As far as i know it does

  • Smartform graphic error

    Hi, I uploaded a color graphic bitmap correctly - 100 DPI and with 'reserve height aut' and 'resides in the printer memory' options checked. I can preview it on the T/SE78. I created the graphic on the Page1 of the smartform with the same above attri

  • Javax.servlet.ServletContext cannot be resolved in Eclipse

    I am loading my project in Eclipse, I am getting this error : The type[b] javax.servlet.ServletContext cannot be resolved. It is indirectly referenced from required .class files I have set all the libraries, how can make eclipse avaliable with this c