How to set fields contained in an input structure as not mandatory in WSDL

Hi all,
I hope someone can help me sort out a problem I've been having recently.
I'm generating a WSDL from a function module, which has a structure as the only input parameter. This structure contains a number of fields, which need to be presented as not mandatory in the WSDL descriptor.
I modified the function module by setting the structure and all its contained fields as not mandatory, but when I generate the related WSDL it shows the structure as optional and its subfields as mandatory.
Below is a snippet of the WSDL:
<xsd:element name="Zk4RfcTibcoFatt">
   <xsd:complexType>
      <xsd:sequence>
         <xsd:element name="XZk4Headprev" type="tns:Zk4Headprev" minOccurs="0" />       <-- optional structure
      </xsd:sequence>
  </xsd:complexType>
</xsd:element>
<xsd:complexType name="Zk4Headprev">
   <xsd:sequence>
      <xsd:element name="RecordType" type="n0:char4" />                                                    <-- non optional parameters
      <xsd:element name="IdricTecn" type="n0:char15" />
      <xsd:element name="IdricFour" type="n0:char15" />
      <xsd:element name="CodOperaz" type="n0:char4" />
   </xsd:sequence>
</xsd:complexType>
I can't understand why the stucture's elements are not defined as optional in the WSDL, while they're configured as optional in the function module definition. I'd expect a minOccurs="0" added to each structure's element definition.
I even tried modifying manually the WSDL from SE80, but it seems it can't be altered in any way.
Has anyone  a solution to this problem?
Thanks in advance.
Best Regards.

I tried to do that, but I can't manage to edit the WSDL in SE80, is there a way to do it?
I also tried modifying the WSDL in an external editor, but I can't find a way to switch the edited one with the original one in SAP.
Can you please help me on that?
Thanks in advance for any help you can give me.

