How can I fill a set parameters of a complex type?

Hi,
I have a webservice that needs three complex types. I try to fill these complex types and add them to the Complex type param. This is my code:
ComplexType_BAPI_SALESORDER_CREATEFROMDAT1 param = new ComplexType_BAPI_SALESORDER_CREATEFROMDAT1();     
          BAPISDHEAD bapishead = new BAPISDHEAD();
                                                                                                                   //adding the parameters
          bapishead.setBILL_BLOCK("");                         bapishead.setCD_CU_ISO1("");
          msgMgr.reportSuccess("bapishead "+bapishead.getSALES_ORG());
          param.setORDER_HEADER_IN(bapishead);
          msgMgr.reportSuccess("orderHeadersin"+param.getORDER_HEADER_IN().getSALES_ORG());
The complex type bapishead contains the parameters I have added but the parameter param doesn't have the parameters. This is the output I get:
bapishead 0001
orderHeadersin null
Fehler java.rmi.RemoteException: Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Property [ORDER_HEADER_IN] of class [gg.proxies.types.BAPI_SALESORDER_CREATEFROMDAT1] must exist and can not be null. This is required by schema description.
What could be missing?
Thank you!
Julia

check out Parag jain reply to this message: serialization error [problem with setting attr values in the context]

Similar Messages

  • How can I fill a pdf form with Excel?

    I have a pdf form and a set of Excel dates. How can I fill the form with this dates?
    Is there any way to transform excel dates into a fdf-File?
    Thank You for helping
    Hans

    I see. That's possible, in theory, but it requires using a complicated custom-made script.
    I would suggest using that Mail Merge option that's available in some versions of Excel to produce multiple single-page files, then flatten all of them (using an Action), and then merge them to a single file, to achieve the same result with much less effort.

  • How can I fill mask with pattern?

    Hi
    Would you please help me? How can a add pattern to a mask? I drew a motion mask on video clip and now I want to fill it with pattern that I made in Photoshop and saved as PSD, what should I do? How can I fill mask with specific pattern?
    Thanks for any help

    AE doesn't directly support a pattern-fill like PS, so here's a workaround (as Mylenium suggested):
    Create a PS document and create a layer filled with the pattern required.
    Import the layer/PSD to AE and place in timeline.
    Place a copy of the masked layer above the Pattern layer.
    On the pattern layer, set the Track Matte to Alpha Matte.
    Read more here:
    http://livedocs.adobe.com/en_US/AfterEffects/8.0/WS3878526689cb91655866c1103906c6dea-7cf9. html

  • How can I fill my Organizer

    Good evening Creative Community,
    Sorry when my English is not so good because I'm German.:mansad:
    I have a question how can I fill my Zen X-fi 2 Organizer with the Creative Media Centrale.
    And my own Meaning to Creative Media Centrale is not so good and I find
    the Software for the Zen V Plus better because the Software of Zen V Plus is clearer
    and you can fill your player easyer than the software of the Zen X-fi 2.
    I hope you can help me and you can understand my english and what I mean.
    Nicolaj

    You can delete songs from your iTunes/computer hard drive after transferring them to the iPod, and for this you need to set your iPod to manage the songs manually.
    However, this is an extremely risky option because when (and not if) there comes a time to restore your iPod, which is a very common fix for iPod problems, then all the music would be erased. If you no longer have the music in iTunes (or any other back up), then all that music would be lost.
    What if the iPod were lost/stolen/needed repair? Again, the music would lost. I strongly recommend a back up, and if computer hard drive space is in short supply, you should seriously consider an external hard drive. They are not expensive, and the cost is well worth it when compared to the loss of all your precious music.
    At the very least back up your music to either cd or dvd before deleting it, particularly any purchased music/videos, as this would have to be bought again if it were lost. See this.
    Backing up your media in iTunes.

  • How can I change my setting, when I forgot my security answers?

    How can I change my setting, that will say "choose to reset your sercuity answer with alternative e-mail?"

    You need to contact Apple to get the questions reset. Click here, phone them, and ask for the Account Security team, or fill out and submit this form.
    (95335)

  • How can i distinguish between set or tuples from incoming filters in a calculation

    How can i distinguish between set or tuples from incoming filters in a calculation. i am using descendants function with the leaves option to calculate some project revenue cause there is different calcuation method on sub projects the sum on the main project
    should reflect the sum of the sub project with all different methods.
    this works fine until i try to select 2 sub projects at the same time. i am getting the standard currentset dosnt work cause its a set.
    is there i way i can check if its a multiple select or not and handle it a different way

    Hi,
    Check the following link about Multi Select Calculations written by Mosha.
    http://sqlblog.com/blogs/mosha/archive/2007/01/13/multiselect-friendly-mdx-for-calculations-looking-at-current-coordinate.aspx
    Best regards...
    Chandima Lakmal Fonseka

  • How can i change the setting on my ipad 2? Whenever i read stories in the net after awhile it goeson standby and i have to keep on entering the passcode. Please help.

    How can i change the setting on my ipad 2? Whenever i read stories in the net after awhile it goeson standby and i have to keep on entering the passcode. Please help.

    Settings>General>AutoLock>Never. Now it will not sleep at all so change it back when you are done reading.

  • When I tap on the to line to add an address sometimes people's names come up that I don't have as contacts.  How can I change this setting?

    When I tap on the to line to add an address sometimes people's names come up that I don't have as contacts.  How can I change this setting?

    The only way that I know currently know of to remove old or incorrect email addresses from the Mail app is to reset the iPad back to factory defaults, which I assume that you don't want to to. You could try leaving feedback for Apple and maybe one day we'll day be able to edit them : http://www.apple.com/feedback/ipad.html#ipad

  • My main PC with my Itunes Library just crashed.  I still have all my music on Apple TV, Ipod Touch (Gen 2), and Iphone 4 (verizon).  How can I get everything set up on a new PC and working ?

    My main PC with my Itunes Library just crashed.  I still have all my music on Apple TV, Ipod Touch (Gen 2), and Iphone 4 (verizon).  How can I get everything set up on a new PC and working ?

    I downloaded Itunes 10.2 on new desktop, ran sync with my ipod touch (Gen 2) and have all my music on new PC.  Just can't get it to sync with my Apple TV (Gen1).  I have made music purchases on Apple TV and cannot get them to Ipod/Iphone?  Help

  • I no longer want to merge my work laptop with my icloud account on other devices.  How can I change the setting for the laptop?

    I accidentally agreed to set up my work laptop icloud account to merge with my other devices and want to keep the work information separate.  How can I change the setting for the PC at work?

    Sign out of iCloud.

  • I made a big mistake to change the setting of my Mac book pro to "me only". Now ofcourse It cannot open the login page, for how would the mac know it is me? How can I change the setting back to "everyone"?

    I made a big mistake to change the setting of my Mac book pro to "me only". Now ofcourse It cannot open the login page, for how would the mac know it is me? How can I change the setting back to "everyone"? I have back up in the past but the last month I have not. I really want to keep the data.
    So how can I go in and change the setting, It stays ofcourse at the apple screen with wheel. All info is there and the computer works fine, just cannot use it or have been able to log in.

    wjosten is spot on.  If you really want iCloud, then you will need to acquire a new or second hand MBP that can run Lion.
    Ciao.

  • How can I fill a table of objects from cursor with select * bulk collect???

    Hi All, I have a TYPE as OBJECT
    create or replace type dept2_o as object (
    deptno NUMBER(2),
    dname VARCHAR2(14),
    loc VARCHAR2(13));
    I can fill a table of objects from cursor with out select * bulk collect...., row by row
    declare
    TYPE dept2_t IS TABLE of dept2_o;
    dept_o_tab dept2_t:=dept2_t();
    i integer;
    begin
    i:=0;
    dept_o_tab.extend(20);
    for rec in (select * from dept) loop
    i:=i+1;
    dept_o_tab(i):=dept2_o(
    deptno => rec.deptno,
    dname => rec.dname,
    loc =>rec.loc
    end loop;
    for k IN 1..i loop
    dbms_output.put_line(dept_o_tab(k).deptno||' '||dept_o_tab(k).dname||' '||dept_o_tab(k).loc);
    end loop;
    end;
    RESULT
    10 ACCOUNTING NEW YORK
    20 RESEARCH DALLAS
    30 SALES CHICAGO
    40 OPERATIONS BOSTON
    But I can't fill a table of objects from cursor with select * bulk collect construction ...
    declare
    TYPE dept2_t IS TABLE of dept2_o;
    dept_o_tab dept2_t:=dept2_t();
    begin
    dept_o_tab.extend(20);
    select * bulk collect into dept_o_tab from dept;
    end;
    RESULT
    ORA-06550: line 6, column 39;
    PL/SQL: ORA-00947: not enough values ....
    How can I fill a table of objects from cursor with select * bulk collect???

    create or replace type dept_ot as object (
    deptno NUMBER(2),
    dname VARCHAR2(14),
    loc VARCHAR2(13));
    create table dept
    (deptno number
    ,dname varchar2(14)
    ,loc varchar2(13)
    insert into dept values (10, 'x', 'xx');
    insert into dept values (20, 'y', 'yy');
    insert into dept values (30, 'z', 'zz');
    select dept_ot (deptno, dname, loc)
      from dept
    create type dept_nt is table of dept_ot
    declare
       l_depts dept_nt;
    begin
       select dept_ot (deptno, dname, loc)
         bulk collect
         into l_depts
         from dept
       for i in l_depts.first .. l_depts.last
       loop
          dbms_output.put_line (l_depts(i).deptno);
          dbms_output.put_line (l_depts(i).dname);
          dbms_output.put_line (l_depts(i).loc);    
       end loop;
    end;
    /

  • How can I do a set ?

    Hello people,
    How can I do a set ? like ... set = {1,2,3,4,5,6,7,8,9,10} I need to know that becouse in one of my programs there is a menu and the user can not choise another number .

    I don't want to give the impression of being a wise-crack - but um, that isn't a set, that's an array.
    Would this be a set containing only 2 items of value 1 and 2?
    int[] myStuff = {1,2,1,2,1,2}
    No, it would not, it would be a 6-element array containing duplicate values.
    A set can be created using the java.util.Set and related classes/interfaces.
    Depends on what you really meant.

  • How can I change the setting to one appropriate to java1.2

    Hello.
    I am using WebLogic 4.5.1 .
    and recently started to use JDK 1.2 instead of JDK 1.1.7.
    So, I set [start]-[weblogic]-[Choose1.2JRE] in environment.
    and then, if I execute T3Server, the message of
    "javai.dll class path cannot be found " is displayed and the server is not
    loaded.
    However, javai.dll was in java1.1.X\bin.
    I can assume that a setting is to java1.1.X.
    --> How can I change the setting to one appropriate to java 1.2
    It's my environment
    ClassPath
    .;c:\weblogic\classes;C:\weblogic\lib\weblogicaux.jar;C:\weblogic\license;c:
    \weblogic;C:\weblogic\myserver\clientclasses;C:\weblogic\myserver\serverclas
    ses;C:\weblogic\myserver\servletclasses;C:\weblogic\mssqlserver4\classes;c:\
    weblogic\classes\boot;C:\weblogic\eval\cloudscape\lib\cloudscape.jar;c:\rmi-
    iiop\lib\iioprt11.jar;c:\rmi-iiop\lib\iioprt.jar;c:\rmi-iiop\lib\rmiorb.jar;
    C:\jsdk2.1\runner.jar;C:\jsdk2.1\servlet.jar
    Path :
    %SystemRoot%\system32;C:\jdk1.3bin;c:\weblogic;c:\weblogic\bin;
    c:\;c:\bat;c:\util\;C:\jsdk2.0\bin
    Hyung Gi Min

  • How can i check my setting details are correct on my iPhone I recevied an error when sending a text this morning and while checking it out noticed my state and city are wrong

    How can i check my setting / about tab? This morning I got an error message say something wasn't safe (not sure what) I think it was my common name whcih is ch4iv.myvzw.com and while looking in there I noticed my state say NJ I live in PA, I did not buy my phone in NJ, the city says Bedminster I have never even been there. Can anyone advise?
    Can't I go on my Apple account and get to my setting / details.

    Here is the message...

Maybe you are looking for

  • Mac mini can not find the NAS

    In my network I have a Mac mini, AirPort Extreme base station and a Netgear ReadyNAS Duo v2. Everything is connected by cable. The problem is that the Mac mini can not find the NAS. Mac mini is looking for wirelessly connected devices, type TimeCapsu

  • How to display data in a grid after selecting topic from combo box?

    could someone help me out? i'm displaying a combo box (about 20 items) vertically. when user selects one of these items, i'd like for information regarding that choice to be displayed in my data grid. thanks - Karl from Kansas

  • Partner profile not available.

    Dear Folks, i am doing the scenario JDBC to IDOC. For that i did all the necessary ALE settings and configured the systems. While executing that scenario. In we02, i am getting the error partner profile not available eventhough i configured it. From

  • What is the use of "key blur" in Secondaries ??

    As title. I've masked a shape (eg. circle) in the frame and increase key blur but nothing happened. What is the use of Key blur actually?

  • FVC Utility

    I have a requirement where we have updated the process form. But there are some existing users who are still on the old process form. By using FVC utility, I was able to upgrade to the new form for the existing users, but was not able to populate the