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

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]

  • 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

  • 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

  • Master Detail - Help me

    Hi,
    I'm trying to wrting to the nested node in the context but I can't.
    I have the following context:
    root
    pai (1..n) singleton
    filho(1..n) singleton
    I'm tryng to do a master/detail application.
    The node pai is bound to a table in my view, the node filho is bound to another. My objective is to show the detail (node filho) correct to each line in table master.
    I can write to node pai, it works. I wrote to the node filho too, but when I debug, only one element of node child is filled.
    If someone could help me, I would be thankfull.
    The complete code is here, I put it into the wd_doinit of my view:
    data: table_pai type wd_this->elements_pai,
            table_pai_linha type wd_this->element_pai,
            passo type matnr,
            lo_nd_pai type ref to if_wd_context_node,
            lo_nd_filho type ref to if_wd_context_node,
            lo_el_filho type ref to if_wd_context_element,
            table_filho_linha type wd_this->element_filho,
            lo_el_pai type ref to if_wd_context_element,
            cont type integer.
      passo = '123456789012345678'.
      do.
        table_pai_linha-matnr = passo.
        append table_pai_linha to table_pai.
        passo = passo + 1.
        if passo = '123456789012345683'.
          exit.
        endif.
      enddo.
      lo_nd_pai = wd_context->get_child_node( 'PAI ').
      lo_nd_pai->bind_table( new_items = table_pai set_initial_elements = abap_false ).
      cont =  lo_nd_pai->get_element_count(  ).
      do.
        lo_nd_pai->SET_LEAD_SELECTION_index( cont ).
        lo_el_pai = lo_nd_pai->get_element( ).
        lo_nd_filho = lo_el_pai->get_child_node( wd_this->wdctx_filho ).
        lo_el_filho = lo_nd_filho->create_element(  ).
        lo_nd_pai->get_attribute( exporting name = 'matnr' importing value = passo ).
        table_filho_linha-matnr_filho = passo.
        lo_el_filho->set_static_attributes(
          exporting
          static_attributes = table_filho_linha ).
        lo_nd_filho->bind_element( new_item = lo_el_filho set_initial_elements = abap_false ).
        cont = cont - 1.
        if cont = 0.
          exit.
        endif.
      enddo.
    thanks,

    Yogesh,
    I read the article.
    So, If I set the node "filho" as singleton I can't fill this node with elements for all elements of node "pai".
    The elements will be lost. It is that I don't understand, if the elements will be lost, there are no reason to use singleton, I can't imagine when I could use this option.
    If I want to fill all the context in one time, I have to set the node as non-singleton.
    Is all that I said correct?
    sorry for the quantity of questions, but I'm new in WD4Abap and I want to learn very much.
    Thanks a lot

  • ORACLE FORMS MASTER DETAIL HELP

    GOT 2 DATA BLOCKS. 1 REPRESENTING ALL EMPLOYEES, THE OTHER REPRESENTING ALL SALARIES. uSING A MASTER - DETAIL RELATIONSHIP WHEN TRYING TO SHOW ALL SALARIES BESIDE ALL EMPLOYEES IN A MULTI-ROW TABULAR VIEW I CAN'T SEEM TO LIST THE SALARY FOR EACH EMPLOYEE ONLY THE FIRST...EG.
    EMPLOYEE SALARY
    |||||||||||||||||||||||| ||||||||||||||||||||
    SMITH _____10000
    JONES
    REGERG
    SDGS
    SDFGSR
    HOWEVER, AS I MOVE THROUGH THE EMPLOYEES THE SALARY CHANGES BUT STAYS AS THE FIRST ENTRY.... THANKS FOR ANY HELP OFFERED
    Message was edited by:
    user445629
    Message was edited by:
    user445629
    Message was edited by:
    user445629

    You have master - detail relationship here. So unless you click on second employee it won't show you salary for second employee.
    You can create a control block and capture values in this block through cursor. You can also create a view and get values from view. In both cases you need only one block not two.
    Are you showing this only for display or user can also modify these values?

  • 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

  • EJB - Master Detailing Help.

    Hi,
    I am new to EJB & to JDeveloper.
    I am tring to use EJB to display table information where one table is the master and second table displays the info according to the master.
    Here is what I have done so far:
    I created EJB Diagram using drag & drop method from connection, then I created EJB Entity Facade Objects, just like ADF, it created view & link.
    In pageflow, I created uix page to display the results. But the problem is that when I use master detail (one to many, etc), and run the page, I get full information from both tables rather than record by record like ADF does.
    The example I followed is on the following link.
    http://www.oracle.com/technology/products/jdev/collateral/tutorials/9050/adfuix_tut.html
    Thank you.

    This is not a clustering issue. Pls post your question to relevant newsgroup.
              FWIW, NoClassDefFoundError means the corresponding class is not found
              in the classpath.
              Kumar
              F40 wrote:
              > EJB : Test .Unable to initialize method info for remote or home interface.The error is java.lang.NoClassDefFoundError: [Lcom/borland/dx/dataset/DataSetData;
              

  • Master Detail Help

    I have a master/detail page that also has a built in
    inPlaceEditor in the detail part. When the user updates the detail,
    I need the master list to update with the information (this part
    wasn't hard, I just did dsEmployees.loadData()). However, when I
    load the data the detail aspect defaults back to the first row of
    the dsEmployees. How can I get the detail page to default to the
    row that was changed?

    Hi,
    This is really a SQL query, not much to do with Forms.
    Something like this.
    SELECT ....
    FROM <DETAIL_TABLE>
    WHERE <DETAIL_TABLE>.<DATE_COLUMN> = (SELECT MAX(<DETAIL_TABLE>.<DATE_COLUMN>) FROM <DETAIL_TABLE>
                                     WHERE <DETAIL_TABLE>.<FK_COLUMN> = 'AA' )
    .....BTW, DATE is a reserved word and cannot be a column_name.
    The equivalent of the WHERE Clause above is what you need to put into the detail block.
    For any better response, you should post the actual query with actual table/column names.
    Regards,
    Edited by: Prabodh on May 26, 2012 1:02 PM

  • Material Master Number Range - Very Urgent

    Hi ,
    My client is having existing material codification as below :
    all material types for e.g. ROH, HALB, FERT will be starting their material code with 00 or 01 or 02 etc. sine the first two digits denotes the year , which will vary from material to material. The characters used will be from minimum 8 to maximum 14 - Alphanumeric.
    for e.g. my material code will be
    for ROH - 000040101F0101
    for FERT - 00801000101
    for HALB - 013000101C
    here for all materail type first 2 digit are for year and next will be prod. code , then assy , then sub assy , if forging applicable it will be F , if casting then - C
    How this can be mapped in SAP as one series for all material types, is it possible for system to identify the material type, what is advantage & disadvantage of the same.
    Pl. help
    Thanks & Regards,
    Vikas Mayekar.

    Hi
    Using Standard SAP for Material number ranges may not be able to map your requiremnts.
    But you can use the SAP enhancements available for the Number ranges determination & so onj...
    Please use the User exit in CMOD or SMOD
    You can use enhancement MGA00002 (for industry) or enhancement MGW00002 (for retail) for this.
    For more information, see the documentation for the following components assigned to these enhancements:
    Industry
    EXIT_SAPLMG02_001
    EXIT_SAPLMG02_002
    Retail
    EXIT_SAPLMG72_001
    With the exception of the transfer structure, this function is identical to customer enhancement MGA00002 for material number assignment for the material master for industry. Please see customer enhancement MGA00002 for more information and for sample coding.
    EXIT_SAPLMG72_002
    With the exception of the transfer structure, this function is identical to customer enhancement MGA00002 for material number assignment for the material master for industry. Please see customer enhancement MGA00002 for more information and for sample coding.
    EXIT_SAPLMGNK_003
    Please take help of ABAPer's for implementing the same
    Thanks & Regards
    Kishore

  • 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

  • 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! Please

    I have a Mater detail form. When I enter a record and then press CREATE. The record disappears. Is there a way to insert the record and then query back from the DB so that the detail can be added?

    Found my problem after three days. It was the Process Row of MASTER process. I did not have the Return Key into Item field filled in.

  • Master Data Deletion (Very Urgent)

    Hi Guys,
    What might b the problem, when "not all the master data can be deleted".
    Please respond soon
    avanced tanX
    peter

    Hi,
    you cant delete the master data if its being used by any infoproviders or by a query by including or excluding a value of material. Make sure to delete the master data from all the places then only the system would allow to change the char. I know its pain. backdoor approach, create a ABAP program to delete all the data in the related master data tables S/P/X
    If you have deleted the master data and still not able to change the conversion, activate the object.
    During activation you will get a screen to repair and click that and it will be activated.
    But make sure, you delete all the data in the info provider that uses this obj
    Assign points if helpful
    Regards,
    Hareesh

Maybe you are looking for

  • Merging Nik HDR Efex Pro 2 into CC

    When I select my images in Br and then try to merge them in Nik HDR Efex Pro 2, nothing happens other than CC in open with a blank screen.

  • Expert coaster maker needs help!  AVI plays - DVD issues??

    The problem is that there seems to be a piece of footage that doesn't want to play right on the TV/DVD. It plays perfect in AVI format and through Encore preview (also Premiere). Not all the video/audio is bad and stuttering - just a few parts. But,

  • Adding Alternative Unit of measure as part of  attributte of material

    Hi gurus, In our source system each material has alternative unit of measure which contain info on converting the base unit of measure (CAR) to MT and PAL. I need to add this info as part of material attribute e.g. Material "A" 10CART = 1 PAL & 100CA

  • Add new view in 3D annotation

    Hello,      I have been developing a c++ plugin which embed 3D model in PDF.      I want to add new views with 3D annotation.How i can do this ?      In 3D annotation property form inside 3D tab i can add views so that they appears in list of view of

  • Message Hub Missing/Bl​ack

    My message Hub has disappeared! When I swipe right to get my message Hub it is a black screen. I have tried clicking on the Text Messages Icon in the main access list and it does open my messages. It does anything. Anyone else experience this?   Very