Similar Messages

  • How to force field to appear in input structure in content conversion

    Hi all,
    I am doing file content conversion in sender File adapter. Here is the structure
    Header
    Body
       field1 - length 2
       field2 - occurrence 1:1, length 3
       field3 - length 2
       field4  length 2
    Trailer
    Here is the fixed length file that is inputed into XI
    <b>header22   2211trailer</b>
    field2 occrence is 1:1 and as you se from the file example field2 from the body is empty(just space).But  When I do the content conversion I don;t have this field showing up in my structure!??!!
    I want to make sure that field2 appears even as empty field because that is screwing my mapping!?
    Can you please have any idea how to make sure that field is in my input structure when I pass spaces?Can I force it somehow?
    Thanks all.

    Hi Jon,
    Yes you are right.
    For Ex: ur XML is
    <1>a</1>
    <2>b</2>
    and sometime is there is no value ur FCC will become
    <1>a</1>
    So what you have to do is in the message mapping take the source element
    if <2> exists then <2>---->Target
    else
    <2>---->Constant(space)
    and this "exists" is a standard function in NodeFunctions.
    Regards,

  • How to set mask in web dynpro input fields

    i am looking for how to set mask in web dynpro input fields.
    Please suggest

    Argha,
    As Maksim suggested, read my weblog -- it is an exact answer for such "masking" (/people/valery.silaev/blog/2005/11/29/800format-your-way)
    Next, you may not add custom js files to WebDynpro and change the way WD processes client input, so there is no way to force user to type only digits and to insert hyphens automatically.
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • How to set field type choice using csom (c#)

    I have a field type: Choice (menu to choose from) which is not multichoice. How do I set a value?
    I have found code for multiple choice but it doesn't seem to work for single choice.

    Hi,
    The following code snippet for your reference:
    newListItem["ChoiceFieldName"] = "ChoiceValue";
    newListItem.Update();
    clientContext.Load(newListItem);
    clientContext.ExecuteQuery();
    If you are assigning a Value which is not in the Choice Column, You need to create a choice value then assign it to the item.
    More information is here:
    http://sharepoint.stackexchange.com/questions/124999/how-to-set-field-type-choice-using-csom-c
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to set field alignment in a table in jdev 11.1.2.3?

    hi,
    How to set field alignment in a table in jdev 11.1.2.3?
    eg: to diplay a number field in a table as right aligned.
    I have tried to set field(amount) VO UI Hint Format Type:Number; Format: 0000.00
    and jspx as flowing, but it doesnot work.
    Thanks.
    bao
    <af:column sortProperty="#{bindings.VO1.hints.Amount.name}"
    sortable="true"
    headerText="#{bindings.VO1.hints.Amount.label}"
    id="c44" width="60"
    align="center">
    <af:inputText value="#{row.bindings.Amount.inputValue}"
    label="#{bindings.VO1.hints.Amount.label}"
    required="#{bindings.VO1.hints.Amount.mandatory}"
    columns="#{bindings.VO1.hints.Amount.displayWidth}"
    maximumLength="#{bindings.VO1.hints.Amount.precision}"
    shortDesc="#{bindings.VO1.hints.Amount.tooltip}"
    id="it58"
    secret="false"
    inlineStyle="text-decoration:overline;">
    <f:validator binding="#{row.bindings.Amount.validator}"/>
    </af:inputText>
    </af:column>

    Works for me:
            <af:column sortProperty="#{bindings.EmployeesView1.hints.Salary.name}" sortable="false"
                       headerText="#{bindings.EmployeesView1.hints.Salary.label}" id="c7" align="right">
              <af:inputText value="#{row.bindings.Salary.inputValue}" label="#{bindings.EmployeesView1.hints.Salary.label}"
                            required="#{bindings.EmployeesView1.hints.Salary.mandatory}"
                            columns="#{bindings.EmployeesView1.hints.Salary.displayWidth}"
                            maximumLength="#{bindings.EmployeesView1.hints.Salary.precision}"
                            shortDesc="#{bindings.EmployeesView1.hints.Salary.tooltip}" id="it6">
                <f:validator binding="#{row.bindings.Salary.validator}"/>
              </af:inputText>
            </af:column>JDeveloper 11.1.2.3
    Salary is shown right-aligned.
    What happens if you get rid of your inlineStyle on the af:inputText

  • How to set field to blank if the data is # or unassigned

    hi experts,
    how to set field to blank if the data is # or unassigned?
    thx

    Hi
    add the following macro to your workbook (template workbook):
    Sub SAPBexonrefresh(qstring As String, resultArea As Range)
        For Each c In resultArea
            If LCase(c.Value) = "not assigned" Then c.Value = ""
           Next
    End Sub

  • How to set field value in workflow SPD2013?

    Hi All,
    how to set field value in workflow SPD2013? Actually using Infopath, i need to update a field value through workflow.(Little differnt from SPD2010). How to do this?

    As Amit says, some elaboration here would be good.  You can use InfoPath as a form for either a list or a library and then set it to trigger a workflow upon item creation.  The workflow will consist a number of actions, one of which is the Update
    Field Item.
    More information on the available steps can be seen here.
    http://msdn.microsoft.com/en-us/library/office/jj164026.aspx
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • How to set Analysis graphics background color to Transparent? not White.

    How to set Analysis graphics background color to Transparent? not White.
    thanks
    Edited by: user13257485 on 2010-8-15 下午11:53
    Edited by: user13257485 on 2010-8-15 下午11:55

    Hi,
    We almost had the same requirement, but we just needed to color a specific column.
    Here goes the solution to that, you might do the same for your row highlighting
    Changes are required in jsff and one method to be added in backing bean
    1. JSFF :
    <af:column headerText="Amount"
                     id="c4" width="100"
                     inlineStyle="#{backingBeanScope.BackingBean.cellColor}">2. Backing Bean
    //searchResultTableVO is Table's VO
    public String getCellColor() {
          FacesContext ctx = FacesContext.getCurrentInstance();
          ExpressionFactory ef = ctx.getApplication().getExpressionFactory();
          ValueExpression ve = ef.createValueExpression(ctx.getELContext(), "#{row}", FacesCtrlHierNodeBinding.class);
          FacesCtrlHierNodeBinding node = (FacesCtrlHierNodeBinding)ve.getValue(ctx.getELContext());
          Row row = node.getRow();
        if(row.equals(searchResultTableVO.getCurrentRow())){
    //You can add your inline style for font-style too
          return "background-color:Red;";
             return null;
      }Hope this is helpful :)
    Regards,
    Neha..

  • How to set number of characters in input field ?

    I am creating an input field dynamically (via CL_WD_INPUT_FIELD).
    I am binding the value (via BIND_VALUE) to an attribute with type CHAR30.
    I want to give the possibility to enter a number with 4 digits (0 - 9999).
    Is it possible to restrict the number of characters that can be entered to 4 (although the BIND_VALUE attribute has a type CHAR30, that allows 30)?
    I have tried it via set_length, bind_length but it seems that the length of the BIND_VALUE attribute overrules the length information...

    Hi Moritz,
    AFAIk you have no other option as using a NUM4 here.
    Set Length just sets the lengths of the inputfield according to the current character set ... count of charcters but does not limit the value you may enter
    Cheers
    Sascha

  • How to set field "third party" in the Web Adi, General Ledger - Journals?

    Hello,
    We are trying to find how to set the field "Third Party" in the template WebAdi, and validate data and also can display in the form of general ledger journals.
    thanks for the collaboration.

    hi,
    just make the input feild as mandatory in properties and use the following code.
    data:
    lo_view_controller type ref to if_wd_view_controller,
    lo_dyn type ref to cl_wd_dynamic_tool.
    Create Object
    create object lo_dyn.
    data lt_messages type lo_dyn->t_check_result_message_tab.
    Get view controller reference
    lo_view_controller = wd_this->wd_get_api( ).
    Call Method to verify the element has the value or not
    call method cl_wd_dynamic_tool=>check_mandatory_attr_on_view
    exporting
    view_controller = lo_view_controller
    display_messages = ABAP_TRUE
    importing
    messages = lt_messages .
    endmethod.
    Regards,
    Kranthi

  • How to set field as Mandatory

    Hi,
    I want to set a field as mandatory. It we didn't give any data in a field and save it should not accept the null value how to set it.
    Regards,
    Madhavi

    Hi David,
    I wrote that code but the error comes where  oSBO and  bmt_Short comes. What should i do for that.
    And i gave a code for combo Mandatory
    Dim oForm2 As SAPbouiCOM.Form
                            Dim oCombo As SAPbouiCOM.ComboBox
                            oForm2 = SBO_Application.Forms.Item(pVal.FormUID)
                            oCombo = oForm2.Items.Item("cbocate").Specific
                            If oCombo.Selected.Value = "" Or oCombo.Selected.Value = Nothing Then
                                BubbleEvent = False
                                oCombo.Active = True
                                SBO_Application.SetStatusBarMessage("Category Code should not be left blank")
                            End If
    Its working but an error come 'Object Reference Not added to the Instance of an Object'
    But the same code is working for EditText without any error

  • Dynamically setting field attributes based on input

    Hi all,
    I am trying to see if it is possible to dynamically set field attributes depending on other fields.  For example, in screen 1100 of IQ01, I want to make it so that "Certification number" becomes mandatory if "certification status" = 1, and becomes optional if "certification status" = 2,3 or 4.
    Is this possible?  If so, how?
    Regards,
    D.

    Have you checked this
    http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbab6f35c111d1829f0000e829fbfe/content.htm
    if your requirement is to do this in Tcode IQ01 then the above answer is not sufficient
    Edited by: Abhishek Jolly on Aug 15, 2008 5:41 PM

  • How to set Field Dominance

    Hi,
    Sorry if this is a dumb question and its one Im kind of embarssed to ask. I have final cut express 3.0 and I cant seem to figure out how to set the field dominance.

    Why do you need to set the field dominance?
    Select the clip in the Browser and choose Edit>Item Properties.
    In the window that opens Control-click the item you want to alter (in the Clip column) and select from the drop-down menu.
    Ian.

  • How to set up the N97 for retrieving my lotus note...

    I'm new at this and may have missed the information in an existing discussion but I couldn't find a solution to my problem.  I have set up my home email but I am not sure how to set up the work email and calendar which is Lotus Notes.  I've tried using mail for exchange, email and email sync. It has been suggested that I forward the work email to another address (which is what I had to do for my home email to work) but I would think that if I did this, I wouldn't be able to retrieve lotus notes calendar information.  Does anyone else use their N97 to retrieve Lotus Notes emails and calendar information from their work?

    Run Safari and open the Preferences, in the General Tab is a field to set your Home Page

  • How to set default email address for input

    G'day all
    Summary: I'm sick, it's difficult to type, and a combination of autocorrect, default Shift key settings for input fields and my iPad completely ignoring my default email account is making it laborious to input my email address. Help!
    (Edit: I had a micro-brainwave and checked my "Me" card in Contacts, since I have Safari set to autofill from that card. My default email address is not listed first in the card. I've now put it on top, Gmail second and "me.com" last. I'll comment later on if I see this help with point 3 below.)
    Details:
    I love my shiny new iPad2. I really do. But autocorrect is driving me crrrrrazy when I try to input my email address.
    Typing in general is an issue for me, because I am disabled and have difficulties with coordination and movement. On my laptop (MacBook Pro mid 2009), I used TextExpander. It lets you set an abbreviation for any text, so you can just type that abbreviation instead of the whole thing, and TextExpander automagically inputs the whole thing for you.
    I have a long email address, because my ISP has quite a long domain name. So only typing 4 characters (my abbreviation) instead of the whole 23 characters was a big help for me.
    Enter the iPad.
    I need to use the iPad now, because my laptop is now too heavy for my legs (and I do occasionally need a full-on laptop, so the MacBook Air isn't the solution). The iPad in general has been great for me. The simplification of the interface (while annoying at times, e.g. not being able to view full headers in an email) saves brain cycles, so I can read for longer.
    However, where on my laptop I only needed to input 4 chars for my email address, on my iPad I have to input the whole 23 chars. How many places online are you asked to input your email address? Way too many. Safari may eventually catch up and record some of them, but currrently, I'm using too much of my day's energy just on trying to input my email address. (Note: this post is written on my laptop, so I can use my abbreviations.)
    TextExpander is available for iOS, but due to Apple's current refusal to allow integration with its apps, TextExpander isn't allowed to input stuff directly. Just like with the indispensable password program 1Password, you have to switch from Safari to the other app., search for and select and copy the text you want, then switch back to Safari, select the field and press Paste.
    Grrr.
    I may get desperate enough to go through those steps each time, if things don't improve with my email address. My problems are:
    1. Very few email-address fields in webpages currently have the appropriate settings to instruct the iPad keyboard not to start with the Shift key down. This means every time you try to input your email address, it will start with an upper-case letter.
    Half the time I don't notice until I've got part-way through typing my address, so I have to delete all those chars and start again. About a quarter of the time, after deleting, I don't notice that the Shift key has been activated again, so I go through the whole process again.
    2. Even when the email-address field turns off the Shift key, or when I remember to do it myself before entering text, autocorrect will insist on changing the first letter back to upper-case, because my username is also my first name. Cue more deleting and getting confused.
    3. This is the big one: once my username is up there, autocorrect insists on entering my "me.com" email address. This is the email address I use least. When I laboriously (again) delete this text and start again, it will either insist again on "me.com", or input my Gmail address. That is the email address I use second least. Autocorrect never inputs my main email address, set as my default account in the Mail-Con-Cal Settings. (This is a POP-only account.)
    4. Even if I do manage to input my whole email address correctly, autocorrect will insist on capitalizing the first letter of the domain name (which is also a location). Cue yet more deletion and retyping.
    Are there any ways to avoid wasting so much energy on trying to input my email address?
    Is there any way to set the default input email address? Or to tell the iPad/Safari that an email address field doesn't require the Shift key?
    I've had my iPad for nearly three months now, using it for my day-to-day activities, and I've been hoping this problem would gradually go away, that the software would finally catch on to my main email address (from the default account) which I have input over and over (and OVER) into email-address fields.
    Evidently not.
    Any ideas?
    Thanks in advance for any help you can offer.

    As Roosevelt suggested, you can turn off Auto Correction in the keyboard settings. Go to Settings>General>Keyboard>Auto Correction>Off.
    This will also turn off spell check (unfortunately) and there is no fix for that. Auto Caps can also be turned off as well and so can the keyboard shortcut for the space/period. Frankly, all of these features drive me nuts and I wish the iOS allowed for more control, but it does not.
    As fars as typing your email address, be aware that even if you type your email address in all caps it still works. So if Autofill insists on capitalizing the first letter in your name in the email address - and it will insist on doing so - you can just let it go as is and it will still work. Doesn't really get to the heart of the matter but it would save you the laborious deleting and retyping.
    Having said that, when the Auto Correction suggests a word or wants to set a capital latter, you can tap the "x" in the pop up suggestion to ignore that word, cap, whatever. The dictionary is then supposed to "learn" your word if you refuse that suggested word enough times. This is another feature that seems to have a mind of it's own at times since sometimes it may take more than a few attempts to get the Auto Correct to not come up and instead allow your chosen word to be freely typed as desired.
    Lastly, with regard to your correct email address popping up, that is another case of if repeated time and time again, It should be another case of the iOS "learning" through repetition that your default email should popup when you begin entering the address.
    You could try to rectify all of this by resetting all of your settings and clearing Autofill but you would be starting all over again which is something I think you would rather avoid.
    Settings>General>Reset>Reset All Settings
    Settings>General>Reset>Reset Keyboard Dictionary
    Settings>Safari>Autofill -tap names and passwords>Clear all
    As Roosevelt suggested, submit feedback, and I hope you find some resolution to this.
    Quick Note - I originally typed this post on my iPad and when I read a few of the words that were substituted by auto correct - I quickly turned to my iMac to change the words. I do feel your pain with regard to auto Correct!
    Message was edited by: Demo

Maybe you are looking for

  • Bridge Always Opens CS2

    Recent thunderstorn activity caused several rapid cycling of power on and off to my computer. Now have some change in behavior as how Adobe Bridge and PhotoShop CS2 interact. Previously I could open Bridge (ver. 1.0.4.6) as a standalone app and make

  • Getting the number of active connections in a connection Pool

    Hi, I have an application deployed on jboss. DB used is db2. For monitoring purpose i need to get the number of active and idle connections at any point of time. I am trying to use commons-dbcp jar to get this data using BasicDataSourceClass. Followi

  • Obsolete and/or deprecated

    Hi there, I have recently installed Oracle 10g using DBCA. I then ran some scripts to utilise our internal application that runs on Oracle 9i. After shutting down the instance and restarting it, I get the following error: ORA-32004: obsolete and/or d

  • IPhone 5S manual network selection

    Hi all, I have an unlocked iphone 5S and seem to have an issue with the manual selection mode. I was travelling outside my resident country and switched to manual network selection mode to choose my preferred roaming network in the foreign country. A

  • How to accept more concurrent user sessions

    Hi all, Which parameters are directly responsible for number of user sessions.Precisely which parameters are to change to accept more number of users sessions.If you could suggest some value for those parameter to accept 1000 user sessions ..it would