How to disable a table UI element of Webdynpro for java
Hi friends,
I am having the following scenario regarding the table element.
I am having two buttons "createTask" and "EditTask" . in taskView
when i click the the create button the table should not visble and on click of the EditTask button the table has to visible with filled rows.
please help ful regarding the same ASAP.
thanks and regards
Ratnakar reddy
Hi Abhijeet,
I followed all the steps which you suggested.but the problem is at the time of binding the visibile property of table with the context attribute .
first i created the simple attribute of type visibility in the local dictionary and then created a context attribute in the view and bind the property of context attribute with local dictionary's visibility attribute which i have created in first step .
But i am not able to select the context attribute because it is asking like selecte the attribute type Vibsibility.
here only i am basically getting strucked
thanks and regards
Ratnakar
Similar Messages
-
Team Calendar UI element in WebDynpro for java
Hello Experts.
We need to create an application like TeamCalendar.While searching sdn i found this pdf
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e012e6a2-8d21-2a10-1bb8-d9b606f3474c
which says there is some ui called TeamCalendar or something like that in WebDynpro for Java but I'm unable to find it..Can anyone tell me where to find it?You can get the developer studio for the SAP NetWeaver Composition Environment (CE) 7.1.
Simply download it from the Downloads section - the first link is for CE :). https://www.sdn.sap.com/irj/sdn/nw-ce-downloads
In it you will find the development infrastructure and the DTR perspectives. for working with them see the CE documentation -> http://help.sap.com/saphelp_nwce10/helpdata/en/45/3c66688c604c2ce10000000a1553f6/frameset.htm
Points are welcome if it is useful
Koti Reddy -
How to disabled autocreate-tables?
Does any konw how to disabled autocreate-tables? oc4j standlone version 10.0.3 .
Modify application.xml file ,set autocreate-tables=false,Still create tables in database automatically.
Thanks in advanceDoes any konw how to disabled autocreate-tables? oc4j standlone version 10.0.3 .
Modify application.xml file ,set autocreate-tables=false,Still create tables in database automatically.
Thanks in advance -
How to disable the status icon in Skype 4 for Andr...
Dear Skypers,
How to disable the status icon in Skype 4 for Android phones?
The guide on this following support page not working anymore: https://support.skype.com/en/faq/FA12359/how-do-i-enable-or-disable-the-status-icon-in-skype-4-for-a...
Older version has the option to disable Skype Status and get rid of the Skype icon on Android status bar. But latest 4.4.0.31835 could not disable Skype Status in notifications settings. :/
Device: Google Nexus 4
Android: 4.3 JWR66Y
Skype: 4.4.0.31835
Please bring back the option to disable the Skype icon on Android status bar. This is the main reason I uninstall Skype. :/
Kudos to the team, the apps is really smooth and fluid to use. Would be nice if you guys are following the Android Design Principles and using Google Cloud Messaging for push notification to improve User Experience and battery life.
Kind regards,
/chrone
everytime i get ahead, i feel more dead.
Solved!
Go to Solution.
Attachments:
how to get rid of skype icon on android status bar.png 46 KBLong click on this notification a sub menu having field "App info" would appear goto App Info. You can goto there by "Manage Apps">"Skype" also.
Uncheck Option "Show Notifications" A dialog will open. Don't worry about notifications for now just click OK. Now the notification icon skype has also been removed.
Now simply check "Show notification again". After doing this you would get notifications but skype icon would not be shown in the status bar anymore.
Issue: this is just a trick you need to repeat this every time sign out and sign in again. Mostly you don't do that so no need to worry. -
How to create a table to use in webdynpro ABAP
Hi Guys,
Can anybody let me know how to create a table to use in webdynpro ABAP. I am new to ABAP. It would appreciable if i get useful answer. Thanks In Advance
Regards
RaviHi! You can use transaction code SE11. Please refer to http://help.sap.com/saphelp_nw70/helpdata/en/6c/f2934259a5c66ae10000000a155106/frameset.htm
Please note that table name should start with 'Y' or 'Z' - by SAP naming conventions object names starting with 'Y' and 'Z' are reserved for customer application development.
Please reward points if helpful -
How to disable the validity of a particular Role for 100 users, in a single
Hi
How to disable the validity of a particular Role
which is assigned to 100 users. (disabling the role of change the validity of the role )
at present am doing manually, by entering into each user and changing the validity of the role
Thanks.> How to disable the validity of a particular Role for 100 users, in a single ...
... shot?
Assign a reference user to the 100+ users and create events in the factory calendar which assigns and removes the role from the reference user only.
The downside is that it is not scalable for many of the same concepts at the same time, because a dialog user can at one logon time only have one reference user assigned to them.
Cheers,
Julius -
How to disable cache implementation in 8.1 SP6 for entity beans
How to disable cache implementation in 8.1 SP6 for entity beans
In our production environment, we want to disable cache implementation for entity beans. We are using weblogic 8.1 SP6.
Weblogic cache implementation has been causing many cachefull exceptions so we want that it fetches the data from database everytime instead of cache.Check the "max-beans-in-cache" setting in your weblogic-ejb-jar.xml. The cache full exception, means that a new bean could not be created because of this cache being full.
Nothing to do with fetching from the database directly.
If you really want direct fetches then do not use beans at all. Consider using direct JDCB/SQL calls (without a entity bean) to fetch huge data.
Let's again review your application based on the below explanation before making a decision on which configuration change to perform:
If you truly have many ejbs simultaneously enrolled in transactions, then yes, the cache must be big enough to hold all the instances.
Your cache must have a max size large enough to handle your peak simultaneous transaction load.
Also, try to ask the following query to your application developer. Does every user actually have to have more than one bean in the cache ? Are many of these values read-only reference values that are not updated ?
SOLUTION CHOICE:
1. If you are testing with more number of users simultaneously, then you will need to increase the "max-beans-in-cache" setting in your weblogic-ejb-jar.xml to match the load.
2. If you have few users but still seeing a lot of beans, then consult with your application developer and try to ask the above questions (Does every user have more than......) and based on that try to redesign/tune your application to make it an effective Entity bean model.
3. If you have queries where huge result sets are returned, consider using plain/direct JDB/SQL calls.
Arun -
How to disable chanllenging questions while user log in for first time
Hi All,
How to disable challenging questions while user log in for first time in OIM 10g and OIM 11g
also i need to know how to change the Oracle logo with custom logo in both versionsIn 11G:
To disable challenge questions at start up: http://download.oracle.com/docs/cd/E17904_01/doc.1111/e14308/system_props.htm#BABBDCJH (System Property Named: "Force to set question at start up)
To change logo: http://download.oracle.com/docs/cd/E14571_01/doc.1111/e14309/uicust.htm#CHDIFJEJ
In 10G:
Dig the documentation.
A suggestion, please go through the documents first as they have quite a bit of information.
HTH,
BB -
Basic TableUI element to Reset Data in WEbDynPro For Java
Hi Experts,
I am new to webdynPro for java . Can anybody plz help me out.
i wrote the following code to retrieve data from DB. which is working very much fine.
public void
onActionGetRecords(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
while(rs.next()){
tabstrip.comp.wdp.IPrivateSearchEmployee.IEmpDetailsElement elt= wdContext.nodeEmpDetails().createEmpDetailsElement();
elt.setSNo(rs.getString(1));
elt.setName(rs.getString(2));
elt.setPlatform(rs.getString(3));
elt.setPhNo(rs.getString(4));
elt.setCity(rs.getString(5));
wdContext.nodeEmpDetails().addElement(elt);
Now my problem is when i call this action its adding the rows to Table UI elements.
Can anybody please help
how to reset values in TableUI element when i click on reset button OR when i call onActionGetRecords(-----) methods,
Please help me .....
thanks and Regards,
Shashikiranhi,
if you want the data to be erased(reset)
in your code
tabstrip.comp.wdp.IPrivateSearchEmployee.IEmpDetailsElement elt= wdContext.nodeEmpDetails().createEmpDetailsElement();
elt.setName("");
elt.setPlatform("");
elt.setCity("");
wdContext.nodeEmpDetails().addElement(elt);
by this way you can reset all the values present in the table
and can you make it more clear for on action getrecords
or you acn use the remove method to remove the table element
wdContext.nodeXXX().removeElement();
thanks and regards
fazal
Edited by: fazal ahamed on Apr 2, 2008 4:10 PM -
Text elements in Webdynpro for Abap
Hi,
Can anybody explain me how to create text element in webdynpro for abap?
Regards,
SoumyaHi,
when you are in the component and that view, then click on menu->GOTO->TEXT symbols and maintain there.
You can access them through this coding
lv_str = wd_assist->if_wd_component_assistance~get_text( `016` ).
Regards,
Lekha. -
Basic TableUI element to Retrieve Data from DB in WEbDynPro For Java
Hi Experts,
I am new to WebDynPro for java.Can any body please help me out from this issue.
I am trying to display records from DataBase by Using Table UI element.
DBTable Contains 10 rows.
I have created a Node and Attributes(for every column) .
I am using JDBC code to retrieve data from database and assigning to Attributes.
But in Table UIElement its displaying only last record from database as first row in UIElement.
Its over writing previous rows.
Can any body please help me the correct procedure to retrieve data from DataBase.
Thanks and Regards,
Shashikiran.BHi,
Iterate through the result set object
populate the context node
Ex:Replace the context nodeName with that of yours.
ResultSet resultSet = stmt.getResultSet();
//Iterate through the resultset
while(resultSet.next())
//Create element of the context node
IWDNodeElement nodeElement = wdContext.nodeOrders().createElement();
//assign value from the database to the context attribute
//Replace attributeName with your attribute name
//Replace value with resultSet.getShort("<ColumnName>")
nodeElement.setAttributeValue(attributeName, value);
//Add the element to your node
wdContext.nodeOrders().addElement(nodeElement);
Regards
Ayyapparaj -
How to access(connect) BI Data in webdynpro for java applications
Hi ,
is there any way to access and display the BI data in portal using webdynpro for java applications like we did in Visual composer.
if not how to integrate the BI data in webdynpro applications ?
Regards,
GovinduHi,
Yes there are ways to do it. But may your scenario and the scenario for which I have done may differ.
You can use openhub to get the data in a flat file and then read it into weddynpro through a java service OR
You can use DBlink(which i have done).
Please refer the link below:
[Link|Data from BW to Oracle.;
This I have done in NW04s. Not sure whether a better solution is available in the newer release.
Hope it helps.
Regards,
Manoj -
How to start to work on MDM JAVA API by using webdynpro for java
Hi all
I have basic idea on MDM business package thru portal by using standard iViews.
now i am planning to work on MDM JAVA APIs by using Webdynpro for Java as UI.
1) can you please share the required documents on the same. how to start working on this by using MDM JAVA APIs in webdynpro for java
2) what are the JARs files are required and how to integrate those jar files into webdynpro for java application.
3) is there any SDN help on MDM JAVA API with webdynpro for java? . can you please send the link on the same.
4) can you please help by providing sample code on how to use JAVA APIs for retrieving,deleting,inserting and Updating the data in the database.
if anybody helps on the same then it is the great help to me.
points are always rewardable...
Regards
Suresh babuHi Suresh,
You can have the MDM JAVA API javadocs from the link
http://help.sap.com/javadocs/MDM/SP06P2/index.html
There you can see a package named com.sap.mdm.examples.The classes in it contains some examples using which you can start understanding the code.
You need to have MDM JAR files for it. And these JAR files to be used at build time can be added to the project thru :-
Right click on project-> properties->Java Build Path - > Add external JARs
At run time you can add them the reference in
Right click on project-> properties->web dynpro references->library reference.
Thanks
Namrata -
How can I read cookies in WebDynPro for Java
Hi,
in WebDynPro for Java I found a possibility to to get a "request-object" like the standard "HttpServletRequest-object"
IWDProtocolAdapter protocolAdapter = WDProtocolAdapter.getProtocolAdapter();
IWDRequest request = protocolAdapter.getRequestObject();
debugEnabled = (request.getParameter("Debug") != null);
With this request-object I can read request-prameters but I couldn't find a possibility to get cookies from the request.
There is no method like the "getCookies().method" in the HTTPServletRequest-Interface:-((
Has anybody an idea, how I can read cookies in WebDynPro for Java ?
Regards
SteffenHi,
This is the latest update I could look for regarding cookies and webdynpro.
Panic - WebContextAdapter is depracted - no more cookies now?
Regards,
Harini S -
How to use BAPI in webdynpro for java application
Hi all,
Please help in getting started with calling a BAPI in a webdynpro for java application. I have got only the content needed to call a BAPI in a webdynpro for abap application but not in java. Kindly provide me some documents if possible.
Thanks in advanceHi ,
U have Created One Bapi u want to work with web Dyn pro for java Application Right .
U need the Following
1) NWDS (Netweaver Devloper Studio )
2) jdk1.4 or Above installed in your system .
After Installation of NWDS .
1) Just Take J2EE Enginee Details
a) Go to Window -> preferences -> J2ee Enginee - > give ur port number , Host name Details . and click finsh .
Go To Web Dyn Pro Perspective Click onj2EE engine .
Click On Refresh U will see Green Colour button .
Now ur Ready to import Ur BAPI .
1) Go to File -> New -> Project - > Web Dyn pro Project -.
Give Name , pkg Name Click On Finish .
2) Expand ur project hirarchy -> go TO Application -> Right Click -> Create Application - > Give Application name and Pkg name -> Click on Finish .
3) Now ur View And Controller Are Created by Default .
4) Go to Model-> Right Click on it-> Create Model -> Give Model Name & Pkg name Should diff from Application pkg the Click On Next
a) Here u have to Two JCo Destination Name Like Model Data And Meta data & R/3 System Details like System Number , Host name Etc -> then Click on next .
b) Here u will text filed where u want to search for ur Required BAPI . Type ur BAPI Name Click on Search . Ur bapi will be displyed In Down . click on Next .
c) Now Ur model is Importedint into NWDS .Map ur model data To Controller and Controller Element to View Elements .
After ur Model .
Go to -> Project Name -> Right Click -> go to -> Deploy New Archive .
after wards u have to go Apllication -> Right click -> deploy and Run .
ur output will be displyed thru Browser .
Thats it
Regards ,
venkat
Maybe you are looking for
-
The strange thing is that some of these said photos with an error message have a normal thumbnail and can be opened fine, but the others (most of them) just have an empty space in the thumbnail as if the image can't be found. I tried to Locate Refere
-
Assignment of vendor to purchasing organization
Hi All, We are on SRM 5.0, classic scenario. In our test system, I replicated vendors some time ago. Now the backend has changed and I replicated some new vendors. Now, during shopping cart creation when when I try to assign source of supply, only fe
-
How to regenarate chat history?
Hi did is Chaitanya I m using Skype last from 8 years in xp2 ,I phone(iOS) windows 8 n I have not saved r back uped any history. . how can I get my chats back plzz help me...
-
Is there any way of finding pictures which I have not allocated into albums? (i.e in the library, but not in any album. thanks MST
-
Failures with windows security requirements and binaries installed
We are in the process of getting our application certified for Windows Server 2012 for Gold certification and running into the following 2 issues: 1. Failure for "Applications must comply with Windows security requirements". Looks like the MPR tool i