How to cpature hard deletes in custom table?

Hello Team,
We have custom table in SAP attached to the application tcode.
As per business requirement, user can delete few items in transacation( hard deletes).
We are planning to delete these records from custom table if user delete them in Tcode. However the we need track all of these deleted records.
Since the record physically deleted from this table, please let me know how to capture the deleted record.
I heard about CDPOS and CDHDR not sure this table has deleted records. and also DBTABLOG as well.
What is main diffrence between CDPOS/CDHDR with DBTABLOG interms tracking these deleted records. Our basis team recommending not use DBTABLOG table, since its huge table and its hard for them to archvie.
Like to listen expert advices.
Thanks
Angelo

Rob,
Do you want me write Z program to read hard deletes from DBTABLOG and update another Ztable that stores only delted records/
Pls advice,
Thanks
Angelo

Similar Messages

  • Error while deleting a customer table

    When I try to delete a customer table which is saved as a local object I get an error stating that the table is still used in ABAP Dictionary. It seems that the customer table is still used in a customer program, but the program is already deleted! I deleted the program earlier and thus no longer exist in our system. I cannot find any trace of the program, but am unable to delete the customer table now. Any suggestions?

    Program name would have been of the table maintenance generator and you deleted it manually.
    It should have been deleted from TMG .
    Your problem will be resolved if you will create Table maintenance of the database table and then delete it again.

  • How to find the deleted data in tables

    guys,
    how to find the deleted data in tables example: i want to see whether anyone deleted data in MB5B report tables like mbew, etc.,
    regards,

    Hi,
    MBEWH is actually the history table of MBEW. It will record all the changes. As I have told you earlier if you have deleted the record dirctly from the table then it will not come even in the table MBEWH
    That means no changes have been made.
    regards

  • Need help for record deletion from custom table

    Hi friends
    I have to write a custom program which will be generic to delete any table record with date field.
    This program needs to be generic (should be able to delete records from any custom table) in nature with selection screen parameters as:
    Table Name and Number of Days prior to which records are deleted, both mandatory.
    Program Flow:
    1.     From number of days calculate date before which records are deleted, ( current date u2013 no. of days = past date).
    2.     Custom table have date field, delete records prior to that date.
    3.     Program may be scheduled for background job, put default values for both fields. No. of days should not be less than 60.
    4.     Classical Report output with number of records deleted.
    My query is how will I know the name of the Date field so that I can write a DELETE query.
    If I use 'DDIF_FIELDINFO_GET' it gives me all field names but how to filter out?
    with regards
    samikhya

    Hi
    I have added  field on the selection screen as p_fieldname and got the F4 help for it , so that the user will get the field name run time as per the table name.
    Now I am facing problem while writing the DELETE query.
    I wrote like
    DELETE (fp_tab)
    where (fp_fieldname) LE date
    It is not working. I also tried with taking a string to concatenate fp_fieldname, LE and date to l_string
    when I write like this:
    DELETE (fp_tab)
    where (l_string) , sy-subrc is getting 4 and no records are getting deleted.
    I do not understand where the dynamic Delete is failing??
    with reagards
    Samikhya

  • Table entries deleted in Customized table.

    Respected Guru's
    table entries in a customized table were deleted in production system, no transports pertaining it was found.
    Table entries were updated using bapi.
    Please help me to know how the table entries were deleted.
    Daya.
    Edited by: Dayananadan Anandan on Nov 12, 2009 11:35 AM

    Hi Johnson,
    you might have to restore the DB Backup for the table to gt back the data....
    Furthermore, if you want to track how the entried were deleted then there are 2 ways to go about it:
    If the Deletion of the records was through an application (FM,Program call) then there should be Chande Documents available for them and you can search them by hitting tables CDHDR and CDPOS...
    If the Deletion of the records was done physically the you can try looking into the tables UASE16N_CD_KEY and UASE16N_CD_DATA (deletion from transaction UASE16N) or tables SE16N_CD_KEY and SE16N_CD_DATA(Deletion from SE16). This will give change pointer documents if the records were deleted using these transactions...
    Another option might be that somebody has used the Database utility and selected the option Delete Data. In this case you can have a look at the object log....
    Hope this helps....
    Regards,
    Sitakant.

  • How to maintain default values for custom table fields --  Urgent

    Hi all,
    I've a requirement wherein i need to create a Z table (with maintainence view) in which i'll have date and time as two of its field which should have current date and current time as default value. Can somebody suggest as how am i to maintain the date and time fields defaulting to current date and current time.
    Incase if someone is unable to intrepret what i'm trying to say, please query me, i'll elaborate it further.
    Please give in your quick inputs which is highly valuable to me and also will be highly appreciated.
    Thanks in advance,
    Vaishnavi Varadarajan

    We have a following custom table which contains the fields “Date on which record was created” and “Name of the person who created the object”. We would like to have these to be filled up with SY-DATUM and SY-UNAME respectively.
    Using the events, we can achieve this.
    Please refer the following link:
    http://abapliveinfo.blogspot.com/2007/12/events-in-table-maintenance-in-sap.html
    Also,
    Write a form routine in table maintanance generator.
    1. SE11 > utilities > table maintenance generator
    2. environment > modification > event
    define the event and form routine to make use of the tigger. in the form routine define an object for the class and call the relevant method.
    Or u can do it as:
    Table maintenance generator is basically used to do table operations like (insert, delete, modify...).
    if you create table maintenance for your table it will build a module pool program, by using you do the above operations.
    below is the procedure to create table maintenance generator.
    1) Create one function group.
    2) after activating your Ztable, choose 'Utilities'----> 'Table maintenance genrator'.
    3) then give the authorization group and function group created abobe in the next screen.
    4) Then choose the "create" button in your application tool bar, which will creates the module pool program.
    5) then create one Tcode by chosing "Transaction with parameters( parameter transaction)".
    6) in transaction field give "SM30", select the check box "Skip initial screen".
    7) in the below of that screen you can find the "Default values" frame.
    8) there under the "name of screen field" select the "View name' and 'update".
    9) in value column against to "view name" give you table name, and against to "Update" put 'X' in capital letters.
    save it then you can straight away use this newly created Tcode to maintain your table.
    Note:- 1) make the modification while saving the data into your table using this newly generated program to carry out your validation (even though it looks like standard program; no need to enter the access key).
    2) if you do any changes to your table and press the activate button automatically the table maintenace generator will be goes off, you need to create this again.
    cheers,

  • How to Create Transport Request For custom table

    Hello All,
    I have and requirement to create transport request automatically when and record inserted in to the custom table.
    Actually FI whe people create or delete  some bank account from DEV client the transport request  creates automatically and they transport that request to Quality and Production system to delete or create that account from all the systems.  but when they delete the account all the informations related to that bank accounts get deleted from all the standered customize tables .  to keep the track of that deleted account I have created one z table which is of type customize table. this table is filled automatically when any account get deleted from DEV system. now I want to pass that record to Quality and Production systems using transport request.
    how can i create transport request when record get inserted into my ztable automatically.
    Thanks in advance.
    Vinod

    Hello All,
    This is a FAQ and has been answered many times before in the forum.
    1. Maintain delivery class 'C' it will start asking for a TR: False. Delivery class has got nothing to do with the TR prompt. It determines how the data is to be transported. A delivery class 'C' will prompt for a customizing request, whereas a delivery 'A' will prompt for a workbench request.
    2. For the system to automatically prompt for a TR you have to select the "Standard Recording Routine" in the table maintenance generator. This will prompt you for a TR every time you try to create / modify a record & save it to the DB.
    Hope i am clear in my explanation.
    If your table is filled automatically through some coding you have to add the entry to the TR programmatically. Check this link for details: [http://wiki.sdn.sap.com/wiki/display/ABAP/TransportingTableEntriesinABAPprogrammatically|http://wiki.sdn.sap.com/wiki/display/ABAP/TransportingTableEntriesinABAPprogrammatically]
    BR,
    Suhas
    Edited by: Suhas Saha on Mar 31, 2010 11:22 AM

  • How to enter data in a custom-table

    Hi All,
    I created a custom-table in sapCRM system. There won't be a place to enter records on the screens. So how can the users enter new records into the table? Is there any other way they can do that.
    Regards,
    Ranjan

    Hi,
    In SE11, on "Delivery and Maintenance" tab, make sure your table is "Display/Maintenance Allowed". There could be other settings too, but i know only this one.
    Then, once you inside the table, hit F5 or in the upper tool menu, choose "Table Entry-> Create".
    Populate mandatory fields and save.
    We have done the same in few projects, but only in the Development environment.
    There could be other security settings you need to do, since you will be creating entries in Production.
    Regards,
    Vadim.

  • How to manage data in a custom table added in SBO?

    Hello,
    I'm developing a addon for one client that needs to control an aditional step, after each Invoice is posted.
    Since SBO does not allow me to add additional fields to Invoice header table (OINV), I thought to add a custom table to SBO database to control the process for each Invoice (simple table with 2 columns: DocNum to hold the Invoice number, and Status to keep track if the Invoice was processed or not).
    When I added a Custom Table in SBO and checked the table definition in SQL Manager, I found that SBO added automatically 2 new columns (Code and Name).
    Since the PK is defined at Code column (and not the DocNum has I wanted), I found that it not very handy to manage data (insert, delete & update) with this table definition.
    I tried to find a DI object that could manage easily the data of this table type but had no sucess.
    Then I thought in adding the custom table directly in SQL Manager, and manage it directly with Recordet objects.
    However this seems not a standard process to manage data since it interacts directly with the DBMS, which can be dangerous...
    Is there any way or DI object to manage this custom tables added in SBO?
    Thanks all!
    Manuel Dias

    Hi Manuel,
    What do you mean by SBO does not allow me to add additional fields to Invoice header table (OINV).
    Have you tried it add a UDF to OINV,if so what is the exception you got while adding.
    If you Have not tried Use the following code to create.
    Dim oUserFieldMD As SAPbobsCOM.UserFieldsMD
            oUserFieldMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
            If (Not isColumnExist(TableName, ColumnName)) Then
                oUserFieldMD.TableName = "OINV"
                oUserFieldMD.Name = ColumnName
                oUserFieldMD.Description = Description
                oUserFieldMD.Type = SAPbobsCOM.BoFieldTypes.db_Alpha
                oUserFieldMD.EditSize = Size
                (objUserFieldMD.Add() )
            End If
    if the field is added successfully.
    Then open the Invoice screen and goto View menu and click on user defined fields then it will show you one form which contains the field you added,
    You can access this field using DIAPI of Invoice object
    regards
    Vishnu

  • How to track changes in a custom table and based on that run an interface

    I have an interface. The pre-condition for running the interface is "Run the interface only if there is new entry added to the table( a custom table). Now I have created a change document object using tcode SCDO for the custom table. Now how do i proceed further. Please tell me the steps which i need to follow to check if the custom table has been changed and also the entries changed  before running the interface.

    Hello,
    SAP has provided many changes tracking related programs for Sales order, Vendor changes etc.
    They all use the standard function Module
      call function 'CHANGEDOCUMENT_READ_HEADERS'
    call function 'CHANGEDOCUMENT_READ_POSITIONS'
    so with these you can get the changed records
    Let me know if this helps you
    Thanks and Regards
    Pushkar Joshi

  • How to track changes in a custom table

    HI all,
       Requirement is
    1. In custom table instead of using table maintence generator ALV gird has to be display to see table entries. But where i have to write the code when user press CONTENTS button?
    2. In alv gird there shuld be one button which shows the change history of selected record and modify the content of selected record. For track changes i have registered custom table name in SCDO. so that changes made will reflect in CDPOS/CDHDR.
    but how can i track changes thru dis table? i didnt find field contents of custom table in CDPOS/CDHDR tables?
    Please help me with these Ques.

    Hello,
    SAP has provided many changes tracking related programs for Sales order, Vendor changes etc.
    They all use the standard function Module
      call function 'CHANGEDOCUMENT_READ_HEADERS'
    call function 'CHANGEDOCUMENT_READ_POSITIONS'
    so with these you can get the changed records
    Let me know if this helps you
    Thanks and Regards
    Pushkar Joshi

  • How to perform long deletes in a table

    Hi,
    How to perform long deletes from contains large number of records in a table.There is a table which size is 20GB and total record is 70283699
    When we try to delete the records it take more than ten hours. Suggest me how can I to reduce the time.
    Thanks,

    Hi,
    Find below that table script..
    CREATE TABLE TRADING_FIN
    TABLESPACE FIN_DATA
    PCTUSED 0
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    NEXT 64K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    LOGGING
    PARTITION BY RANGE (YEAR)
    SUBPARTITION BY LIST (GROUP_NO)
    PARTITION ABC_Z2009 VALUES LESS THAN (2009)
    LOGGING
    NOCOMPRESS
    TABLESPACE FIN_DATA
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    NEXT 64K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    ( SUBPARTITION ABC_Z2009_SP_1101 VALUES (1101) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_Z2009_SP_1102 VALUES (1102) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_Z2009_SP_1108 VALUES (1108) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_Z2009_SP_1111 VALUES (1111) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_Z2009_SP_1112 VALUES (1112) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_Z2009_SP_1113 VALUES (1113) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_Z2009_SP_1133 VALUES (1133) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_Z2009_SP_1161 VALUES (1161) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_Z2009_SP_1164 VALUES (1164) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_Z2009_SP_1165 VALUES (1165) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_Z2009_SP_1167 VALUES (1167) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_Z2009_SP_1168 VALUES (1168) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_Z2009_SP_1169 VALUES (1169) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_Z2009_SP_1201 VALUES (1201) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_Z2009_SP_1223 VALUES (1223) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_Z2009_SP_1228 VALUES (1228) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_Z2009_SP_1229 VALUES (1229) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_Z2009_SP_1230 VALUES (1230) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_Z2009_SP_1231 VALUES (1231) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_Z2009_SP_1232 VALUES (1232) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_Z2009_SP_1233 VALUES (1233) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_Z2009_SP_1234 VALUES (1234) TABLESPACE FIN_DATA ),
    PARTITION ABC_Z2010 VALUES LESS THAN (2010)
    LOGGING
    NOCOMPRESS
    TABLESPACE FIN_DATA
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    NEXT 64K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    ( SUBPARTITION ABC_2010_SP_1101 VALUES (1101) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2010_SP_1102 VALUES (1102) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2010_SP_1108 VALUES (1108) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2010_SP_1111 VALUES (1111) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2010_SP_1112 VALUES (1112) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2010_SP_1113 VALUES (1113) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2010_SP_1133 VALUES (1133) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2010_SP_1161 VALUES (1161) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2010_SP_1164 VALUES (1164) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2010_SP_1165 VALUES (1165) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2010_SP_1167 VALUES (1167) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2010_SP_1168 VALUES (1168) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2010_SP_1169 VALUES (1169) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2010_SP_1201 VALUES (1201) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2010_SP_1223 VALUES (1223) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2010_SP_1228 VALUES (1228) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2010_SP_1229 VALUES (1229) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2010_SP_1230 VALUES (1230) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2010_SP_1231 VALUES (1231) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2010_SP_1232 VALUES (1232) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2010_SP_1233 VALUES (1233) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2010_SP_1234 VALUES (1234) TABLESPACE FIN_DATA ),
    PARTITION ABC_Z2011 VALUES LESS THAN (2011)
    LOGGING
    NOCOMPRESS
    TABLESPACE FIN_DATA
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    NEXT 64K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    ( SUBPARTITION ABC_2011_SP_1101 VALUES (1101) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2011_SP_1102 VALUES (1102) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2011_SP_1108 VALUES (1108) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2011_SP_1111 VALUES (1111) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2011_SP_1112 VALUES (1112) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2011_SP_1113 VALUES (1113) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2011_SP_1133 VALUES (1133) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2011_SP_1161 VALUES (1161) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2011_SP_1164 VALUES (1164) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2011_SP_1165 VALUES (1165) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2011_SP_1167 VALUES (1167) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2011_SP_1168 VALUES (1168) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2011_SP_1169 VALUES (1169) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2011_SP_1201 VALUES (1201) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2011_SP_1223 VALUES (1223) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2011_SP_1228 VALUES (1228) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2011_SP_1229 VALUES (1229) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2011_SP_1230 VALUES (1230) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2011_SP_1231 VALUES (1231) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2011_SP_1232 VALUES (1232) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2011_SP_1233 VALUES (1233) TABLESPACE FIN_DATA,
    SUBPARTITION ABC_2011_SP_1234 VALUES (1234) TABLESPACE FIN_DATA )
    NOCOMPRESS
    NOCACHE
    PARALLEL ( DEGREE DEFAULT INSTANCES DEFAULT )
    MONITORING;
    CREATE UNIQUE INDEX TRADING_FIN_SUMMARY1P ON TRADING_FIN
    (ITEM, LOCATION, YEAR, WEEKNO)
    LOGGING
    TABLESPACE FIN_DATA
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    NEXT 64K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOPARALLEL;
    CREATE INDEX TRADING_FIN__IDX_BRANDP ON TRADING_FIN
    (YEAR, WEEKNO, GROUP_NO)
    LOGGING
    TABLESPACE FIN_DATA
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    NEXT 64K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOPARALLEL;
    ALTER TABLE TRADING_FIN ADD (
    CONSTRAINT TRADING_FIN_SUMMARY1P
    PRIMARY KEY
    (ITEM, LOCATION, YEAR, WEEKNO)
    USING INDEX
    TABLESPACE FIN_DATA
    PCTFREE 10
    INITRANS 2
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    NEXT 64K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    Thanks

  • Error when deleting a customer table

    Hi guys, im deleting a Z table with a loop, and the following error is displayed after 10 minutes.
    the log reads as follow.
    1. ORACLE storage space request failed.                                
        (ORACLE error 1547)                                                
    To execute this operation, the ORACLE instance needs more              
    storage space for a segment. This storage is                           
    managed by ORACLE in logical units known as extents.                   
    The size of an extent depends on the segment definition and            
    the current storage situation.                                                                               
    One segment (possibly more) is stored in one tablespace.               
    The storage space available for a tablespace must be explicitly        
    preallocated by the database adminstrator. If, in course of time, the  
    volume of data in this tablespace increases considerably, the storage  
    space may be filled up (in real terms or through fragmentation).       
    2. Maximum number of extents reached for rollback segment.             
        (ORACLE error 1556)                                                
    To execute this operation, the ORACLE instance needs more              
    storage space for a segment. This storage is                           
    managed by ORACLE in logical units known as extents.                   
    The size of an extent depends on the segment definition and            
    the current storage situation.                                                                               
    For each segment, the ORACLE instance can manage only a certain number 
    of extents. The maximum number for this                                
    segment has been reached.                 
    HERE THE CODE:
    DO 48 TIMES. " HASTA 4 años.
    DELETE FROM (p_ztable)
    WHERE perio = periodo.
    IF mes = '01' OR mes = '1'.
    mes = 12.
    anio = anio - 1.
    ELSE.
    mes = mes - 1.
    ENDIF.
    CONCATENATE ANIO '0' MES INTO PERIODO.
    ENDDO.
    any ideas?

    Looks like the temporary memory pages are overflowed.
    System hold the data in the temporary memory to enable ROLLBACK work.
    So, we need to either do the COMMIT WORK or ROLLBACK WORK after cretain number of data.
    Or, Reduce the number of loops and process smaller number of data at a time (before next COMMIT or ROLLBACK work).
    Regards,
    Naimesh Patel

  • How to upload data in a custom table in quality server

    Hi All,
    I want to upload data in custom table in quality server.
    I forgot to tranfer TMG into QA. I also don't send any upload program to QA.
    Is there any way to upload data directly to table in quality server i.e. by use of debugging.
    Regards,
    Narendra

    Hi Narendra,
    As suggested by Jorge you can create data through T-code SM30 (for this you need to have table maintainence generator in development) and get it tranported to Quality and production and maintain the data through it or else to can create a request for data creation through SM30 in development and get it transported to quality and production.
    Thanks,
    Chinmay

  • HOW TO HIDE FIELDS IN A CUSTOM TABLE

    Hi all,
    I've a requirement where there's a maintainence view attached to  a custom created table. Whenever I add new entries via View, on saving the record, 2 of its fields only should appear.
    For example, if my table looks like this,
    SAP ID     OBJECT ID     FROM DATE     TO DATE
    Once i add a new record, when i press save, only 2 of fields say, SAP id and Object Id should appear instead of all the fields.
    Can someone throw light on this if you're aware? Any input in this regard will be highly valuable to me and appreciated. If someone is unable to intrepret this question, do let me know, I'll detail it again.
    Thanks in Advance,
    Vaishnavi Varadarajan

    hi Vaishu,
    Hide parameter / select option in selection screen
    We can Hide parameter / select option in selection screen dynamically by manipulating screen object.
    SCREEN is like an internal table with a header line. However, you do not have to declare it in your program. Go to debugging mode and then view structure of screen.
    You can modify SCREEN in your ABAP program during the PBO event of a screen. Its contents override the static attributes of the screen fields for a single screen call. The only statements that you can use with SCREEN are:
    LOOP AT SCREEN.
    MODIFY SCREEN.
    ENDLOOP.
    We can hide parameter by set screen-active to 0.
    Here is example of how to hide parameter in selection screen. Write it, and change click on radiobutton to hide parameter.
    REPORT ZAALGAL0006.
    DATA: d_ucomm LIKE sy-ucomm.
    PARAMETERS: p_grpa1(10) MODIF ID A,
    p_grpa2(5) MODIF ID A,
    p_grpb1(2) MODIF ID B.
    PARAMETERS: p_actA RADIOBUTTON GROUP rad1 USER-COMMAND ACT DEFAULT 'X',
    p_actB RADIOBUTTON GROUP rad1.
    AT SELECTION-SCREEN.
    d_ucomm = sy-ucomm.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT screen.
    IF p_actA = 'X'.
    IF screen-group1 = 'B'.
    screen-active = 0.
    ENDIF.
    ELSEIF p_actB = 'X'.
    IF screen-group1 = 'A'.
    screen-active = 0.
    ENDIF.
    ENDIF.
    MODIFY screen.
    ENDLOOP.
    START-OF-SELECTION.......
    pls refer the below sites for reference. they may help you
    http://www.blogtoplist.com/software/blogdetails-14026.html
    http://sap.ionelburlacu.ro/abap/sap2/Other_Useful_Tips.html
    https:/.../servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/905e3d36-0301-0010-30ac-b55865545635
    thanks
    sagar
    reward me points if usefull

Maybe you are looking for

  • I would like to know how to print a 8 1/2 X 11 sheet of the same 2 x 2 photo.

    Printer is HPPhotosmart C5280 All in One:  OS is Windows XP Professional 32-bit I would like to know how to make a full 8 1/2 x 11 page of the same 2x 2 borderless photo.  I can add other photos but not the same phot to the same page.  Is this possib

  • SAFARI DOES NOT DISPLAY PDF DOCS.

    Does anyone know why my Safari browser suddenly does not show PDF docs in the browser window? It used to. I use Version 2.04. A message does appear that says "plug-in cancelled". I don't know why. Acrobat opens it in Firefox fine, but nothing happens

  • Acrobat X and Lion- Cannot find scanner

    Hello, I just installed Adobe CS 5.5 on my new iMac.  I like to use Acrobat to scan in documents and my software does not seem to be able to find the scanner.  I followed the instruction to ensure that the the scanner shows up in my "print/scan" pref

  • How to determine?

    If I have a form that say, requests users to type in adddress1 and address 2. Address 2 isn't 'required', but address 1 is. I have the form field named as address_2 and on the processing page, I also have it set to a <cfparam name="form.Address2" def

  • Data DVD Not Reading On PC

    Hi: I'm preparing to send off pics I took and imported into iPhoto. I then exported them to a folder, and since there are more than will fit onto a CD, used Toast Titanium 7.0.1 to burn a data DVD with the Mac & PC format tab selected. The DVD will e