Problem to add a composition using "BAPI_BUS1077_CREATE"

Hi experts,
Is there someone who can help me to fix up a problem when calling "BAPI_BUS1077_CREATE" in web dynpro.
For who haven't any knowledge of web dynpro, it isn't a problem. It works exactely as in simple dynpro.
I set flags for "FLG_HEADER" , "FLG_IDENT" and "flg_prop_comp" to true.
I fill-in tables with right values.
And I call the bapi with passing these tables.
But only values in header and identity tables are added , i mean when i use CG02 i find my new entry but only with values in header_table and Identity_table.
But the composition isn't there.
Someone has an explanation to this ?
Thanks in advance for your help.
Edited by: dyngry on Apr 5, 2011 9:32 AM

Hi,
I found the bug,
It was the SUB_NODE that I bind in one of the views with an empty table.
Thanks for your tips.
Now i haven't any error message.
And the entry is stored in the data base but i still have a problem with the composition which is still not stored.
Here is the code that i use.
DATA: l_sub_header_tab TYPE STANDARD TABLE OF bapi1077rh,
          l_sub_header_wa  LIKE LINE OF l_sub_header_tab,
          l_spec_recn LIKE l_sub_header_wa-record_no.
    DATA: l_prop_usage_tab TYPE STANDARD TABLE OF bapi1077du,
          l_prop_usage_wa LIKE LINE OF l_prop_usage_tab,
          l_prop_usage_tab_xp LIKE l_prop_usage_tab.
    DATA: l_prop_usage_buf1 LIKE l_prop_usage_wa,
          l_prop_usage_buf2 LIKE l_prop_usage_wa.
    DATA: l_prop_header_tab TYPE STANDARD TABLE OF bapi1077vh,
          l_prop_header_wa  LIKE LINE OF l_prop_header_tab,
          l_prop_header_tab_xp LIKE l_prop_header_tab.
    DATA: l_prop_subchacat LIKE l_prop_header_wa-subchacat.
    DATA: l_prop_val_tab TYPE STANDARD TABLE OF bapi1077va,
          l_prop_val_wa  LIKE LINE OF l_prop_val_tab,
          l_prop_val_tab_xp LIKE l_prop_val_tab.
    DATA  l_prop_val_recn LIKE l_prop_val_wa-record_no.
    DATA: l_prop_assess_tab TYPE STANDARD TABLE OF bapi1077dr,
          l_prop_assess_wa LIKE LINE OF l_prop_assess_tab,
          l_prop_assess_tab_xp LIKE l_prop_assess_tab.
    DATA: l_prop_component_tab TYPE STANDARD TABLE OF bapi1077vp,
          l_prop_component_wa  LIKE LINE OF l_prop_component_tab,
          l_prop_component_tab_xp LIKE l_prop_component_tab.
    DATA: l_prop_data_tab TYPE STANDARD TABLE OF bapi1077pr,
          l_prop_data_wa  LIKE LINE OF l_prop_data_tab,
          l_prop_data_tab_xp LIKE l_prop_data_tab.
    DATA: l_prop_source_tab TYPE STANDARD TABLE OF bapi1077ds,
          l_prop_source_wa LIKE LINE OF l_prop_source_tab,
          l_prop_source_tab_xp LIKE l_prop_source_tab.
    DATA: l_return_tab TYPE STANDARD TABLE OF bapiret2,
          l_return_wa  LIKE LINE OF l_return_tab.
  l_spec_recn = l_sub_header_wa-record_no.
  lo_node_1 = wd_context->get_child_node( name = 'PROP_COMPONENT' ).
  lo_node_1->BIND_TABLE( l_prop_component_tab ).
  lo_node_1 = wd_context->get_child_node( name = 'PROP_HEADER' ).
  lo_node_1->BIND_TABLE( l_prop_header_tab ).
  lo_node_1 = wd_context->get_child_node( name = 'PROP_VAL' ).
  lo_node_1->BIND_TABLE( l_prop_val_tab ).
  lo_node_1 = wd_context->get_child_node( name = 'PROP_USAGE' ).
  lo_node_1->BIND_TABLE( l_prop_usage_tab ).
  lo_node_1 = wd_context->get_child_node( name = 'PROP_RELIABILITY' ).
  lo_node_1->BIND_TABLE( l_prop_assess_tab ).
  lo_node_1 = wd_context->get_child_node( name = 'PROP_DATA' ).
  lo_node_1->BIND_TABLE( l_prop_data_tab ).
  lo_node_1 = wd_context->get_child_node( name = 'PROP_SOURCE' ).
  lo_node_1->BIND_TABLE( l_prop_source_tab ).
