Field 'Display' inserting activities?

I'm inserting a new Activity with a WSDL and have this error: Field "Display" is required. What is this field? i can't find it in activity.wsdl
This is the code:
Activity actividad = new Activity();
ActivityNWS_Activity_Insert_Input objParam = new ActivityNWS_Activity_Insert_Input();
ActivityNWS_Activity_Insert_Output qRet;
actividad.Url = string.Format(surl, sSessionID);
actividad.CookieContainer = GetCookieContainer();
objParam.ListOfActivity = new Activity1[1];
objParam.ListOfActivity[0] = new Activity1();
objParam.ListOfActivity[0].OwnerExternalSystemId = "12345";
objParam.ListOfActivity[0].Subject = "test";
objParam.ListOfActivity[0].Description = "test2";
actividad.Activity_Insert(objParam);

Hi all,
Anyone help me how to access activity web services methods?
I have used Axis tool kit to generate the stubs and written java client as below.
code:
Activity_ServiceLocator sLoc = new Activity_ServiceLocator();
String url = sLoc.getDefaultAddress() + "/activity;jsessionid="+ SessionString;
sLoc.setDefaultEndpointAddress(url);
Default_BindingStub oClient = (Default_BindingStub)sLoc.getDefault();
ActivityNWS_Activity_QueryPage_Input queryInput = new ActivityNWS_Activity_QueryPage_Input();
ActivityNWS_Activity_QueryPage_Output queryOutput = null;
queryInput.setUseChildAnd("false");
queryInput.setPageSize("20");
queryInput.setStartRowNum("0");
//I Stucked here how to set ListOfActivity. Please post some sample to set input and get output of the queryPage
Activity_Type[] at = queryInput.getListOfActivity();
at[1].getAccountId();
queryInput.setListOfActivity(av);
queryOutput = oClient.activity_QueryPage(queryInput);
System.out.println(queryOutput.toString());
After running this am getting the NullPionterException. Please please give me hints by posting the sample code?
-Vishawnath

