Custom action in Visual Composer
Hello!
I have faced with one problem. I have executed the integration of BW reports and VC. I used "drop-down list" option for some characteristic in Input Form. I followed the guide: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/07134c67-0b01-0010-0493-b89287cf330f
The problem is following: For example, I choose one of value of characteristic in the full list of values and press Submit button. I will see the data and, for example, I want to change the value of characteristic and choose another value. But I will see in drop-down list only 1 value the previous one. When I reload page press refresh button in Internet Explorer I see the full list of values in drop-down list of characteristic.
Maybe it is possible to create Reset button? Which command I should write in custom action?
Regards, Iryna
Hi Suman,
If the RFC does not require any input parameter, there is no problem in this. Drag a start point from RFC and deploy your application. Can you able to get the result in drop down?
To get a list in a drop down from a RFC you can use 'Entry List' option in the properties of drop down.Check the below link for help to create a dyanamic entry list.
http://help.sap.com/saphelp_nw04s/helpdata/en/47/7ffaa80708199ae10000000a42189d/frameset.htm
Regards
Basheer
Similar Messages
-
Dynamic Actions in Visual Composer
Hi,
Can anyone help me with dynamic actions in VC.
I am trying to open different popups based on my selection in a Drill Down Field.
How can I do this?
Where can I find an example for using Dynamic actions in Visual Composer?Hi
Dynamic actions can be used to trigger actions when specific criteria is met. This can be used as a type of validation, checking if a specific field has been filled, to check if a user has permission to do a certain action. I have used it an it works in a simple model. I created a dynamic action using the following formula IF(@NUM1>1,'END','STORE') and then if the number was greater than 1 the application was stopped using an end point or data was stored using the STORE event and a datastore. You will get an error that the END and STORE events are declared but can not be raised, this will not cause a problem when you run the model.
Jarrod -
How to get user detail (Customer number) in Visual Composer
Dear All
I am developing a Sales Order Search application for Customers of my company.
Whenever customer logs in to the portal and access this application, he will get the information on Sales Orders created by him.
VC application should capture the customer number of the user and execute the BAPI.
I am not able to capture the customer number of the customer logged in.
In our portal implementation, customer number is a customized entry in Identity management.
Using User Data in VC is not helping me as I am not able to see customer number in it.
Kindly help.
Regards
Vineet VikramHi
It is resolved now.
Regards
Vineet -
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 -
Create a sequence of actions in the toolbar button in Visual Composer
Hi!
I've a problem with the toolbar buttons in visual composer. On a table, I would like to have one button which launch 2 actions. For example, I want to call an event (custom action) and after that I want to select a row in another table (system action, select).
It works fine when I create 2 buttons with the toolbar buttons but my wish is to have only one button with several actions (like a sequence of actions). Is it possible?
Thanks for any help!Hi Ronan,
I think you can achieve your requirement by creating the Wizard in SAP Visual Composer.
The following link provides the detailed steps to Create the Wizard in SAP VC.
http://help.sap.com/saphelp_nw04s/helpdata/en/88/fedb4269b2f340e10000000a1550b0/content.htm
Please have a look.
Thanks,
Prashant
(Please reward points for useful answer) -
Can we use custom RFC in creating models in Visual composer??
Dear Experts,
Can we use custom RFC in creating models in Visual composer??
If yes, kindly provide some documents or links which would guide me how to achieve it.
Warm Regards
Upendra AgrawalHi,
Yes,you can do it.
Configure the rfc and use like others Standard BAPI procedure.
[https://www.sdn.sap.com/irj/scn/wiki?path=/display/vc/connectivity]
Regards,
Govindu -
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 -
Navigate to another iView in Visual Composer
Sorry for the reposting
I am trying to configure navigation from one iView to another. I have going through many tutorials but to no avail.
The result of the steps below should be that the source iView is shown. When the submit button is clicked the value in the source_field should show up in the target iView.
However nothing happens when you click the submit button.
Please Help.
Here are my steps.
In Visual Composer
Create a new model.
Create a new package. (Drill into package)
Create an iView named source. (Drill into the iView)
Add an Form view: Form 1.
Add a Start connector and link it to the in port of the form.
Right click on the form and select Configure Element
Add a new Input Field: source_field
Add a new pushbutton: submit
Open the properties of the submit button
è Open Action Tab
è Select custom action
è Set custom action: TO_TARGET
è Click Close
Click and drag from out port of the form and select Signal Out
In the Select Output dialog
Select source_field
Right click the newly created Signal Out and select Configure Element
Change the name to Port
Click on the link from the form to the Signal Out icon
Change the Event Name to TO_SOURCE
You should see in the lower right panel
Input field Assigned field
source_field @source_field
Navigate back up to the package
Create a new iView named target
Drill into the iView
Add a Signal In connector. Configure the name to Port
Add an input field : source_field
Add a new Form view : Form1
Link from the Signal In to the in port of the form.
Right click on the form and select Configure Element
A field source_field will have been automatically created. Set the type of the field to Input Field.
Click and Drag from the out port of the form and choose End Point. Do not select a field for output.
Save the Model and deploy.
The result should be that the source iView is shown and when the submit button is clicked the value in the source_field should show up in the target iView.
However nothing happens when you click the submit button.
Please help?
Rick LairdHi Rick,
I reconstructed your model.
First I think, you have made one mistake (perhaps you just mixed it up in your description): The event name from the form to the Signal Out icon should be "TARGET_TO" instead of "SOURCE_TO" resp. the same name that you define on the custom action tab in the properties window of the push button.
However I could not solve your problem as described, but I put the two iViews in one Page (instead of a package) and then it did well.
I Hope I could help you at least a bit.
Regards,
Oliver -
New Button : Custom Action
Hi Experts,
i have a VC application which display Sales Order Information based on the Customer, Material & Sales Organization. There are two buttons submit & reset everything works fine. Now i wish to add new button validate with custom event like checking if entry has been made for all the 3 fields.
so i create a btnValidate & custom Action actValidate, where should i enter the logic of what should happen on actValidate ??
i am on NW CE EPH1 visual composer 7.1
Regards
PrashantHi Prashant
In order to validate the 3 fields (check they are not blank) using your new button follow the next steps:
1. For each of the 3 fields you wish to validate do the following:
Right click the field and from the context menu select Configure. In the Validation area of the Configure task panel u2013 where you set the validation rules and the validation behavior check the Required box (or set a specific rule in the Rules field) and change the Behavior to Severe (instead of Normal).
2. Right click your new button and from the context menu select Action...
After assigning your custom action to the button, in the Validation area of the Define Action Dialog Box (The right tab) of your new button - where you set the validation scope (none, Control, Element, Window) make sure this scope is set to Element (this is the default) and change the validation behavior to Permissive (instead of Normal).
I Hope this helps, for any further information feel free to continue the thread or contact me.
Also, a more detailed information about using the validation rules can be found [here|http://help.sap.com/saphelp_nwce10/helpdata/en/ed/5f05491f814bb08865213d29f36af5/frameset.htm]
Regards
Yogev -
Hi Experts,
Can anyone tell how to refresh the events ("SUBMIT") in visual composer.Where to set or see the event settings??
roshiniHi Roshni,
Can you explain in detail what type of event do you want to put on your form. Do you want to refresh the elements on your form by clicking some button?
About where to set the event settings, follow the following steps:
a) Select the outline of your Form and then click the Configure button in the task-panel
toolbar. The fields and controls in the form are displayed in the table at the bottom of the
task panel.
b) Click the Plus (Add) button at the bottom of the task panel. The New UI Control dialog
box is displayed.
c) From the Select control type list, choose Pushbutton and in the Field name field, enter a name. This creates a new control in your Form.
d) Right-click the button, choose Properties from the context menu and click the Action tab to define the event that is associated with the button.
f) Now if you want to submit the data entered in this form, you can set Action Type as System Action, and select the action from drop down as 'Submit Form'. Else you can define your own custom action by setting the Action Type as Custom Action and the defining your own action.
By the way, the if some event can be put on some UI element, it has to be defined in the same way, ie by going to the properties of that element.
See if this solves your problem, otherwise please explain in detail what event do you want to be put.
Bye
Ankur
Reward points if it helps!! -
How to use ENQUE and DEQUE BAPI in Visual Composer
Hi All,
We are planning to update employee Address through Portal for that one we did one BAPI which supports ADDRESS Change of an employye, through Visual Composer we developed the application and we integrated into SAP Portal but we are not able to update our records, then we found BAPI_EMPLOYEE_ENQUE and BAPI_EMPLOYEE_DEQUE, but we don't know how to use thease BAPI's in Visual Composer i mean how to make connection between out input form and thease BAPI''s and our custom BAPI's.
If any one having this experience please let me know.
Thanks in Advance.
Thanks and Regards,
Abhi.Hi,
Nice to see your reply, we got this error in R/3 it self, when we are trying to excuting SAP Standard BAPI we are getting this error "Employee/applicant is not locked yet". I think this is bug from SAP itself, do you have any idea about this one? is there any settings we need to do in R/3 for resolving this one or else is there any data we need to maintaine for our Employee Records.
Please resolve my issue.
Thanks in Advance.
Thanks and Regards,
Abhi. -
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,
NathalieHi,
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. -
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 -
How to show BPM Reporting values in Visual Composer
Hi everybody,
i add a Reporting Activity to my current BPM Process. My purpose is to show the report in Visual composer.
Unfortunately i don't know how to import the BPM Reporting Activity into VC?
Could anybody help me with a how-to-guide or a detailed description?
Best regards,
SidHi,
Helpful information on this topic:
The whole subtree: Performing Process Analytics
Some quotes from the help.sap.com documentation:
Real-time analytics enables you to report against an operational system without using a BW system. Real-time analytics allows reporting on a subset of both generic process data and process context data. When performing real-time analytics, data is consumed and reports are displayed directly in the Visual Composer of the local system.
Reporting data is provided as DataSources to VC and you use the VC BI Kit to display the data.
Discovering BPM DataSources in Visual Composer:
3. Choose: View -> Task Panel -> Search to search for BPM DataSources. The Search dialog appears.
4. From the Select provider dropdown menu, select BI Data Sources.
5. From the System destination dropdown menu, select BI (Sql) Portal.
...but per my understanding, in order to be able to select "BI Data Sources", because all BPM Data Sources can be accessed from this choice only, you need to have BW, and you need to configure the connection between your BPM and BW??
Also, your own custom BPM Data Sources can be created only with the "Reporting Activity" in NWDS, Process Development perspective??
Similar-helpful thread: Using Visual Composer from NWDS - CE as BI Data Source (BPM tables)
Regards,
David
Maybe you are looking for
-
Path direction in Oracle spatial network data model
Hi all, can any one help me how to implement path direction using oracle network data Model? We are using Oracle Spatial database. there is one feature called network constraint in Network data Model. but how to implement path direction of my Network
-
Uploading documents in KM repository
Hi All, Iam new to KM.got an requirment to work on KM API's as the requirement is i need to provide an interface to the user in that where he will upload the documents into km repository and that document should dynamically reside at the different fo
-
IPad mini - How to downgrade from iOS 7 to 6.1.3?
I have updated my iPad mini from version 6.1.3 to 7, and then 7.0.2. The apperance is amazingly new and elegant but the performance has gone down tremendously. Almost all applications run slower, more laggy, even facebook and safari. The screen is al
-
Sorting, timecode positioning, cropping bug, GPU acceleration, AU support
There doesn't seem to be a way to sort the items in the queue. I added 126 videos to encode and it is terribly annoying to look at them all as a huge bubble rather than a single line with disclosure triangle. There are no options for repositioning ti
-
Running a 2011 Macbook Air with Bootcamp (Win7). The Recovery HD disappeared from boot menu after installing Windows 7. The 650mb partition is still there (from Disk Utility "Show All Partitions") but cannot be accessed... What should I do if I want