Visual Composer Numeric Field and decimals

I have a numeric field in a visual composer application.  Sometimes the field has a value like 23.11 and other times it can have a value such as 23.00 with zeroes after the decimal point.  If there are numbers after the decimal like the .11 it works fine.  However, I cannot figure out a way to retain the .00 in the field.  The VC always takes the 23.00 and changes it to 23 (whole value).  I want to retain the decimal .00 after the 23.
I am using Netweaver 7.0 SP20.  Please let me know if you have any ideas.
Thanks
Angie.

Hi Angie,
please refer to this link:
[Number Formatting mask in Visual Composer|http://help.sap.com/saphelp_nw70/helpdata/en/5e/99903d4842490889391d33661a8ba3/frameset.htm]
there is a .m parameter that should do the trick, you should user .2 so as to show two digits in the right of the decimal dot.
If it doesn't work you should create an OSS Note, it shouldn't be strange that is another of the Visual Composer Bugs.
Best regards,
Marco.

Similar Messages

  • Visual Composer 7.0 and LoadRunner VueGen

    Has anyone been able to make Visual Composer 7.0 work with Vuegen (v8.1 FP3)? Running on NW04s SPS10 J2EE and Portal. The model is rather simple it executes an ABAP BAPI and returns Exchange rate data. Works great in the browser with no issue.
    VueGen receives the data (seen in the playback), but then has a fatal issue, with message = Fatal Communications error, cannot retrieve the data. The https is definitely working Ethereal proves that. VueGen always works a little differently than the IE6 browser based on Ethereal (that's a mystery).
    Anyway, I am guessing that the Web-HTML and Web-SAP Protocols simply cannot handle the Flash bytecode that is streamed back to the Vuegen process. It must be trying to do something with it, and failing.
    Any ideas or success stories with Visual Composer 7 / Flash (not WebDynPro), and Vuegen would be greatly appreciated? And if you are about to try it , good luck.

    Hi Frank,
    From what I understand you are talking about recording Flex applications and not VC design time, right?
    If so, I do remember having some problem with VUGen. I think that what helped me was using the option of using the old recording engine. This can be set in VUGen-> Recording Options->Advances->Recording Engine.
    Also, I don't think you need the SAP-WEB, just use the Regular Web-HTTP.
    After you record should see web_custom_request going to "com.sap.visualcomposer.vcbroker". I would put some web_reg_find before these requests and supply some expected returned data to search for.
    Best Regards,
    Noam

  • Numeric fields and display values

    Hi All,
    I have a few numeric fields in my form. I want to display "null" in those fields when they do not contain a value in the db i.e. whenever the fields are left blank they should display "Null" in the form but will have a Null value in the db.
    Any idea on how to do this?
    Thanks.

    Personally I'd have a WHEN-VALIDATE-ITEM trigger on the display items, and once the value had passed any validation I would update the database item accordingly (i.e. set db_field to TO_NUMBER(display_field) unless it's 'NULL' then set it to null). That way forms knows that the record has changed.

  • Visual Composer 7.0 and CE

    Hi,
    Could anyone tell me the difference between VC 7.0 and VC 7.1 CE(composite Environment). Is there any difference between the two? Can anyone explain on this and give some documents related to this?
    Regads,
    Divya

    Visual Composer for SAP NetWeaver Composition Environment has undergone major revisions both in functionality and in usability. For example, ability to componentize models to enable reuse, access to source control, ability to work on multiple models simultaneously, changes in the deployment process, easier layout design, more intuitive use of containers, and much more.
    You can see more details about the differences in the two versions here:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a00a2587-3139-2a10-28b6-860591aa6ec6

  • Solution for Visual composer error: 32k span and 64k byte limit

    Dear friends,
    I am getting the error in visual composer 32k span and 64k byte limit since last half year,
    some time error will get resolved by adding layer in to model OR adding some table and form to model OR reduce the animation effect OR even by doing tab strip view for layer model, doing nested ivew.
    but this solution not usefull for every time.
    what should we do for this error(32k span and 64k byte limit),
    is it solved by updating EP version or by EP java stack or any other updates which will solve the This VC error.
    64k error i am getting is:
    +Error in compiling Flex application: Error: A function in the code exceeds the 64K byte limit (actual size = '65570'). Since the problem occurs in the compiler-generated deferred instantiation code, please refactor/componentize portions of this document.
          (/usr/sap/IBD/DVEBMGS10/j2ee/cluster/server0/GUIMachine_Business_Packages/Managment_cockpit11_31066/FLEX_COMPILATION_FOLEDR/AADCDM.mxml:19)
    Failed to compile AADCDM.mxml+
    hope to get answer form you,
    Thanks and Regards,
    Dushyant.

    Hi,
    I think it's better to post this question into the Visual Composer forum. Anyway, the 32k/64k bug is solved with the flex2 server which is already released.
    Also have a look into the [Wiki page|https://wiki.sdn.sap.com/wiki/display/VC/64Kbytelimit].
    Hope that helps!
    Best Regards,
    Marcel

  • How to change front color in Visual composer

    Dear friend,
    i am taking numerical expression box into visual composer table view
    and try to change the front color in style tab for that field property
    but front color is  not changing in output(back ground color is changing ).
    how to change front color in visual composer?
    and can we change the symbol color too?
    thanks and regards,
    dushyant.

    Hi Vani!
    1. Unfortunately one of my requirements is that I can only get data from queries and not from Web Services or other sources, so no WS calling would be allowed in my deployed I-View, but thanks anyway for your suggestion.
    2. You are right, I was not clear enough in my first post. Let's say I have 3 rows and 12 columns, what I want is the following:
    ROW3 = ROW1 / ROW2
    obviously for each column. Do you have an idea about how it could be done??
    Thanks a lot,
    Andrea

  • Flex Table Add Row Issue with Dynamic Entry Lists in Visual Composer

    All,
    Your help would be kindly appreciated in resolving an 'Add Row'-issue within a Flex Table that uses Dynamic Entry Lists in Visual Composer. The issue here is as follows :
    When I use a [Local Dynamic Entry List |http://www.postyourimage.com/view_image.php?img_id=O5hrG2aMxWZ84Mu1211193041]to populate a row field, the initial row and all next rows are emptied upon 'insert row', they loose their selected values and also the entry list values ('pull-down menus') are lost. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=FPLr2cABcgiHRou1211192889].
    The initial row does [show the entry list values |http://www.postyourimage.com/view_image.php?img_id=2HybmEHAuQYs9cg1211192766]from the Local Dynamic Entry List based on the dynamically assigned input value; upon 'insert row' the entry lists are lost. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=FPLr2cABcgiHRou1211192889].
    When using a [Global Dynamic Entry List |http://www.postyourimage.com/view_image.php?img_id=m5p2KYuBb442dTq1211193501]to populate the row fields the Flex-table behaves normally as expected. Unfortunately with a Global Entry List it is not possible to dynamically assign a input value. Please also see [screenshot|http://www.postyourimage.com/view_image.php?img_id=U96V0zENCCyO3gA1211193157].
    Please also see the [issue summary image|http://www.postyourimage.com/view_image.php?img_id=06xti08tIEfely1211195178] I made to visualize the issue.  What I basically would like to know is whether this is a 'known issue' or not, or that it is an issue that can be fixed or whether there is an alternative workaround available ... I'm using Visual Composer 7.0 and the Portal is at SP 13.
    Many thanks,
    Freek

    Hi,
    you should be able to assign a dynamic value with global entry lists as well. If you say @myParam as dynamic value. VC will indicate in red letters, that the field @myParam is unknown. However, it will work, as long as @myParam is known in the form or table where you use the entry list.
    I have never heard of the problem that entry lists are emptied after "insert"-event.
    Kindes Regards,
    Benni

  • Eventing in Visual Composer 7.1 Enhancement Package 1

    We are running Enhancment Package 1 on 7.1 and the release note says that client side event is supported.  However I build 2 iViews one with Data Entry text iput and and a signal out and the the sencond one with a signal in and a text field.  I cannot get what I type in to the first iView to pass to the second.  Is there a simple example that illustrates that eventing is working in this release.

    I used the non WEB Dynpro event tested with the following results.
    For an iView that I had build with Visual Composer 7.0 and converted using the CE 7.1.1 converter tool I now see the following. In this case the evnt had the prefix urn: on it
    10:20:12 : urn:com.osisoft.pct.RtPM, AdhocTags, %3CParamsversion%3D%223%22%3E%3CRowParamname%3D%22%5C%5Cgsrtwebparts%5Ccdt158%22%2F%3E%3C%2FParams%3E, undefined
    This same iView on Visual Composer 7.0 delivered the following message using the tool in EP 7.0
    10:52:46 : urn:com.osisoft.pct.RtPM, AdhocTags, <Params><param name="Paramname" value="%5C%5Cgsrtwebparts%5Ccdt158"/></Params>, undefined
    For an iView that I created new with Visual Composer 7.1.1 and tried to use the same tool the tool did not catch the event and nothing was displayed in the log when the event name had urn: on it.
    I rebuilt and removed the urn: and now the tool picked up the event with the following log.
    11:12:29 : urn:com.osisoft.pct.RtPM, AdhocTags, %3CParamsversion%3D%223%22%3E%3CRowParamname%3D%22%5C%5Cgsrtwebparts%5Ccdt158%22%2F%3E%3C%2FParams%3E, undefined
    The XML has changed and the use of urn: is inconsistent between versions.
    Thanks for pointing me to this tool.
    The Web Dynpro version you suggest did not show anything so that is why I tried the non-WebDynpro.
    Gretchen

  • How to integrate Google api's in visual composer v 7.1 ehp1

    Hi all,
    I have tried the procedure given in the blog
    /people/jakob.diness2/blog/2008/04/10/visual-composer-demo--customer-and-google-api
    Where do i need to save the jsp file in the portal and how?
    I have also tried doing the same in the follwoing blog
    /people/vivekkumar.mishra2/blog/2008/03/03/visual-composer71-and-yahoo-maps--part-i
    But when when i deploy it i get an exception
    "java.net.MalformedURLException: Illegal character in fragment at index 33 "
    Error details:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Invalid URL=http://maps.yahoo.com/#q1=hauptstrasse 2,Neu Ulm,Germany. See nested exception for details. Please check whether the URL contains query parameters which are not allowed for security reasons. See SAP note 864842 for more details
    Can any one give a detailed solution?
    Regards
    Tekumalla

    Hi Deepa,
    I'm assuming you would like to embed a map into your application.
    In that case, you need to connect your data service (the one that holds the addresses you wish to present using the map) to an HTML view and map the data as follows:
    ="http://www.map-generator.net/map.php?name=spot&address="&@Address&"&city="&@City&"width=500&height=400&maptype=map&zoom=14"
    Where @Address is the field in your service which holds the address, e.g: 10 market st
    and the @City is the field in your service that hods the city, e.g: San Francisco
    Hope this helps
    Regards
    Yogev

  • Visual Composer 7.0 roadmap

    Hello experts,
    We have NetWeaver EP 7.0 installed with Visual Composer in our C&B and DEV environment. We haven't started developing with it yet.
    My questions to you is:
    What is the future of Visual Composer 7.0?
    My understanding is that SAP has put a lot of energy integrating Visual Composer into CE 7.1. This new version has significant changes compare to it's predecessor. Visual Composer for CE 7.1 seems to be the way to go if one needs to create applications based on existing data services. In short terms, both versions will coexist. Bbut in long terms...?
    Can anyone help me find the Visual Composer roadmap?
    Thanks a lot for your help,
    Nathalie

    Hi,
    This is a quote from the Visual Composer main page on SDN: (/people/jarrod.williams/blog/2009/09/14/whats-new-in-visual-composer)
    "_Visual Composer 7.0_
    In light of the progress made relating to parity between Visual Composer 7.0 and Visual Composer CE, our investment in Visual Composer 7.0 will be limited to maintenance after the release of enhancement package 2 for SAP NetWeaver 7.0. We are confident that with the provisions made for migration to Visual Composer 7.1 enhancement package 1 or Visual Composer 7.2 and the great feature set in Visual Composer for enhancement package 2 for SAP NetWeaver 7.0, our existing customers running Visual Composer 7.0 will enjoy the best of both worlds: the option to upgrade to Visual Composer 7.2 or to stay with the latest release of Visual Composer 7.0."
    I'll stress the last part, though VC on CE is a great version, staying with the latest release of Visual Composer 7.0 is also good, depending on your needs of course, for instance - the attractive Flash runtime which is currently exclisive for VC 7.0, the "Flash Components" feature that was entered on SP5 of 7.01 (and in 7.02) , which enables you to consume custom 3rd party flash components or Xcelsius controls inside Visual Composer,, which makes flash black-boxes easier to consume than in CE, .. etc..
    still - VC on CE of course has it's own advantages - the ability to consume clustered services, life-cycle management, it's intergration with the other CE components etc..
    and so if you'll find that VC 7.0 is not enough, you could always upgrade and migrate to the CE versions (7.1 or 7.2).
    bottom line - it's a win win situation.

  • Need to link 2 files, one with a numeric firld and on with an alpha numeric

    I need to link 2 files in my report by employee number. In the employee file it is an 8 character Numeric field like 1505087. In the GL File, it is an 8 character field like '01505087' I have done a TONUMBER on the employee number.  Where do I link these files? I have done it in my data selection, but it now takes hours to run the report. The report does work. Any suggestions for linking the files together?
    Thanks,
    Rick

    Hi Rick,
    Linking numeric and non numeric fields at report level takes long time because for each detail it has to process i.e convert your non numeric field to numeric and then link.
    To avoice this, try to use Add command for your non numerica table and convert the field to numeric in free hand SQL itself.
    Eg: Select fields..convert(non numeric to numeric) from table   // my convert syntex is not correct becasue i don't know what database you are using
    Now you get both tables with numeric fields and you can link both.  It will not take much time to retive records.
    Thanks,
    Sastry

  • Using LOV with Validation on the Numeric Fields results in Error

    Dear JHeadstart Team,
    During my work with lov I encountered another problem. I defined a lov and attached the lov to a numeric field and check the LOV for validation. Now when I use LOV using the LOV button it works fine but when I enter some numbers and then press tab the LOV was not shown correctly and resulted in the following errors and the worst thing is that you can not navigate to any other pages and all try to navigate to other pages results in errors too. When we put the same LOV on a string field (which is not desirable for us) it worked fine.
    It seems to me like a bug. Am I right? Is ther any solution or workaround for this problem?
    Thanks in advance,
    Navid
    16:31:29 DEBUG (LovItemBean) -Cleared value of item HrTrainingCourseSchedulesTitle
    16:31:29 DEBUG (LovItemBean) -Cleared value binding #{bindings.HrTrainingCourseSchedulesTitle.inputValue} of item HrTrainingCourseSchedulesTitle
    16:31:29 ERROR (ApplyRequestValuesPhase) -java.lang.ClassCastException: java.lang.Long
    javax.faces.el.EvaluationException: java.lang.ClassCastException: java.lang.Long
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:130)
         at oracle.adf.view.faces.component.UIXComponentBase.__broadcast(UIXComponentBase.java:1079)
         at oracle.adf.view.faces.component.UIXEditableValue.broadcast(UIXEditableValue.java:247)
         at oracle.adf.view.faces.component.UIXSelectInput.broadcast(UIXSelectInput.java:215)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:249)
         at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:307)
         at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:79)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at com.pooya.controller.jsf.PooyaAuthenticationFilter.doFilter(PooyaAuthenticationFilter.java:256)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:332)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.ClassCastException: java.lang.Long
         at oracle.jheadstart.controller.jsf.bean.LovItemBean.validateWithLov(LovItemBean.java:101)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
         ... 31 more

    Hi Navid,
    We ran into the same bug and have the next workaround for it:
    We extended the JHeadstart class 'LovItemBean' and we have overridden the method 'validateWithLov(...)' with:
      public void validateWithLov(ValueChangeEvent valueChangeEvent)
        Object newValue = valueChangeEvent.getNewValue();
        if(newValue != null && !(newValue instanceof String))
          newValue = newValue.toString();
          ValueChangeEvent newEvent = new ValueChangeEvent(valueChangeEvent.getComponent(), valueChangeEvent.getOldValue(), newValue);
          newEvent.setPhaseId(valueChangeEvent.getPhaseId());
          super.validateWithLov(newEvent);
        else
          super.validateWithLov(valueChangeEvent);
      }Next step is to use a custom template in your JHeaedstart Application Structure file for 'LOV_ITEM_BEAN'. In this custom template you should use your own class as 'managed-bean-class' instead of the default JHeadstart one.
    Now you can safely generate LOV with validation of number fields.
    Maybe something the JHeadstart can pcik up in the next release of JHeadstart :-)
    Hope this helps.
    Pascal

  • Changing width of a numeric field

    Hi,
    I have a table with numeric fields in the table cells.
    I want it to look like this:
    Item1 (numeric field box) %
    Item2 (numeric field box) %
    Item3 (numeric field box) %
    Item4 (numeric field box) %
    I can't seem to limit the lenght of the field from the right small enough to fit 2 characters, it snaps to the width of the table cell.  Then I want to put the % symbol after the field.
    You can move the field smaller from the left though.
    I tried to split the table cell, but when I select in the table cell, it just selects the numeric field and the options for splitting the table cell are grayed out under the table menu?
    Thanks!

    Somehow on your form it worked in another way than in mine.
    Put this javascript on exit:
    if (this.rawValue > 100 || this.rawValue < 1)
    {this.rawValue = null;}
    if (this.rawValue <= 100 && this.rawValue >= 1)
    {this.rawValue = this.rawValue / 100;}
    this one on enter:
    if (this.rawValue != null && this.rawValue <= 1)
    this.rawValue = this.rawValue * 100;
    this pattern on the first heading (or whatever it is called):
    num{z9%}
    and this pattern on the second:
    num{zz}
    If the user enters anything that is no integer between 1 and 100 it will delte the value. (You won't need to prohibit anything with the lenghts of the field.)
    Edit: If you want you can also add a error message which tells the user that the number he has to write into it has to be between 1-100.

  • Error in visual composer

    HI Friends,
    I downloaded "SAP NetWeaver 2004 Java Trial Version" from sdn and installed on my laptop. In <b>"Administration"</b> user there is <b>"pcd:portal_content/com.sap.gm.cnt/core/VCRole"</b> role assigned to user. When accessing http://localhost:50200/vc, I am getting error 404 not found, The requested resource does not exist.
    Can anyone please help me.

    Hello,
    do you get the login screen or only the blank page?
    I've searched the SDN for "Visual composer blank page" and found those 3 things:
    1. SAPNote: 954467
    +In Visual Administrator -> Services -> "HTTP Provider" -> Properties . Add the following to property Mime: {.htc,text/x-component}
    Close all open browsers and clean the client cache. Try to reload Visual Composer. If it still does not work, restart J2EE.+
    2. This thread -->
    Hope it helps.
    Regards,
    Norman Schröder

  • Dynamic Entry List doesn't work correctly on Visual composer  7.3

    Hi,
    Well I create two Dynamic Drop dow list box in the model of Visual Composer 7.3 and I Linked the two Dinamic drop down boxes ( i.e. drop down box "country" is linked with drop down box "state"), where the 2nd drop down is populated by the entries of the 1st drop down by the help of a web service.
    When i run the model and chose one item form the 1st drop down list, the 2nd drop down list work's fine but when i select again the 1st drop down list and change the item for another, the 2nd drop down list try to refresh the data and erase the descripcion of the item but don't erase the value of that item and when you select the 2nd again the value appears like another item to select..
    Has any one experienced this problem and can help on this?  
    Thanks in advance AllenXP.

    Hello,
    Could you please send me a simple model that demonstrates the case you are talking about?
    For your convinience I've create SAPMATS container. So you can upload the model example using this link:
    https://sapmats-de.sap-ag.de/upload/index.cgi?id=XTGM95R7EH199IIGMCWJ6QK43592SXT1Z9CVCQ57D7QI8XRS8F
    Thanks,
    Talia

Maybe you are looking for