How check double entries in Alv_grid OO considering the deleted rows
Hi,
I've realized an ALV_Grid that show the contents of a custom table
to allow the users to delete and insert data, checking that
there are not duplicated keys.
This is the problem: if a user delete a row and then insert it again (with
the same key), my check stops the user because it found that this key
is already present withoud considering that it has been deleted.
Since I'm new on ALV_grid OO, does anybody know a simply way to
help me?
I thank you in advance.
Paolo
Hi Paolo Cavallini,
Check the program BCALV_EDIT_01 if it helps.In the event after_user_command if the delete is selected then call the method check_changed_data to reflect the changes done in the ALV if the problem still persists.
Similar Messages
-
How could I insert the deleted row into another table within a trigger?
Hi,
How could I insert the deleted row into another table within a trigger? The destination table has the same columns as the source table. Since the statements are in the trigger, it is not allowed to query the source table named 'test'. Thanks! The trigger is as follows, uncompleted:
CREATE TRIGGER delete_trigger
AFTER DELETE
ON test
FOR EACH ROW
BEGIN
-- How could I insert the deleted row into another table
END delete_trigger;
Message was edited by:
user569548Hi,
I'm not sure what's wrong there.
I read the oracle docs about ANALYZE and ALL_TAB_COLUMNS, and did the following:
ANALYZE TABLE my_tab VALIDATE STRUCTURE; //went ok.
SELECT column_name
FROM all_tab_columns
WHERE table_name = 'my_tab'; //but no rows selected?
This topic might not be what this thread should be about. Here I posted a new thread:
How to get colum names of the newly created table?
Thanks.
Message was edited by:
user569548 -
How to make entry for transit loss in the system
Hello to all,
I am having an issue with one subCon material.
Suppose,
Material A is the product required of 3000 MT Qty.
SubCon vendor have sent that qty, but there is a transit loss of 500 MT.
How to make entry for this transit loss in the system.
regards,
Anishacorrect me if i am wrong-
ur scenario is
for making material A ,
3000 MT of material B required.
but for producing A vendor uses 3500MT of B
solution : if this ia the case then u can overwrite the value of B at GRN from 3000MT to 3500MT.
OR
ur scenario is -
u require material A of 3000MT
vendor sends u 3000MT
but actualy u recieve 2500MT
and u have to pay for 3000MT as per bill
solution : if this is ur scenario then.
prerequisite-activate direct posting to G/L and material at MIRO
Path - SPRO->MM->LIV->activate direct posting to G/L and material at MIRO.
now procedure is -
step 1) do GR for 2500MT
step2) in LIV pay to vendor for 3000MT for that put 500 qty in material tab and the relavent amount.
in this way loss in transite will be book on inventory.
regards,
sujit -
I delete websites I visit in "History" line by line, and I save the ones I find valuable for viewing in the future. Last week I visited a new website and checked out a few articles. A few days later I was deleting that day's line items I did not want to revisit. This particular website would not let me delete any of it's line items, no matter what. It was Just this website. Never have I encountered this problem. I had to go into Firefox and delete this particular website under "Forget this Site." Any answer as to why?
''guigs2 [[#answer-680061|said]]''
<blockquote>
That is how I delete individual websites from history, what steps were you taking to delete the site entry?
</blockquote>
I usually just highlight websites under a specific day of "history" and hit the delete button on my keyboard. Gone.
When that didn't work for the one website, I tried right clicking that line, and a variety of other things. The specific website just would not go away. I just did not want to delete 7 days of history at one swipe of the delete key. Finally I went out to Firefox's 'Getting Started,' and in the left column was 'Privacy & Security Settings.' There is a section under Privacy & Security Settings called Delete Browsing Search and Download History. I read those items to see if there was something I was missing. One was called "How do I remove a single website from my history?" Followed instructions and just that website popped up. Highlighted those items from that site and deleted. Gone. Still do not know why the website would not delete in the first place. Makes a paranoid more paranoid about websites watching you. -
How can I sum every other column in the same row?
I have, for each employee, two columns: Planned and Worked.
I would like to sum the values in each Planned column. There are 25 employees, each with their own Planned and Worked columns, on the same row.
How can I do a SUM of every other column, starting with Planned?
Thank you.Thank you, Yellowbox!
The exact formula didn't work; however, it gave me a precise path to follow and come up with this: =SUMIF(E2:BB2,"=Planned",E3:BB3)
Week
Ending Date
Planned Subtotal
Worked Subtotal
Employee1
Employee2
Employee3
Planned
Worked
Planned
Worked
Planned
Worked
1
01/04/2014
120
40
38
40
44
40
50
2
01/11/2014
If not for your starting point, I'd have wasted many more hours on this.
Thanks again!
BB -
How to clear a cursor list without clearing the first row??
Hi all, good to see ya ...
I'm having this problem , that i'm using the first row ín a cursor list as a cursor in another graph. The rest of the rows are used as test sets i can add. So when finnish with the tests if some was set, i have to delete or clear the cursorlist(but only the tests and not the first wich is the pointcursor) byy using the graphs cursor list proberty node ' Crsr.List ' and initialising it as showed in picture 1.
Picture 2 shows the cursor list with some test and the cursor name (point cursor) and properties at top. These properties are directly copied to another graph cursor list also at the top and there the point cursor is used as the cursor. The tests are also copied to the other graph cursor list, but when deleting the tests by 'clear button' all data are cleared also the point cursor. That is my problem.
so the question is, how can i clear a cursor list without clearing the first raw and its proberties. any suggestions would be much help for me.
Regards
Zamzam
HFZ
Attachments:
Cursor Palette Front panel.JPG 25 KB
cursor paletteA.JPG 66 KB
Cursor paletteB.JPG 77 KBZamzam
The cursor list is just an array so you can delete the elements that you don't want.
David
Message Edited by David Crawford on 06-15-2006 12:46 PM
Attachments:
Delete Cursors.jpg 8 KB -
How do I recover a draft email from the deleted items
How do I recover a draft email that I accidentally deleted?
Thank you Franklin.
I was looking in the trash folder in apple mail... nothing
looked online in the gmail trash folder... nothing
but then there it was in the trash folder of gmail. Thank goodness. Plus a save every few minutes as well.
also online there is a second trash folder with a lable of IMAP and there are the saved drafts in there.
Thanks for pointing this out good use of shift command 4 -
How do I refer to a cell in the last row of my table?
The subject says it all, really. I have a table which will have rows added to it over time; I'd like to be able to refer to a value in the bottom-most row.
Let's say table 1 has ten rows. In a cell in table 2 I'd like to get the value in Table1::C10
Now I add five rows to Table 1. I'd like the cell in Table 2 to now show the value in Table1::C15
Is that possible? It's the iPhone version of Numbers, if that makes a difference.In Numbers for OSX, it may be achieved with :
=OFFSET(Table 2 :: $A$1,ROWS(Table 2 :: $A)-1,2)
But if my memory is right, it's one of the features which failed in the first version of Numbers for iOS.
I never had opportunity to test upon new version.
Yvan KOENIG (VALLAURIS, France) mardi 26 juillet 2011 16:52:14
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
Please : Search for questions similar to your own before submitting them to the community
To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer ! -
Time evaluation generate check out entry
Dear Gurus,
How can we generate Check out entries thru Time evaluation?
The sales employees come to office in the morning, they punch in and leave for sales activity. They don't get overtime, but pay / absence quota deducted if they don't check in in the system.
While running Time evaluation, I am getting error in TE03 (delimiting error). I hv tried creating second entry using TF00. Its not working. Has anybody any solution for this?
Regards,
VijayHi Gurus,
I am rephrasing my requirements. have 2 queries,
1. Sales Employees make only Clock In entries. System should generate the clock out entry or should not throw any error message. System should consider total working time from daily work schedule.
- TE30 function is generated the entry in TEVEN table based on planned end time, but we need to create the entry in IT2012 otherwise, while processing next days entry, it generates error.
- Will TF00 create an entry in Time Events IT2051 ? IF yes, how can I tweak TF00 rule to generate Time out entry.
2. General Staff working hours need to be calculated from Shift Start even if they come early. Max working time is 12 hours with 4hrs from start of end of Shift period
- If shift start is 7AM, I have defining Start tolerance as 6AM to 7:05AM, but still the system is considering the Clock In time for hours worked.
I have to write this condition. How to write ?
If Clock-in Time < Start Time
Then TIP->From = Start Time
I believe it has to be put in TL10 after rounding the Check in & check outs.. so as to update table TIP,
Please suggest,
Regards,
Vijay -
MM-Check Double Invoice functionality for Vendor Invoices
Dear All,
How Check Double Invoice functionality for Vendor Invoices can be implemented in SAP?
We have implemented Check double invoice with the standara sttings for it however if i give my referenece text differently it will aloow me to post double invoices and against vendor open items are shown for payment?
Is there any other efficient way to do it?
Thanks and Regards
Shrinivasdear SAPian friend,
go through the below link and you will find the solution with the screenshots.
http://sapfunctional.com/MM/Duplicate/Invoices.htm
U can also do the setting using the SPRO t-code:-
path is
>>SPRO
>>SAP Reference IMG
>>Materials Management
>>Logistics Invoice Verification
>>Incoming Invoice
>>Set check for duplicate invoices -
How to get the "delete" check box back?
Hi Guys,
I just used the "Migrate to Interactive Report" feature. After doing so, the check box is gone that is used to indicate rows to delete. A copy of the region is marked as "disabled" and the check box is still there, but it's not in the newly created region. Without that check box, my page has no way to delete rows. How do I add the check box to the new Interactive Report region? I'd rather not re-create the page from scratch.
Thanks,
Kim
P.S. I'm using Apex 4.1 and Oracle 11g xe - all running on Windows 7.How about something like this? Instead of a check box add a new column with a delete image, you can use something like delete.gif (#IMAGE_PREFIX#delete.gif). The downside is that will be deleting one at a time, but in my experience this may not be an issue.
Add a hidden item to hold the ID of the row your want to delete. We'll call it P1_ID.
The new column with the delete image will need to "branch" to a URL and use this code (ALL in one single line)
apex.confirm("Are you sure you want to delete?", {
request:"DELETE_ROW",
set:{"P1_ID":#ID#}
});Then add a page process that fires when the request is DELETE_ROW
Would probably look something like this:
delete from some_table where id = :P1_ID;
A similar technique can be used for checkboxes, but it's a little more advanced as you need to loop through the selections.
Oh and add the column to the IR you don't really need to select anything. Or better yet, you could re-use the ID column of the report if you have one as your delete column. The #ID# on the code above needs to be the name of your column. So if your column is EMPNO the above would be #EMPNO# instead of #ID#.
Hope this helps.
-Jorge -
Address book has a secret life? Double entries.
I notice that quite a few of my records now have double entries — not for ALL of the info, but like just for mobile phone numbers or work numbers. And not all records have these. Strange. Anyone else seeing this?
This can happen if you sync 2 address books for the following reason:
In establishing Address Books on 2 computers or editing any item the 2 AB's will have part of the entry different if a different typing of the info occurs, eg one phone no has international format, the other doesn't or one has spaces between numerals, the other doesn't. This is because the computer reads them as being different information. Hence in the syncing process it will add the 'different' information. I'm not aware of a technique other than great care in entry of info of avoiding this.
Neville -
All of a sudden my apple menu has two shutdows two restarts two log outs.
Also now when I click on an icon on my desktop it puts a black bordered box around the icon.
I tried to reapply the MacOSXCombo update but still the same scenario.
Any ideas?Apple Menu Double Entries
Apparently that's not the only problem.
Your computer seems to be producing double forum entries as well
http://discussions.apple.com/thread.jspa?threadID=523589&tstart=0 -
Cannot delete double entries in macbook calendar
I have double entries for recurring items on my macbook but not on my synced iPad though my android phone gets the double entries when synced but are easily deleted. My macbook accepts the deletion then says there has been a critical error in saving the changes and puts them all back.
DaveIf you see duplicate calendars or events after setting up iCloud Calendar
-
How to refresh iterator to get the deleted item
Hi,
Scenario:
User loads the first page. He can see his profile details. He clicks on a edit link ; it opens a popup to edit details along with a save and cancel button. He deletes his phone number and click on cancel. The cancel button will just close the edit popup.
Problem:
He is not able to see his phone number in the front page. Only if he commits his phone number should get deleted. I think i have to clear the cache and refresh the iterator on click of cancel. I have added CacheResults="false" for iterator.
<iterator Binds="AdminVO1" RangeSize="25" DataControl="AppModuleDataControl"
id="AdminVO1Iterator" CacheResults="false"/>
I tried to refresh the iterator like iterator.setRefreshOption(8192);// as i found in one blog.
Its also not working. Can anyone please tell me how can i refresh the iterator to show the deleted row when he goes back to the first page on click of cancelsorry for the post
Maybe you are looking for
-
Can no longer see usage details of other phone lines since updating mobile app
I just updated the My Verizon Mobile App on my Galaxy Nexus. Since the update, I've lost the ability to see usage of 2 other phone lines I have on my account. Before the update, it was simple to see usage details of each of the 3 lines on my plan. Si
-
What is the official procedure to install a 10g-Client on SLES10
Hi, we are having a server running SuSE SLES10 and we need to have it access a 10g database. We had a look at the certification-matrix and found that the combination SLES10/10g-Client is supported by Oracle. We know this now, but the installer obviou
-
Is there anyway to program a device to receive IR signals from a wireless
device and program it to activate certain application.kindly tell me.
-
Photo files broken while reading photo files in QNAP TS-469 Pro NAS with Lightrom CC 5.6 ver. The QNAP NAS using SMB & AFP. what's wrong?
-
Need guide lines for learning XI
Hi, I am just begining to learn XI. I have knowledge in ABAP and JAVA J2EE. I need to start learning XI, Please tell me from where I have to start for it. If you have any book or any link related to it, please share it with me. Thanx in advance.