Changes and Logical Delete in View Maintenance

Hi everybody.
I've defined a table view maintenance V_TABLE for T_TABLE, with five fields. One of them is defined as 'R' (not editable field).
I defined an event 05 and an event 02 (for create and save) where I move SY-DATUM to the CREATED_DATE or UPDATE_DATE fields depending on it is a new record or a modification.
But if I modify several records only one is updated.
Besides, if the action is "delete" in the view maintenance, it must be a logical delete and move an 'X' to one of the editable fields.
Can you help me please ?
I can't see the action for each record in global tables.
Event f_save  ( 02 )
  IF t_table-created_date IS INITIAL.
    t_table-created_date = sy-datum.
  ELSE.
    t_table-last_upd_date = sy-datum.
  ENDIF.
  MODIFY t_table.
Event f_new_entry ( 05 )
  t_table-created_date = sy-datum.
Thanks in advance,
Liliana.

Hello Karol, thank you for your answer.
Now, when  I create new entries and select modify, hidden fields are updated.
But when I select the delete option, it must be a logical delete, not physical. I must update one field with an 'X', but not delete. Can you help me with this ?
Below is the include up now.
FORM f_delete
TYPES: BEGIN OF t_data.
INCLUDE STRUCTURE /tenr/t_ppintwc.
TYPES: action,
END OF t_data.
DATA: ls_total   TYPE t_data.
DATA: lt_total   TYPE TABLE OF t_data.
DATA: ls_extract TYPE t_data.
DATA: lt_extract TYPE TABLE OF t_data.
* get data from table maintenance
lt_total[] = total[].
lt_extract[] = extract[].
LOOP AT lt_total INTO ls_total WHERE action = 'D'.
IF sy-datum BETWEEN ls_total-begda AND ls_total-endda.
ls_total-endda = sy-datum.
IF ls_total-created_date IS INITIAL.
ls_total-created_date = sy-datum.
ls_total-created_time = sy-uzeit.
ls_total-created_by = sy-uname.
ELSE.
ls_total-last_upd_date = sy-datum.
ls_total-last_upd_time = sy-uzeit.
ls_total-last_upd_by = sy-uname.
ENDIF.
ENDIF.
IF sy-datum < ls_total-begda.
ls_total-endda = ls_total-begda.
IF ls_total-created_date IS INITIAL.
ls_total-created_date = sy-datum.
ls_total-created_time = sy-uzeit.
ls_total-created_by = sy-uname.
ELSE.
ls_total-last_upd_date = sy-datum.
ls_total-last_upd_time = sy-uzeit.
ls_total-last_upd_by = sy-uname.
ENDIF.
ENDIF.
MODIFY lt_total FROM ls_total.
total[] = lt_total[].
append ls_total to lt_extract.
extract[] = lt_extract[].
ENDLOOP.
ENDFORM.                    " F_DELETE
Thanks in advance.
Liliana.
Code Formatted by: Alvaro Tejada Galindo on Jan 4, 2010 3:12 PM

