SAP BW query view deletion in Web/ "Delete Query view" in web
Dear All,
We are using the standard template: BW web analyzer (0ANALYZER). In this standard template, SAP provided two links "Save View" and "Open View" for creating new query views and opening existing query views respectively. However, no oppurtunity was provided to "delete query views".
We would like to have an oppurtunity to delete the query views as well from Web. (currently we are deleting the unwanted query views from Bex analyzer, as per the request from business users - who have access only to the web reports).
Would be great if you can suggest some solution to this problem.
By the way, We would not like to use the standard "Query view selection" web item. (as it creates user specic local views only).
best regards.
Hi atlaj
There is a Function Module called
CALL FUNCTION 'RZX2_OBJECT_DELETE'
you can make yourselves a little ABAP with.
Hope this Helps.
Best Regards
Armin Baggenstos
Similar Messages
-
ADF UIX - Deleting records from expert-query view
Hi gang
Does anybody have any suggestions how to do this?
I'll use the HR schema as an example.
We have default EOs defined against the departments and employees tables. Those familiar with the HR schema know there is fk between departments and employees, as well as employees to itself (eg. employees to managers).
We have created a complex VO, with a hierarchical join between employee records, as well as a join to the departments table. To create such a complex VO we have no choice but to create the VO with an "expert-query" as the standard wizard doesn't support hierarchical joins.
One important fact to note that in the VO create wizard, when you use an "expert-query" you do not select the entities used by the VO; you go straight to the query page and enter the "expert-query". As such no EOs are defined against this type of complex VO.
The VO output looks something like the following:
Department Level Employee
Finance 1 Alexandar Hunold
Finance 2 Bruce Ernst
Finance 2 David Austin
Finance 2 Valli Patabella
Purchasing 1 Den Rapaely
Purchasing 2 Alexandar Khoo....and so on.
We have created a UIX web page displaying this VO as a read-only-table.
We wish to provide a delete button such that when the user selects a record, we may delete that employee AND all relating employees in a "cascade-delete" fashion. Note that we donât wish to delete the associated department.
In implementing this delete button the delete functionality works correctly in the UIX web page by removing the record from the UIX table (assume I've also commited my changes). However a forced requery of the VO shows that the record hasn't really been deleted. I assume this is because the complex VO has no explicitly stated underlying EOs.
Does somebody have a suggestion on how I can catch the delete operation on the VO, and tell my application to instead delete a particular employee and perform a cascading delete on all other employees?
Should I create a custom method in the VO row class, to perform the deletes on the database? Or can I force the VO to perform a cascade delete on the employees EO? I just don't know what to do.....?
Any help greatly appreciated!
My environment is JDev 9.0.5.2.
Thanks!
CM.I came across the help topic in JDeveloper 'Making an Association into a Composition' that talks about modifying an association to trigger cascade-delete. Does this help ?
- Udupa -
Disable delete button in a maintenance view
Hi,
Does anyone knows how can I disable the delete button in a maintenance view so when a user that is not authorized can´t delete any row, or how can I lock the delete subroutine.
Thanks!Hello Moises
The problem with this solution is that if you ever need to modify your maintenance view (i.e. regenerate the dynpros because you may want to add new fields) your coding is gone.
This is not the case if you are using event 19. Below you see same sample coding:
***INCLUDE LZUS_SDN_MAINTF01 . " Function Group with maintenance views
* Event 19: After Init. Global Variables, Field Symbols, etc.
* http://help.sap.com/saphelp_nw2004s/helpdata/en/91/ca9f44a9d111d1a5690000e82deaaa/content.htm
FORM exclude_gui_function.
* define local data
DATA: ls_excl TYPE vimexclfun.
ls_excl-function = 'DELE'. " taken from standard GUI-status 'ZULG'
BREAK-POINT.
AUTHORITY-CHECK OBJECT 'F_BKPF_BUK'
ID 'BUKRS' FIELD '1000'
ID 'ACTVT' FIELD '02'.
IF ( syst-subrc NE 0 ).
APPEND ls_excl TO excl_cua_funct.
ENDIF.
APPEND ls_excl TO excl_cua_funct. " Just for the purpose of demonstration
ENDFORM. "exclude_gui_function
Regards
Uwe -
1 My questions are about viewing and managing photos from a folder.
a. How do i view photos in macbook pro - i know the space bar thingy but does not help my purpose?
b. While viewing how can i delete the unwanted photos with delete button?
c. How can i increase the size of the photos that i am seeing in the form of icons?double clicking in iPhoto will open the photo.
The left and right arrow key will move between photos, as well as swiping on a trackpad or Apple mouse.
See >System Preference>Trackpad or mouse for options and tut
While selected or in the smaller icon view hitting the Delete key will delete the pic.
Command Z will undo the last action taken.
Periodically you have to empty the iPhoto trash. iPhoto drop down menu>empty trash
Same applies for viewing pics in a Folder NOT in iphoto, Use the up and down arrows does not work in Preview, but as you know in QuickLook (spacebar) the up and down arrows will navigate. -
How to update or delete records in a Complex View in Forms?
Hi,
I have a requirement to create a Form by using Complex View. Insertion is possible but updation and deletion is not working properly . I got FRM-40501 Error. I need How to update or delete records in a Complex View in Forms?
Thanks & Regards,
Hari BabuDepending on how complex your view is, forms is not able to determine how to appropiately lock a record, when you try to update or delete a record.
One approach to using complex views in forms:
1. Set the Key-mode of the block to "Non-Updateable"
2. Mark the column which can be used to build the WHERE-condition to uniquely identify a record with "Primary Key" = "Yes"
3. For doing INSERT, UPDATE and DELETE, create an INSTEAD-OF-trigger on the view.
4. Create your own ON-LOCK-trigger in forms which does the locking of the records to update. -
How to delete records from standard maintenance view
Dear Sir/Madam,
i want to delete records from standard view " v_mmim_rep_cust "
This is a standard maintenance view , used in MBLB report.
here i found the records with different report name but same fields as shown below...
REPORT TABLE NAME FIELD NAME
RM07DOCS MKPF BKTXT
RM07DOCS MKPF BLDAT
RM07DOCS MKPF BUDAT
RM07DOCS MSEG ANLN1
RM07DOCS MSEG ANLN2
RM07DOCS MSEG APLZL
YRM07DOCS MKPF BKTXT
YRM07DOCS MKPF BLDAT
YRM07DOCS MKPF BUDAT
YRM07DOCS MSEG ANLN1
YRM07DOCS MSEG ANLN2
YRM07DOCS MSEG APLZL
I WANT TO DELETE THE RECORDS FROM THE VIEW WITH REPORT = YRM07DOCS.
PLEASE HELP ME.
Thanks in Advance,
Dastagiri.Dear Sir,
when i did so , it displays a message that " entry mseg zeile must not be deleted ".
hense i went through writing a program to delete the records from table mmim_rep_cust
but it says that record not found.
program logic :
delete from mmim_rep_cust
where report in report
and TABNAME in TABNAME.
if sy-subrc = 0.
write ' RECORDS DELETED SUCCESSFULLY'.
else.
write ' RECORD NOT FOUND'.
endif.
please guide me to delete the records from the view.
Thanks in advance,
Dastagiri. -
Deleting entries from a Standard View
Hi,
How do I delete duplicate entries from an Standard View in an Abap Code?
Thanks,
PravsThen it becomes complicated. Are you trying to delete the duplicates from a view? Then look at your view definition and see if you can avoid duplicates by changing its selection criteria. Also take note of Rob's comment.
If you are trying to delete from a database table as opposed to a view, then I don't know how you achieved the feat of having duplicate entries as any duplicate inserts with same key fields would have resulted in dump. Can you please clarify? -
Deleting fields from a standard view
Hello,
I want to delete fields form standard view which are appended by me accidentally . I have written a delete statement to delete the fields from the standard view . but i got an error at declaration part . I have declared it as shown below
Tables : V_MMIM_REP_CUST
V_MMIM_REP_CUST----
> is the view name
So, guide me how to declare this view .
Regards,
mnarar.
Edited by: mnarar on Nov 30, 2011 1:12 PMHi,
This is just an idea to delete the records from the Table. But ideally you should not use this approach in any development.
The table for this view is MMIM_REP_CUST. You can write a Custom Report Program where you need to create a work area with the values which you would like to delete. And then write a Delete statement and delete the table entry from that work area.
I guess you are doing this in the development environment and have all the necessary authorizations. And you should not transport any report like the above to other environments. Also double check if that entry will not effect other business scenarios.
Hope this helps.
Best Regards,
Samantak. -
Message says I need an extension to download itunes. Got a message saying coupon alerts were causing problems to delete. I deleted "coupon alerts" in control panel and then deleted itunes to free up space thinking I could just go into itunes through web and pull up my account and hear my music. Obviously im not an avid computer person. Now I can't even download or open itunes without this extension and when it says search web there are tons and I have no idea which one is safe and which ones contain viruses etc. can anyone help me resolve and suggest and explain what I should do about getting the proper extension and if I may have one already in computer.
jsavage9621,
It pains me to hear about your experience with the Home Phone Connect. This device usually works seamlessly and is a great alternative to a landline phone. It sounds like we've done our fair share of work on your account here. I'm going to go ahead and send you a Private Message so that we can access your account and review any open tickets for you. I look forward to speaking with you.
TrevorC_VZW
Follow us on Twitter @VZWSupport -
Stupid Mac OS bug - Won't delete open folders in list view
This took some time to figure out and might help someone else... If you want to delete a folder while in list view, you must first close it before it will be deleted. In the example below, you can select folder "Test 1", Move to Trash and it will be deleted. Try the same thing with "Test 2" and nothing happens. No error messages but it won't be deleted. You must first close the folder (by clicking on the triangle), select the folder, Move to Trash, then it will be deleted. If you select a group of folders, all of the selected folders must be closed or none of them will be deleted. This bug only affects deleting folders while using list view (that I'm aware of). You can rename the folder, you can move the folder. You just can't delete the folder. Occurs with the Public share as well as any other shares you created. There is no problem deleting folders while in icon view or column view. 2TB My Cloud with firmware v04.01.04-422Mac OS 10.9.5WD disc mounted on desktop with smb://< IP Address >Logged on to WD disc with username & password. Account has full access.
Just tried it (rename, move and deletion on open folders) on my mac mini running Yosemite 10.10.4 and no problems here. Tried on both local drive and on the Cloud mapped by AFP and SMB. It could be an open file or something that is preventing the folder from being deleted, or if you are trying this on the cloud, it could be a different samba version since I'm still on firmware 3.04 here on my cloud. Try it locally as well as trying other protocols like connect to server AFP://WMyCloud/<yourcloudname> or smb://WDMyCloud/<yourcloudname>
-
Well, i was on my laptop now and all of a sudden a pop up message appeared and said "your download is complete" so i went to go check it out and it was 'MacProtector'. i cant delete it and it keeps opening unwanted web pages, please help me sort this out someone?
Refer to: http://cantalktech.com/2011/05/08/mac-protector/.
-
Rename & deletion of planning book & Data view
Hi Experts,
Is it possible to rename & deletion of planning book & Data view, if yes what is the procedure.
Also suggest if hiding of same is possibleHello jrd333
You can delete planning book/data view via transaction /SAPAPO/SDP8B
There you can choose PB/DV that needs corrections.
Also you maybe need to deactivate your planning area to wich this PB is assigned.
You can do this in transaction /SAPAPO/MSDP_ADMIN
This things is related to custom Planning Books/Views. -
Subject: What Mountain Bike help
I can't download my magazine, what mountain bike skills issue. I've followed the advise on the help questions but still can't view the magazine. Delete, re install etc.
Thanks Malcolmsaid article below....
HT1747: iTunes: How to remove and reinstall the Apple Mobile Device Service on Mac OS X 10.6.8 or Earlier
Learn about iTunes: How to remove and reinstall the Apple Mobile Device Service on Mac OS X 10.6.8 or Earlier -
Delete vs truncate on materilized view
is it possible to truncate materilized view? if yes, is it faster than using delete from materialized view?
thanks.user8837158 wrote:
is it possible to truncate materilized view? YES, for example;
dbms_mview.refresh( 'MY_MVIW_NAME' , 'C', atomic_refresh => FALSE ); => This does a TRUNCATE
if yes, is it faster than using delete from materialized view? Yes it is faster ; TRUNCATE is a DDL, no need as much undo as a DELETE, where a DELETE is a DML
DELETE operation will cause all DELETE triggers on the table to fire. Where with TRUNCATE no triggers will be fired.
thanks. -
How to delete a system generated query
Hi,
I want to delete a system generated query without doing which i am not able to delete a field from field group.
Regards,
Sharadhasure.
I have a infoset with some fields.
I want to delete a field from a field group. When i try to delete,it displays 'Field is used in a query, so cannot delete' .When i saw the query for the field all are system generated queries..i.e usergroup is SYSTGENERATE.
I tried to take the query id from there and tried to display the querym but it says query 'SY000000xx' not generated.
How to delete this query?
Any suggestions?? Is it not possible??
Regards,
Sharadha -
How do I un-embed a youtube video? I deleted the youtube video from ibooks author on my iMac, but it won't delete from the ipad ibook view. It shows up in my book as a blank bar until I tap it, then it plays the video. I made a new page after deleting the original page in which I inserted the video; it still shows up. Only the advertisement from the video plays.
delete the media widget in Author
re-preview to your iPad
hope this helps...
Maybe you are looking for
-
Extracting Request Parameters from a POST.
A client is POSTING some request parameters as part of its POST request. My servlet is getting this as part of the getInputStream. The contents of the inputStream received is: username=someUserName&password=somePassword Now how do I extract this user
-
Keyboard shortcuts don't work in Firefox 9.0.1 on Mac OS 10.7.2
I've just bought a new MacBook Air with Mac OS Lion for the first time. No keyboard shortcuts work in Firefox 9.0.1 with a fresh install. Command-T or W or N or CXZ - none of them do anything. They all flash the appropriate menu bar (so the word File
-
Ever since I did a recent update of itunes I don't see any infornation of the iPod on the itunes page. So I can't download any of the music I have on the computer onto the ipod.
-
Updating Warehouse Infor via DTW
Hi, I'm having some diffuclties in updating my warehouse info particularly the warehouses average price per item. Example: Item.txt has RecordKey ItemCode 1 A1 2 B1 3
-
How to define a BW system in Portal/VC 7.0
Hi Experts Could you please update me step by step process on How to define a BW system in Portal/VC so that i can use Services/FM in VC model. Thanks in Advance