Positions of elements in Web Dynpro
Hi experts!
I'm trying to get to know Web Dynpro a little bit better, but now I don't know what to do...
I'm building elements on a view dynamically. I'm adding a transparent container and then I want to add elements (buttons ecc). I give the container the Matrix Layout, but I want to define the postions of my elements-like a textview on the left side and a button on the right side. Now my result is that the button on the right side is far more on the right than the other transparent containers I am adding later...
Can somebody please advise me how I can control the postions of these elements better?
Thanks in advance!
Points will be rewarded for helpful answers!
Felix
Hi,
have you tried to set the button in a seperate container?
else you can maybe set your main layout type to gridlayout (to place the containers in)
and later use the matrix only within the containers, that way the containers on the
right side are always aligned (when you set stretched horizontaly eq to abap_true in your gridlayout)
when you want a container to be filling more than one column, you can play with the colspan
grtz,
Koen
Similar Messages
-
Ticker UI Element in Web Dynpro
Hi All,
I have a requirement to display dynamic horizontal scrolling text, (like a ticker). The text is dynamic depending on which section of the form the user is current in and is retrieved from a RFC call.
I noticed there is no ticker UI element in Web Dynpro like there is in Visual Composer.
I'm using NWDS 7.0.18.
Can anyone suggest a workaround? Is Iframe an option and if so, how?
Thanks in advance.
KHi anuradha ,
I think it is not possible to convert xls file's xtring to a propert string format.
only .csv fromat file will give you the proper string when converted from xstring to string.
thanks
sarbjeet singh -
Unable to download file from FileDownload UI Element - Java Web Dynpro
Hello Experts,
I am facing a strange issue.Scenario is:
I created an java web Dynpro application (Please note that it is just a standalone WD app, not integrated in portal) with just one FileUpload UI Element ,one FileDownload UI element and one button (for triggering an action).
I browse a file (e.g. text,pdf,doc etc.) and click on button. It uploads the file and when I click on download, there are two cases:
1) Simply click on download does not downloads the file and shows error: "Unable to download <file name> from <server name>. Unable to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later." Though it is opening the file,showing the content.
2) I opened that portal URL in a new tab in same session and logged in with a portal user. Now if I click on download link of same WD app opened in different tab of same session, it downloads the file without any error.
I am using portal 7.0
Can somebody point what's going wrong with case 1?
Helpful pointers will be appreciated.
Thanks,
KirtimanHi Sid,
I did not gave any authentication of WD app as it is anonymous app. There is no parameter set in application properties.
As I run the app, it is showing the initial screen with UI elemtns and till upload works fine,.It has to be an anonymous app, so cannot ask for credential from user.
Thanks
Kirtiman -
Adobe Library Elements in Web Dynpro
Hi,
I cannot see the Web Dynpro tab elements under the library palette, even though I have defined the check and submit actions for the interactive form.
My NWDS is SP12, and Adobe Reader is 7.0.5. Can anyone point me in the right direction?
Thanks,
ManikHi Manik,
Close your NWDS and then open once again. There were some problems like this. When you restart your NWDS such problems disappear.
Regards,
Bhavik -
Disable Technical Information for UI Element in WEB DYNPRO ABAP
Hi expert,
I want to disable Technical Information for UI Element in my web-dynpro application i am alredy disable in user setting by parameters WDDISABLEUSERPERSONALIZATION by i want to disbale other two options 1 Display quick help.
2 More field help.
KINDLY GIVE ME SUTIABLE SOULATION.
REGARD'S
VikashHi Vikash,
Check this thread, may be you'll get some clues from here.
[How to restrict right click to show user setting in WebDynpro ALV?;.
Regards
Manas Dua -
InteractiveForm UI Element in Web Dynpro Java - Image not displayed on form
Hello Experts,
Using: NetWeaver Developer Studio 7.0.1_06; Adobe Livecycle Designer 8.1.
I have an image "image.png" in my src/mimes/components/com.mm.InteractiveFormComp folder within my web dynpro java project.
I load the image into my context in wdDoInit method in the comp controller:
wdContext.currentContextElement().setImage("image.png");
In the interactiveform I have an ImageField on the form and have set its properties as follows:
Field - URL = http:[host]:[port]/webdynpro/dispatcher/InteractiveFormComp/src/mimes/components/com.mm.InteractiveFormComp/image.png
Field - Embed Image Data = "checked"
Binding - Default Binding = Image
However, no image ever shows up on the form. I have also been through many threads in the forums but havent found a solution. Can anyone please assist me?
Regards,
MM.Hello,
I tried using jpg and bmp. Didn't work.
Any other suggestions?
Regards,
MM
Solved it!
Edited by: Marshall Mathers on Mar 9, 2011 9:53 PM -
To get content of file upload element in web dynpro
Hi . . .
h1 : how can i get the string content (i.e., path of file) store in variable in web dynpro abap . . . .Hi . . .
h1 : how can i get the string content (i.e., path of file) store in variable in web dynpro abap . . . . -
Formatting tree UI element in web dynpro
Hi,
I am new to web dynpro java.
I want to format tree in web dynpro java.I mean i want to add spaces between the nodes of a tree or can i get something like hgutter functionality between the nodes.
Regards,
ujjwal kumarHi
No
Only thing u can do is set Is Design to Emphasized (Bold) and add any images into Node and item both.
depends on image size u will get some space between text of tree.
(Applicable with CE 7.1 onwards not in 7.0)
Tree [help|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/de59f7c2-0401-0010-f08d-8659cef543ce]
Best Regards
Satish Kumar
Edited by: satish jhariya on Mar 18, 2009 4:49 PM -
Modify content of Button Choice UI Element in Web Dynpro ABAP
Hi experts,
How can I modify the content of button choice in webdynpro abap ?? ( I want to delete one row from the list).
See the attachement below .
Web dynpro component : /SAPSRM/WDC_DODC_PARTNER
CordialyHi,
please check the method /SAPSRM/CL_CH_WD_DODM_PARTNERS->/SAPSRM/IF_CLL_DODM_PARTNERS~GET_ADD_BUTTON_PARTNERS.
You should be able to create an enhancement at the end of this method.
Regards
Konstantin -
Input element in web dynpro java not working
Hi,
Iam new to webdynpro java. iam trying on external context mapping example from sap help.when i run the application i have assigned a context to a input element that should be accessed by another other component's window view .when i follow steps given in diagram for external context mapping when i run the application i am not able to enter the data into the input textbox.it became read only.plz suggest me a good example for external context mapping and some times i am not able to enter a value for input field when i assign a context attribute to it.i have assigned a node context to the input element.
Thanks and regards
prasadHi Prasad,
An externally mapped node always exists within the context of a component interface controller and have its isInputElement property set to true.
External context mapping is possible only for independent nodes of a component interface controller not independent attributes.
Also, for external context mapping, look at below thread -
external context mapping
Regards,
Sen -
Creating Dynamic UI Elements in Web Dynpro ABAP
Hi,
I want to an application in which the context nodes and the UI Elements for the second screen get created dynamically at run time based on the input on the first screen
First i have used this method :
cl_wd_dynamic_tool=>create_nodeinfo_from_struct()
to create the dynamic context nodes.
I have checked in debugger and the dynamic context node is getting creates successfully.
I have saved the reference for the context node in DYN_NODE.
Now for creating the dynamic UI Elements corresponding to the attributes of this context node, i call the method :
cl_wd_dynamic_tool=>create_form_from_node(
ui_parent = group_1
node = dyn_node
inputlength = 20 ).
But this thing is dumping.
This is the dump.
The following error text was processed in the system CG7 : Adapter error in &VIEW_ELEMENT_TYPE& "BP_ICLIENT" of view "ZWD_ONLINE_FORMS.FINAL_VIEW": Context binding of property VALUE cannot be resolved: Node FINAL_VIEW.1.BP does not contain any elements
Where BP_ICLIENT is the first attribute of the dynmaic context node BP created..
Please Help.
Thanks
ShiviRefer this wiki :
https://wiki.sdn.sap.com/wiki/display/WDABAP/CreatingUIElementsDynamicallyinAbapWebdynpro+Application
More links are available on SDN reg Dynammci UI creations :
Have a look at the documentation for the WDDOMODIFYVIEW section of the phase model:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/d2/8acd409cc4dd50e10000000a1550b0/frameset.htm
There is also the class CL_WD_DYNAMIC_TOOL:
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/67/6935425394033be10000000a1550b0/frameset.htm
Also have a look at the example application DEMODYNAMIC.
eLearning on the topic here as well:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/201ddd3b-b4ce-2b10-8883-880ae8147f89
Edited by: Saurav Mago on Oct 26, 2009 12:23 PM -
Office UI element in Web Dynpro ABAP
Hi ,
I am using Office UI element to display a excel on WDA screen . The excel has some macros .
I need to send some data of excel to the DB on click of Save .
How do i read the excel data ? The data is in the format of XSTRING .
I tried to convert to STring and then Table . But its giving me dump .
Can anyone Suggest how can i do this ?Hi anuradha ,
I think it is not possible to convert xls file's xtring to a propert string format.
only .csv fromat file will give you the proper string when converted from xstring to string.
thanks
sarbjeet singh -
Tab order issues with UI elements in Web Dynpro
Hi Folks:
We recently upgraded to NW 2004s and now i am running NWDS v 7.0.
I have noticed many behavioral changes since the upgrade. One of the more problematic and annoying issue is the tab order of the UI elements. In the prior version, the label element never had the control while tabbing. But now the Label also is part of the tab order. There is no property ( that i have been able to figure out) that stands out to fix this issue.
I am i missing something or doing something wrong. Greatly appreciate any input.
Thanks & regards
Renchy ThomasI figured it out. You have to bind the label to the UI element it is a label for - using the labelFor property of the Label element.
Duh!! i should have thought of it before but it is true that the older version was not enforcing this rule.
rgds
Renchy -
Adobe Form not getting interactive in Web Dynpro
Hello Experts,
I am facing a strange sort of behaviour, which has drawn my plenty of time, while making use of Interactive Adobe Form in Web Dynpro component.
In my scenario, I have one existing Adobe Form with interface of type "ABAP Dictionary-based interface". While using this form in Interactive Form element in Web Dynpro and making it enabled, it is not giving me the expected output, that is - Interactive Form in browser window. Instead, it is showing me read only Adobe Form. Has it to do with type of interface?
Looking forward to active replies.
Regards,
HarshHello Harsh,
In webdynro adobe integration we use webdynpro native controls and the form must be in the
ZCI layout. In SFP >layout you have to insert the webdynpro script .After going to the layout
go to utilites and insert webdynpro script.Then you can find a variable containerfoundation_js.
If you have changed the layout from standard layout to ZCI layout in form builder (SFP), the update the layout using program FP_ZCI_UPDATE.
Refer to link below
Call Adobe Form through ABAP Web Dynpro - Web Dynpro ABAP - SCN Wiki
Regards
Sandy -
Adobe form in Web Dynpro Submit Button Problem
Hi all,
I've created an Adobe form as a UI element in Web Dynpro as a development component. In this Adobe form, I've included a "Submit to SAP" button from the Web Dynpro Library.
My whole purpose is to expose this DC as a callable object into Guided Procedures and then run this process, so that the Adobe form(embedded in Web Dynpro) can be seen and allows the user to enter information online into the form or download(maintain offline) and click on the submit button. After clicking of the button, I need the control to return to the GP framework to trigger to the next action. I have configured the button in the Adobe form as a submit format -> XML data and with submit to URL "%com.sap.caf.gp.if.PostProcessorUrl%". I did this because I want it to return the control to GP framework. However, there is also another option of the event submit button in the Web Dynpro UI Adobe element -> event-> onSubmit.... i created an action onsubmit which has the code wdThis.wdGetBformController().complete();
When I run the GP process, the adobe form appears and when i click submit button, nothing happens... Does anybody know the solution?? Thanks!Hello,
Can somebody tell me if i really need to put this code
"%com.sap.caf.gp.if.PostProcessorUrl%"
in the submit button. If so, do i need to configure somewhere what the PostProcessorUrl is? If so, can somebody tell me where i need to do this?
Thx in advance.
Kind regards,
Maarten.
Maybe you are looking for
-
Is the mini going to upgrade right after I buy a new one?
A few years ago I bought the mac mini and a few months later they upgraded with the intel chip. I am planning on buying the latest version and I'm wondering if anyone has heard if they're going to upgrade soon and should I just wait.
-
Video quality dropped down! Please help
Hey there! I bought a tv series some years ago. By setting up my new computers, I transferred the series over and over again (via wifi). Now the quality dropped down so badly on all devices! Is that possible? If yes, is there a possibility to get a r
-
Final Year Project - University
Hi all, Just looking some advice and general tips, have a few questions about a final year project I am thinking of doing. Basically it is going to be a stock control system for a nightclub, particulary focussing on their celler. The system will allo
-
We have setup a new custom service and assigned to only country group 10 - US in the Define Country specific Services Node. However, when we login as a PERNR in a non-us country group, he is able to view this service and launch the WDA application. A
-
What are the artifacts that need to get into Metadat store?
Hi Can some one let me know what are the artifacts (WSDL, XSD...) that need to be stored in MDS? I was of the impression that only the artifacts of the re-used services or the design time artifacts of a service that need to be used by another service