Adding a new choice to a checkbox field in a web app - options renumbered

Hi all,
I have been working on a web app today. (for a change...lol!)
I had to add another option to a custom checkbox field in the webapp and I noticed the following:
New options in a checkbox field need to be added to the end of the checkbox list, otherwise the options are renumbered to reflect the new order of items.
I imagine this will affect any web app entry that is already using that checkbox field.
To further illustrate what I mean here is a sample Regions checkbox field with its options:
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_0" value="ACT" />ACT<br />
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_1" value="NSW" />NSW<br />
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_2" value="NT" />NT<br />
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_3" value="QLD" />QLD<br />
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_4" value="SA" />SA<br />
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_5" value="VIC" />VIC<br />
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_6" value="WA" />WA<br />
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_7" value="NZ" />NZ<br />
I needed to add TAS to this list, cos I forgot! (Sorry Tasmania)
When I put it after SA the list looked like this when inserted on an upload page:
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_0" value="ACT" />ACT<br />
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_1" value="NSW" />NSW<br />
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_2" value="NT" />NT<br />
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_3" value="QLD" />QLD<br />
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_4" value="SA" />SA<br />
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_5" value="TAS" />TAS
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_6" value="VIC" />VIC<br />
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_7" value="WA" />WA<br />
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_8" value="NZ" />NZ<br />
So all values after SA got renumbered, which I am sure would have affected the existing data in the webapp.
So I had to do add it to the end of the checkbox list so no existing data was disturbed. The field then inserts on the upload page as follows:
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_0" value="ACT" />ACT<br />
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_1" value="NSW" />NSW<br />
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_2" value="NT" />NT<br />
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_3" value="QLD" />QLD<br />
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_4" value="SA" />SA<br />
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_5" value="VIC" />VIC<br />
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_6" value="WA" />WA<br />
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_7" value="NZ" />NZ<br />
<input type="checkbox" name="CAT_Custom_197366" id="CAT_Custom_197366_8" value="TAS" />TAS
and then reorder the fields manually so they were alpha on the upload form.
An interesting thing to discover today.
Keep it in mind if you are changing the options in a web app checkbox field. Always add new items at the end. Maybe you will need to do a space for any option that is deleted.
Regards,
Mary

Unless your doing something fancy with the Numbers Mary it does not matter the re-shifting of the numbers.
Do you see the name and it's data number? That's the one that matters and what the choice data is stored against, that's the actual custom field :p

