How to hide a transparent container and its fields in webdynpro abap
Hello Friends,
I am trying to create a view where i want to show some fields based on some other field.
What i exactly need is When i enter some data in 1 input field .
Corresponding to that input field few text fields wud be opened automatically in the same view.
No Pop-ups allowed.
What i am doing is !!
i have created another Transparent container for my text view fields.
But i am unable to hide this fields..
Kindly help..
At the runtime..
After entering the value in the input field..
This transparent container should become visible with the textview fields...
Gaur Mayank
Hi,
Create A Context Attribute (Say Visible_Hide )of Type WDUI_VISIBILITY with initial value as 01.
Goto your Container, Bind the Visible Property with Above Created Attribute(Visible_Hide).
In the Input Field,Use the OnEnter Event and Set the Value to Visible_Hide as 02.
Then the Container will be Visible.
Thaks.
Uma
Similar Messages
-
How to create hyper link to normal table field in webdynpro ABAP
HI Experts,
I am working on one Webdynpro Application where I am displaying Vendor information in normal table.
But I wanted to make LIFNR field of the table as Hyper Link and when I click on that particular LIFNR I wanted navigate that to XK03 transaction. Please help me out from this...
When I searched in SDN I am geeting examples to create Hyper Links in ALV but I wanted to create that for normal table field.
Thanks
BasanagoudaHi,
As you kept the Link to action.. Go to the Outline of the view and navigate to the to the newly inserted Link to action UI element in the View. Now see the properties window. In the properties you will find the category Events and in this you will have OnAction. You can create a new on action by clikcing on the button which is next to the input filed.
This will create a method and in this implementaion you can write the logic to navigate to the Transaction.
Regards,
Raju Bonagiri -
Drag a container and its children
Hi,
How do i drag a container and its children?
I see you can drag something and its parent, but i don't see how you can get the child from the draginitiator.
ThanksI've had a chance to play with this now and I had a pop at using the JLayeredPane, throwing a component to the top which is a MouseListener and KeyListener and consume()s all the events. Works fine for the most part, until there's a JButton within the component - they manage to carry on handling events despite the consuming component over the top of them. Hover over them and they repaint, they're clickable, and so on. Hmm.
-
Uploading and downloading files in webdynpro abap
how to up load axl file and download file in webdynpro abap application .
Hello Pradeep,
you might see the following documentation for [Download|http://help.sap.com/saphelp_nw70/helpdata/EN/09/a5884121a41c09e10000000a155106/frameset.htm] and [Upload|http://help.sap.com/saphelp_nw70/helpdata/EN/b3/be7941601b1d09e10000000a155106/frameset.htm] containing also names of Web Dynpro Components as reference.
Best regards,
Andreas -
How do I recover a .app and its file contents after osx "click and hold" "hit x button" delete.
Accidently deleted rapidweaver and all of its content and paid plugins with it. all contain in its package contents. how do i restore. I tried using recovery software.It is possible that you inadvertently corrupted the file while doing the edit.
But it could also be possible that you moved the file? For iMovie to see it, it should be in the Movies/iMovie Projects folder. -
How to get Portal Login User and Its Related BP in CRM?
Hi,
An ABAP Webdynpro program is called in CRM from Portal user by a portal link. How to get the user ID and its related BP in CRM? Thanks!
The portal is integrated with ECC, and all users and BPs are maintained in ECC then replicated to CRM.
Best regards,
HaoHi,
Try the below code
IUserFactory userfact=UMFactory.getUserFactory();
IUser user=userfact.getUserByUniqueName(request.getUser().getUserId());
String usrid=user.getUniqueName();
And also you can get the groups assigned to user by using the below code
Iterator groups = user.getParentGroups(true);
while (groups.hasNext()) {
String groupstr = (String) groups.next();
IGroup g = UMFactory.getGroupFactory().getGroup(groupstr);
response.write("Group name "g.getUniqueName()"<br>");
Regards
Suresh -
How to pass data between JDialog and its parent window ?
Hi,
I am new to swing. I want to know how pass data between a JDialog and its parent window.
If you have any information please reply with example code.
Thank Youhi Encephalopathic ,
I was looking for something like as it was given in the link provided by you.
Thank you for reply It really helped me. -
How to move some xml element and its content to a new frame
Hi All,
How to move some xml element and its content to a new frame.Hi Chinnadk,
Sorry my code its comment some lines. Now only I check the forum thread, you just try one more time.
#target InDesign;
#include "/Program Files (x86)/Adobe/Adobe InDesign CS5.5/Scripts/XML Rules/glue code.jsx"
var myDoc = app.activeDocument;
//____________________ XML RULE SET
var myRuleSet = new Array (new margintag);
with(myDoc){
var elements = xmlElements;
__processRuleSet(elements.item(0), myRuleSet);
function margintag(){
this.name = "margintag";
//this.xpath = "//margintag[@type='mn2']";
this.xpath = "//margintag";
this.apply = function(myElement, myRuleProcessor){
with(myElement){
app.select(myElement);
try{
var myPrePara = app.selection[0].paragraphs[-1].parentTextFrames[0].paragraphs.previousItem(app.selection[0].paragraphs[-1]);
if(myPrePara.characters[-1].contents=="\r"){
myPrePara.characters[-1].remove();
var myTextframe = myElement.placeIntoInlineFrame(["7p9","6p"]);
myTextframe.appliedObjectStyle= myDoc.objectStyles.item("MN1");
myTextframe.fit(FitOptions.FRAME_TO_CONTENT);
myTextframe.parentStory.paragraphs.everyItem().appliedParagraphStyle = app.activeDocument.paragraphStyles.itemByName("MN1");
}catch(e){}
app.selection = null;
return true;
thx,
csm_phil -
I went in you tube and watched videos on how to fix my headphone jack and its not the headphones cause when I look inside I see this little white costing in there I think that's the problem how can I fix it
- Try cleaning out/blowing out the headphone jack. Make sure that y do not leave any foreign material or leave anything in the jack. Try inserting/removing the plug a dozen times or so.
Try the following to rule out a software problem
- Reset the iPod. Nothing will be lost
Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup
- Restore to factory settings/new iPod.
- Make an appointment at the Genius Bar of an Apple store. Seems you have a bad headphone jack.
Apple Retail Store - Genius Bar
If not under warranty Apple will exchange your iPod for a refurbished one for this price. They do not fix yours.
Apple - iPod Repair price
A third-party place like the following will replace the jack for less. Google for more.
iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
Replace the jack yourself
iPod Touch Repair – iFixit -
How to hide to left arrow and to right arrow on Navigation panel
Hi frineds:
could you please tell me how to hide to left arrow and to right arrow on Navigation
panel ?
I guess they should be Incremental Expand Icon Collapse Icon in Ethem editor.
thank you very much .
Edited by: jingying Sony on Jun 22, 2010 9:07 AMHi,
Navigate to the Navigation panel of the selected Theme and make the width as 0px 0px 0px and also upload the blank image with the same background color.
Thanks & Regards||
Ashok Kumar M. -
Hide values in URL, passing data between two webdynpro(ABAP) applications.
Hi
When transferring the data between two webdynpro applications, How to hide the values in URL.
Example : First application is using for login
Second application is for some transactional screens.
Based on first application login data second application should trigger. When passing the user id and password thru URL every one can see the user name and password at internet explorer, so how to hide that user name and password in URL.
Thanks
Murali Papana.Hi Lekha,
Thanks for your reply, but I could not find parameter like visibility, andi found HAS_TOOLBAR but no use.
I set it like
CALL METHOD lo_window_manager->CREATE_EXTERNAL_WINDOW
EXPORTING
URL = 'http://*****:8000/sap/bc/webdynpro/sap/Y1app1/?sap-language=EN&sap-client=200&sap-user=1104&sap-password=abcd'
MODAL = ABAP_FALSE
HAS_MENUBAR = ABAP_TRUE
IS_RESIZABLE = ABAP_TRUE
HAS_SCROLLBARS = ABAP_TRUE
HAS_STATUSBAR = ABAP_TRUE
HAS_TOOLBAR = ABAP_FALSE
HAS_LOCATION = ABAP_TRUE
RECEIVING
WINDOW = lo_window.
Thanks
Murali Papana. -
How to insert the image or logo into the table as a field in webdynpro abap
Hi Friends,
Please tell me how to insert the image or logo into the table as a field in webdynpro abap.........Hi Alagappan ,
In your view layout you take table UI element and then you bind it with some context nodes.
The attributes of your nodes comes as a field.
Now in these fields you can set various properties and image is one of them.
Go to ->
1. View Layout -> Right Click on ROOTUIELEMENTCONTAINER -> INSERT ELEMENT -> TABLE
2. Right click on table -> Create Binding.
Here you have to bind it with the appropriate context node.
You will get two properties here
a- Standard Cell Editor :- ( make it image )
b- Standard properties :- ( If required set image properties ).
3. If you want put image from out side then import it as a mime object and set the source of your table field ( used as a image )
also have a look :-
[Image Properties|http://help.sap.com/saphelp_nw04/helpdata/en/f3/1a61a9dc7f2e4199458e964e76b4ba/content.htm]
Hope this will solve your problem.
Reply if any case of any issue.
Thanks & Regards,
Monishankar C -
How to hide "View in Browser" and "Edit in Browser" from ECB injected by Office Web Apps Feature
Hi,
i am currently using custom_AddDocLibMenuItems to implement a custom ECB menu for my document library. I need to activate Office Web Apps. My custom_AddDocLibMenuItems has two items
-> custom dialog
-> open in office web apps
After activating the Office Web Apps Feature at the SiteCollection Level, this Feature "injects" in my custom menu the following
additional menu items:
-> View in Browser
-> Edit in Browser
Its curious to see that, cause implementing the js function custom_AddDocLibMenuItems with
return true should be the way to impolement a custom ECB menu without having other features/solutions injecting things in this menu!? Or did i misunderstood something here?
My question is: How can i prevent this ...
a) without deactivating the Office Web Apps Feature
b) without modifying the core.js
I hope someone can help!
Best Regards
Bog
Developers Field Notes | www.bog1.deMay be this can help
http://extreme-sharepoint.com/2011/10/29/hide-menu-ecb/http://pholpar.wordpress.com/2011/07/24/hiding-ecb-custom-actions-based-on-specific-list-properties-using-the-client-object-model/Or tryhttp://stackoverflow.com/questions/13795858/how-to-hide-view-in-browser-in-document-library-in-sharepoint-2010-using-javascr $(document).ready(function(){
$('.ms-MenuUIPopupBody').live('blur', function() {
var elm = $("div.ms-MenuUIULItem a:contains('View in Browser')");
elm.remove();
$("div.ms-MenuUIULItem a:contains('Edit in Browser')").remove();
It is hiding menu only on focus or blur or mouseover
I wants it to be hide on load AS soon as i Click on "V" option on right side of document it should hide View in Browser and Edit in browser
When I click on V option ![I wants As soon as i Click on v option right side of test it should hide view in Browser and edit in browser][1]
If this helped you resolve your issue, please mark it Answered -
Programatically hide a transparent container
Hi Experts,
i am using select options in my application.
i have made two block for the selec options (transparent container 1 and transparent container 2) by using add_block method of select option.So i cant do the normal context binding as containers are created programatically.
Now i have a requirement to hide one of the block on click of an event so that the select options inside is also hidden.
DATA lo_ui_element type ref to CL_WD_UIELEMENT.
DATA lo_container TYPE REF TO cl_wd_uielement_container.
DATA lo_transc TYPE REF TO cl_wd_view_element.
" get root container
lo_container ?= view->get_root_element( ).
*" get button reference
lo_transc ?= lo_container->get_child() // Get the tray which container the view container of select options.
then inside this i have the transparent container which has the selec options.
Please help
TashiHi Tashi,
1. Add your Select-Options screen elements(Your blocks) to UI View Container element and bind the context to WDUI_VISIBILITY. Set the visibility depends on your requirement.
2. You have REMOVE_SELECTION_SCREEN_ITEM method from Interface IF_WD_SELECT_OPTIONS to remove the fields at runtime.
Please follow the below link
Creation and Deletion of selection screen elements based on user action
Hope it helps you
BR,
RAM. -
How to remove a font file and its mapping from XML Publisher Administrator
Hello,
I am trying to remove a font file and its mapping from the XML Publisher Administrator. If this is not possible, is there a way to disable it?
The reason why I am asking this is because we just got a new check printer, and I was able to print just fine. However, the MICR font was not coming up properly on the check, so I went ahead and configured the font with the XML Publisher Administrator. Now my check output is coming up blank after running the XML report publisher program. The only change I did was to upload the MICR font and mapped it.
My template and rdf report file are working fine in another environment we have, so I know that's not the problem.
Any help is appreciate it.
Thanks.This is how you do it
Font
DELETE FROM xdo_lobs
where lob_code like '<Font_name>';
Font Mapping Set
DELETE FROM xdo_font_mapping_sets_TL
WHERE mapping_code like '<MAPPING_CODE>'
Maybe you are looking for
-
When I update my iPhone 4S to iOS six Facebook does not work properly the newsfeed doesn't load properly and I can never see what's going on all I see is a picture of an antenna and a little thing underneath it says no new stories when I reset my pho
-
How to remove several versions of firefox remotely
I have several versions of firefox, i want to uninstall all of them to install from sccm the last one in all computers. is there a msi or an universal uninstaller? Thans a lot,
-
Not sure what this means, but how do I fix this to continue installing updates?
-
Issue with Japanese character encoding
Hi I have a Web Service client (in AXIS1.4) which calls a web service with some data, this data has Japanese characters, When i call Web Service in AXIS 2.0 the Web Service gets proper Japanese characters, but when i call Web Service Developed in JCA
-
Note for FAPP column not allowed
Dear All, We had this error message " Note for FAPP column not allowed " during execution of appraisal form. Upon debugging, we found out objective setting entered has been truncated and updated into Final Appraisal column where this column has been