How to delete the total entries in ztable

Hi ,
How to delete the total entries in ztable...
code pls.
regards,

Hi Venkat,
pls see below records,
Plant  Material                       Alternate material
3770  00000000000126875          2020202
3770  000000000005999335        2020202
3770  117196                           2020202
3780  00000000000126875           2020202
3784  00000000000126875         2020202
3784  000000000002809336       2020202
3784  000000000005999335        2 020202
3789  00000000000126875            2020202
if  i write below syntax ,
delete from ztable where matkl = '2020202'.
all records contains  matkl = '2020202' will be deleted ??
pls. reply.

Similar Messages

  • How to delete the unwanted entries directly from the UWL of MSS

    Hi experts
    I see an unwanted item stuck in WL of approver but not in his
    inbox how can i delete this entry form UWL,ihave tried refreshing UWL but the problem still persists please explain.
    when trying in the dev system
    *I actually applied leave from a test user
    his manager is able to view this workitem in his inbox
    then went into the background SAP and manually completed the workflow
    now if i go to the managers inbox i dont see it there
    but i still see it in UWL
    Could there be any reason for this,Please advice*
    Thanks in advance for your anticipated cooperation

    Hello,
    It is not easily possible to delete the workitems from UWL in MSS except using Batch program in backend ECC.
    Check again in the ECC, the workflow is got trigered and there is surely workitem in the manager's SAP Inbox. Check the tcode swia, enter the workflow task number and the workflow is got triggerred.
    Use swi5 tcode to see the Completed Workitems and to be completed workitems for that Employe (manager).
    The other reason could be.....somebody might hv executed this wf item, but still lying in UWL lists in  MSS.
    Try to re-register the system using UWL Wokflow Administrator in System Administration.
    Hope this helps.
    Regards,
    Anil Kumar.

  • How to delete the all records in Ztable from report program

    Hi Guys,
    Good Day!
    How to delete all records in Ztable from report program(Means I want to clean Ztable records from report program) .  Please send me the code.
    Thanks & Regards,
    Reddy

    Use this.
    DELETE { {FROM target [WHERE sql_cond]}
           | {target FROM source} }.
    *But before deleting the rows please check if this Ztable is being used in any other programs or used by others.
    Check "where-used-list"
    in se11 give the table name
    utilities- where-used list.
    I hope this helps.
    thanks.

  • How to delete the Red Entries of EWA

    Hello All,
    I have some red entries of EWA which had failed during initial Setup of EWA. Now, everything is fine. How to delete those entries from Solution Monitoring-> EWA ->Operations page. It islooking messy

    Hi,
    You can delete the EWA sesision reports as per below
    On EWA screen ...Go to Menu
    GO TO >Sessions>Re-Oraganise-->Select required entries
    Execute and choose which all entries you want to delete.
    Regards,

  • How to delete the NULL entries in nest table

    Hi,
    After I used a loop and open/fetch cursor populated the object table
    I found there are random NULL entries in my object table (nest table)
    The data look like this
    NULL NULL           NULL
    NULL NULL           NULL
    123     03-MAY-04     ACTIVE
    NULL NULL           NULL
    NULL NULL           NULL
    234     21-MAY-04     ACTIVE
    NULL NULL           NULL
    345     11-MAY-04     ACTIVE
    NULL NULL           NULL
    How can I get rid of those NULL entries in my nest table? So it can become
    123     03-MAY-04     ACTIVE
    234     21-MAY-04     ACTIVE
    345     11-MAY-04     ACTIVE
    Additional info:
    create type myType as object
    (id NUMBER (10,0),
    eff_date date,
    status VARCHAR2(17)
    create type myNestTab as table of myType;
    I have tried Delete procedure in following two ways.
    Version 1:
    FOR i IN l_my_nest_tab.FIRST..l_my_nest_tab.LAST
    LOOP
    IF l_my_nest_tab(i).id IS NULL THEN
    l_curr_event_tb.DELETE(i);
                   END IF;                         
    END LOOP;
    Version 2:
    FOR i IN l_my_nest_tab.FIRST..l_my_nest_tab.LAST
    LOOP
    IF l_my_nest_tab(i) IS NULL THEN
    l_curr_event_tb.DELETE(i);
                   END IF;                         
    END LOOP;
    Both of them give me the error “no data found.” And only left me the first NOT NULL entry in the table.
    123     03-MAY-04     ACTIVE
    Thanks in avdance.

    Hi Vishnu,
    u can write a report program for this and in that use the event  :
    AT NEW <field-name> ( use primary key)
    your statements
    ENDAT
    for eg.
    loop at itab ( herfe itab must be of type of table for which u want to track new entries)
    at new matnr
    write:/ new record
    endat
    endloop.
    schedule this report in background to run in every 5 or 10 mins as per your requirement and hence changes can be tracked.
    regards
    Vinod

  • How to delete the Webservice entry from Web service navigator?

    Hi,
    My current issue is that, developers have created many webserivces and these web services are visible in web service navigator that i access by following link
    http://<host>:<port>/wsnavigator
    But now we have to remove the unwanted webservices i.e. i want that unwanted webservices should not be visible to anyone when we access WSNAVIGATOR.
    How should i go about it?
    Am i required to undeploy the web services that is deployed from SDM GUI?
    Please pour in your valuable inputs.
    Any help would be highly appreciated.
    Regards,
    Ameya

    I had to revove the entry from VA. Removing this entry also removes the web service from ws navigator.

  • How to delete the table entries (created data )

    in which table the created data will be get stored i need to delete it programitically can any one help me out in this, plz tell me the table name where the created data will be get stored.

    Hi
    Rocky
    use the delete statement
    the information regarding delete is
    DELETE dbtab
    Syntax
    DELETE { {FROM target [WHERE sql_cond]}
           | {target FROM source} }.
    Effect
    The statement DELETE deletes one or more rows from the database table specified in target. The rows that are to be deleted are specified either in a WHERE condition sql_cond or with data objects in source.
    System Fields
    The statement DELETE sets the values of the system fields sy-subrc and sy-dbcnt.
    sy-subrc Meaning
    0 A least one row was deleted.
    4 At least one row could not be deleted, since it was not found in the database table.
    The statement MODIFY sets sy-dbcnt to the number of deleted rows.
    Note
    The rows are deleted permanently from the database table in the next database commit. Until then, you can cancel the deletion in a database rollback.
    plzz reward if helpfull dont forget to reward if helpfull..
    for any further quiries my mail id is
    [email protected]

  • How to delete the orphaned Expected Rule Entries exist in the FIM portal

    Hi,
    How to delete the orphaned Expected Rule Entries exist in the FIM portal.
    A large number of orphaned Expected Rule Entries exist in the FIM portal (originally 140000k+ objects, currently 75000+ objects). They consume the a lot of FIM database space and slows down the identity lifecycle management synchronization processes.
    Regards
    Anil Kumar

    Hello,
    in my environments i use this approach:
    https://social.technet.microsoft.com/Forums/en-US/1af6cf77-4c55-4a3e-93cc-0baae80bc88f/expiration-workflow-cannot-delete-ere?forum=ilm2
    This sets up a compination of Sets, Workflow and MPR to let the "Expiration Workflow" delete EREs as soon as they get orphaned.
    This works fine since 3 years now, even if there are comming SQL-Jobs within a FIM update, but I implemented this before this was done.
    I would suggest to clear the current orphaned EREs with PowerShell to avoid request flooding when implementing the above solution. Then implement that housecleening above.
    Regards
    Peter
    Peter Stapf - ExpertCircle GmbH - My blog:
    JustIDM.wordpress.com

  • Deleted the Registry Entry for OracleJobScheduler service. How to recreate?

    I accidently deleted the registry entry for the OracleJobScheduler Service for my production database. I know I shouldn't have -- but I was re-creating the console and clicked on the wrong thing.
    Is there a way to recreate the service? I copied the registry entry from another database, but the service isn't showing up in the Services window. I know how to create services using the NT Kit, but I am not certain how I need to set it up.
    Thanks in advance,
    DJM

    I do not think you needed it. But in case you want to put it back, export OracleJobScheduler<SID> from any other windows database server, open and edit it in wordpad to change servicename, ImagePath and DisplayName, then import into this server.

  • Workflow- how to delete the entry in inbox

    Hi,
    I had the entry open from my inbox.  The same entry was then opened by another sap user to modify.  So I received the modified entry in my inbox (at that moment, it showed I received JE 1000000138 twice). I open the modified entry, and I approved it. Then I realize I have the "old version" of the entry still in my inbox, but I cannot delete it from my inbox. as per my needs i want delete the old entry, is it possible? if possible please explain me step by step.
    Regards,
    Revoori

    Hi Ashok,
      Try using the FM SAP_WAPI_WORKITEM_DELETE. Pass the necessary parameters and would delete the inbox.
    Check the workflow log for the workitem ID that has to be passed to the above FM.
    Hope this would solve your issue.
    Good luck
    Narin

  • Reg:How to delete the column in table control also from database table.

    Hi Experts,
    Once again thank u all for giving the responses.
    one more doubt is how to delete the columns of table control and also the record shold delete from ztable.
    With Regards,
    Saroja.P.

    Hi,
    If you want to delete the rows in the table control and simultaneously delete it from the database table, then you can implement a 'DELETE' functionality specific to your table control. Have a MARK field (you will find that in the screen attributes of the table control -> give a name for the MARK field, you will find an additional MARK column at the beginning of your table control). You can check whatever rows you want to delete from the table control, call the delete module.
    "This portion of code inside the LOOP...ENDLOOP.
    IF sy-ucomm eq 'F_DELETE'.
       gt_itab2-check = mark.  " Store the MARK field status into your internal table's correspoding field 'check'
      MODIFY gt_itab INDEX tabcontrol-current_line.
    ENDIF.
    iF sy-ucomm eq 'DELETE1'.
      DELETE gt_itab WHERE check eq 'X'. "Your internal table does not have rows that you want to delete
    ENDIF.
    Now you can modify your database table using the MODIFY statement.
    MODIFY ZDB FROM TABLE gt_itab.

  • How to delete the data from partition table

    Hi all,
    Am very new to partition concepts in oracle..
    here my question is how to delete the data from partition table.
    is the below query will work ?
    delete from table1 partition (P_2008_1212)
    we have define range partition ...
    or help me how to delete the data from partition table.
    Thanks
    Sree

    874823 wrote:
    delete from table1 partition (P_2008_1212)This approach is wrong - as Andre pointed, this is not how partition tables should be used.
    Oracle supports different structures for data and indexes. A table can be a hash table or index organised table. It can have B+tree index. It can have bitmap indexes. It can be partitioned. Etc.
    How the table implements its structure is a physical design consideration.
    Application code should only deal with the logical data structure. How that data structure is physically implemented has no bearing on application. Does your application need to know what the indexes are and the names of the indexes,in order to use a table? Obviously not. So why then does your application need to know that the table is partitioned?
    When your application code starts referring directly to physical partitions, it needs to know HOW the table is partitioned. It needs to know WHAT partitions to use. It needs to know the names of the partitions. Etc.
    And why? All this means is increased complexity in application code as this code now needs to know and understand the physical data structure. This app code is now more complex, has more moving parts, will have more bugs, and will be more complex to maintain.
    Oracle can take an app SQL and it can determine (based on the predicates of the SQL), which partitions to use and not use for executing that SQL. All done totally transparently. The app does not need to know that the table is even partitioned.
    This is a crucial concept to understand and get right.

  • How to delete the Cost center line item data

    How to delete the cost center line item data of particular cost center and only one cost center is exisiting for that company code.
    Is there any way to delete the line items in that cost center.
    Can data archiving & deleting can help us..........
    does it have any effect over other cost center data....
    any input needed.........
    regards
    rajesh

    Hi,
    i found 2 reports for you:
    1) CO_TOTAL_WRI - Archiving CO Totals Records   
    2) RKCOITW1     - Archiving CO Line Items: Write Program        
    from 2) is a linlk to customize archiv-parameters
    -> start it with transaction se38 / sa38
    A.

  • How to delete the multiple companies assignement of a employee in SRM

    Hello Friends,
    In business partner maintenance (BP), one employee assigned to multiple companies in relationship tab.
    Following are the entries observed in relationship tab in BP Transaction code.
    Is employee of
    xxx(BP number) u2013 Company(address type) --- xxx(description) u2013valid from --- valid to -->1st entry
    xxx(BP number) u2013 Company(address type) --- xxx(description) u2013valid from --- valid to --> 2nd entry
    Ideally one employee should  assigned to one company only.
    Kindly let me know how to delete the relationship.
    We are using release SRM 5.0 with classic extended scenario.
    The organization structure is HR Replicated.
    Thanks in Advance,
    Pithani Suresh

    Hello Ganesh,
    Thank you for providing information.
    The employee is not assigned to multiple companies. The assignment is related to orgnizational unit.
    In organization structure (PPOSA_BBP), the user/position is assigned to one organization unit only
    More details about this issue,
    we find the relationship of the user/position in BP T.code (Relationship Tab), it is showing the relationship with current organizational unit and previous organizational unit. Ideally it should be assigned to one organizational unit. Due to some inconsistency, it is still showing the previous organizational unit.
    Example: Ex: User A is replicated from HR to SRM and assigned to Dept A (org unit 1) and later User A is shifted to Dept B (org unit 2) from HR Replication.
    Following are the entries observed in relationship tab in BP Transaction code.
    Input is BP number assigned to of the user A central person.
    User u201CAu201D is employee of
    BP number of org unit 1u2013 Company(address type) --- xxx(description) u2013valid from --- valid to -->1st entry
    BP number of org unit 2 u2013 Company(address type) --- xxx(description) u2013valid from --- valid to --> 2nd entry
    Thanks & Regards,
    Suresh Pithani

  • How to delete the Hierarchy data from Infoobjects.

    How to delete the Hierarchy data from Infoobjects. In my case I had 300 records in the corresponding table of info object.
    When i was trying to delete the hierarchy data, I am getting error message. "Some master data not deleted". Can any one tell me to delete all these records by using a program.

    Hi
    Go to SE11 and enter the hierarchy table name.
    /BIC/H....(infoobject name)...and execute the table and select table entry and delete all....
    Thanks
    TG

