Marking Z table entry for Deletion

Hi All,
Based on some condition in my program,
I am entrying one entry in Custom Z table.
Also for some other condition,
I need to mark the Table entry for deletion only, but it should not Delete.
So pls guide me for:
1) How to make Custom table entry as Mark for Deletion?
2) When I put Select Query on table, how  can I write that do not Select those
    Records which are marked for  Deletion ?
Rishi

Hi Rishi,
Create a new field of type 'CDXFELD' (Data Type) in the Custom Z table. Now populate that new field with 'X' if it is marked for deletion. Then you can select all those entries which that field 'CDXFELD' = Space.
i.e., if the field 'CDXFELD' = 'X' then it is marked for deletion else not.
Select *
  from Zcustom talbe
  in to IT_TAB
  where  CDXFELD = space.
Hope this will help..
Regards,
Ravi..

Similar Messages

  • How to Generate Audit table entries for user navigation in ADF application?

    Hi all,
    I have a requirement that I need to have audit table entries for each user action in my application. Along with entries for user actions like insertion,deletion and updation I also need to have entries in the audit log even when a user simply navigates to or views any page.
    Although I was successful in creating the entries for user actions like insertion,deletion and updation I failed to do so for simple user navigation through the pages.
    Can anyone please help me out?
    Thanks in advance,
    Arijit

    Hi,
    Thanks for the quick reply. I am using JSF for my ADF application.Could u please elaborate how to use the PhaseListener for Auditing user navigation?
    Arijit

  • How to validate table entries for that table

    i hav created one ztable se11.how to validate table entries for that table

    hi,
    create foreign key relation ships
    do the following way
    create a check table with key fields  the fields which you want to check
    create a foreign key relations with that table
    the procedure is as follows
    To create your check table:
    Begin at the Dictionary: Initial Screen.
    Type the table name in the Object Name field.
    Choose the Tables radio button.
    Press the Create button. The Dictionary: Table/Structure: Change Fields screen is displayed.
    Type a short text, choose delivery class A, and tickmark Tab. Maint. Allowed.
    Type the field and data element names at the bottom of the screen.
    Tickmark both fields to indicate that they both form the primary key
    Press the Save button on the Standard toolbar. The Create Object Catalog Entry screen appears.
    Press the Local Object button. You are returned to the Dictionary: Table/Structure: Change Fields screen
    Press the Technical Settings button on the Application toolbar. The ABAP/4 Dictionary: Maintain Technical Settings screen is displayed.
    In the Data Class field, enter APPL0 (APPL0 with a zero, not APPLO with an alphabetic O).
    Enter 0 (zero) in the Size Category field.
    Press the Save button.
    Press the Back button. You are returned to the Dictionary: Table/Structure: Change Fields screen.
    Press the Activate button on the Application toolbar. The message "was activated" appears in the status
    bar and the Status field contains the value Act..
    Choose the menu path Utilities->Create Entries to enter data into your newly created check table. Enter six rows with land1 values of US, CA, DE, IT, JP, and AU.
    Foreign Key Creation Procedure
    To create a foreign key:
    Begin at the Dictionary: Initial Screen.
    In the Object Name field, type the name of the table that is to contain the foreign key .
    Choose the Tables radio button.
    Press the Change button. The Dictionary: Table/Structure: Change Fields screen is displayed.
    Position your cursor on the field that is to become the foreign key
    Press the Foreign Keys button on the Application toolbar. The Create Foreign Key screen will be displayed
    Type a description of the foreign key in the Short Text field, for example, Country Code validation.
    Type the name of the check table (-t005) in the Check Table field, or click on the down-arrow and choose it from the list.
    The Change Foreign Key pop-up appears. It states Check table name was created or changed. Generate a proposal for field assignment? Press the Yes button.
    You are returned to the Create Foreign Key screen. The check table field names and the foreign key field names are displayed. (The check table field names are -t005-mandt and -t005-land1. The foreign key field names are -lfa1-mandt and -lfa1-land1).
    Press the Copy button. You are returned to the Dictionary: Table/Structure: Change Fields screen and the message "Foreign key was transferred" appears in the status bar. The Status fields contain the values Revised and Not saved.
    Press the Activate button on the Application toolbar. The message "was activated" appears in the status bar. The values in the Status fields are now Act. and Saved.
    reward if helpful
    prasanth

  • The SYSVAL table entry for the database version (16) does not match the required version

    We upgraded from Tidal Enterprise Scheduler (TES) 5.31 to 6.1 on fresh Windows x64 2008 R2 servers.  I did a fresh install but our DBA restored a copy of our database from pre-prod which was at 5.31.  I get the error below.  Note, SQL went from 2005 to 2012 during this upgrade.  Do I need to change a value in this table to reflect the SQL change?
    [04/29 12:47:14:198]:TIDAL Enterprise Scheduler: version 6.1.0.133
    [04/29 12:47:14:198]:Java version: 1.8.0
    [04/29 12:47:14:198]:Java Virtual Machine version: 25.0-b70
    [04/29 12:47:14:198]:Start Time : 04/29/14 12:47:14:198
    [04/29 12:47:14:198]:----------------------------------------------------------------------------
    [04/29 12:47:14:198]:Database URL :jdbc:sqlserver://SQL2012-Host:1433;responseBuffering=adaptive
    [04/29 12:47:14:198]:Database Driver :com.microsoft.sqlserver.jdbc.SQLServerDriver
    [04/29 12:47:14:198]:Maximum number of log files = 100
    [04/29 12:47:14:198]:Added a LogFile called 'RegularFile'
    [04/29 12:47:14:198]:LogManager: setting default log
    [04/29 12:47:14:214]:Retrieved a LogFile called 'RegularFile'
    [04/29 12:47:14:495]:MessageBroker: Instantiated TcpTransportServer (URI = tcp://0.0.0.0:6215)
    [04/29 12:47:16:975]:Retrieved a LogFile called 'RegularFile'
    [04/29 12:47:17:272]:The SYSVAL table entry for the database version (16) does not match the required version (23). Shutting down.
    [04/29 12:47:20:282]:
    [04/29 12:47:20:282]:
    [04/29 12:47:20:282]:Shutting down the application

    I had this error last night while applying a patch to 6.0. However in my case the version was 21 versus a required version of 23.
    As far as i know 6.1 is not compatible with the 5 db schema, so you will need an update / migration plan for the db also.

  • Cannot lock request "requestnumber " of table 0BPartner for deletion

    Hi, 
      In BI 7,  I encountered an issue with lock.
    The load failed due to lock . Im in the step to delete the failed request and reconstruct
    In this situation , i am receiving the following message
    "Cannot lock request "requestnumber " of table 0BPartner for deletion"
    And I am unable to delete the request
    Please let me know the resolution as soon as possible. Ur help is highly appreciated
    Let me know if you want more details
    Regards,
    Rezwan Asraf Ali

    Hi,
    You may get this error when the request is active.
    Also if you are below SP13, this may be due to a program error.  Read notes: 1040299 and 1033865 for resolving this.
    Cheers...

  • Table entries got deleted  ,how can we find who has deleted these entries

    Hi Team,
    We are using ECC6 /Oracle,few days back 2000 entries got deleted from one table.
    How can we get the log for deleted entries with all the details like User ID ,Date and time of Deletion.
    I have already checked STAD and DBACOCKPIT for SQL queries of deletion of records but could not find any log .
    Kindly help me to resolve this issue.

    Yes, under controlled situation, you can find some information(at least date and time with what was deleted) even if deleted from SQL level.
    You can use ORACLE's log miner - Using LogMiner to Analyze Redo Log Files
    Or have a look at this note: 1128990 - Using Oracle Logminer with Oracle >= 10g
    Regards,
    Divyanshu

  • Table entries for Personnel administration and organisation management

    Hi ,
    For a functional consultant do we need to remember the table entries where the employee infotypes saved or where the table entries is useful as far as Personnel administration and organisation management is concerned.....
    and one more thing how to create a custom Infotype (employee) detail documentation required ...
    keep me posted
    Thanks

    hi,
    it is really helpful if you rember the table name which holds the information about the infotypes
    table starting with <b>PA</b> contains all the personnel information data
    like <b>PA0001</b> holds the information of<b> infoty0001</b>
    similary you can check for other info types
    and hr haster table like<b> HRP1000</b> or<b> HRP1001</b> hold all the other hr objects including your personnel objects as well as organizational related objects
    <b>infotype numbers</b>
    Four digit number nnnn
    Unique identification
    <b>9000 to 9999 reserved for customer infotypes</b>
    <b>naming convention
    0000 to 0999 – HR Master data  / Applicant data
    1000 to 1999 – Organizational Management
    2000 to 2999 – Time data                     
    4000 to 4999 – Applicant data           
    9000 to 9999 – Customer defined</b>
    defination of infotypes
    <b>Each infotype nnnn requires at least two structures and one table</b>:
    <b>Structure PSnnnn</b>
         Structure PSnnnn contains all of the infotype data fields.
    <b>Structure Pnnnn</b>
         Structure Pnnnn contains infotype key fields and all of the data fields
    from structure PSnnnn .
    <b>Transparent table</b> PAnnnn and/or transparent table PBnnnn
    <b>infotype module pool</b>
    A module pool should be used with each infotype. This module pool is the main program for the maintenance interface for the info type.
    The name of the program is MPnnnn00. Where P stands for Human Resources (personnel) and nnnn is the four-digit info type number.
    Transparent table PAnnnn is required if you want to use an infotype within Personnel Administration.
         If you want to use an infotype within Recruitment, transparent table PBnnnn is required.
    In accordance with the distribution of infotype name ranges, objects P9nnn , PS9nnn , PA9nnn and PB9nnn are assigned to the customer name range.
    <b>infotype screen</b>
    An initial screen
    A single screen
    A list screen
    <b>Initial screen</b> is used as technical interface
    Screen 1000 is used for all info types
    Processed in background and not displayed
    Performs general initialization procedures
    <b>A single screen</b>
    Its an interface between the system and the user.
    It enables to create, display or maintain data records.
    Screen 2000 is used for single screen.
    <b>list screen</b>
    Unable to list all records in info type
    Screen 3000 is used for list screen
    <b>infotype time constrains</b>
    A time constraint indicates whether more than one infotype record may be available at one time. The following time constraint indicators are permissible:
    A    Only one record may exist, valid  from 01/01/1800 to 12/31/9999. Splitting and deletion is not permissible.
    B    Only one record may exist, valid  from 01/01/1800 to 12/31/9999. Splitting is not permissible, but may be deleted.
    T    The time constraint varies depending on the subtype.
    Z    Refers to time management infotypes.
    <b>
    to create infotype</b>
    Transaction code
    <b>‘PM01’.</b>
    <b>enhancing PA infotype</b>
    Start the Personnel Administration info type copier (PM01)
    Enter the info type number.
    Choose Enhance info type.
    Start transaction PM01
    You access the Create Info type screen:
    Choose Enhance Info types.
    In the Info type no. field, enter the four-digit number of the info type you want to create. When you specify the info type number, please remember to enter any leading zeros.
    In the Sub-Objects group box, flag CI Include.
    Choose Create. The Dictionary: Initial Screen is displayed.
    Create the Cl include.
    Choose Activate.
    Return to the Create Info type screen.
    Choose Create All.
    hope this information will help you..
    and don't forget to reward points

  • Mark maintenance plan items for deletion or delete them

    Hello,
    due to an user missunderstanding we have some maintenance plan items in our system which are not required (table MPOS).
    Is there a way to mark such items for deletion or to delete them completly?
    Thank you
    Kind regards
    Manfred

    Hi,
       I think ther is no way to directly delete the Maintenance items, u have to assign them in a dummy maintenance plan then make MP inactive , set deletion flag & Archive ... thus it applies to Maintenacne items also check this link http://www.sapfans.com/forums/viewtopic.php?t=173192
    regrds
    pushpa

  • Custom table entries suddenly deleted

    We have a custom table in our production system that had 14000+ entries last Friday.  Now, they're all gone.  Production system is not modifiable, no one has authorization to SE16 or SM30 for deletions.  No program that deletes the data has been run in this timeframe (based on ST03 data).   What other ways could this data have been deleted?  We're puzzled.

    Kirsten,
    you may want to check two things:
    1.) Is there a delete or clean-up report for your custom table (check via the where-used list)? If yes it is very likely that someone ran it...
    2.) It could also be that something happened directly on DB level. The admin accidentally dropped the wrong table, etc. This is not very likely but I have seen that happening before. Maybe the DB admins can even tell you at which time the table got deleted...
    Tim

  • How to mark a support messge for deletion

    Hi Gurus,
    Can anyone guide me how to mark a service desk message for deletion?
    You help highly appreciated
    Thank you
    BR
    Saravanan Ramasamy

    Hello Saravanan,
    To delete unwanted support desk messages, you have to delete the basis part of a support desk message please follow note 566225. The CRM part can be archived with transaction SARA and the
    archiving object CRM_SERORD. For CRM test messages alternatively the report CRM_ORDER_DELETE can be used.
    To keep the system consistent, the ABA notification AND the assigned CRM
    message have to be removed from the system.
    To delete the ABA notification note 566225 can be used. The deletion of
    CRM messages (e.g. with CRM_ORDER_DELETE) is not possible anymore (as of
    note 845433).
    The CRM message only can be archived. To archive the CRM message with
    transaction SARA the archiving object CRM_SERORD is the correct one.
    That numbers can be reused the relevant number ranges have to be reset.
    This only can be done without causing problems when ALL ABA
    notifications and CRM transaction existing in the system have been
    deleted/archived.
    Hope the above information helps you.
    Regards
    Amit

  • Auth. obj. controlling options Create - Change of Table Entry for SE11

    Hello,
    Could someone please guide me to the authorization object/s which controls the options : Create - Change reached by trans. code SE11, Change, Contents (Ctrl + Shift + F10) , Execute (F8), Table Entry, Create - Change.
    Thank you in advance for your cooperation.
    Best regards.
    Reda Khalifa

    Hi,
    when you execute SE11 authorization object S_DEVELOP was check.
    S_DEVELOP has following nodes.
    Activity :    create,change,display
    Package :  z,y
    Object name : z,y
    Object type :  type of object i.e domain,table, index etc.
    Authorization group ABAP/4 pro : *
    now suppose you want to give user authorization for display only then
    Activity should have value 03 only.
    in future please post your authorization related thread in security forum.
    Security
    regards,
    kaushal

  • Table entry for table T710A and T710

    Friends - Can anyone help me to understand what could be possible problem if i maintain PAY GRADE & PAY GRADE LEVEL entries through table. I have 57000 thousand entries for different countries so i am using BDC recroding to upload these values.
    Please help me find out dependent tables on PAY GRADE & PAY GRADE LEVEL.
    Kind regards,
    Amit Jain

    Hi:
    T710:
    MOLGA     - > T500L
    SLTYP     - > T510A
    SLREG     - > T510G
    SLGRP     - > T710A
    T710A:
    MOLGA     - > T500L
    SLTYP     - > T510A
    SLREG     - > T510G
    FREQU     - > T710F
    WAERS     - > TCURC
    WGTYP     - > T52D7
    Hope it helps,
    Regards.

  • Remove LIPS and VBUP entry for deleted line item on delivery

    How can we remove an entry in LIPS and VBUP for a delivery line item that has been deleted?  The delivery shows no line items when viewing with VL03N but the line item remains in LIPS and VBUP.  When we try to cancel the entire delivery we receive an ABAP runtime error due to these inconsistent entries.

    Hi Basavaraj,
    Please let me know how can I do it by table level. There is another post regarding having same issues
    http://scn.sap.com/thread/3384628
    But the answer he say use only for very few entries. I have around 100 entries similiar cases.
    Best regards,
    Shahid Malayil

  • Text Table entries for 0Material not visible in report

    Hello All,
    I have been executing a report to evaluate the forecast error. In this report, when I drilldown via Material, I get the description of the material for few of them and for remainder, just the key is displayed in the description as well as the key of that material.
    I checked the text table for entries of such materials and to my surprise, the text entries do exist in the cube for these materials as well. But it is not being displayed in the reports.
    I also checked the property for Material in the query nd it is being displayed as 'Text and Key'. So there seems to be no issue in the query as well.
    Can someone put some light on this and help me reach the solution?
    Thanks in advance.
    Regards,
    Chaitra

    Dear Chaitra,
    When displaying a characteristic by key and text, the BEx Query Designer automatically displays the shortest available text from the InfoObject's text table. BEx automatically selects the shortest text available from an InfoObject’s text table when displaying a characteristic by key and text. When a text table has a short, medium, and long text field, the short text displayed.
    Try by changing it display as property to long/medium text.
    Plz revert back for if still had any doubt.
    Regards,
    RK

  • How to create PMCO table entries for few PM Order

    Hi Experts
    By a lack of Customizing we have used for few day a PM order type without the flelds AFKO-KLVARP and AFKO-KLVARI set.
    For this missing setting no entris had been created during Creation and Confirmation in PMCO and PMCOQT tables.
    Now I've filled teh fields with a Zreport on AFKO table, but now I need to create the PMCO* data using RIPMCO00 report.
    Unfortunately it doesn't work. Is there a way to re-build this missing datas ???
    Thanks for your help.
    Claudio
    Edited by: Claudio Carrara on Feb 15, 2012 3:48 PM

    Run the program RIPMCO00, has no effect because tables PMCO and PMCOQT are empty for these order.
    This hapepns becuase when the Order was confirmed, teh fields AFKO-KLVARP and AFKO-KLVARI was null.
    Now I've fixed these fiels, and I need to rebuild PMCO datas, burt report doesn't work because PMCO and PMCOQT tables are empty.
    I need to create PMCO and PMCOQT entries in advance.
    How I can proceed ???
    Thanks
    Claudio

Maybe you are looking for

  • N96 No Message Sounds after update to 12.043

    I've recently updated my phones firmware to 12.043, impressed how much more resposive the phone is. However I now have an issue when I get a new text message the phone does not make any sound. I have checked the profile is on general and that the mes

  • Error "Turn on Home Sharing in iTunes".  But it's on.  I do have a new router though...

    When I try to use my Computer section on my Apple TV so that I can view movies or music in my iTunes library it gives me the error "Turn on Home Sharing in iTunes".  Of course I have done that already in iTunes on my computer.  I went into my iTunes

  • Question marks inside diamond

    Hello all, I was trying to find a topic to reply to, but everything with this issue has been archived. So here's a new post. When I send Apple Mail to someone and they reply, my original message is peppered with diamond shapes with a question mark in

  • HELP! Problem with permissions

    Here is my problem: My computer has been acting strange, sometimes it will freeze, the screen will go dark and a message will pop up saying I need to restart. This could happen anytime in the middle of the siplest task, like ejecting a disk, or in th

  • TS4268 iMessage and Facetime have a "Waiting for activation" message.  What do I do?

    Facetime and iMessage have a "Waiting for activation" error message in the setting section. Need help figuring out what to do.