Resetting fields in Visual Composer
Hi experts,
My requirement is, depending on the field value, I should change the color of the text. I could change the color of the text but i have to reset the field before displaying next value.
Ex:
In a form one field and a button is there.
1.If I enter the value as "Green" and press the button then it should display the text in Green color
2.If I enter the value as "Red" and press the button then it should display the text in Red color
The problem is, whenever I enter the value and press the button it shows the previous color. But if i put another button and reset the field it is working fine.
But, I should get the result in single button click(i.e. i should reset the field and change the color).
Valuable results will be awarded points.
Thanks in Advance
suba
Hi Suba,
maybe this wiki entry helps:
<a href="https://wiki.sdn.sap.com/wiki/display/VC/Resettingfield">https://wiki.sdn.sap.com/wiki/display/VC/Resettingfield</a>
Best Regards,
Marcel
Similar Messages
-
Default Value in Numeric Input Field in Visual Composer Application
Hi All,
I have developed a visual composer application which has a numeric input field for Hours.
It is mapped to a backend module.
We are using portal 7.31
The problem is that the deafult value of this input field is "0", but the rquirement is to display as "0.0"
The functionality has been tested with input values in decimals and works fine. The problem is when the screen first populates, that field should show "0.0" .
Please advise.
ThanksHi Soumya Chanda,
I don't know of an agreeable way around it. You could have a textual input, but then it doesn't have the numeric control behavior, plus you need to handle incorrect typing (alphanumeric notes).
Sorry! -
Adding action for functioning Dropdown fields in visual composer iview
Hi,
I develop a application in Visual composer 7.0. I want to convert the input field in drop down for selecting the different values. I can change the same by selecting the particular input fields in design screen. But I not able to specify the values, Action for the drop down. Can someone explain how to add the Values/Action for functioning the drop down field in the visual composer iView?
Thanks,
Kundan.Hi,
you need to configure the element to be a drop down list instead of an input field:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/78bdc557fc199ae10000000a42189d/frameset.htm
Regards
Anja -
Adding action in Dropdown fields in visual composer iview
Hi,
I develop a application in Visual composer 7.0. I want to convert the input field in drop down for selecting the different values. I can change the same by selecting the particular input fields in design screen. But I not able to specify the values, Action for the drop down. Can someone explain how to add the Values/Action for functioning the drop down field in the visual composer iView?
Thanks,
KundanHi Babu,
You want to populate the Drop-Down list dynamically or based on input field value you need to populate a Drop-Down list.
Regards,
Nivas209
Edited by: Nivas209 on Jan 3, 2012 2:53 PM -
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. -
What is new in Visual Composer 7.0 (EhP 1)
Dear Modelers,
You can have a look in the following blog in order to get the information about what is new in the SAP NW Visual Composer 7.0 Enhancement Package 1
What's New in Visual Composer - Enhancement Package 1 for SAP NetWeaver 7.0
Hope you find this information useful and have a nice modeling
Kind Regards,
LuisCreate new Text tab in fields of Table & select Type as Date in VC or use DSRT date function
-
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,
FreekHi,
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 -
Create a Table in Visual Composer 7.0
Is there a way to create a custom table, as part of the model, where you can define some custom fileds, then have users add, delete or update those table fields from a form? Similar to how you would use MS Access?
Thanks
JohnHi John,
You can add, delete or update the table entries from a form using system actions in visual composer. But you should create a form manually and also need to make buttons with system actions addrow, deleterow etc,. to set the system actions.
Regards
Basheer -
Date type is not captured in Visual composer 7.0 using SQL server as DB
Date type is not captured in Visual composer 7.0 when using SQL server as DB, and field type is "SmallDateTime" in DB.
Create new Text tab in fields of Table & select Type as Date in VC or use DSRT date function
-
How do I write data back to DSO in visual composer
I have created a model in visual composer that queries on a write-optimised DSO in BI. Basically I have created a form that lists the all the fields (like Quotations,Materials, plants) in vc.
The business requirement is that the users should be able to be create or change the data in the fields through this form and then I should be able to write back the data(material and plant) back to the DSO.
But I dont see any of the services/RFCS/BAPIs listed under SAP_BW system in Visual Composer like they are listed under R/3 systems . By services/BAPIs, I meant APIs like RSDRI_ODSO_MODIFY_RFC or BAPI_ODSO_READ_DATA_UC.
What else do I need to configure to see these RFCs in VC.
Please suggest.
Thanks a lot in advance!Thanks a lot prachi for you reply,
Our SAP_BW system is already configured as 'Like R/3 system'.My admin gave my userid read/write permission under systemAdmin->permissions in portal. But I am still not able to view any BAPIs under SAP_BW system in Visual Composer.
Can you please tell me where can I configure my user to have 'View system' permission and does this need to be added in SAP_BW under System Landscape in portal ? -
How to call a BAPI from Visual Composer
hi,
I am new to Visual composer. can some body give me step by step information of calling a bapi or RFC from VC.
Thanks in advance,
GopiHi Gopi,
Steps involed for calling RFC/BAPI from VC
1. Choose Model->Select Data Services.
(Alternatively, click the Data button in the task panel toolbar.)
2. In the Portal field at the right end of the main toolbar, enter the URL of the portal from
which you can access the back-end system used by the iView.
For example, you could enter: http://<yourportal>:50000/..
3. Click the traffic light icon to the right of the Portal field. The portal Welcome screen
appears.
4. Log on to the portal as a user that exists in the connected back-end system, or which is
mapped to a user of that system. Click OK.
Once a connection to the portal is established, a list of system aliases defined in the
portal system landscape appears in the System drop-down
list.
From the System drop-down list, choose the SAP system that contains the function module.
6. Under Search SAP System, click the Search tab and in the Name field, enter the search string: <RFC/BAPI name>. Then click Search (at the bottom).
5. A list of function modules matching the search string is displayed.
7. Drag the function module/bapi from the Data task panel into the
workspace: The data service is added to your model.
8. Periodically save your work. To do so, choose File->Save Model.
Finally test the iview in VC.
In the workspace, drag your mouse from the Input port of the data service, <inputform> and dragn your mouse from the outut port from the data service <tabelview and etc..>
or
Go through the this documentation...
http://help.sap.com/download/netweaver/nw04/visualcomposer/VC_60_UserGuide_v1_1.pdf
Thanks,
Suriya. -
How to use Google Maps by Visual Composer?
Hi all,
I'm creating some simple applications by Visual Composer in which I wanna use a Google Maps in VC,
and i have now successfully got to the STREET, POSTL_CODE, CITY and COUNTRY came from the BAPI.
(i am trying to use the Bapi_Customer_Getdetail2.)
but,i didn't get how to connect Table View and Html View.
I have already checked the below links. but i fail to understand how to do it.
Re: Google Map and VC
Help on google maps
https://wiki.sdn.sap.com/wiki/display/VC/Using%2bGoogle%2bMaps
I have many unknowns, could you tell me how to use Google Maps by VC.
(* About Our VC viersion : SAP NetWeaver Visual Composer EHP1 SP2 for SAP NetWeaver 7.1)Some thread are say that create the URL fields. like the below messages.
The STREET, POSTL_CODE, CITY and COUNTRY come from your BAPI. The other variables url* are default values to create the URL that is requiered for walweb.
URL1 'http://walweb.nl/walweb/picsfromspace/maps.php?LanguageRadio=dutch&AddressInput='
URL2 '&ZipcodeInput='
URL3 '&StateInput=&CitycodeInput=&CityInput='
URL4 '&CountrySelect='
URL5 '&ZoomSelect=17&PoiInput=hidden&PoiButton=Interessante+Punten'
Where should I create those fields? at the Table Vies?
and also i dont get where should i set the below. is that setting at the [[Map Data]]-[[Assigned Value]]??
STORE@Url1 & @STREET & STORE@Url2 & @POSTL_CODE & STORE@Url3 & @CITY & STORE@Url4 & @COUNTRY & STORE@Url5
best regards,
Masahiro Minagawa -
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 -
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
TekumallaHi 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
Maybe you are looking for
-
Can I use a G3 iMac hard drive as an external on my Macbook?
Hopefully this didn't post twice, the forum is giving me problems when I hit post. So sorry if this is posted twice. Does anybody know if I would be able to use the internal hard drive on my G3 iMac (333mhz, OS 8.6) as an external on my late 2009 Mac
-
SQL Server 2012 PDW - Controling the physical location of a data partition
In PDW for distributed tables, is it possible to know/control which partition will reside in which storage node? Assuming I have 4 compute nodes, and I have data with partitions A, B, C and D (all tables will have only 4 partitions), can I design in
-
How many JRE versions necessary?
Hello! Although, I did some programming 2 years ago, I recently have not done any programming at all. However, my "Java Update" program keeps downloading a new JRE every other month. So now I have plenty of JRE's: jre1.5.0_03 jre1.5.0_06 jre1.5.0_09
-
Hello, I'm trying to generate a memberset for an evdre report. My syntax is : YEAR="2008" OR (YEAR="2009" AND PERIOD="JAN") This is just a simple example for the time dimension. This used to work. But now in SAP BPC 7 SP2 patch 1 this is not working
-
I just did a restore to my new iPhone 6 from iTunes and now my phone will not turn on at all. How do I get it to re-start?