*  lo_node_1 = wd_context->get_child_node( name = 'SUB_HEADER' ).
*  lo_node_1->BIND_TABLE( l_sub_header_tab ).
Data: WC_VALUE1(20).
Data: WB_DEC           like SY-TABIX.
Data: WC_CLASSE        type TCG11-ESTCAT.
*   2.1.  Prepare all specification detail data for new creation
    WC_CLASSE = 'SAP_EHS_1012_003'. " Legal Composition = STD
*   prepare the PROPERTY HEADER
    REFRESH: l_prop_header_tab, l_prop_header_tab_xp.
    CLEAR l_prop_header_wa.
    l_prop_header_wa-primarykey  = 1.         "int. key
    l_prop_header_wa-flgprimkey  = true.
*   l_prop_header_wa-foreignkey  = l_sub_header_wa-primarykey.
*   l_prop_header_wa-flgfrgnkey  = l_sub_header_wa-flgprimkey.
    l_prop_header_wa-foreignkey  = l_spec_recn.
    l_prop_header_wa-flgfrgnkey  = false.
    l_prop_header_wa-subchacat   = WC_CLASSE.
    APPEND l_prop_header_wa TO l_prop_header_tab.
    APPEND l_prop_header_wa TO l_prop_header_tab_xp.
*   prepare the VALUE tab
    REFRESH: l_prop_val_tab, l_prop_val_tab_xp.
    CLEAR l_prop_val_wa.
    l_prop_val_wa-primarykey  = 2.
    l_prop_val_wa-flgprimkey  = true.
    l_prop_val_wa-foreignkey  = l_prop_header_wa-primarykey.
    l_prop_val_wa-flgfrgnkey  = true.
*   l_prop_val_wa-sequence    = 1.
    APPEND l_prop_val_wa TO l_prop_val_tab.
    APPEND l_prop_val_wa TO l_prop_val_tab_xp.
*    Clear TCG11.
*    If P_STD = 'X'.
*      Select single * from TCG11 where ESTCAT = WC_CLASSE.
*    Endif.
*    If TCG11-USEPROF is initial. " si rempli => onglet usage rempli tout seul
*     prepare the LINES FOR VALUE ASSIGNMENTS
      REFRESH: l_prop_usage_tab, l_prop_usage_tab_xp.
      CLEAR l_prop_usage_wa.
      l_prop_usage_wa-primarykey  = 3. "int. key
      l_prop_usage_wa-flgprimkey  = true.
      l_prop_usage_wa-foreignkey  = l_prop_val_wa-primarykey.
      l_prop_usage_wa-flgfrgnkey  = true.
      l_prop_usage_wa-val_area    = 'REG_WORLD'.
      l_prop_usage_wa-rating      = 'CUSTOMER'.
      l_prop_usage_wa-mastertabl  = 'ESTVA'.
      l_prop_usage_wa-act_ind     = true.
      APPEND l_prop_usage_wa TO l_prop_usage_tab.
      APPEND l_prop_usage_wa TO l_prop_usage_tab_xp.
*    Endif.
*   prepare the VALUE ASSIGNMENT ASSESSMENT tab
    REFRESH: l_prop_assess_tab, l_prop_assess_tab_xp.
    CLEAR l_prop_assess_wa.
    l_prop_assess_wa-primarykey  = 4.
    l_prop_assess_wa-flgprimkey  = true.
    l_prop_assess_wa-foreignkey  = l_prop_val_wa-primarykey.
    l_prop_assess_wa-flgfrgnkey  = true.
    l_prop_assess_wa-assessment  = '0'.
    APPEND l_prop_assess_wa TO l_prop_assess_tab.
    APPEND l_prop_assess_wa TO l_prop_assess_tab_xp.