Similar Messages

  • Uploading values for an image field in a web app. Nothing displays in layout.

    I've uploaded the values (using the import) for a field defined as an image in a web app. When I try to display the field, nothing shows up. The value correctly shows up when I look at Web App items after the upload / import. I've uploaded the same value in a text field, just to learn what was happening, and the text field displays the image just fine when added to the layout.
    I would like to use the image field type, as it's easier to correctly create the link when the web app is updated in the future.
    Here is what works in the layout: <a href="{tag_link to page}"> <img alt="" class="column66_award_thumb" id="thx" src="{tag_image thumb}" /></a>
    Note that {tag_image thumb} is a text field with the link stored in it. The value for each Web App Item which populates this field is a link to the image. (i.e. /Awards/139.jpg)
    Here is what I want to work: <a href="{tag_link to page}"> <img alt="" class="column66_award_thumb" id="thx" src="{tag_thumbnail image_value}" /></a>  , where {tag_thumbnail image_value} refers to a field defined as an image in the web app. It has the exact same value as {tag_image thumb}. I just copied the field values in the Excel spreadsheet (saved as .csv) when I uploaded it.
    It looks like the image field works fine only when I manually create it in the web app. If this is the case, using the upload capability disables any ability to use the image field type.
    Is there a workaround for this? Am I missing something?
    The page I'm working on is http://www.e-a-a.com/awards  When you view the source, you can see that the small thumbnail images are displaying just fine. (I'm using the text field). Whenever I substitute the image field name {tag_thumbnail image}, {tag_thumbnail image_nolink}, or {tag_thumbnail image_value}, the src value is always null.
    How do I fix?

    Hi there,
    To do it properly you need to resize the image. Prefably before you put it into BC. While you can for scale the image in CSS you do not want to do this. Why? Because the images are still very big and likely not optimised as they should be for the web.
    This means the page with these images will take a very long time to load for people, and people wont be to happy about that viewing your site.
    You need to use software such as photoshop if you have it or iphoto on a mac for example to edit, crop and size images before you upload them. If you do not have anything you can use free web based tools such as this one:
    http://pixlr.com/editor/
    You can also do this within BC itself in the file manager. If you click the image you can see options to resize it. The downside of that is that is done by pure math. It does not know what is in the photo and the results can make the image look squished etc.

  • In BC how do you display fields between 2 web apps

    I have successfully connected two web apps by creating a 1 to 1 relationship between my two web apps Article and Author.
    So, when a user is on the details page of my Article, they see the Authors info.
    But, now, I need to do the reverse..create a page that displays ALL of the Articles written by a specific Author.
    Thanks

    Hi there,
    You actually should set up categories rather then using a custom field like that. Under site settings in the admin, you will see them there.
    On a web app item, the button in the top left.. If you click that you will see the classification option.
    Once you do that in you can insert web app item lists based on that specific category and the Web app search, can search just for those.

  • How can I create an auto-incrementing ID field for a web app?

    I have a web app for a project database. Customers can login and add a new record to the web app. We need it to provide each new project with a unique and sequential number. The BC ID number for each web app item is unique but of course not sequential (and too long). So for example the client would like all project IDs to be 4 digits starting from 1000. Any ideas?
    Thanks in advance!

    Kapowaz,
    Just thinking out loud, I wonder if you could use an Automator action to find the last invoice created and open a new file with a name based on incrementing a part of last file's filename. This would make the filename the same as the invoice number and you would still have to transfer the file's name to the content of the file.
    If I had this need, I think I would create an Invoice Log document. It would be easy to have a table into which you would enter identifying data and date and have the table generate a new invoice number that you could paste into the current invoice document. It would kill two birds with one stone if you need an index of your invoices.
    Jerry

  • I added a new Ipod touch and it didn't give me an option of naming it something different than my old ipod which i still have and use

    Is it possible to use both ipods with one itunes? Do they both need different accounts with itunes?

    You can easily change the name of an iPod by just clicking on the name in the left-had side of iTunes under Devices.  You change the name just like you would change a file name.

  • Setting up a web app search field that searches all web app data

    Hi BC forum
    We have this web site - bridgerd.com.au - and we are finding limitations with the web app search bar (where it says: Search Bridge Rd). This search bar will only search for data within the Web App 'description field'. We're wanting it to work a little more like the site search module, where it searches all content of a particular web app - including data from different fields.
    Obviously this would be a great out-of-the-box feature for BC, and it seems to be an annoying limitation. Has anyone overcome this issue before? Is there a way to search all fields by concatenating a bunch of hidden fields into one submitted search using java script. Or could we using java script to copy the same entered search value to all fields whilst hiding all but the main search field?
    Cheers

    Actually, let me clarify this... Is there a way to expand the "Keyword" field search in web apps past the limits of only searching the "Content" field?
    OR
    Is it possible to include the custom fields in our web app to the search criteria? When I add the web app to the page, it seems BC will only add the default web app search fields. If I can add the custom web app search fields, I may be able to employ my theory as per last post.
    Cheers

  • Error while adding a new field to the Segment in we31

    Hi ,
    I am getting error when i am trying to add the new field to the cust. segment.
    It is released for the adding the new fields i am cancelling the release , but i got a message like this
    Error while resetting release of segment 'segment name'.
    it is comming from the message class EA and message number 259.
    Thanks in advance.
    Reagrds,
    bharani

    Hi,
    Have you tried Cancelling the release before adding the version?
    Select the active version of the IDOC Segment and cancel its release first. Only then you will be able to add a version.
    Please let me know if it worked!
    Vijay

  • Adding a new field to Payroll Timecards header doesnt save

    Hi,
    I have added a new text field in the header section of Payroll Timecard layout. I have created a DFF context in OTL Information Types and have given the attribute in the COMP Qualifiers definition. But when i enter the data and try to continue it errors out and asks to contact System Administrator.Please help if some1 has faced similar problem.
    Regards,
    Sameer

    Enable the FND Diagnostic and test again. That will give you detailed error stack. Provide that.
    --Shiv                                                                                                                                                                                                                   

  • Adding a new field to search of Service Contracts

    Hi Experts,
    I have a requirement where in to add an existing field i.e your ref (sold_to) your_ref_sold field into the search criteria of Service Contrct .
    How to add the field to the Search .
    I have few questions here.
    1 need I use EEW to add the field to Search but its already existing?
    2 If not How to append the Structure crmst_query_src_btil and enhace it with field required?
    3 how to implement the BADI crm_rf_search_eew?
    Thanking You,
    Sree.

    The search help exit allows you to modify functionality of search help. If you add a new field to the
    parameter list that is not contained on the selection method you can manually populate it within the search
    help exit.
    This  would be performed within the u2018STEP DISPu2019 section. Once within this section all search help
    data has been retrieved and is stored in table RECORD_TAB (record_tab-string) as one long string value.
    Therefore you need to read table SHLP in-order to locate position of value within string.
    Example:
    To find position of personnel number (PERNR) within elemenory search
    help M_PREMN you would use the following code:
    Loop at record_tab.
         read table shlp-fielddescr into wa_shlp
                                       with key tabname   = 'M_PREMN'
                                                fieldname = 'PERNR'.
    You could then use this information in the following way, for
    example, to find a persons organisation unit:
          select  orgeh endda
            up to 1 rows
            from pa0001
            into (ld_orgeh,ld_endda)
           where pernr eq record_tab-string+wa_shlp-offset(8)
                                                      u201Cpernr length is 8
           order by endda descending.
          endselect.
          select single orgtx
            from t527x
            into ld_orgtxt
           where orgeh eq ld_orgeh and
                 sprsl eq sy-langu and
               ( endda ge sy-datum and
                 begda le sy-datum ).
    If you have added a new field to the end of the parameters list
    the next step is to populate it by adding this data to the end of
    the record_tab string:
      concatenate record_tab-string ld_orgtxt into record_tab-string.
      modify record_tab.
    endloop.

  • Adding a new field to a Z table

    We have a Z table on which we have created a datasource. We have created a virtual cube on this datasource and queries are built on this cube. This setup is present on Dev, Quality and Prod environment.
    Now we have added a new field to the Z table in Dev. We will be creating a new Infoobject for this new field and will be adding it in the Virtual Infoprovider and also in the queries.
    1. Do we need to replicate the datasource so that newly added field is visible to the datasource? If no, is there any way?
    2. When I have to transport this to Quality and Prod, do I have to capture all the components and objects (Table,Datasoure,Virtual Cube Queries)? If no, what should I capture in the transport request?

    Hi,
    First, you have to regenerate the datasource in order to add the field:
    1) Log on to source system (where Z table is stored) and go to transaction RSA6.
    2) Select the root node and click Expand (icon with '+' sign).
    3) Search for your datasource (you can use the binoculars icon).
    4) Click on Change.
    5) Verify that the field appears on the list.  Make sure that "Hide field" and "Field only known on client exit" options are not marked for this field.
    6) Click on Save.
    7) Select "Datasource" -> "Generate" (CTRL+S) menu option.
    8) Use RSA3 transaction in order to verify the new field appears on test extractions.
    Then, to replicate the datasource in BI:
    1) Log on to SAP BI and go to RSA1 transaction.
    2) Go to "Modeling" -> "DataSources" section.
    3) Search for your datasource and right click on it.  Select "Replicate metadata" from context menu.
    4) Add the new InfoObject to the VirtualProvider.
    5) Update the transformation which joins the DataSource to the VirtualProvider.
    As far as transport requests are concerned, even though it requires more work, it is a good practice to group objects in different transport requests according to their type:
    In the source System (R3 for instance):
    1) One transport request with the table.
    2) One transport request with the datasource and its structure.
    In BI:
    1) One transport order with the datasource replica.
    2) One transport order with the new InfoObject(s).
    3) One transport order with the modified VirtualProvider.
    4) One transport order with the modified transformations from the datasource towards the VirtualProvider.
    5) One transport order with the Queries and their elements.
    I hope this helps you.
    Regards,
    Maximiliano

  • Adding a new field to a standard webdynpro component's layout

    Hi all,
      I need to add a new field to a standard webdynpro component's( in my case the component is ''/SAPSRM/WDC_UI_SC_DOTC_BD')  layout.How do i go about adding a new field to the standard component's lay out?
    can anyone help me with the necessary details?
    Regards,
    Abhinay.

    Check if this is useful to you (Login required)
    https://websmp105.sap-ag.de/~sapidb/011000358700001969972008E.pdf
    Rgds/Kiran

  • Adding a new field to existing structure

    HI all
    I am adding a new field to the existing structure in BW ,shall I remove all the data in the cube to fill fill this field for the previous records and reload again or any other solution
    thanks in advance

    Hi,
    Yu need to delete the data to fill the new field again.
    Assign points if it helps
    Regards,
    Srinivas

  • Serialization Error after adding a new field to BPM Process

    Hi,
    I have a BPM Process to which I added a new attribute userid and consuming the BPM process in a web dynpro application, I created a model using the BPM Process's Web Service but getting a serialization error that the model does not have a mandatory field with name [userid]. see below.
    FYI.. I can trigger my BPM process through the Web Service in wsnavigator , the error I am getting is while executing the BPM Process from the custom webdynpro.
    Any idea how to resolve the issue?
    XML Serialization Error. GenericObject [
    <modelObject class="com.sap.demo.wdpoc.wd.models.model.NewOperation"><attribute name="In" value="KK"/><attribute name="Name" value="133"/><attribute name="Age" value="dad"/><attribute name="Designation" value="12124"/><attribute name="Userid" value="null"/></modelObject>
    ] does not have a mandatory field with name [userid].
    [EXCEPTION]
    com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. GenericObject [
    <modelObject class="com.sap.demo.wdpoc.wd.models.model.NewOperation"><attribute name="In" value="KK"/><attribute name="Name" value="133"/><attribute name="Age" value="dad"/><attribute name="Designation" value="12124"/><attribute name="Userid" value="null"/></modelObject>
    ] does not have a mandatory field with name [userid].
    at com.sap.engine.services.webservices.jaxrpc.encoding.SerializationUtil.serializeGenericFieldContent(SerializationUtil.java:1546)
    at com.sap.engine.services.webservices.jaxrpc.encoding.SerializationUtil.serializeGenericFields(SerializationUtil.java:1431)
    at com.sap.engine.services.webservices.jaxrpc.encoding.SerializationUtil.serializeGenericType(SerializationUtil.java:1383)
    at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.serialize(GeneratedComplexType.java:168)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.serializeParameter(SOAPTransportBinding.java:1731)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.serializeRequest(SOAPTransportBinding.java:1683)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.writeSOAPRequestMessage(SOAPTransportBinding.java:254)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:1272)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:952)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call(SOAPTransportBinding.java:907)
    at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DInterfaceInvokerImpl.invokeOperation(DInterfaceInvokerImpl.java:76)
    at com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClassExecutable.execute(WSGenericModelClassExecutable.java:73)
    at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModelClassExecutable.execute(WSTypedModelClassExecutable.java:49)
    at com.sap.demo.wdpoc.wd.comp.wdpoc.Wdpoc.execute(Wdpoc.java:257)

    This question is not answered but I am marking it answered because I have to post more.
    Sorry
    -Ashwani

  • CProjects - Adding a new field to the detail screen of object link

    Hi All,
    I've a requirement of adding a new field to the detail screen of object link. But the field is a combination of 3 other standard fields.
    Please let me know how could i realise this functionality?
    Thanks in advance.

    Hi Srini,
    Thanks for your Reply
    I have kept 01 against the field BSEG-AUGDT and selected the preselect check box also.
    But still that field is not visible in the dynamic selection screen.
    Thanks
    Ajay.D

  • Adding a New Field to Ztable...Missing in SM30

    I added a new key field to a Z table. When I do an SM30, or the already created custom transaction to maintain te table the key field is not there.
    I even did an SE14 and did an "adjust" to the Ztable...No luck the key field is not there. However, when I do an SE16 to view the table, I see the added key field, blank of course.
    What step did I miss?
                  Thank-You

    Hi,
    You have to re-generate the Table maintenance..
    Go to SE11..
    Give the table name..Press change..
    In the menu..UTILITIES -> TABLE MAINTENANCE GENERATOR..
    Press change (pencil button)..
    Press expert mode..Press select all..
    Press enter.
    It will re-generate the table maintenance..
    Thanks,
    Naren

Maybe you are looking for