Maybe you are looking for

  • Customer Order and confirm number on idoc invoic02

    Goodmorning, in idoc invoic02 at line of invoice is present a field that give: -customer order number and data of creation -data of creation of order confirm about customer order Thanks Fabrizio T.

  • Twice I have received an error at 64% installed Adobe Reader 9.5(?)

    I get an error that says : "cannot contact reliable source" while trying to install Adobe Reader, the first time I hit "finish" and got message unsuccessful installion? what can I do?

  • Need info related to Infoset

    Hi all, i have created an Infoset on 2 ODSes. i have created a query based on this Infoset. i have a requirement where i want data only from these ODSes to be given in the picklist of the selection screen. I have changed the property "Query Exec.Filt

  • Class Not Found: JDBC driver oracle.jdbc.driver.OracleDriver

    Does anyone can help? When I install the OpenBravo, I get the error shown below: Class Not Found: JDBC driver oracle.jdbc.driver.OracleDriver could not be loaded. I am using the Oracle XE, jdk1.5.0_06, Apache Tomcat 5.5.17.

  • SHA-1 Algorithm and Decryption in CF

    Hello there, I am trying to decrypt a string and I get the following error message: "The SHA1 algorithm is not supported by the Security Provider you have chosen." This is a small description of the system: OS: Windows Server 2003 CF Version: 8, STAN