Similar Messages

  • Issue with length of delivery field displayed in LM06 on RF device

    Hello everyone,
    I have a challenging issue which I have posted on another forum as well, and was hoping that somebody on SDN may be familiar with this.  This issue is being reported by one of our warehouses.  SAP RF transaction LM06 is used extensively in this warehouse, and we use a 10 digit delivery number. The delivery field itself in SAP is 20 characters, and we have always displayed 10 on RF. The warehouse is telling me that about a week ago, the number of characters displayed on the RF device for the delivery field in LM06 changed from 10 to 9, and that a leading zero was being inserted when the barcoded delivery number was scanned. There have been no changes to the barcode on the picklist, and I am told there have been no changes to the printer that prints the pick list. A change was deployed a week ago that contained some unrelated configuration and a small code change in a user exit for transfer order creation. Neither of these is in any way related to LM06. Our basis team tells me that there have been no changes to the SAP console server, but I have no way to verify that myself as I am a WM functional consultant. Can anybody tell me if they have seen a problem like this before, or if the field display for a transaction like this is configurable in the SAP console server? The RF hardware being used is the Symbol PDT-8146. Unfortunately, I am 10,000 miles from the warehouse, which puts me at a bit of a disadvantage in trying to diagnose this.

    Thank you both for the good feedback.  I have also gotten some useful feedback from my posting on ittoolbox, and have forwarded all of the responses to a colleague who is located at the site where the warehouse is located.  I will provide feedback once my colleague has had a chance to investigate further based upon the suggestions that I have received.

  • Changing the Event View Field Display Order on a Calendar

    We'd like to change the display of a calendar event to show the Title on top and the time below. This is how it currently looks below. Is there a way to change it?
    Orange County District Attorney

    Hi,
    According to your post, my understanding is that you wanted to change the Event View Field display order on a Calendar.
    You need to insert the code below into a Content Editor Web Part.
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
    <script type="text/javascript">
    function changeCalendarOrder() {
    $(".ms-acal-sdiv").each(function () {
    var arr = $(this).find('div').toArray();
    var temp;
    temp = arr[0];
    arr[0] = arr[2];
    arr[2] = temp;
    $(this).html(arr);
    //alert($(this).html());
    _spBodyOnLoadFunctionNames.push('calendarEventLinkIntercept');
    // hook into the existing SharePoint calendar load function
    function calendarEventLinkIntercept() {
    var OldCalendarNotify4a = SP.UI.ApplicationPages.CalendarNotify.$4b;
    SP.UI.ApplicationPages.CalendarNotify.$4b = function () {
    OldCalendarNotify4a();
    changeCalendarOrder();
    </script>
    The result is as below:
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Hi, plz help me. i wanna store photos to sql database. so how to insert file field into insert record in dreamweaver cs3?

    I dont know how to insert file field into insert record in DW. i also want to know, insert dynamic table with image field. Plz help me anyone. Ty..

    ohh kk thank you bro. But How to store photos to server file. I wanna upload and display the photos in webpage. Can you send me the php code for this?

  • Validate 2 E-mail address fields in insert record form

    Hello,
    I have used the Insert Record Form Wizard to create a form, including using the Validate Form Server Behavior to validate many fields.
    I can't figure out how to compare & validate 2 E-mail address fields.
    After the form was created I opened the existing Validate Form Server Behavior - Advanced tab and built the condition {sub_email2} != {sub_email} but this had no affect on submitting the form.
    The other thing I tried was creating a new Compare Transaction Field behavior with the same condition {sub_email2} != {sub_email}, this also seemed to have no affect.
    I am just a beginner, so I admit to not really knowing what I'm doing, for me ADDT has been a great aid.
    The other thing I noticed, when I tried both the items above, besides not affecting being able to submit the form with different E-mail addresses. The red asterisks indicating a required field, would disappear.
    Here is the form http://www.oescahealthregistry.org/forms/pedigree_submission.php this version of the form does NOT include either of my attempts to validate the E-mail fields.
    Thanks in advance for your help.
    Dennis

    Hi,
    A compare statement should work fine. As an example I made small form that inserts name and email (2 fields) using Insert record wizard.
    Name field is required, email field is required and checks that its a valid email structure ([email protected]). I then finish the wizard.
    <input type="text" name="email" id="email" value="<?php echo KT_escapeAttribute($row_rsemail['email']); ?>" size="32" />
    <?php echo $tNGs->displayFieldHint("email");?> <?php echo $tNGs->displayFieldError("email", "email"); ?>
    I then add the extra field to the form that the 2nd email will be entered into, this one I called email2, I then copied the display hint and fielderror code from the first email and placed it behind the 2nd email box and changed the text to reflect email2. Which probably doesnt matter but I put it there anyway.
    <input name="email2" type="text" id="email2" size="32" />
    <?php echo $tNGs->displayFieldHint("email2");?> <?php echo $tNGs->displayFieldError("email2", "email2"); ?>
    Now that I have both email fields in the form, I go to the developer tools under server behavior and select compare transactions fields under form validation.
    I hit the + to add a field I then choose email for field, then == for condition, then {POST.email2} for compare to. I enter in an error message and hit ok.
    Thats it the form is ready.
    The first email field will check against email validation and the 2nd email will check against the first email.
    I hope that helps.
    Take note that the database actually only has 2 fields to enter data. Then 2nd email field is only for validation.
    Message was edited by: Albert S.

  • Regarding Selection-Screen Field Display

    Hi All,
    I have issues with Selection-Screen field display.
    The Actual issue is i had declared a selection screen field as: <b>s_exgen FOR embk-exgen</b>.
    <b>EMBK-EXGEN</b> is actually <b>20</b> Char length field.
    But in output display it is being shown as <b>18</b> Char field though i can type in all <b>20</b> characters.
    But <b>display</b> restricted to <b>18</b> Characters only.
    Can anybody give me the solution for the same!
    Thanks in advance.
    Thanks & Regards,
    Prasad.

    Hi,
    You can decrease the visible length of the field but you can not increase more than database field length. check SAP help on this :
    select-options: s_exgen FOR embk-exgen VISIBLE LENGTH 5.
    ... VISIBLE LENGTH vlen
    Effect
    This addition allows you to shorten the visible length of the corresponding screen field on the selection screen to vlen.
    Variant 2
    SELECT-OPTIONS sel FOR (f).
    Additions as in variant 1.
    Effect
    In this variant, (f) must be a field containing the name of the actual reference field at runtime. The system creates the LOW and HIGH fields as character fields with length 45. However, their appearance on the selection <b>screen is inherited from the reference field whose name is contained in field f at runtime.</b>
    Regards
    Appana

  • Single field display on external crt monitor

    I can't find the setting to display a paused frame as deinterlaced on my external monitor. (My client is put off by the 'shimmering' of the two field display when paused). Is there a setting that will change this?
    Many thanks

    You must apply the Deinterlace filter to the freeze frames: Filters > Video > Deinterlace.
    Hope it helps!
      Alberto

  • Payment terms field display at MIRO screen

    Hi,
    How can I make Payment terms field "Display" at MIRO screen??
    Regards,
    Sattuj

    Hi,
    The fields on MIRO are not configurable as with other transactions.
    You have no config control of these fields.
    You should not really block the field, because what happens if you ever need to change it (believe me this WILL happen).
    Steve B

  • Field displays AFRange_validate in PDF template

    I have created a pdf template, and added a few fields for calculation. I have set validation rules for the field, but when I run the report, the form field displays AFRange_validate as the default value, I have tried giving default value as 0, but no success. Anyone out there to help?

    Mike
    PDF templates do not support barcode fonts in the same way as RTF templates. I have to admit, not having tried it Im just thinkning out of the box. But you ought to be able to hightligh a field in the Adobe form and set the font to a barcode one on your client. The key will be to ensure that the PDF engine can access the font on the server. And thereby hangs a tale - does the PDF engine 'look' for fonts when processing a PDF template. I'll drop the dev team a mail to ask.
    Bounce the thread if Im not back to you by Mon
    Tim

  • Need to Increase OTL Field Display Size

    In OTL, I modified the user-customizable views PA_ONLINE_PROJECTS_V to display the Project Number in this concatenated format...
    (ProjNum) ProjDescription
    using...
    CREATE OR REPLACE FORCE VIEW apps.pa_online_projects_v (
         project_number,
         project_name,
         project_id,
         project_type,
         start_date,
         completion_date,
         carrying_out_organization_id,
         carrying_out_organization_name
    AS
    SELECT DISTINCT
         DECODE(project_number,SUBSTR(project_name,1,LENGTH(project_number)),project_name,SUBSTR('('||(project_number||') '||project_name),1,25)),
         project_name,
         project_id,
         project_type,
         start_date,
         completion_date,
         carrying_out_organization_id,
         (SELECT
              name
         FROM
              apps.hr_all_organization_units
         WHERE
              organization_id = carrying_out_organization_id)          carrying_out_organization_name
    FROM
         apps.pa_projects_expend_v;
    However, only the first 25 characters show up on the LOV and timecard. Other than that, it works perfectly across the system.
    Does anyone know how to increase this from 25 to, say, 48 char? Oracle provided a white paper on this, but it only shows how to make the field display wider--not increase the number of characters.

    Do you mean to say that LOV field is having width more than 25 chars but it still shows only 25 chars?
    Are you using a seeded projects layout or a modified one? If it is a modified one, what is the value of QUALIFIER ATTRIBUTE5 for that LOV component?
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to adjust fields display width?

    work in jdev 11.1.2.3.
    in the form VISUAL DESIGNER, all fields looks same length, and there is no width attributes to adjust. When it runs, some fields display too long.
    How to adjust fields display width during design?
    Thanks.

    Hi,
    You dont need to redo it again , unless you have changed properties after initial drag and drop.
    If you have changed , use the value #{bindings.yourAttribute.hints.displayWidth} for columns property.
    <af:inputText value="#{bindings.name.inputValue}"
    label="#{bindings.name.hints.label}"
    required="#{bindings.name.hints.mandatory}"
    *columns="#{bindings.name.hints.displayWidth}"*
    maximumLength="#{bindings.name.hints.precision}"
    shortDesc="#{bindings.name.hints.tooltip}" id="it38">
    <f:validator binding="#{bindings.name.validator}"/>
    </af:inputText>
    Thanks,
    Naresh

  • Custom infotype - issues with conversion class - making fields display only

    Hi,
    I created the custom infotype 9008 using t-code PM01, created conversion class ZCL_HRPA_UI_CONVERT_9008_XX and assigned it to screen structure ZHCMT_BSP_PA_XX_R9008 in the view V_T588UICONVCLAS. Coded the methods IF_HRPA_UI_CONVERT_STANDARDOUTPUT_CONVERSION and IF_HRPA_UI_CONVERT_STANDARDINPUT_CONVERSION. I'm trying to make some fields display only within the method OUTPUT_CONVERSION dynamically. Coded the check class ZCL_HRPA_INFOTYPE_9008 with business logic.
    Everything seems to be working fine when I test using the test tool through t-code PUIT_UI.
    When I try to create/modify 9008 record through PA30, the code in the methods OUTPUT_CONVERSION  and INPUT_CONVERSION is never getting executed. The control is not coming there at all. The fields are allowing input. Any idea why this is happening.
    We are on ECC 6.0 and at service pack level SAPKE60035. Couldn't find any relevant SAP notes as well.  Appreciate your help in this regard.
    Thanks,
    Kumar.

    Hi Venkata,
    Check this document.
    This explains about custom infotype creation.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60a7586d-edd9-2910-68a8-8204303835a1?overridelayout=true
    regards,
    Brinda L

  • PO - GL Account Field - display only

    Hi,
    Please could you advise on the options for making G/L Account field display only in ME21n?
    I think there are probably a few ways of doing it which I am investigating, but would like your opinion and advice if possible.
    Thanks in advance.
    As always - points up for grabs!

    Hi,
    Hope you are doing cost center accouting with account assignment K while creating PO
    Then go to MM --> Purchasing --> Account assignment --> Maintain account assignment category _-> Select cost center K --> Change view account assignment details you can
    make G L account as mand or optional or display or hidden.
    Check this out please if it helps you.
    Best regards,
    Sridhar

  • Can I change the text fields displayed in iTunes cover view

    I have alot of music in my iTunes library that are from "various artist" cds.  when in cover flow view i want to see "song" & "artist" fields displayed not "album" & "album artist".  is there a way to change the fields that are displayed.  This is especially annoining when in full screen mode, i want to see the artist of the song that is playing, not the artist for the whole album.
    I have my iMac in a fairly promenent location so that anyone can see what is currently playing on the system that is almost always piping music throughout the house via several airport expresses.
    any tips?
    chris

    I'm not sure this will work, but I think the best chance is:
    Settings > General > Accessibility > Large Text

  • Single Record Form: fields display with the wrong width

    I'm laying out fields on a single record form and notice that the width of the fields displayed when I run the form is less than the width I specify on the "Edit Page Item" page. Here are 3 examples:
    field 1: Display as=text, Width=100, Maximum Width=100, ==> displayed width=76
    field 2: Display as=text, Width=50, Maximum Width=50, ==> displayed width=46
    field 3: Display as=textarea Width=100 Maximum Width=100 ==> displayed width=100
    Anyone know why this is happening? I'm trying to layout the form so that it has a pleasing look. It's hard to get the fields lined up when they don't display according to the widths specified.
    Edited by: Corvette Captain on Aug 9, 2012 3:21 PM

    Hi,
    >
    I'm laying out fields on a single record form and notice that the width of the fields displayed when I run the form is less than the width I specify on the "Edit Page Item" page. Here are 3 examples:
    field 1: Display as=text, Width=100, Maximum Width=100, ==> displayed width=76
    field 2: Display as=text, Width=50, Maximum Width=50, ==> displayed width=46
    field 3: Display as=textarea Width=100 Maximum Width=100 ==> displayed width=100
    Anyone know why this is happening? I'm trying to layout the form so that it has a pleasing look. It's hard to get the fields lined up when they don't display according to the widths specified.
    >
    Setting the Width of the Page Item sets the input elements "size" attribute. HTML rendering based on size attribute is not a precise as you need. You should use CSS for precision. See Compatibility Notes
    Cheers,

Maybe you are looking for