Please help me it urgent....

hello everyone.
i have created a class which is extending from JWindow ,when it load I want to show dialog class which extends JDesktopPane to be loaded.I have added windowlistener to the window but it does not working.
here is the code that i have tried.please help me
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class demo extends JWindow implements WindowListener
int screenWidth = Toolkit.getDefaultToolkit().getScreenSize().width;
int screenHeight = Toolkit.getDefaultToolkit().getScreenSize().height;
JLabel lbl;
JButton btn;
public demo(JFrame f)
super(f);
     JPanel pn = new JPanel();
pn.setBackground(new Color(0xF8F8F8));
     lbl = new JLabel("Designed And Programmed By: Deepak Kumar Verma.");
     lbl.setForeground(new Color(0x009595));
     pn.add(lbl);
     btn = new JButton("Submit");
     pn.add(btn);
     getContentPane().add(pn);
     setSize(screenWidth,screenHeight);
setVisible(true);
     addWindowListener(this);
     public void windowOpened(WindowEvent e)
          dialog d = new dialog();
          d.setVisible(true);
     public void windowClosing(WindowEvent e)
     public void windowClosed(WindowEvent e)
     public void windowIconified(WindowEvent e)
     public void windowDeiconified(WindowEvent e)
     public void windowActivated(WindowEvent e)
          dialog d = new dialog();
          Dimension dialogSize = d.getSize();
          d.setLocation(screenWidth/2 - (dialogSize.width/2), screenHeight/2 - (dialogSize.height/2));
          d.setVisible(true);
     public void windowDeactivated(WindowEvent e)
public static void main(String args[])
JFrame f = new JFrame();
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.setUndecorated(true);
f.setSize(0,0);
f.setVisible(true);
demo d = new demo(f);
//code for dialog class
     class dialog extends JDesktopPane
          public dialog()
               ImageIcon icon = new ImageIcon("C://Documents and Settings//maninder//My Documents//My Pictures//IconSecure.ico");
               JInternalFrame iframe = new JInternalFrame("Welcome -- Maintainence Zone. ", true, true, true, true);
               iframe.setFrameIcon(icon);
               JPanel p = new JPanel();
               p.setBackground(new Color(0xFFFFFF));
               iframe.setSize(320,120);
               iframe.setVisible(true);
               iframe.getContentPane().add(p);
               JLabel lbllogin = new JLabel("Login Id :");
               p.add(lbllogin);
               JTextField txtlogin = new JTextField(12);
               p.add(txtlogin);
               JLabel lblpwd = new JLabel("Password :");
               p.add(lblpwd);
               JPasswordField txtpwd = new JPasswordField(12);
               p.add(txtpwd);
               JButton btnsubmit = new JButton("submit");
               p.add(btnsubmit);
               JDesktopPane desktop = new JDesktopPane();
               desktop.add(iframe);
               getContentPane().add(desktop);
thanks in advance

See my first comment in this posting:
http://forum.java.sun.com/thread.jspa?threadID=723670