*   prepare the VALUE ASSIGNMENT COMPONENT tab
*   COMPO 1
    WC_VALUE1 = '40'.
    REFRESH: l_prop_component_tab, l_prop_component_tab_xp.
    CLEAR l_prop_component_wa.
    l_prop_component_wa-primarykey  = 5.
    l_prop_component_wa-flgprimkey  = true.
    l_prop_component_wa-foreignkey  = l_prop_val_wa-primarykey.
    l_prop_component_wa-flgfrgnkey  = l_prop_val_wa-flgprimkey.
    l_prop_component_wa-comproot    = '00000000000000907142'.    " 233
    l_prop_component_wa-compcat     = 'ZDEFAULT'.
    l_prop_component_wa-sequence    = 1.
    l_prop_component_wa-oplowlimit  = '>='.
    l_prop_component_wa-DECLOWLIMIT = -1.      " ne pas afficher les 0
    l_prop_component_wa-DECUPPLIMIT = -1.      " ne pas afficher les 0
*   l_prop_component_wa-low_limit   = ' '.
    l_prop_component_wa-opupplimit  = '<='.
*   l_prop_component_wa-upp_limit   = ' '.
    l_prop_component_wa-avg_val     = WC_VALUE1.
    l_prop_component_wa-exponent    = '%'.
*    Perform CHECK-DECIMALES     using WC_VALUE1.
    l_prop_component_wa-DECAVGVAL   = WB_DEC.
    APPEND l_prop_component_wa TO l_prop_component_tab.
    APPEND l_prop_component_wa TO l_prop_component_tab_xp.
*   COMPO 2
    WC_VALUE1 = '50'.
    CLEAR l_prop_component_wa.
    l_prop_component_wa-primarykey  = 6.
    l_prop_component_wa-flgprimkey  = true.
    l_prop_component_wa-foreignkey  = l_prop_val_wa-primarykey.
    l_prop_component_wa-flgfrgnkey  = l_prop_val_wa-flgprimkey.
    l_prop_component_wa-comproot    = '00000000000001128838'.    " 236
    l_prop_component_wa-compcat     = 'ZDEFAULT'.
    l_prop_component_wa-sequence    = 2.
    l_prop_component_wa-oplowlimit  = '>='.
    l_prop_component_wa-DECLOWLIMIT = -1.      " ne pas afficher les 0
    l_prop_component_wa-DECUPPLIMIT = -1.      " ne pas afficher les 0
*   l_prop_component_wa-low_limit   = ' '.
    l_prop_component_wa-opupplimit  = '<='.
*   l_prop_component_wa-upp_limit   = ' '.
    l_prop_component_wa-avg_val     = WC_VALUE1.
    l_prop_component_wa-exponent    = '%'.
*    Perform CHECK-DECIMALES     using WC_VALUE1.
    l_prop_component_wa-DECAVGVAL   = WB_DEC.
    APPEND l_prop_component_wa TO l_prop_component_tab.
    APPEND l_prop_component_wa TO l_prop_component_tab_xp.
*   COMPO 3
    WC_VALUE1 = '10'.
    CLEAR l_prop_component_wa.
    l_prop_component_wa-primarykey  = 7.
    l_prop_component_wa-flgprimkey  = true.
    l_prop_component_wa-foreignkey  = l_prop_val_wa-primarykey.
    l_prop_component_wa-flgfrgnkey  = l_prop_val_wa-flgprimkey.
    l_prop_component_wa-comproot    = '00000000000000911790'.    " 238
    l_prop_component_wa-compcat     = 'ZDEFAULT'.
    l_prop_component_wa-sequence    = 3.
    l_prop_component_wa-oplowlimit  = '>='.
    l_prop_component_wa-DECLOWLIMIT = -1.      " ne pas afficher les 0
    l_prop_component_wa-DECUPPLIMIT = -1.      " ne pas afficher les 0
*   l_prop_component_wa-low_limit   = ' '.
    l_prop_component_wa-opupplimit  = '<='.
*   l_prop_component_wa-upp_limit   = ' '.
    l_prop_component_wa-avg_val     = WC_VALUE1.
    l_prop_component_wa-exponent    = '%'.