Similar Messages

  • Co-author cannot access track change and add/delete scenes

    My co-author cannot access track change or add/delete scenes. Is it a bug or is there a setting that I did not set correctly.  I shared the document as co-author several times with the same results. Any help would be appreciated Thank you Brice

    Hi there,
    Unfortunately, currently only owner of the document has the right to turn on/off track changes or accept/reject changes. Co-author can still view the document as Original or Final from Review menu or even navigate through the changes using Next Change/Previous Change. Extending the track changes rights to co-author as well is being considered on our backlog of items to do.
    Meanwhile, the co-author should still be able to go ahead and edit existing text, add new text, delete existing text and it should be getting tracked.
    Do keep providing us your feedback on the track changes feature. Your feedback is extremely important to us and helps us to improve.
    Thanks
    Adobe Story Team

  • Why did my calendar view suddenly change? Using iOS 7.1 and I've been using this version for a few weeks with no problem with my calendar. Now the view has changed and I can't view a list mode without seeing the month too

    Why did my calendar view suddenly change in iCal? I've been using ios7 fôr a few weeks now with no problems. Suddenly, without any updates or anything, the calendar view changed and I can no longer view it as a list without having the entire month seen as well.

    Hey Gattypyle,
    Thanks for the question. You simply need to go back to Day/Week view, then tap the list-view icon once more.
    Calendar at a glance - iPhone
    http://help.apple.com/iphone/7/#/iph3d110f84
    View a list of events. In month view, tap to see a day’s events. In day view, Tap the to view a list of events.
    Thanks,
    Matt M.

  • Edit Problem after changing and transporting a table view

    Hallo Experts,
    I hope you can help me.
    I changed a Z-table in the Data Dictionary. For this table there exists an Tableview.
    After I added three new fields I generate a new tableview:
    Utilities -> table maintenance generator
    Change -> create maintenance screen -> ok
    after this I optimized the layout of the screen.
    On our Enviromentsystem my Tableview works perfect.
    I can make changes in the table.
    Then I transported the new tableview to our testsystem.
    There I started the sm30 "Maintain table view" and tried to change table entries.
    After a click on "Maintain" the following Message appears:
    TK 730 Changes to Repository or cross-client Customizing are not permitted.
    The strangest thing is, that before my transport, it worked, I could change table entries.
    There were no changes on the userrights.
    And I can change a similar table on the testsystem.
    I compared the properties of both tables. But I could not find a difference.
    Have anybody an idea where the error can be?

    Hi
    Caution: The table is cross-client
    Message no. TB113
    Diagnosis
    You are in the process of maintaining a cross-client table. You are using the standard table maintenance screen here, which is frequently used to maintain client-specific Customizing entries. This message serves to warn you that each change you make will have an effect on all other clients in the system.
    System response
    You have the authorization required for cross-client maintenance.
    Procedure
    Think carefully about the effect of your changes. Due to logical dependencies between client-specific Customizing and applications data on the one hand and cross-client Customizing data on the other hand, changing or deleting cross-client data could result in inconsistencies.
    Therefore such changes should be carefully planned and coordinated, taking all the clients in the system into consideration.

  • DB Adapter polling and logical delete: Process succeed but lock on database

    We have the following busisness flow, that reseult in a BPEL behaviour we did not expect. I hope that some of you had the same exeprience.
    The database adpater polls from a table new records based on a value (20) in a status field. When it finds records, it will process them and update the status field (20 -> 30).
    When we update from sqlplus a record, select for update on record with status 20, then We see in the logging that the update fails, but the process ran sucessfully. At the database we see an outstanding lock. If we commit the sqlplus session (after a few minutes), the status field is updated to 30.
    This is strange to me, the BPEL process was already sucessfully finished.
    Anyone seen this behaviour?
    Regards,
    Marc
    The logging
    <2006-05-02 13:06:37,052> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log> SELECT STATUS,
    USERID FROM AQADM.TEST_UPDATE_VANUIT_BPEL WHERE ((STATUS = ?) AND ((STATUS <> ?) OR (STATUS IS NULL)))
    /ORA-
    <2006-05-02 12:03:21,473> <DEBUG> <default.collaxa.cube.activation> <AdapterFramework::Inbound> Delivery Thread 'JCA-work-instance:Database Adapter-0 pe
    rforming unsynchronized post() to localhost
    <2006-05-02 12:03:21,879> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log> begin transact
    ion
    <2006-05-02 12:03:21,881> <DEBUG> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.TopLinkLogger log> UPDATE PROV.PR
    OV_USER_ACCOUNT SET STATUS_CMMAC = ? WHERE (PUAT_ID = ?)
    bind => [30, 81600]
    <2006-05-02 12:03:22,188> <WARN> <default.collaxa.cube.activation> <Database Adapter::Inbound> <oracle.tip.adapter.db.InboundWork runOnce> Exception dur
    ing polling of the database ORABPEL-11624
    DBActivationSpec Polling Exception.
    Query name: [prov_cmmac], Descriptor name: [PROVprocessmacaddress.ProvUserAccount]. Polling the database for events failed on this iteration.
    If the cause is something like a database being down successful polling will resume once conditions change. Caused by Exception [TOPLINK-4002] (OracleAS
    TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.DatabaseException
    Exception Description: java.sql.SQLException: ORA-20220: MDB3 ERR: session not in admin mode
    ORA-06512: at "PROV.PUAT_BUR", line 90
    ORA-04088: error during execution of trigger 'PROV.PUAT_BUR'

    The following entry:
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2008-12-11T17:50:20.119+01:00</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="TRACE"></MSG_TYPE>
    <MSG_LEVEL>16</MSG_LEVEL>
    <HOST_ID>u514603.cmcdev.be</HOST_ID>
    <HOST_NWADDR>10.151.70.3</HOST_NWADDR>
    <MODULE_ID>esb.server.service.impl.inadapter</MODULE_ID>
    <THREAD_ID>18</THREAD_ID>
    <USER_ID>orasoad</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>10.151.70.3:11323:1229014220014:8</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>JCA: &lt;oracle.tip.adapter.db.TopLinkLogger log> SELECT UNIQUE_SUPPLIER_ID, SUPPLIER_NAME, SUPPLIER_NUMBER, NUMBER_TYPE, CM_SUPPLIER_TYPE, VAT_REGISTRATION_NUM, M_NUMBER, ADM_ID, OFB_PARTY_ID, CENTURY, LANGUAGE, ATTRIBUTE_CATEGORY, SPARE6, SPARE8, SPARE9, SPARE10, SPARE11, SPARE12, SPARE13, SPARE14, SPARE15, STATUS, ERROR_CODE, FILE_ID FROM XXCM.XXCM_AP_SUPPLIERS WHERE (STATUS = ?) ORDER BY UNIQUE_SUPPLIER_ID ASC FOR UPDATE NOWAIT
         bind => [MINE[undef:instance]]
    </MSG_TEXT>
    </PAYLOAD>
    </MESSAGE>
    can be found in $ORACLE_HOME/j2ee/oc4j_soa/log/oc4j_soa_default_group_1/oc4j/*.xml
    Regards

  • IMG - View maintenance  - View suppress existing entries and do not save

    Hi there,
    within the customizing maintanence I wanted to change a view cluster with an existing view (within transaction /simgh). But after replacement of the vc with the view the view do not show any existing entries and do not save my new entries.
    I already regenerate the whole view again, but the behavior do not change.
    I also deleted the whole maintenance dialog and generated again, but the behavior do not change.
    Now when I access the view, only a number of rows are changeable but empty (number of these entries = number of existing entries) and when I save a new entry, the whole line shift to the end, of empty changeable (open) lines and when I access the screen again, this entry is not saved and not displayed.
    Have anybody an idea how to solve this?
    Kind regards, Kathrin
    Edited by: Kathrin Gossmann on Mar 12, 2009 1:28 PM
    Edited by: Kathrin Gossmann on Mar 12, 2009 1:29 PM

    Hi,
    There is nothing called as basic list in web dynpro
    There are 2 ways of displaying more than one record (internal table data) in either ALV or Table.
    Using ALV you have an advantage of directly downloading onto excel.
    You need to process success and error records separately into 2 internal table, show them in 2 ALVs differently with 2 messages, so that the users can directly download them on to excel file as ALV provides it.
    If the user does not want the records (success or error) ones, if the user wants only a message with number of records uploaded/not uploaded then you do not require them to display it in ALV, you can just give them a message.
    In this case you can hide the ALV and only display messages in a single view or based on  radio button. 2 views or not required.
    In the selection screen itself, you  can show the number of records uploaded/not uploaded.
    Hope this helps.

  • When i double click on Mac HD the view has changed and my user name is no longer listed on the left. How can I reset this

    When i double click on Mac HD the view has changed and my user name is no longer listed on the left. How can I reset this?

    Do a factory reset .. nothing will be deleted from your backups and you will be able to get access to them again.
    The Factory Reset Gen1-4.
    Unplug your TC. Hold in reset. and power the TC back on.. without releasing reset for about 10sec. When the status light flashes rapidly; release it.
    Be Gentle! Feel the switch click on. It has a positive feel..  add no more pressure after that.
    TC will reboot after a couple of minutes with default factory settings and will wipe out previous configurations.
    No files are deleted on the hard disk.. No reset of the TC deletes files.. to do that you use erase from the airport utility.

  • Best practice for making changes to Oracle apps business views and BAs/fold

    HI
    The oracle BI solution comes with pre-defined Business Views- database views and Business Areas and folders. If we want to customize those database views or BAs and folders what will be the best practice in order to avoid losing it during any upgrades.
    For ex Oracle out-of box Order Management BA that we are using heavily needs some additional fields to be added to Order Header and Order Lines folders and we also want to add some custom folders to this BA.
    If we do the changes to the database views behind this BA would they be lost during the upgrade or do we have to copy(duplicate) those views, updated them and create a custom BA and folders against those views.
    Thanks

    Hi,
    If you are adding new folders then just add them to the Oracle Business Area. The business area is just a collection of folders. If the business area was changed in an upgrade the new folder would not be deleted.
    If you want to add fields to the existing folders/views then you have 2 options. Add the field to the defining base view (these are the views beginning OEBV and OEFV) and then regenerate the business views. This may be overwritten if the view is upgrade but this is unlikely.
    Alternatively, copy the view to create a new version and then map the old folder to the new view and refresh. You may need to re-map the folder if the folder is upgraded, but at least you have a single folder used by both Oracle and custom reports.
    Rod West

  • Windows compatibility; Delete key, view, Office for Mac and  Hassels

    Dear Friends
    I liked the style of the Mac powerbook, and after years of happy use of a Samsung notebook, I decided to take the plunge and buy a Mac. I amlo liked the idea of contributing to diversiy and not putting all my bucks in Gates's basket! People assured me there would be no compatibility problems bwteeen Office for PC and Office for Mac. So I moved from PC to Mac, but have had lots of problems. I have a powerbook 12". My main issues are that:
    1. Word and Powerpoint for Mac do not always convert properly when I take my files to work where I have to use PC. I find editing in powerpoint for Mac less easy than PPT for windows. Before an important presentation at an international conference recenly, the file I worked on on my Mac came out all funny when I loaded it onto the windows laptop that was already set up. I lost a good five minutes ******* around beore an international audience. Someitmes formatting in Word for Mac jumps and highlights and bold and bullet points go all srtrange or are lost when I take the file to work.
    2. The keyboard of the Mac is frustrating. I usually delete rightward; to do this on a Mac I have to hold down Fn and then delete, i.e. two finger operation. I always screw up since I am so used to the delete key on my PC and my brain gets in a twist. Is there a way I can change this?
    3. The power book is quite heavy (a simple moan as I travle a lot).
    4. Word, PPT and internet pages do not cover the whole screen, just the left half to three quarters, with a strip of unused screen on the right. I have been unable to make word for Mac ect cover the whole screen, so I always have to adjust the view size and then half the text is cut off. I would like to see the whole screen used. This is frustrating as the Mac has a kind of grainy screen.
    Any suggestions?
    Chris

    1. For problems related to Microsoft Office you should post your questions to Microsoft's own Mac discussions:
    http://www.microsoft.com/mac/community/community.aspx?pid=newsgroups
    2. If you want to "forward-delete" on a Mac without hitting the function key, then you'll have to purchase a full size Apple USB keyboard.
    3. Sorry. Can't help with that one. Maybe you should have bough a ligther 15" Powerbook.
    4. Again, sorry, but that's not a bug, it's a learning curve. Longtime Windows users seem to be more often than not used to working with applications and windows that cover the whole screen. Mac users generally don't. Just drag the windows over to the right or click the green maximize button at the top left of each window.

  • !!! Statements of Logic Deleting Files and messing with System are True !!!

    This morning I answered some guys post about Logic deleting everything in the same level as the project folder under certain circumstances. I Tried trouble shooting for him but could not recreate it.
    Then this happened to me today:
    When working in Logic 8 in Leopard all of a sudden it stopped communicating with my Unitor8 via USB. I restarted but the Unitor 8 Which I reset twice would NOT communicate with L8 anymore. It would remain in patch mode (red light lit though CPU is running)
    I've had this erratic behavior many times since the past years on many computers so it wasn't really new. All one needs to do is reinstall the Unitor Family driver.
    So I decided to do so:
    I inserted my Logic Studio DVD and opened the installer and checked ONLY the Unitor family Drivers. After completed install I restarted the Mac. Everything went fine. So I booted L8. While booting I saw my hardrives on the right side of the desktop flash once. I thought that to be strange and took closer look.
    Now my boot drive was missing from all the drives on the desktop and in the sidebar window...
    I tried to Apple+Click on a Application in the dock. The finder opened the applications folder and showed me the app I had clicked on. But I could not navigate to the root of my System Drive even via the "path" sysmbol in the toolbar. So I hit shiftappleg and entered /Volumes/MySystemVolume - it showed my volume "Grayed Out" in the finder window...
    I tried repairing the disk and permissions but nothing was wrong with my boot drive apparently besides the fact that the finder (and all other applications when wanting to open or save) could not "see" my system drive... I could launch all the apps normally that were residing on the SystemDrive in the AppFolder... So this kept getting weirder...
    So I opened my favorite application Tinkertool System and went to the Tab Files and chose the underlying tab "Attributes" which shows me Macintosh HFS and Finder Attributes... I pulled my SystemDrive onto the Drop Area and discovered something VERY amazing: The Display in Finder option had mysteriously been altered to "INVISIBLE"
    I changed it to Visible and there it was - My System Drive... Showing up in the finder...
    I made a restart to make sure everything was OK....
    After the restart the following settings had VANISHED:
    1) Pixadex = ALL ICONS (I had 230 MB) of sorted icons stored in my Application Support Folder
    2) All my Safari Book marks were gone - They were still in ~/Library/Safari - but the Bookmarks.plist was UNREADABLE even with a text editor and XML editor
    3) Numerous other applications had LOST their authorization preferences so I had to re-authorize many of my Audio Unit plug-ins...
    4) My Dock had been reset
    5) My Monitor arrangement had been reset...
    6) My date and time had been reset
    7) My energy settings had been reset.... (I had NOT zapped the P-RAM)
    Since installing Leopard 2 weeks ago - I have CAREFULLY monitored ANY activity after INSTALLING anything in order to be able to troubleshoot - and this problem definitely occurred right after installing the USB Family Drivers and launching L8....
    There was really NO HARM done other than the sweating that I did troubleshooting but if L8 is capable of doing what happened to this other guy loosing his whole folder and now doing this to me - where are the limits? When is someone going to get REAL hurt.
    Please Apple - I am sending you this post as a BUG report as well - could you PLEASE look into this as there has to be some kind of VERY dangerous MALFUNCTION within Logic or its Installers.

    Wow, I was just joking with the medication thing. I didn't actually think it was seriously a mental health issue. Sorry.
    In any case, though, if he has full access to the Mac, mental health issues or no, there's not a whole lot to do about it. If it is possible to take away administrative privileges without causing a huge fuss, then you can limit his access to certain things. However, you can't mess with privileges on a Time Machine backup (doing so breaks it), and that means he's going to have access to at least parts of the backup. Which means he can trash at least some of the backup data, and if he deletes files from the TM backup using the Finder, he'll have essentially trashed the whole backup. He might as well have the ability to delete all the files on the machine if he has the power to delete backups.
    Honestly, in this situation, he should either only be allowed to use an account with Parental Controls on, which may not be an option (I don't know how offended he would be at such a suggestion), or he should be using a different computer entirely and have no access at all to his wife's computer. Alternately, have his wife keep a backup that is hidden - ie, connect the backup drive periodically and then remove it and hide it so he can't mess with it. That will at least secure the backup.

  • Data Type with reference and view maintenance

    Dear all,
    There are two questions that I want to ask.
    1.     Error when referencing a table with data type = u2018STRINGu2019.
    I have a Z table with some fields = u2018stringu2019, when I use this as a reference, an error prompted.
    "ZTBL_ABC" must be a flat structure. You cannot use internal
    tables, strings, references, or structures as components.-
    2.     Error in generating the View maintenance for field length > 255.
    Actually, I want to create fields with
    1.     data type = char(255),
    2.     data type = text
    3.     data type = char(3000)
    It is okay if I create the field with the selected size, however, when I generate the View maintenance (which can be access through SM30); it does not allow me to do so. It still not working if I change it into string. How can I create such table and use the table maintenance, as well as using that as the reference type of an internal table for another program?
    Regards,
    Mandy Au

    Hello,
    1st of all a table which has a field of type string can be converted in to table maintenance because TM does not support string type as it becomes a very big field to be displayed on screen ... so u need to change that.
    and then about the CHAR of length 3000 is too big ... to have a max limit of 255.
    If you change this both u will be able to generate TM.
    Incase after changing the field length it it gives error in activatin your table then go to SE14 put your table name EDIT and then Adjust n activate it....
    hope this was helpful
    --- Close the post once you get the solution

  • I changed my apple id password are my imessages still there and can they be viewed without the new password?

    i changed my apple id password are my imessages still there and can they be viewed without the new password?

    If you want to change your iCloud ID or password on your phone go to Settings>iCloud and tap Delete Account, then sign back in with your updated information.  Note: this only deletes the account and any synced data from your phone, not from iCloud.  Provided you are signing back into the same account and not changing accounts it will be synced back to your device when you sign back in.

  • HT4847 I have a new iphone and cannot delete the backup from icloud.  It says that it is in use.  I have read some of the other threads and it only seems to be haphazard solutions. Is there a definite way to fix this? I am not able to change icloud accoun

    I have a new iphone and cannot delete the backup from icloud.  It says that it is in use.  I have read some of the other threads and it only seems to be haphazard solutions. Is there a definite way to fix this? I am not able to change icloud accounts.

    Follow the steps in wjosten's post here: https://discussions.apple.com/message/13356770#13356770 (for Windows, substitute Outlook in step 2).

  • My email recently changed and so I updated my Apple ID to reflect my new email, but my Icloud account still shows the old email as the username on both my Iphone and Ipad and for the life of me I can't figure out how to change or delete it.

    My email recently changed and so I updated my Apple ID to reflect my new email, but my Icloud account still shows the old email as the username on both my Iphone and Ipad and for the life of me I can't figure out how to change or delete it.  My password doesn't work with the old email address.  When I look for my old email address in the Apple ID support area it says that the ID doesn't exist.  Help!!!

    You have to go to Settings>iCloud and tap Delete Account, then sign back in with your updated credentials.  This deletes the account and your synced data from your device, but not from iCloud.  Provided you are signing back into the same account and not changing to a different account, your data will be synced back to your device when you sign back in.

  • I am trying to find an app that will track the usage on my iphone with times and dates to see what was accessed on my phone when I was away from it and what if anything was done eg deleted messages viewed facebook etc?

    Hi! I am trying to find an app that with track everything that is done on my phone with times and dates? im not really woried about call usage and texts sent I need it to view what has been done - for example:
    Messages received
    Messages deleted
    Facebook viewed
    Messages viewed
    Internet viewed and what?
    I just have an issue with someone using my phone - I used to track this through double clicking the home button and roughly knowing in what order I had been on things but they have sussed this one!
    Thank you!!

    No way to do that on a non-jailbroken iPhone. Why don't you just passcode protect your phone? That way no one but you can use it...unless they know your passcode.

Maybe you are looking for