Drag and drop function in web dynpro
Hi Experts,
I have an ALV table.
I want to drag the row from a standard table to the ALV table.
I can drag the row but I can't drop the row in ALV table
The following code is written in method WDDOINIT in the view.
Code
Data lo_cmp_usage type ref to if_wd_component_usage.
lo_cmp_usage = WD_THIS->wd_cpuse_ALV_TABLE( ).
if lo_cmp_usage->has_active_component( ) is initial.
lo_cmp_usage->create_component( ).
endif.
DATA:
lr_salv_wd_table TYPE REF TO iwci_salv_wd_table,
l_value TYPE REF TO cl_salv_wd_config_table,
lr_table_settings TYPE REF TO if_salv_wd_table_settings,
lr_input_field type ref to cl_salv_wd_uie_input_field,
value TYPE REF TO IF_SALV_WD_DROP_TARGET_INFO.
DATA lo_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
lo_INTERFACECONTROLLER = wd_this->wd_cpifc_alv_table( ).
l_value = lo_interfacecontroller->get_model( ).
CALL METHOD l_value->IF_SALV_WD_DRAG_AND_DROP~CREATE_DROP_ROW_TARGET_INFO
EXPORTING
id = 'ALV_TABLE'
name = 'from'
enabled = abap_true
tags = 'from'.
l_value->if_salv_wd_drag_and_drop~set_drop_row_name( 'from').
l_value->IF_SALV_WD_DRAG_AND_DROP~SET_DROP_ROW_NAME_FIELDNAME( 'fight_no').
I have created an event handler method for the drop but the method never gets called
(the event handler on click also have same problem) .
Pls help whats missing?
Thanks
This is my setting of drag source and the tag is same as the drop target's one.
When I try to drag, some cells doesn't show and symbol or icon, just the same curser,
while some cells will show the 'red stop' icon as below.
Similar Messages
-
Drag and drop functionality not working. IE shows ActiveX error
Hi all,
we recently installed new server, but on the new server the drag and drop functionality in web dynpro application is not working.
when we launch the standard test application wdr_test_drag_and_drop, the Internet explorer is showing a popup: An ActiveX control on this page might be unsafe to interact with other parts of the page. Do you want to allow this interaction? Yes/No
if we allow by clicking Yes or No, the drag/drop functionality is not working.
first I checked if the issue is with my IE version, but it is not working in any of the IE in any computer.
when I checked the same application from different ecc server on my IE, the different server application is working.
in my new server, do we need to do anything more to make the drag/drop working.
thanks,
Madhu_1980.Hi Madhu,
GO through this link, it might help
Step 1: Go to the Tools menu, and select Internet Options
There are times when the activex plugins are disabled in our browser settings, just enable them and give it a try.
Regards,
AkkI -
Web Dynpro ABAP, Adobe interactive forms and Drag and Drop functionality.
Hi Experts,
is it possible to use Drag and Drop functionality together with Adobe Interactive forms in Web Dynpro ABAP? I consider dragging object (like texts) to interactive form placed in Web Dynpro.I think I understand but just to make it clear. I use texts created using function module "SAVE_TEXT". In my Web Dynpro I select one or more of them and use the button "insert text" (with appropriate functionality behind it) to insert them to specified location in my PDF form opened in this Web Dynpro. Considering what you said it is not possible to replace this "insert text" button by drag and drop functionality. Am I correct?
Btw great job with the book "Next Generation ABAP Development" Thomas! -
WD ABAP: Drag and drop functionality
Hi,
Is there a UI element/event to simulate the drag and drop functionality in Webdynpro ABAP? I would like to simulate the functionality of context mapping.
I have the requirement to show the hierarchy of say Country and state(preferably in tree structure) and allow the user to change the country a state belongs to by dragging the state from one country and dropping it into the desired destination country.
Thanks and regards,
Srini.Hi Srinivasa,
Drag & Drop is not available within Web Dynpro as of now.
Kind regards,
Thomas -
HT4061 Drag and drop function in Windows 8 doesn't work with iTunes.
How to import music files from Windows 8 to iTunes 11.0.3 x64? Drag and drop function doesn't work. Thank you!
> Straight drag and drop to PS produced a warning message so, when I then tried to drag on to the PS task bar button, I got the Ø cursor but on moving into the PS window and releasing the mouse button there, the file opened.
That's the strangest behavior that I would imagine. Are you using the default vista aero theme or you have turned down or using custom theme and visual effects?
> it needs to be pointed out that this is a really bad habit that will smack you in the face one day...
I don't understand what you mean. If you are concerned about viruses, in my understanding copying and opening a file from the internet which is what "Save image as" does, is less safe than coping and pasting pixels. Copying and pasting pixels is the same as coping and pasting text from your web browser, it can't execute hidden code. If that was possible everybody will get viruses at the moment text or pixels are displayed on your browser.
By the way when you view a page from the internet, image files are already downloaded in the temp folder of your computer but only the browser uses them unless you open them from there and use in another program. So if you have a virus protection the images are already scanned. -
SharePoint 2013 How to disable Drag and Drop Functionality
Hi,
In SharePoint 2013 in document library we have default behavior of drag and drop documents in document library. How to disable drag and drop documents in document library?Hi,
As a work around, you can edit the Drag and Drop js as to remove the drag and drop functionality, edit the document library page (default
page) place the content editor web part on top of the library include the modified Drag and Drop js file in the content editor web part, Please save the Drag and Drop js file to other location (probably Site Assets library etc).
Hope it helps!!!
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. Thanks, Ajeet -
Help on drag and drop function
Hi guys,
I have a problem creating a drag and drop function for a certain task. The task is as stated below:
1. Create a VI that enables a user to drag and drop multiple image files into it.
2. I was thinking of storing all the file names into an array of file names
3. VI will then convert the image format into an array of 1024 by 768 binary numbers.
Task number 3 I have already done but I'm struggling with this drag and drop function (Task 1 and 2) and I have read a couple of entries regarding drag and drop function but none fits my specifications.
In the meantime I can only allow 1 file to be opened by a user at a time and it is quite frustrating if the user has to open like 10 files. He will need to navigate to the folder, select the file, click ok and repeat this for 10 times.
Hence, I need your help to guide me to create a drag and drop function that allows me to open a file and select all the images 1 want at 1 time.
Further information: I am using IMAQ to do the image processing.
Thanks in advance.
From
RidwanThe Gtoolbox has sourcecode for this.
Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas
LabVIEW, programming like it should be! -
Unable to use "drag and drop function" from outlook
We are changing from Lotus to outlook and this has made a problem with getting pdf-files into OAWD directly .
Procedure was like this in Lotus
1. We get documents (FI, F-43, aso ) by email
2. We use OAWD function "drag and drop" , document is attached to a document type and workflow is triggered
3. We pick up documents from Business workplace , handle the document and send it to the approver (who earlier got it directly in their mailbox "lotus")
so far so good , everything worked well
Unfortunately we changed to outlook, non attached files can be "drag and dropped" into OAWD (I understand the part about outlook is showing links instead of "real" pdf and know this is part of the problem)
My question, it can not be possible that we have to manually save the documents/attached files from outlook into "desktop" to later use the drag and drop function?
I have read about the programms to solve problem , ex "inPuncto", but our experts says there will be problem with connector to workflow from OAWD.
I have my greatest doubts about that because this must be really two diffrent moduls, one for converting from outlook and the other must be unchange (undependent of the earlier procedure). SAP can not know from what program the documents will be dragged?
Suggestion about some OAWD-adaptor ?
Any suggestions about great solutions ?it seems there is no way.
See note 1797073
Is there someone with a better solution? -
Is it possible to create a tree with drag-and-drop functionality using ajax
I saw these samples;
Scott Spendolini's AJAX Select List Demo
http://htmldb.oracle.com/pls/otn/f?p=33867:1:10730556242433798443
Building an Ajax Memory Tree by Scott Spendolini
http://www.oracle.com/technology/pub/articles/spendolini-tree.html
Carl Backstrom ApEx-AJAX & DHTML examples;
http://htmldb.oracle.com/pls/otn/f?p=11933:5:8901671725714285254
Do you think is it possible to create a tree with drag-and-drop functionality using ajax and apex like this sample; http://www.scbr.com/docs/products/dhtmlxTree/
Thank you,
Kind regards.
TonguçHello,
Sure you can build it, I just don't think anyone has, you could also use their solution as well in an APEX page it's just a matter of integration.
Carl -
Captivate Drag and Drop Functionality
Please could someone confirm when Captivate will ship with drag and drop functionality as standard rather than as an extension only available to subscription or ASA users?
Thanks.Adobe doesn't usually give any advance confirmation dates for when they will ship a new product version or patch.
-
Does SAP ECL viewer has drag and drop functionality...
Hi,
Does ECL viewer has drag and drop functionality for example we can drag and drop file from windows sever to SAP. So that it can be used later on using BDN.
Thanks.
Regards,
Rajesh.Implement this program, it is a cut/paste solution. Again, you must have the ECL component installed on your SAPgui.
report zrich_0001 .
parameters: p_check type c.
start-of-selection.
at selection-screen output.
data: dockingleft type ref to cl_gui_docking_container,
dockingright type ref to cl_gui_docking_container,
ecl_viewer type ref to cl_gui_ecl_2dviewer,
html_viewer type ref to cl_gui_html_viewer.
data: repid type syrepid.
data: url(2048) value 'c:'.
repid = sy-repid.
check dockingleft is initial.
create object dockingleft
exporting repid = repid
dynnr = sy-dynnr
side = dockingleft->dock_at_left
ratio = 50
extension = 1000.
create object html_viewer
exporting
parent = dockingleft.
call method html_viewer->show_url
exporting
url = url.
check dockingright is initial.
create object dockingright
exporting repid = repid
dynnr = sy-dynnr
side = dockingright->dock_at_right
ratio = 50
extension = 1000.
create object ecl_viewer
exporting
parent = dockingright
exceptions
cntl_error = 1
cntl_system_error = 2
create_error = 3
lifetime_error = 4
others = 5.
call method ecl_viewer->create_toolbar
exporting
close_button = ' '
tools = 'X'
viewer = 'X'
navigation = 'X'
options = 'X'
viewer_openfile = 'X'
viewer_savefile = 'X'
tool_measurement = 'X'
remove_document = ' '
exceptions
cntl_system_error = 1
cntl_error = 2
cntb_btype_error = 3
dp_error = 4 .
Now drap a PDF file from the left container, and drop in the right side. Slick, right?
The ECL doesn't handle every file type, but PDF works good.
Regards,
Rich Heilman -
Records Management - Drag and drop functionality
Hi,
I'm trying to find out how it is possible to limit 'drag and drop' functionality for nodes. For example, let's say we have model nodes A and B with all element types assigned and visible for all roles. I want to be able to automatically store documents in both A and B nodes but not to be able to drag and drop documents from node A to node B.
Does anyone have idea if/how this is possible?
Many thanks in advance!
TijanaHai,
To restrict the drag and drop functionality, please check the function module SRM_REC_UPDATE_NODE_DESC. I havenu2019t implemented this but I guess this would help you.
Regards
Keerthika -
Drag and Drop Function Stopped Working
So I may just be dense, but my drag and drop function isn't working anymore. I've been searching the internet for anything that might help, and I've tried all the solutions that I've seen. No luck though. This is a really annoying problem and if anyone has suggestions I'd love to have some help. Thanks!!
So those ideas on the other thread didn't help. I think if I reinstalled leopard it may fix it, but the problem there is I don't have the disk at school with me. Having no foresight ruins things.
Would that be the only option or does anyone have other thoughts? -
Drag and Drop Functionality within the SAP Portal
Does anyone know if SAP Netweaver Portal 6.0 sp18 supports drag and drop technology. A good comparison would be Google where a user can drag iViews around and place them where they would like.
We are trying to build something similar to Google Gadgets with iViews and we would like our users to be able to add, remove, drag, and drop them in the Portal.
Has anyone done something similar to where I would be able to leverage them for further questions.
Any help is greatly appreciated. Thank you.
JasonHi
Were you able to find away of using the drag and drop functionality?
I am wanting to use a similar functionality to Yahoo where people can just drag the iViews they want into the page and saving their personalised settings. I am unable to find information as to what Portal release supports this functionality and how it works. Would you be able to help?
Many thanks
Jag -
Drag and Drop functionality for SVG charts.
Has anyone been able to get a drag and drop functionality with charts?
I've read where Vikas was able to accomplish this with reports, but, unfortunately, it was an old post and his example is no longer available.
I understand that this is more on the browser/presentation layer rather than the back-end, but, judging from the replies from the mainstays in this forum along similar lines, I'm hoping someone may have accomplished this already.
I'm trying to get this to work for a "dashboard" type application I'm trying to prove out using HTMLDB.
Your responses are appreciated.
ThanksHello,
I've done drag and drop using the Adobe SVG Viewer before in a whiteboard application built on top of ... you guessed it... Apex. Unfortunately I do not have an example I can share with you but I know it can be done because I did it, trust me ;) . I am planning on building out that application as an application anybody can download and use but unfortually it will be bit.
Your best bet at the moment is looking on google http://www.google.com/search?q=svg+drag+and+drop there are quite a few examples.
Oh also look at this file in the images directory /images/javascript/svg_js_includes/svg_common/oracle.svgNodes.js it has quite a few helper functions and that file is included in every chart by default so there are functions you can use, (no drag and drop unfortunalty)
If you have can lock down the users in your environment to use only Firefox or Safari you can look at canvas as well it's pretty handy and can do alot of the same stuff
http://developer.mozilla.org/en/docs/Drawing_Graphics_with_Canvas
and of course some simple examples in Apex
http://apex.oracle.com/pls/otn/f?p=11933:78 (it runs on keypress in the textarea I use it to mess with Canvas constructs)
Carl
Message was edited by:
Carl Backstrom
Maybe you are looking for
-
Hi all, We have an interface which creates Contracts using IDOCs. There is standard program named RBDAPP01 which creates IDOCs & posts as well based on message types BLOARD & COND_A based on the data in the file. The problem is with the message type
-
DVI connection on Monitor - Thunder or HDMI
Hi, I just got a new monitor that has a DVI connection. Should I use the thunder port or the HDMI port? I'm thinking with HDMI I would have to have some kind of extra converter thing right? Thanks
-
I have about 500 images that I want to put into a slideshow. However, an MUST-HAVE is that the show randomizes or shuffles the photos. It would appear that the only way to turn on shuffle is when viewing the photos in an album.. the option does not
-
Not able to perform MB0A transaction
Hi SAP Gurus, Please help on this issue. Scenario: User will create PO in recieving plant, delivery note will get created in issuing plant, GI will happen w.r.to delivery in issuing plant and at last user will do GR in recieving plant using MB0A tran
-
Framescript: search and replace condition name in a bunch of mif files
Hello fellows, I would like to loop through all mif files listed in a book, and search/replace specific condition names with other ones. This can be done in each FM file as follows: Sub ProcessDoc Loop ForEach(CondFmt) In(vCurrentDoc) LoopVar(vCond