Mandatory /option fields

Hello
I am doing soap to proxy scenario sync.
some fields in soap are optional and some are mandatory, when we define option fields in data types ? can the xml tags also be optional or is it just the values within that particular tag which is optional? Thanks

> can the xml tags also be optional or is it just the values within that particular tag which is optional?
It is just the other way round: If a field is mandantory, it means that the tags are mandantory. The XML values are always optional, unless they are described more detailled.
But you always need to know, which fields have to be filled to make the XML semantically complete. You cannot omit fields just because they are optional.

Similar Messages

  • Mandatory/Optional field configuration for PD infotypes

    Hi,
    I need to make the country, city & postal code fields on infotype 1028 (address) as optional.
    These fields show up with Module Pool: MP102800 and Screen # 2300.
    However, I cannot find the way to go in to change this configuration.
    Does anyone know the screen modifications path/tcode for PD objects?
    Any leads would help.
    Thanks.
    Shivani.

    Hi Shivani,
    Trying to maintain a PD object using detail maintenance (transaction code PP01). You will get an error message saying u201Cu2026 cannot be maintained via u2026u201D.
    It is probable that the checkbox u201Cno maintenanceu201D has been ticked on table T77CD. Uncheck the tick. This table is specific to each infotype and each object type within the infotype.
    As an example, you may wish to modify qualifications in PP01. Double click on IT 1000 and then look at the entry for Q.
    Also look at table T777I. This holds details such as the no maintenance flag at the infotype level. So if IT 1000 is in this table with "no maintenance" ticked then this will apply to all objects on IT 1000.
    Reply back if this is the ans you are looking for and tell if it works
    Regards
    Pallavi

  • How to put Mandatory option for selection screen fields in ABAP Queries

    Hi Experts
    Can anyone tell me how to put mandatory option for the selection screen fields in ABAP Queries.
    Manually I had written code in the At Selection Screen  option in infoset to display error message if that field is blank.
    But I need to display the selection fields with the tick mark (obligatory mark).
    How to do this?
    Appropriate answers will be awarded

    Hi
    For parameter option
    parameters : p_kunnr type kna1-kunnr  obligatory.
    For select option
    select-options: s_date for vbak-erdat obligatory.
    Plz rewards points ,
    Regards ,
    Ganesh.

  • How to make mandatory field in f-02 to optional field

    hi.   SAP Gurus
    In t-code f-02 Company code and currency these two fields header data are required fields...Is it possible to make them optional fields in SPRO....If possible then please let me what is the path and T-code????

    Hi,
    Company Code and Currency are mandatory fields for entering any FI posting. If Company Code is left blank in which company code should post the transaction. Similarly, without indicating the currency how will the system know in which currency the transaction is to be posted.
    One option is through authorizations, we can restrict to which Company codes an end user can post the transactions.
    Thanks
    Murali.

  • Can we mix mandatory and optional field entries for file import?

    Can we have devices with mandatory fields only and some other devices with mandatory and optional fields within the same CSV file used for file import?

    Hi Rita and Sandra,
    That is correct, you can mix mandatory and optional field entries for file import. However, if you don’t have OS type and version, the alerts matching would be impacted.
    Thanks,
    June

  • Requirement Routines & Mandatory Option for condition type

    Hi All,
    A tax condition type is being setup as mandatory in the pricing proecdure.
    It has a requirement routine associated to it. If the requirement routine is not satisfied, sy-subrc is 4 and hence, no tax is calculated for it but mandaotry setting demnds it to have some value. In such situations, will it over-ride the config. setting of mandatory condition type & if not so, how can I over-ride. It is compulsory to have the mandatory option ticked but its ok to over-ride it for some conditions specifed in the requirement routine.
    Please advice.
    Thank you,
    Shiv

    Hi Shiv,
    Any critial configuration related information is available in internal tables based on which standard SAP does validations. So mandatory property of the condition type as configured in the pricing procedure, would also be available in some internal table of KOMV (KOBLI is the field indicating whether it is mandatory or not)
    So in your requirement routine you can code so as to make KOBLI blank whenever the tax condition type is being deactivated by setting SY-SUBRC to 4.
    Please reward if helpful.
    Regards,
    KC

  • How to make Plant as an optional field in ME21N

    Dear Experts,
    Is it possible to make plant as an optional field while creating a PO(me21n)? If so then please suggest the T-code and procedure.
    Thanks and Regards,
    Manish

    Dear All,
    I completely agree to all of you that Plant is mandatory, but since I am procuring with reference to WBS element, plant is already picked up. I am trying to avoid the error of assigning 2 plants to same PO.
    Please advise,
    Thanks and Regards,
    Manish

  • How to make the UoM field optional field

    In material master Basic data1 tab, I want to make UoM field optional field. In OMS9, I changed this field from Req,field to Opt field
    ,but when i create a material, the UoM is still Req. How to resolve this? Thank you.

    Hi,
    Unit of measurement is the mandatory field for the materials.Without a unit we can't do anything for the material. Even though u changed as a optional entry system will insist to enter the UOM. Because its a standard process in SAP.Same thing will be happend for the material Description also.Field reference will not control such fields like UOM and material Description etc...
    Regards,
    Venkatesh

  • DATE OF TASK  as an optional field

    Hai
    I want to make the field  DATE OF TASK  as an optional field ( basically itu2019s a mandatory field) for some reasons in IT19 monitoring of  tasks subtype 06 training period
    Plz let me know how to make this field optional?
    Plz give the steps in details
    Thanks

    Dear Siddharth
    Thank you for the reply, but not in ESS in R/3 only m trying, plz let me know clearly how to make it optional?

  • How can i (de)activate a single option in an option field programmatically?

    To deactivate a control in the front panel i can use the deactivate property node.
    Can i also deactivate single options in an option field or in a menu this way?

    mathan wrote:
    Hai,
    It seems you can only deactivate the whole menu ring(Create 'visible' property node and wire a true constant to it and also in FP right click and select 'disabled' from 'advanced' ) and not a single item in it.
    Really?
    Message Edited by smercurio_fc on 04-22-2008 09:16 AM
    Attachments:
    disabled.PNG ‏26 KB

  • Tax Jurisdiction in SAP CRM 7.0 B2C Webshop as an optional field.

    Hi Everyone,
    We are  trying to register a user in B2C Webshop .In the process of registering, On entering the postal  Code and  corresponding city , the application shows an error message which says " Tax Jurisdiction could not be detremined" .
    Going ahaed, we could like some clarity on the same .It would  also be relevant if we could make this postal code/City as an optional filed in the System.We need clarity  on making this as an optional field.
    KIndly give your inputs if any one has worked on the same functionality.
    Thanks in advance.
    Regards
    Sanjib paul

    See if the configuration settings at (Tcode SPRO)
    CRM--> Master Data --> Business Partner --> Specify handling of error messages helps.
    Also see my replies in other threads on suppressing or showing CRM messages in the web (ISA) layer.
    Re: Product not viewable in catalog nor in search function but still orderable
    Re: Minimum order quan - CRMC_MSGC
    Re: Minimum order quan - CRMC_MSGC

  • Tax Jurisdiction In B2C Webshop (SAP CRM 7.0) as an optional field.

    Hi Everyone,
    We are trying to register a user in B2C Webshop .In the process of registering, On entering the postal Code and corresponding city , the application shows an error message which says " Tax Jurisdiction could not be detremined" .
    Going ahaed, we could like some clarity on the same .It would also be relevant if we could make this postal code/City as an optional filed in the System.We need clarity on making this as an optional field.
    KIndly give your inputs if any one has worked on the same functionality.
    Thanks in advance.
    Regards
    Sanjib paul

    See if the configuration settings at (Tcode SPRO)
    CRM--> Master Data --> Business Partner --> Specify handling of error messages helps.
    Also see my replies in other threads on suppressing or showing CRM messages in the web (ISA) layer.
    Re: Product not viewable in catalog nor in search function but still orderable
    Re: Minimum order quan - CRMC_MSGC
    Re: Minimum order quan - CRMC_MSGC

  • Invalid value in OPTION field of value table for IN itab operator. operato

    Hi,
    I am working on SELECT-OPTIONS to accept single and multiple values for company code. I am using CREATE_RANGE_TABLE and ADD_SELECTION_FIELD and all is good but I was prompted with error "Invalid value in OPTION field of value table for IN itab operator. operator"  when I enter 2 single value.
    SIGN OPTION LOW  HIGH
        |      |CN01|    |
        |      |SG02|    |
    However, below combinations working good for me and I don't get the above error.
    SIGN OPTION LOW  HIGH
    I   |BT   |CN01|CN02|
         |     |SG02|    |
    SIGN OPTION LOW  HIGH
         |     |SG02|    |
    I am using below coding.
      DATA:
        ls_cmp_restrictions TYPE if_wd_select_options=>t_complex_restrictions,
        ls_rsoptions        TYPE rsoptions.
      CLEAR ls_rsoptions.
      ls_rsoptions-bt = abap_true.
      ls_rsoptions-cp = abap_false.
      ls_rsoptions-eq = abap_true.   " for enable only single value*
      ls_rsoptions-ge = abap_false.
      ls_rsoptions-gt = abap_false.
      ls_rsoptions-le = abap_false.
      ls_rsoptions-lt = abap_false.
      ls_rsoptions-nb = abap_false.
      ls_rsoptions-ne = abap_false.
      ls_rsoptions-np = abap_false.
      ls_cmp_restrictions-m_exclude = ls_rsoptions.
      CLEAR ls_rsoptions .
      ls_rsoptions-bt = abap_true.
      ls_rsoptions-cp = abap_false.
      ls_rsoptions-eq = abap_true.   " for enable only single value*
      ls_rsoptions-ge = abap_false.
      ls_rsoptions-gt = abap_false.
      ls_rsoptions-le = abap_false.
      ls_rsoptions-lt = abap_false.
      ls_rsoptions-nb = abap_false.
      ls_rsoptions-ne = abap_false.
      ls_rsoptions-np = abap_false.
      ls_cmp_restrictions-m_include = ls_rsoptions.
    * Create a reference to range table
      lr_field = wd_this->m_helper->create_range_table( `BUKRS` ).
    * Add the select-option to the group
      wd_this->m_helper->add_selection_field(
        i_id                         = `BUKRS`
        i_value_help_structure       = 'P0001'
        i_value_help_structure_field = 'BUKRS'
        it_result                    = lr_field
        i_no_intervals               = abap_true
        i_no_extension               = abap_false
        i_complex_restrictions       = ls_cmp_restrictions
        i_use_complex_restriction    = abap_true ).
      FREE lr_field.
    Edited by: Girish Nabar on Jul 22, 2011 12:35 PM

    Hi Girish,
    People are answering not for points, just to share the knowledge.
    And I think the way of structure is wrong.  i think we cannot pass two single values in your way. am not sure about .
    low means it will accept single value. for one record in sign structure.
    wait for other replys.
    Regards
    Srinivas

  • How to hide the select-options fields on radiobutton select in webdynpro

    hi
    Could you please help how to hide the select-option fields in webdynpro
    there are four radio buttons
    for every radiobutton there is corresponding the select_option filed is associated to it
    user as only provision select  one radio button and reset of the select-option fileds should be hidden
    which ever the radio button is selected corresponding the select-options fileld should be displayed
    please find the attachement below

    Hi Nine,
    To hide select options you should use interface method REMOVE_SELECTION_SCREEN_ITEM of IF_WD_SELECT_OPTIONS.
    Sample code :
    Write the below code in the Event handler of Radio Button.
    DATA lv_r_helper_class TYPE REF TO if_wd_select_options.
    lv_r_helper_class = lo_interfacecontroller->init_selection_screen(
    lv_r_helper_Class->REMOVE_SELECTION_SCREEN_ITEM(exporting i_id = 'Select_option1_id1').
    This will hide first select option of your screen.Similarly pass select_option_id2 to hide it and so on.
    Regards,
    Ravikiran.k

  • Default Current year in select option field on selection Screen

    Dear Experts,
    I want to set current year as default value in fiscal year select-options field on selection screen.
    for this, i hv written following code
    DATA:VAR_DATE TYPE SY-DATUM.
    DATA VAR(4) TYPE C.
    VAR_DATE = SY-DATUM.
    VAR = VAR_DATE+0(4).
    this retrieves current year .
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-000.
    SELECT-OPTIONS I11 FOR ANLC-GJAHR DEFAULT VAR TO VAR..                            "Fiscal Year
    SELECTION-SCREEN END OF BLOCK B1.
    Now when i am executing program pop-up is raised describing "Specify the range Limits". Please help.
    Regards,
    Apoorv Sharma

    >
    Ganga Bhavani R wrote:
    > Use below lines.
    >
    > SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-000.
    > SELECT-OPTIONS I11 FOR ANLC-GJAHR DEFAULT SY-DATUM+0(4). "Fiscal Year
    > SELECTION-SCREEN END OF BLOCK B1.
    Hi, Ganga,
    I think it will not working properly that way, Please test the bellow Sample Code.
    TABLES: anlc.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-000.
    SELECT-OPTIONS i11 FOR anlc-gjahr .
    SELECTION-SCREEN END OF BLOCK b1.
    INITIALIZATION.
      IF i11[] IS INITIAL.
        i11-low = sy-datum+0(4).
        APPEND i11.
      ENDIF.
    Thanks and Regards,
    Faisal

Maybe you are looking for

  • Communication between client and server

    I am using sockets for communication between the client and the server. is there any other way that i can use for communication between the client and server???

  • Airport AppleTalk Printer Problem

    Greetings: I have a MacBook Pro running MacOS X 10.5.5 and have installed Airport Extreme Update 2008-004 (1.0). Since then, I have been unable to connect to my LaserWriter Pro 630 (AppleTalk Over Ethernet Only, no TCP/IP) that is connected to my hom

  • RV082 RV042 RV042G v4 firmware bug?

    Models affected:  RV082 v3 (primarily)  -  also RV042 v3 and RV042G Symptoms: 1) web admin GUI stops responding 2) internet speed slows or stops completely Temporary Fix: 1) power-cycle the router, everything works fine for a random period of time No

  • Flex 2, FDS 2.5 and CF8

    Hi everyone, I am starting to retract my brain from an intense 2 days to figure out how to use Flex with Coldfusion. I am using Coldfusion 8 Beta (this part is good, don't need help for CF itself). I am also using Flex Builder 2 (with chart but this

  • TS1846 What does this error message mean?

    What does this error message mean? I am trying to burn a project to DVD... Formatting was not successful.  Layer 0 exceeds the maximum layer size allowed.  Please choose a suitable marker location that will support this condition.