*    Perform CHECK-DECIMALES     using WC_VALUE1.
    l_prop_component_wa-DECAVGVAL   = WB_DEC.
    APPEND l_prop_component_wa TO l_prop_component_tab.

Similar Messages

  • I had a problem with slowness so I used "reset". The popup ran forever so I stopped it. Now I can't remove or add the program.

    I had a problem with slowness so I used "reset". The popup ran forever so I stopped it. Now I can't use, remove, or add the program. How do I proceed?
    TIA,
    BWSwede

    You can paste that path in the command line in the Windows Explorer file manager.

  • Can't add files filmed in 1080/60i to Premiere Elements 12. I have no problem to add  files filmed in 1080/30p. My camera is a Nikon aw1

    Can't add files filmed in 1080/60i to Premiere Elements 12. I have no problem to add  files filmed in 1080/30p. My camera is a Nikon aw1

    lurkfan
    What computer operating system is your Premiere Elements 12 running on? Have you updated 12 to 12.1 Update using an opened project's Help Menu/Update?
    If not, please do so.
    Please clarify  "Can't add files filmed in 1080/60i to Premiere Elements 12."
    Are you importing the 1080 60i into the project using (Expert workspace) Add Media/Files and Folders/Project Assets?
    If so, are you getting an error message inside of the video appearing in Project Assets?
    Are you setting the project preset manually or letting the program do that task automatically?
    What is the project preset?
    (See Edit Menu/Project Settings/General).
    The project preset should be, for your 1080i...
    NTSC
    AVCHD
    Full HD1080i30
    What is the project preset for the 1080p footage?
    (Also see Edit Menu/Project Settings/General.)
    The project preset should be, for your 1080p
    NTSC
    DSLR
    1080p
    DLSR 1080p30 or DLSR [email protected]
    Since your camera appears to be producing AVCHD.mov files, do you have the latest version
    of QuickTime installed on your computer with Premiere Elements 12/12.1?
    The answers will be in the details. Please review and then let us know the details and results
    based on the above.
    Thank you.
    ATR

  • When I add my composition to the Adobe Media Encoder from After Effects, it renders out incorrectly?

    Why is it that when I add my composition directly from after effects to the adobe media encoder, it renders out of the adobe media encoder incorrectly? By that I mean the video comes out a little scrambled- parts of it overlap other parts. Is this an issue with 'dynamic link'? Did I do something wrong? I'm working in CC.

    I also don't understand what you are saying. What do you mean by "parts of it overlap other parts"? A screen shot might help.
    What were your render settings in AME? (Format, Codec, data rate, etc.)
    What is in your AE comp? If footage, tell us what format, codec, etc. Tell us what effects were used too.
    What exact version number of AE CC are you using?

  • Problem in Server side includes using Tomcat

    Problem in Server side includes using Tomcat:
    I am trying out small programs in servlet.
    I get one example program for server side includes from net.
    The code is:
    <HTML>
    <HEAD><TITLE>Times!</TITLE></HEAD>
    <BODY>
    <P>
    The current time in London is!!! :
    <SERVLET CODE="CurrentTime" codebase="../servlet">
    <PARAM NAME="zone" VALUE="GMT">
    </SERVLET>
    </P>
    </BODY>
    </HTML>
    I placed this test.shtml file in tomcat-home/webapps/ROOT folder and i kept the servlet in WEB-INF/classes folder.
    I renamed the servlets-ssi.jar and i removed the comments for SSI in web.xml file.
    When i run the servlet separately, i am getting the correct result. But if i run shtml file with the URL : http://localhost:8080/Test.shtml,
    i am getting the result as:
    The current time in London is!!! :
    It is not invoking servlet program.
    CAN ANYONE HELP ON THIS!
    Thanks.

    Thanks...as u said I tried putting dir & found that
    my file was saved as Ch1Servlet.java.txt instead for
    Ch1Servlet.java......So that was a problem.Now I'm
    able to compile.Oh, yeah. Notepad will do that to you. I think when you save in Notepad if you put quotes around the name "Whatever.java" then it won't add the .txt.
    But on compiling I'm getting the following error
    package java.servlet.* does not exist
    package java.servlet.http.* does not exist
    package java.io.* does not exist
    Do u the reason for this??? The servlet stuff is java[b]x.servlet. For the io stuff, I don't know, I'd have to see your code. Either you have a typo or a corrupt installation.

  • Problems with a shared calendar using Outlook 2007 and Exchange 2010

    Hello all,
    We are having a problem with sharing a calendar using Outlook 2007 and Exchange 2010.
    I will start with some background. I have just started my position with this company. I have been working with networks for awhile at the small business level. I have not had much production experience with exchange. There is only myself and my supervisor
    who has inherited a midsized network which was built by five previous techs that are no longer with the company. Of course, the previous techs did not leave much documentation, so the original hows and whys for our system setup has been lost.
    One of the managers has a calendar she shares with some of our users. I believe this calendar has been in use since sometime in 2006. A mailbox was created to hold this calendar to keep it separate from the managers calendar. I am not sure what version
    of exchange they were using at that time, but I assume there was one or two migrations of it getting to its current state on our exchange 2010 server. At some point it was observed that the other workers she was sharing with were not able to access it correctly.
    I am not fully sure what the original problem was (possibly some people not being able to see or connect to the calendar), but it was decided to give everyone who needed access to this calendar full access permissions through exchange. Correct me if I
    am wrong, but I believe that gave everyone connected the ability to do anything with the calendar. Of course the manager was not happy about that. This is where I started working on the problem.
    I removed everyone, except the manager who wants to control the calendar, from having "Full Access Permissions". This did have the effect of making some people just able to see the calendar and not make changes. Though there were others that were
    able to connect to the calendar who I thought would not be able to. The manager that originally created the calendar did try to manage access to it through the Outlook interface, though it currently does not seem to be fully in effect.
    So, to get to the point of what we are trying to do, is there a way to get the original manager back into control of the calendar though Outlook? It would be preferred to be able to keep the history of what they tracked of this calendar, so starting a new
    one would be something we would rather avoid. After that, getting all of the users that need to connect to the calendar reconnected with the correct access permissions and making sure they are all synchronized.
    I realize this is a big mess, and your help would be greatly appreciated.

    Hi Nigel,
    How is the impact, just one user or all users, Outlook or OWA?
    If just one user, it seems like an issue on the Outlook Client side.
    Please trying to re-create new profile to fresh the caches.
    Please runing Outlook under safe mode to avoid some AVs, add-ins and firewall.
    Found a similar thread for your reference:
    Calendar Sharing not available error message
    http://social.technet.microsoft.com/Forums/exchange/en-US/d9b33281-d7bb-4608-8025-16fb26643d0d/calendar-sharing-not-available-error-message?forum=exchangesvrclientslegacy
    Hope it is helpful
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • Error in deploying SOA composite using ant

    Hi,
    When I try to deploy a SOA composite using ant utility, I am getting error as follows:
    C:\JDeveloper11\MiddlewareHome\jdeveloper\bin>ant -f ant-sca-deploy.xml -Dserver
    URL=http://gdiora001.in.ibm.com:7001 -DsarLocation=C:\po\POProcessing\POProcessi
    ng\deploy\sca_POProcessing_rev6-cmdline.jar -Doverwrite=true -Duser=weblogic -Dp
    assword=<<password>> -DforceDefault=true -Dconfigplan=C:\po\POProcessing\POProcessin
    g\POProcessing_dev_cfgplan.xml
    Buildfile: ant-sca-deploy.xml
    [echo] oracle.home = C:\JDeveloper11\MiddlewareHome\jdeveloper\bin/..
    deploy:
    [input] skipping input as property serverURL has already been set.
    [input] skipping input as property sarLocation has already been set.
    [deployComposite] setting user/password..., user=weblogic
    [deployComposite] Processing sar=C:\po\POProcessing\POProcessing\deploy\sca_POPr
    ocessing_rev6-cmdline.jar
    [deployComposite] Adding sar file - C:\po\POProcessing\POProcessing\deploy\sca_P
    OProcessing_rev6-cmdline.jar
    [deployComposite] Creating HTTP connection to host:gdiora001.in.ibm.com, port:70
    01
    [deployComposite] Received HTTP response from the server, response code=404
    [deployComposite] Problem in sending HTTP request to the server. Check standard
    HTTP response code for 404
    [deployComposite] ---->response code=404, error:null
    BUILD SUCCESSFUL
    Total time: 14 seconds
    C:\JDeveloper11\MiddlewareHome\jdeveloper\bin>
    Please note that I am able to successfully deploy the composite from EM, using same SAR and Config Plan files.
    The server URL is also correct.
    I am not sure what is wrong with above ant command.
    Can someone please help me.
    Thanks

    Hi,
    404 response indicates that soa-infra is not running in the host:port/gdiora001.in.ibm.com, port:7001
    Pl make sure that you have soa-infra running in that host/port.
    http://host:port/soa-infra
    For the logs,
    you can find the soa server logs under $DOMAIN_HOME/servers/soa_server1/logs

  • Add Sales Opportunity using DI API

    Hello Friends,
        I am trying to add Sales Opportunity using DI API.I want to set Potential amount using DI API So I set MaxLocalTotal but while compiling code its give error.Its Read only.
    If I add without potential amount than its gives me error  "Potetial Amout is missing"
    What should I do??
    My Code is 
                   SAPbobsCOM.SalesOpportunities vSOpp;
                    vSOpp = (SAPbobsCOM.SalesOpportunities)globals1.oCompany.GetBusinessObject  (SAPbobsCOM.BoObjectTypes.oSalesOpportunities);
                    vSOpp.CardCode = txtBPCode.Text;
                    if( txtCntctPerCode.Value!="")
                    vSOpp.ContactPerson = Convert.ToInt32(txtCntctPerCode.Value);
                    vSOpp.OpportunityName = txtOppName.Text;
                    vSOpp.SalesPerson = Convert.ToInt32(ddlSEmp.SelectedValue);
                   //vSOpp.WeightedSumLC = Convert.ToDouble(txtPotAmt.Text);
                    vSOpp.MaxLocalTotal = Convert.ToDouble(txtPotAmt.Text);       
                   culture = new CultureInfo("en-US", true);
                    currentprovider = CultureInfo.CurrentCulture;
                    dt1 = DateTime.ParseExact(txtSDate.Text, "dd/MM/yyyy", culture);
                    vSOpp.StartDate = dt1;
      if (vSOpp.Add() != 0)
                        //ResultMessage1.ShowFail("Failed to add a Activity");
                        globals1.oCompany.GetLastError(out nErr, out errMsg);
                        if (0 != nErr)
                            ResultMessage1.ShowFail(globals1.oCompany.GetLastErrorDescription());
                            globals1.oCompany.Disconnect();
                            return;
                    else
                        ResultMessage1.ShowSuccess("Activity added Successfully");
    Please help me to solved this problem.
    Thanks & Regards,
        Swati

    Hi folks,
    I'm facing the same problem. This issue concerns DI API of SAP Business One 8.8 (my version is SP 00 PL 11) in particular.
    I've used the 2007 version so far and even though the MaxLocalTotal field in Sales Opportunity object is read-only, by writing the same value in the field with the same name on the last Opportunity Line I obtain the right value in the header.
    In this version of the API, that field seems to be mandatory instead.
    Does anyone have any suggestion? Thank you in advance.

  • Problems Creating a Java Class using a webservice with certificate

    hi,
    i'm developing a java class that call's a webservice that needs a certificate, i'm not used to work with java, last time was 10 years ago, so i'm having some troubles because of the certificate.
    I already add the certificate using java control panel > Security > Certificates. When testing i get the following error: IOException (java.io.IOException: subject key, Unknown key spec)
    I think I need to define the certificate in my class, but i'm having a lots of trouble with the samples that i found over the internet, nothing works and i'm running out of time.
    This is my Class
    create or replace and compile java source named "FishInfoAt" as
    import java.net.*;
    import java.io.*;
    import java.security.*;
    public class FishInfoAt
         public FishInfoAt()
         public static String send(String urlfishinfoat, String mensagem, String mensagem1, String mensagem2, String mensagem3)
              // Init
              String response = "";
              String msgtotal = mensagem+mensagem1+mensagem2+mensagem3;
              String a = "";
              HttpURLConnection conn = null;
              try{
                   URL url = new URL(urlfishinfoat);
                   conn = (HttpURLConnection) url.openConnection();
                   conn.setRequestMethod("POST");
                   conn.setRequestProperty("Content-type", "text/xml; charset=utf-8");
                   conn.setRequestProperty("SOAPAction", "https://servicos.portaldasfinancas.gov.pt:401/sgdtws/documentosTransporte/");
                   conn.setRequestProperty("Content-Length","" + msgtotal.length());
                   conn.setDoOutput(true);
                   conn.setDoInput(true);
                   conn.connect();
                   OutputStream out = conn.getOutputStream();
                   out.write(msgtotal.getBytes());
                   out.flush();
                   InputStream in = conn.getInputStream();
                   int value;
                   while( (value = in.read()) != -1)
                        response+=(char)value;
              catch(Exception e)
    response = ("*** ERROR - IOException (" + e.getMessage() + a + ")");
    return response;
    /

    Hi Deepak,
    Could you please let us know upto which line your code is going safe. Try printing the value in the structure before you send that to the method GetUGEntity().
    I am not too sure that would be a problem. But I have faced a problem like this, wherein I tried to access a structure for which I have not allocated memory and hence got exception because of that.
    Since your JNI code seems to be error free, I got doubt on your C part. Sorry.
    Dhamo.

  • Error while compiling SOA composite using Jdeveloper

    Hi,
    I am getting below given error while compiling the SOA composite using Jdeveloper..
    I m referring this PDF to develop a custom workflow.
    http://st-curriculum.oracle.com/obe/fmw/oim/oim_11g/developing_oim_custom_approval_process_for_self_registration/developing_oim_custom_approval_process_for_self_registration.pdf
    Error(45,34): Failed to compile bpel generated classes.
    failure to compile the generated BPEL classes for BPEL process "ApprovalProcess" of composite "default/SelfRegistrationApproval!1.0"
    The class path setting is incorrect.
    Ensure that the class path is set correctly. If this happens on the server side, verify that the custom classes or jars which this BPEL process is depending on are deployed correctly. Also verify that the run time is using the same release/version.
    Can u please let me know what am I missing here.
    Regards,
    Ab

    Hi,
    If u have any custom jars..make sure to add them at SCA-INF/lib directory.
    Thanks,

  • Adobe Reader 9.3.3-CPSID_83708 is causing problems but ADD/DELEATE will not allow me to deleate. Why

    Adobe Reader 9.3.3-CPSID_83708 is causing problems but ADD/DELEATE will not allow me to deleate. Why

    Do you have admin rights on your system? Can you uninstall other programs?
    If yes and you still think you have downloaded wrong update, use windows cleanup utility to remove this installation. You can find cleanup utility  at several websites  eg.
    http://majorgeeks.com/Windows_Installer_CleanUp_Utility_d4459.html
    Then reinstall 9.3 Reader from adobe website and update it to 9.3.3 using Help>Check for updates.

  • My video has no sound but i want to add the audio using premier pro

    My video has no sound but i want to add the audio using premier pro.
    when I want to import the file,it said:your video file has no audio.
    But i want to add the sound to my video!!
    Does anyone know how to solve this problem??

    So you have a  video (.mov)  that some how you got from  Flash.
    It has no sound on it. 
    Does the .mov import into Premiere?
    If it does..you edit it in the timeline (sequence) and add audio to  the audio track(s) before exporting it.

  • Nokia 5610: Problem in adding new contacts using P...

    Dear friends
    I'm having a strange problem in uploading contact number using PC-Suite. Phone is connected via Micro USB link with PC. Once connected, I select "PC Suite" mode in Phone.
    1. I use Nokia Contact editor to add new contacts in phone. Once I give necessary details in the contact editor then I save it. First time it gets stored successfully. Once again when I select "Create New Contact" and try to save it , it fails!!
    Then In phone, I have to select Menu-->Settings-->Connectivity-->USB Data Cable--->PC Suite. Then only it allows me to save the newly created contacts.
    I have to repeat this cumbersome procedure every time I create a new contact.
    In an all I'm able to save only on Contact at a time.
    What could possibly wrong with that.
    2. PC Suite shows only name of those contact, which were added thro' phone. It does not show contact number.
    Xpress Music Rulez
    Codingt the creativity

    I have absolutely the same problem.
    What's worse is that when I updated the phone software, I lost all of my contacts fromm the phone memory.
    I hope there's any easy fix to this issue or I may have to chose another phone manufacturer in future as I find this untenable.
    Great music player, shoddy software.
    Grrr...

  • I can't seem to add my hotmail using the advanced set up on my new Z10

    When I go to add an account using the advanced setup (selecting the hotmail icon), the phone keeps telling me my login information is incorrect.  I can login to hotmail without any difficulties on my playbook and laptop.  What am I doing wrong?

    I found this problem was caused by the Microsoft Live Account "2-step verification process" (which is optional). I only discovered this after I had to log back into my Live account on the PC, and (silly me) decided I should opt for the 2-step verification process. 
    Using your computer:
    1. log into your Microsoft Live Services Account
    2. select Security Info
    3. switch off the two-step verification process
    Now go back to your Blackberry, set up your Live account with your email address and password by selecting Accounts /  Add Account / Email, Calendar and Contacts / <youremail_address> 
    Once it has connected, select Accounts / Edit Account / Advanced / check "Push" (or go for Sync), and note that you can select or deselect the option "Download Messages While Roaming"
    Worked for me on BBZ10. Hope that helps somebody else. 

  • Sir i am using datasocket read ,i am communicating with java but my problem is that bcz im using while loop to see if value has changed my labview consumes all the processors time ,sir i want a event like thing so that while loop is not in continuous loop

    sir i have given lot of effort but i am not able to solve my problem either with notifiers or with occurence fn,probably i do not know how to use these synchronisation tools.

    sir i am using datasocket read ,i am communicating with java but my problem is that bcz im using while loop to see if value has changed my labview consumes all the processors time ,sir i want a event like thing so that while loop is not in continuous loopHi Sam,
    I want to pass along a couple of tips that will get you more and better response on this list.
    1) There is an un-written rule that says more "stars" is better than just one star. Giving a one star rating will probably eliminate that responder from individuals that are willing to anser your question.
    2) If someone gives you an answer that meets your needs, reply to that answer and say that it worked.
    3) If someone suggests that you look at an example, DO IT! LV comes with a wonderful set of examples that demonstate almost all of the core functionality of LV. Familiarity with all of the LV examples will get you through about 80% of the Certified LabVIEW Developer exam.
    4) If you have a question first search the examples for something tha
    t may help you. If you can not find an example that is exactly what you want, find one that is close and post a question along the lines of "I want to do something similar to example X, how can I modify it to do Y".
    5) Some of the greatest LabVIEW minds offer there services and advice for free on this exchange. If you treat them good, they can get you through almost every challenge that can be encountered in LV.
    6) If English is not your native language, post your question in the language you favor. There is probably someone around that can help. "We're big, we're bad, we're international!"
    Trying to help,
    Welcome to the forum!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