Similar Messages

  • I can't download the apple ios 5 for the ipad. after downloading around 10 % an error no. 3259 occurs. it's a network error. please help . it's urgent. i am having apple ipad 2 3G wifi

    i can't download the apple ios 5 for the ipad. after downloading around 10 % an error no. 3259 occurs. it's a network error. please help . it's urgent. i am having apple ipad 2 3G wifi.

    i switched off all the security settings and all the firewalls.
    i m unable to install any of the app on the ipad
    so i saw the apple support and it said to update the older version of my ipad.
    and niether am i able to download the update nor am i able to download any app and install it in my ipad2
    i also tried to download an .ipsw file (ios5 update) from torrentz bt i am also unable to install from that as itunes rjects that file and gives an error. and also tries to delete that file. plz anyone help urgently.

  • Event OnInputProcessing not triggered ..... please help, it's urgent

    hi all,
    i have a problem in my bsp page.
    in my bsp page, there is a button which is clicked, a new pop up window will appear. after the pop up window closed the caller window will be submitted.
    after submitted, the server side script ( ABAP Code in event OnInputProcessing & OnInitiallization will be run ).
    in order to be able to do this, i used java script. and it's already works well.
    the problem is : there is 1 record that the ABAP code in event OnInputProcessing is not run. I have set break points on one of code in event OnInputProcessing, but it seems event OnInputProcessing is not triggered. if i also put the break point in event OnInitialization, it will stop in the break point in event OnInitialization.
    is there any clue why this happened ?
    please help, it's urgent because it's happened in my production system
    many thanks in advance
    regards
    eddhie

    hi Raja,
    thanks for the respond.
    the code is already works for 2 years and just 1 record of ... perhaps thousands record that used the same code.
    for other record, it go to event OnInputProcessing
    but just this 1 record it won't go to event OnInputProcessing.
    any clue ?
    please help
    regards

  • Please Help its an urgent

    Dear,
    I am making BDC for Transcation Code <b>KKS1</b>. In this transcation when we go through the transcation then the output is shown in ALV Grid format and as we know that we can convert an ALV Grid into List output or Excel sheet. which I want finally in EXCEL Sheet Format. During transaction there is no Problem every thing is happening perfectly.
    <b>But if I want to record a BDC for the same</b> then then first of all I have to check the box continue after commit. then only I can record the BDC. because only after checking this box i get the output in ALV format. <b>Now till here I have done sucess fully.</b> Now In BDC I want to convert the  ALV into EXCEL SHEET OR LIST OUTPUT. Generally we can't do this. we have to do this manually but is there any way to convert the <b>ALV Grid into EXCEL Sheet or List Output during the BDC.</b>
    Please help me Out.
    I need it urgently.
    who ever will solve my problem I will reward him 10 Points.
    Siddarth

    Hi Siddarth!
    Like already Erik began to describe:
    most probably you can't use a BDC in a way you expect this.
    Excel is just installed on your PCs, also SAP needs GUI interaction to make an excel sheet. So your call transaction would have to run online - but normally you create BATCH input sessions to run something in background...
    Without GUI you won't get a correct ALV (also this can create it's containers with link to a GUI), nor excel download.
    If it's a one-time action: maybe you can run a BDC online and placing a mobile phone or some other office tool on the 'Enter'-key.
    You can also try to record a CATT (transaction SCEM) or eCATT - they are newer and can handle more dynpro situations, especially one option of eCATT should be able to make scripting.
    Regards,
    Christian

  • HT1338 How to get rid of Apple Support Community notices, my box is full I receive thousand a day and I really cannot handle it.  Please help, I cannot find the notification tad in my "preferences"  I have Mac OS X 10.7.5.  Please help it is urgent

    How to get rid of Apple Support Community notices?  my box is full as I receive thousand of messages a day.  I cannot handle it anymore, please it is urgent.  Help!  I have Mac OS X 10.7.5 and unable to find the "notification tab" in my "preferences"  I need a image if possible to better understand.  Thanks a lot.

    Thank you, but I just  tried everything you said, my apple id account (icloud) continues and still is receiving the email from ASC each second.  My i phone and macpro (i cloud account) is full of messages that I have difficult to erase at once.  I have to do it one by one which can take me the whole day.  How can i unsucribe from ASC, just get ride of my account, I mean cancel the ASC account, so I will not get any messages.  Please help.  Thanks.

  • Problem in HTMLB..Please Help...urgent....:(

    Hello All,
    Please refer to the below code:
    package com.sap.NewOrderAssignment;
    import java.io.Serializable;
    import java.util.Calendar;
    import java.util.Date;
    import java.util.Locale;
    import java.util.GregorianCalendar;
    import com.sapportals.htmlb.*;
    import com.sapportals.htmlb.enum.TableColumnType;
    import com.sapportals.htmlb.table.DefaultTableViewModel;
    import com.sapportals.htmlb.table.TableColumn;
    public class BeanOrderDetails implements Serializable
    {     public Date toDay, orderDate;
         public String toDayAsString;
         public IListModel deliveryAddress;
         public TextEdit address;
         public DefaultTableViewModel orderLines;
         public Locale locale;
         public String poNumber, model, qty;
         public Object colTitle[] = {"Model","Description","Qty (pcs)","AD Price","Net Price","Total amount","Indication ETA","12 NC","Part Del","GIM","# A-box","Pcd/A-box"};
         public BeanOrderDetails()
         {     Calendar cal = new GregorianCalendar();
              toDay = cal.getTime();
              String year = String.valueOf(cal.get(Calendar.YEAR));
              String month = String.valueOf(cal.get(Calendar.MONTH)+1);
              String day = String.valueOf(cal.get(Calendar.DAY_OF_MONTH));
              toDayAsString = year"-"month"-"day;
              deliveryAddress = new DefaultListModel();
              deliveryAddress.setSingleSelection(true);
              deliveryAddress.addItem("1", "Delivery Address1");
              deliveryAddress.addItem("2", "Delivery Address2");
              deliveryAddress.addItem("3", "Delivery Address3");
              //company address
              address = new TextEdit("Company Address");
              address.setRows(4);
              address.setCols(40);
              String line1 = "KPIT Cummins Infosystems Ltd.";
              String line2 = "MIDC, Hinjewadi";
              String line3 = "Pune, India";
              address.setText(line1line2line3);
              address.setEnabled(true);
              //Table creation
              Object data[][] = {{"HQ8894","Sensotec Dry Rota Shaver","500","1,512.00","1,498.00","749.00","08-08-2005","885889401710","N","Y","","50"}};
              orderLines = new DefaultTableViewModel(data, colTitle);     
              TableColumn columnModel = orderLines.getColumnAt(1);
              TableColumn columnDesciption = orderLines.getColumnAt(2);
              TableColumn columnQty = orderLines.getColumnAt(3);
              TableColumn columnADPrice = orderLines.getColumnAt(4);
              TableColumn columnNetPrice = orderLines.getColumnAt(5);
              TableColumn columnTotalAmunt = orderLines.getColumnAt(6);
              TableColumn columnETA = orderLines.getColumnAt(7);
              TableColumn column12NC = orderLines.getColumnAt(8);
              TableColumn columnPartDel = orderLines.getColumnAt(9);
              TableColumn columnGIM = orderLines.getColumnAt(10);
              TableColumn columnABox = orderLines.getColumnAt(11);
              TableColumn columnAmountInBox = orderLines.getColumnAt(11);
              TableColumn columnPcsBox = orderLines.getColumnAt(12);
              columnModel.setType(TableColumnType.INPUT);
              columnModel.setWidth("150");
              columnQty.setType(TableColumnType.INPUT);
              columnDesciption.setWidth("300");
         public void setLocale(Locale l)
         {     locale = l;
         public Locale getLocale()
         {     return locale;
         public void setOrderDate(Date od)
         {     orderDate = od;
         public Date getOrderDate()
         {     return orderDate;
         public void setOrderLines(DefaultTableViewModel mm)
         {     orderLines = mm;
         public DefaultTableViewModel getOrderLines()
         {     return orderLines;
         public void setAddress(String adr)
         {     address.setText(adr);
         public void setTextEditAddress(TextEdit adr)
         {     address = adr;
         public TextEdit getTextEditAddress()
         {     return address;
         public String getAddress()
         {     return address.getText();
         public void setDeliveryAdresses(IListModel model)
         {     deliveryAddress = model;
         public IListModel getdeliveryAddresses()
         {     return deliveryAddress;
         public void setPoNumber(String pon)
         {     this.poNumber = pon;
         public String getPoNumber()
         {     return this.poNumber;
         public void setModel(String m)
         {     this.model = m;
         public void setQty(String quantity)
         {     this.qty = quantity;
         public void getNewRow()
         {     Object data[][] = { {"","Sensotec Dry Rota Shaver ABC","","1,512.00","1,498.00","749.00","08-08-2005","885889401710","N","Y","","50"}};
              this.setQty("");
              this.setModel("");          
              TableColumn columnModel = orderLines.getColumnAt(1);
              TableColumn columnDesciption = orderLines.getColumnAt(2);
              TableColumn columnQty = orderLines.getColumnAt(3);
              TableColumn columnADPrice = orderLines.getColumnAt(4);
              TableColumn columnNetPrice = orderLines.getColumnAt(5);
              TableColumn columnTotalAmunt = orderLines.getColumnAt(6);
              TableColumn columnETA = orderLines.getColumnAt(7);
              TableColumn column12NC = orderLines.getColumnAt(8);
              TableColumn columnPartDel = orderLines.getColumnAt(9);
              TableColumn columnGIM = orderLines.getColumnAt(10);
              TableColumn columnABox = orderLines.getColumnAt(11);
              TableColumn columnAmountInBox = orderLines.getColumnAt(11);
              TableColumn columnPcsBox = orderLines.getColumnAt(12);
              columnModel.setType(TableColumnType.INPUT);
              columnModel.setWidth("150");
              columnQty.setType(TableColumnType.INPUT);
              columnDesciption.setWidth("300");
    The above code creates a table. It actually maps the various fields as the TableColumn.
    <b><u>Question:</u></b>
    I have added a button which appears below this table.
    Name of button = AddNewLine
    Now, when this button is clicked, a new empy row should appear in the table.
    <i><b>My stmts in method - getNewRow() are not working.</b></i>
    Please help me do so.
    Please help...its kinda urgent.
    Thanks and Warm Regards,
    Ritu R Hunjan

    Hi Ritu,
             First up all I don't see any code where exactly you have added a button in the table.
             Secondly as a general thing,looking on to ur scenario you have initialize the table on the event of clicking the button ie)in ur getNewRow() just initialize your code for building an empty row of the table.
    Regards,
    guru

  • My swf file doesn't sees flv format video, what can i do? Please help, it's urgent

    I made an video animation presentation in Flash CS6. I have a video part into this animation (flv format), but when i export the animation in swf, the video doesn't appear (i see only white screen. On my computer i can see it good, but from another computers it appears white screen.). I need to export the animation in video format, but i can't. Please help me, it's urgent for a project. Thank you!

    you can export the fla as a .mov.  file>export> export video. from here you can elect to open in Adobe Media Encoder and then choose your file extension type you want.
    if you cannot see the animation in the .swf my guess everything your doing is on a local computer and not on a site/server somewhere.

  • Activation Problem..i Have Registered for the devolopers account and also paid 99 dollars. how do i open my iphone now? please help. this is urgent!

    this morning my iphone showed up a activation problem then it told me to go to devoloper.apple.com and register for the ios developer program.. it costed me 99 dollars. but i did it.. just a moment ago.. how do i access my iphone now? please help me this is real urgent.

    this in my problem too apple say : ur request is pending now and it did not activated yet !    ?  
    what should i do?

  • How to check for null values in bpel?? Please Help! very urgent!!!

    Hello Guys,
    I have a problem. I have an external webservice to which I have to post my request. My task is to create an Webservice and Service Assembly to which others would post request and get response. I have to create SA to deploy onto the bus.
    The problem is that there are optional elements in the request and response xsd's. In the Response sometimes certain feilds may come or they may not. for Example:- my response could contain a tag like this <firstName></firstName>
    I have to copy these feilds in my bpel process from one variable to another.(like in the mapper).
    My Question is , Is there any way in BPEL process or BPEL mapper where I could Check for null values in the request or response???
    Your inputs would be very helpful.
    Thanks
    Rajesh

    Thanks for replying man :)
    Ok I will be more clear.
    Here is a snippet of one of the xsd's that I am using.
    <xs:element name="returnUrl" nillable="false" minOccurs="0">
                        <xs:annotation>
                             <xs:documentation>Partner specifies the return URL to which responses need to be sent to, in case of
    Async message model.
    </xs:documentation>
                        </xs:annotation>
                        <xs:simpleType>
                             <xs:restriction base="xs:anyURI">
                                  <xs:maxLength value="300"/>
                                  <xs:whiteSpace value="collapse"/>
                             </xs:restriction>
                        </xs:simpleType>
                   </xs:element>
    This means that the return URL field can be there or it may not be there. But if it is there it cant be null because nillable=false. But the whole <returnURL> </returnURL> can be there or it may not be there because minOccurs=0.
    My requirement is , if returnURL is there in the response with a value, then in my BPEL mapper I should map it else I should not map it.
    Thats the issue.
    and Yes kiran, the node be non-existant.
    So can you please help me with this.
    Thanks
    Rajesh

  • Sales Api Is not working After Intializing(Please help it's urgent)

    Hi all,
    When i am executing an sales api to create lead in sql+ it s executing fine,but when i am executing the same api after intializing in SQL+ or in concurrent request,it is troughing an error like
    AS_SALES_MEMBER_PVT Using Fn....
    Please help Me and also look into the code...
    DECLARE
    q_sales_lead_id NUMBER (8);
    q_sales_lead_line_out_tb VARCHAR2 (300);
    q_sales_lead_cnt_out_tbl VARCHAR2 (500);
    q_return_status VARCHAR2 (10);
    q_msg_count NUMBER (10);
    q_msg_data VARCHAR2 (800);
    a_return_status VARCHAR2 (10);
    a_msg_count NUMBER (10);
    a_msg_data VARCHAR2 (800);
    q_noteid NUMBER (4);
    x_sales_lead_line_out_tbl as_sales_leads_pub.sales_lead_line_out_tbl_type;
    x_sales_lead_cnt_out_tbl as_sales_leads_pub.sales_lead_cnt_out_tbl_type;
    l_sales_lead_rec as_sales_leads_pub.sales_lead_rec_type;
    l_sales_lead_line_tb1 as_sales_leads_pub.sales_lead_line_tbl_type;
    v_party_id NUMBER (10);
    v_resource_id NUMBER (10);
    v_group_id NUMBER (10);
    v_person_id NUMBER (10);
    v_org_id NUMBER (10);
    v_customer_id NUMBER (10);
    v_primary_application VARCHAR2 (150);
    v_secondary_application VARCHAR2 (150);
    v_lead_provider_type VARCHAR2 (150);
    v_nomenclature_final VARCHAR2 (150);
    v_segment VARCHAR2 (150);
    v_nomenclature VARCHAR2 (150);
    v_nomenclature_1 VARCHAR2 (150);
    v_segment_1 VARCHAR2 (150);
    v_fleet_mix VARCHAR2 (150);
    v_category_set_id NUMBER (10);
    v_category_id NUMBER (10);
    e_msg VARCHAR2 (500);
    v_party_name VARCHAR2(150);
    out_param VARCHAR2(150);
    CURSOR c1 IS
    SELECT a.*, ROWID
    FROM al_vendor_sms_crmlead_in a
    WHERE a.msg_flag = 'N' AND a.customer_code IS NOT NULL
    AND a.models IS NOT NULL
    AND a.fleet_mix IS NOT NULL
    AND a.segments IS NOT NULL
    AND a.lead_provider IS NOT NULL
    AND a.secondary_app IS NOT NULL
    AND a.cp_mobile_no IS NOT NULL
    AND a.id='L';
    BEGIN
    For i in c1 LOOP
    BEGIN
    out_param :='phone validation';
    SELECT ppf.party_id
    INTO v_party_id
    FROM per_phones pp, per_all_people_f ppf
    WHERE ppf.person_id = pp.parent_id
    AND pp.phone_type = 'M'
    AND pp.phone_number = i.cp_mobile_no
                   and rownum<=1;
    out_param:='Resource_invalid';
    SELECT jtf.resource_id, jtm.GROUP_ID, jtf.source_business_grp_id,
    jtf.source_id
    INTO v_resource_id, v_group_id, v_org_id,
    v_person_id
    FROM apps.jtf_rs_resource_extns jtf, apps.jtf_rs_group_members jtm
    WHERE jtf.resource_id = jtm.resource_id
    AND jtf.end_date_active IS NULL
    AND jtm.delete_flag = 'N'
    AND jtf.user_name NOT LIKE 'ALM%'
    --AND jtf.attribute5='Sales'
    AND jtf.person_party_id = v_party_id
    AND ROWNUM <= 1;
    out_param:='Party_invalid';
    SELECT party_id,party_name
    INTO v_customer_id,v_party_name
    FROM apps.hz_parties
    WHERE status = 'A' AND party_number = i.customer_code;
    out_param:='Sec_prim_application_invalid';
    SELECT parent_flex_value_low, flex_value
    INTO v_primary_application, v_secondary_application
    FROM apps.fnd_flex_values_vl
    WHERE parent_flex_value_low IN (
    SELECT flex_value
    FROM apps.fnd_flex_values_vl
    WHERE flex_value_set_id = 1009667
    AND enabled_flag = 'Y')
    AND enabled_flag = 'Y'
    AND TO_NUMBER (TRUNC (SUBSTR (attribute1, 1, 2))) =
    i.secondary_app ;
    out_param:='Segment_map_invalid';
    SELECT Upper(REPLACE (regexp_replace (i.models, '(\s*[[:punct:]])'), ' '))
    INTO v_nomenclature
    FROM DUAL;
    SELECT flex_value
    INTO v_nomenclature_final
    FROM apps.fnd_flex_values_vl
    WHERE flex_value_set_id = 1009798
    AND enabled_flag = 'Y'
    AND end_date_active IS NULL
    AND REPLACE (regexp_replace (flex_value, '(\s*[[:punct:]])'), ' ') =
    v_nomenclature
    AND ROWNUM <= 1;
    SELECT flex_value
    INTO v_segment
    FROM apps.fnd_flex_values_vl
    WHERE flex_value_set_id = 1009632
    AND enabled_flag = 'Y'
    AND end_date_active IS NULL
    AND TO_NUMBER (TRUNC (SUBSTR (flex_value, 1, 2))) = i.SEGMENTS;
    SELECT ffvh.flex_value, ffv.flex_value
    INTO v_nomenclature_1, v_segment_1
    FROM apps.fnd_flex_values_vl ffvh, apps.fnd_flex_values_vl ffv
    WHERE ffv.flex_value = ffvh.parent_flex_value_low
    AND ffvh.enabled_flag = 'Y'
    AND ffv.flex_value_set_id = 1009632
    AND ffv.enabled_flag = 'Y'
    AND ffvh.flex_value_set_id = 1009798
    AND ffvh.parent_flex_value_low = v_segment
    AND ffvh.flex_value = v_nomenclature_final;
    out_param:='Lead_provider_invalid';
    SELECT flex_value
    INTO v_lead_provider_type
    FROM apps.fnd_flex_values_vl
    WHERE flex_value_set_id = 1009718
    AND end_date_active IS NULL
    AND TO_NUMBER (TRUNC (SUBSTR (flex_value, 1, 2))) =
    i.lead_provider;
    out_param:='vehicle_res_invalid';
    SELECT lookup_code
    INTO v_fleet_mix
    FROM apps.fnd_lookup_values_vl
    WHERE lookup_type = 'VEHICLE_RESPONSE_CODE'
    AND enabled_flag = 'Y'
    AND TO_NUMBER (TRUNC (SUBSTR (description, 1, 2))) = i.fleet_mix;
    out_param:='Category_invalid';
    SELECT mic.category_set_id, mic.category_id
    INTO v_category_set_id, v_category_id
    FROM apps.mtl_item_categories mic, apps.mtl_categories_tl mc
    WHERE mic.category_id = mc.category_id
    AND organization_id = 106
    AND description = v_nomenclature_final
    AND ROWNUM <= 1;
    out_param:='api-Error';
    l_sales_lead_rec.customer_id := v_customer_id;
    l_sales_lead_rec.status_code := 'NEW';
    l_sales_lead_rec.attribute15 := v_segment_1;
    l_sales_lead_rec.attribute12:=To_Char( i.expected_closedate,'YYYY/MM/DD HH24:MI:SS');
    l_sales_lead_rec.attribute10 := v_lead_provider_type;
    l_sales_lead_rec.attribute9 := v_secondary_application;
    l_sales_lead_rec.attribute8 := v_primary_application;
    l_sales_lead_rec.assign_to_salesforce_id := v_resource_id;
    l_sales_lead_rec.assign_sales_group_id := v_group_id;
    l_sales_lead_rec.assign_to_person_id := v_person_id;
    l_sales_lead_rec.vehicle_response_code := v_fleet_mix;
    l_sales_lead_rec.description:=v_party_name||' '||v_nomenclature;
    l_sales_lead_line_tb1 (1).category_id := v_category_id;
    l_sales_lead_line_tb1 (1).category_set_id := v_category_set_id;
    l_sales_lead_line_tb1 (1).organization_id := v_org_id;
    l_sales_lead_line_tb1 (1).quantity:=1;
    as_sales_leads_pub.create_sales_lead
    (p_api_version_number => 2.0,
    p_init_msg_list => fnd_api.g_false,
    p_commit => fnd_api.g_true,
    p_validation_level => fnd_api.g_valid_level_full,
    p_check_access_flag => 'Y',
    p_admin_flag => 'Y',
    p_admin_group_id => v_group_id,
    p_identity_salesforce_id => v_resource_id,
    p_sales_lead_profile_tbl => as_utility_pub.g_miss_profile_tbl,
    p_sales_lead_rec => l_sales_lead_rec,
    p_sales_lead_line_tbl => l_sales_lead_line_tb1,
    p_sales_lead_contact_tbl => as_sales_leads_pub.g_miss_sales_lead_contact_tbl,
    x_sales_lead_id => q_sales_lead_id,
    x_sales_lead_line_out_tbl => x_sales_lead_line_out_tbl,
    x_sales_lead_cnt_out_tbl => x_sales_lead_cnt_out_tbl,
    x_return_status => q_return_status,
    x_msg_count => q_msg_count,
    x_msg_data => q_msg_data);
    as_sales_leads_pub.Build_Lead_Sales_Team (
    P_Api_Version_Number =>2.0,
    P_Init_Msg_List=>FND_API.G_TRUE,
    p_Commit=>FND_API.G_TRUE,
    p_Validation_Level=> FND_API.G_VALID_LEVEL_FULL,
    P_Admin_Group_Id =>v_group_id,
    P_identity_salesforce_id=>v_resource_id,
    P_salesgroup_id=> v_group_id,
    P_Sales_Lead_Id=>q_sales_lead_id,
    X_Return_Status=>q_return_status,
    X_Msg_Count=>a_msg_count,
    X_Msg_Data =>a_msg_data);
    IF q_return_status = 'S'
    THEN
    UPDATE al_vendor_sms_crmlead_in
    SET conv_status = 'S'
    WHERE unique_identifier = i.unique_identifier AND ROWID = i.ROWID;
    ELSE
    UPDATE al_vendor_sms_crmlead_in
    SET conv_status = 'E' WHERE unique_identifier = i.unique_identifier AND ROWID = i.ROWID;
    END IF;
    EXCEPTION
    WHEN No_Data_Found THEN
    UPDATE al_vendor_sms_crmlead_in a
    SET a.conv_status = 'ERROR',error_description=out_param
    WHERE unique_identifier = i.unique_identifier AND ROWID = i.ROWID;
    COMMIT;
    END;
    UPDATE al_vendor_sms_crmlead_in SET msg_flag='Y' WHERE unique_identifier = i.unique_identifier AND ROWID = i.ROWID;
    END LOOP;
    END;

    Please post this question in the CRM On Demand Integration Development forum.

  • Please help, this is urgent

    Hi
    I have created a grid using JSP and HTML which has three columns and multiple rows. The cells are actually the text boxes and their names are EmpNo, Value1, and value2.
    And every row's column's control name is same.
    They display like this
    EmpNo Value1 Value2
    EmpNo Value1 Value2
    EmpNo Value1 Value2
    EmpNo Value1 Value2
    EmpNo Value1 Value2
    EmpNo Value1 Value2
    Can anybody guide me how can I access a value from a specific row and specific control. I am having problem because each column control name is same.
    I know its possible in ASP using count method, because in ASP when you create a control with a same name, the ASP generates an array and it keeps the array name as control name, so that you can access the value through its subscript number. I was trying to do the same thing in JSP but couldn't do that.
    Please help me, I will really appreciate that.
    Thanks

    Can anybody guide me how can I access a value from a
    specific row and specific control. I am having
    problem because each column control name is same.
    I know its possible in ASP using count method,
    because in ASP when you create a control with a same
    name, the ASP generates an array and it keeps the
    array name as control name, so that you can access
    the value through its subscript number. I was trying
    to do the same thing in JSP but couldn't do that.HTML creates the array, so it works the same in JSP. Need to see your code to suggest why this might not be working for you.

  • Hey , this is Satvir and my personal hotspot option is missing in my ipad settings please help it's urgent , please tell me what should I do

    my personal hotspot option is missing from the settings  , please help me out
    <Email Edited by Host>

    It's a really bad idea to post your email address - it's an invitation to spam - and I've asked the Hosts to remove it.

  • J2me bluetooth application please help it's urgent..

    Hi,
    i m new to this forum and j2me also.
    i tried to basic j2me bluetooth application which transfer file from pc to mobile.
    but at run time i got exception:
    java.lang.SecurityException: Application not authorized to access the restricted API
    also in bluetooth desktop application while calling searchService i got
    NullPointerException..
    please help me.
    i have already do permission for API in jad file...
    Thanks in advance...

    Hello Nikhil,
    In alv... field catalog consists one field called HOTSPOT...
    try like this...
    l_r_fieldcat-tabname        = 'G_T_ITAB'.
    l_r_fieldcat-fieldname      = 'LGORT'.
    l_r_fieldcat-ref_tabname    = 'MARD'.
    l_r_fieldcat-ref_fieldname  = 'LGORT'.
    l_r_fieldcat-col_pos        = 3.
    <b>l_r_fieldcat-hotspot        = 'X'.</b>
    append l_r_fieldcat to g_t_fieldcat.
    clear l_r_fieldcat.
    after that... at line selection... goto the VF03 using BDC.
    No need to double click when you are using HOTSPOT... Single click is enough.
    To get check box at the beginging of each and every record use the following code...
    Field having checkbox
      g_r_layout-box_fieldname = 'SEL'.
    here SEL is the field name in the internal table with char datape and length 1.
    To get ur own GUI Status... Go To Object list ( CTRL + SHIFT + F5 ). there click on GUI_STATUS. add one button for print priview and give one function code.
    in USER_COMMAND write code for function code... with function modules which are used to print forms.
    I'm give the remaing fields of fieldcatalog bellow. see last one... its HOTSPOT.
    ROW_POS
    COL_POS
    FIELDNAME
    TABNAME
    REF_FIELDNAME
    REF_TABNAME
    CURRENCY
    CFIELDNAME
    CTABNAME
    QUANTITY
    QFIELDNAME
    QTABNAME
    ROUNDFIELDNAME
    ROUNDTABNAME
    ROUND
    DECIMALSFIELDNAME
    DECIMALSTABNAME
    DECIMALS_OUT
    TEXT_FIELDNAME
    EXPONENT
    KEY
    ICON
    SYMBOL
    CHECKBOX
    JUST
    LZERO
    NO_SIGN
    NO_ZERO
    EDIT_MASK
    EMPHASIZE
    FIX_COLUMN
    DO_SUM
    NO_OUT
    TECH
    OUTPUTLEN
    OFFSET
    SELTEXT_L
    SELTEXT_M
    SELTEXT_S
    REPTEXT_DDIC
    DDICTXT
    ROLLNAME
    DATATYPE
    INTTYPE
    DDIC_OUTPUTLEN
    INTLEN
    LOWERCASE
    KEY_SEL
    NO_SUM
    SP_GROUP
    REPREP
    INPUT
    HOTSPOT
    Reward If Helpful.
    Regards
    Sasidhar Reddy Matli.

  • Oracle Express Batch Manager-Please Help me out-urgent

    Dear all,
    I have created a Relational Access Administrator project and mapped an Express Datamodel with RDBMS lookup and fact tables and created a Maintenance Procedure Using "Express Database Maintenance" from "Relational Access Administrator". After that when I tried to run that "Procedure" using "Batch Manager", it creates a Command definition file "~5848371.cmd" and nothing is showing in the "Job Monitor" tab of "Batch Manager". At the same time since it could not run the procedure, no Express database have been created to the specified path.
    Please help me out, as I am in need for this very badly. I have gone through the document "Relational Access Administrator(User Guide)" from otn.oracle.com, but nowhere such type of problem have been addressed.
    Thanking you in advance,
    regards,
    Manoj Ghosh,
    Mail ID: [email protected]

    There is a tutorial on building a chat application (or applet) on the ibm site.
    http://www-105.ibm.com/developerworks/education.nsf/dw/java-onlinecourse-bytitle
    You need to register to use it, but it is free.
    Hope this helps
    Peter

  • Session Locks... Please help this is urgent...

    Hi,
    I've created web application in ASP.NET and I'm connecting to one of our Oracle server which resides in other country. I only have read access to it. I can only do select statements.
    After couple of months that the application was running, their database admin told me that my application was creating session locks in the database.
    I only have 4 select statements that's connection to their oracle server. Below one of the query that I'm using.
    IDataReader r = null;
    try
    using (OracleConnection conn = new OracleConnection(this.ConnectionString))
    string _return;
    conn.Open();
    OracleCommand command = new OracleCommand("select site from mashreq_employees where employee_code='" + emplid + "'", conn);
    r = this.ExecuteReader(command);
    if (r.Read())
    _return = r.ToString();
    else
    _return = "";
    return _return;
    finally
    if (r != null)
    r.Close();
    My question is, Can I create Session Locks even if I'm only using SELECT STATEMENT?
    They send me the screen shot of their Enterprise Manager but I cannot paste it here. The Lock Type was "TX".
    Please help me...
    Thanks,
    Liezl

    I didn't see a FOR UPDATE in the code you posted but I don't know what the rest of your code/application does. For all I know the below code adds a FOR UPDATE at the end?
    OracleCommand command = new OracleCommand("select site from mashreq_employees where employee_code='" + emplid + "'", conn); Am trying to say that just because you're using SELECT only doesn't necessarily mean it's non-destructive, in nobody elses way "read-only", it is still possible to do a SELECT FOR UPDATE if you have the SELECT privilege for a table which might explain any TX locks for your session.
    SQL> create table a1 as (select * from user_tables);
    Table created.
    SQL> create table b1 as (select * from user_tables);
    Table created.
    SQL> select * from b1 where table_name = 'A1' for update;Now go to another session and try to update the table
    update b1 set table_name = 'Z';Session will hang, until original session either commits or rolls back. Investigating further:
    SQL> select session_id, object_id from v$locked_object;
    SESSION_ID  OBJECT_ID
            25      17552
    SQL> column object_name format a30
    SQL> select owner, object_id, object_name from dba_objects where object_id = 17552
    OWNER                           OBJECT_ID OBJECT_NAME
    TESTUSER                            17552 B1
    SQL> select sid, type, lmode, id1, id2 from v$lock where sid = 25;
           SID TY      LMODE        ID1        ID2
            25 TM          3      17552          0     <---- see the 17552 which is the B1 table and session 25 which is the session that did the FOR UPDATE?
            25 TX          6     589824        424So, see if you can track down which session is creating the locks from the data dictionary tables and whether it is your code.

Maybe you are looking for

  • Will not connect to wi-fi automatically

    I have a netgear router, laptops connect every time no problems but we have 2 iPhone 3GS's and an iPad and iPad2 and I have to reset my router (unplug it and plug back in) every time to get the iPhone's and iPads to connect. Even though all have been

  • Problem with lenght of text and footer elements displaced (bug?)

    I have a problem with the footer of my pages. The footer is composed with elements of the master page and two elements that are page dependant so these elements are defined in each page. All the elements in the footer are marked as page footer elemen

  • Problem installing iTunes on XP

    When I first got iTunes it worked fine until I downloaded a new version. Now whenever I install it there are no scrollbars and it freezes whenever I plug in my iPod or play a song. Ive reinstalled it many times and got the same results and went throu

  • I still have not gotten the 200 credit for upgrading to the new iphone

    i still have not gotten the 200 credit for upgrading to the new iphone.  the did get my old iphone device returned at the end of october!  In the beginning of dec they told me i needed to wait six weeks.  it was the sixth week. Which we now long have

  • BI Server performance too slow

    Hi experts, I am facing an issue, my OBIEE sits on a Unix Platform. And many time the server performance is too slow, when I check the processes, Java under Orabi user is using more than 50% of the CPU utilization. I need to find the root cause behin