Maybe you are looking for

  • PO outbound interface - Issue with Unit of measure

    Hi, I am facing issue with unit of measure. 1) In the PO outbound idoc in segment E1EDP01, the unit is always converted into ISO code and sent. Is there any way to avoid it. 2) Now while changing unit to ISO code, it checks if it is preset in T006 ta

  • Clarifications on Custom component in adobe LC

    Hi, I am new to custom component. I just know when a desired result is not provided by stadard activities by adobe lc then we need to create custom components. 1.Could anyone post me a small sample. 2.How to use it in adobe lc as acitivity to get des

  • IWork Trial - Bought Disk but cant activate ?

    Hi I downloaded the iWork trial, loved it and bought the iWork Disk pack The trial is up and it says enter serial or put in the install disk if you have bought it I install my purchased product - no joy still get the trial expired and buy or enter se

  • Magic trackpad won't drag-&-drop

    Just find that i can't double tap-&-hold to use drag-&-drop. i can double click, but can't drag-&-drop. However, i can use three fingers to drag-&-drop windows position, even files in finder. Why? how to solve this? I'm using the latest iMac and Mave

  • Please help to get unique and distinct list of people

    HI I have to prepare a list which is distinct and unique no two names have to repeat I am using this <setvar name='managerID'> <rule name='Sony_RUL_GetManagerId_From_LDAP'> <argument name='userId' value='$(HelpDeskUsers_LstIter)'/> </rule>