Archiving custom(z) table or changing standard se16 screen

Hi Abapers,
My requirement is i need a selection screen1 to enter the z table name, when i select the table and execute on screen1, it should direct me to the selection screen2 which contains the key fields of the table mentioned as a selection screen elements. Then i enter the key field values and execute the 2nd selection screen, it should archive the records corresponding to the mentioned selection criteria. Could you please tell me the idea to achieve the same.
The solutions i am thinking of are
1. to enhance the se16 screen(where the same sequence of screens come) by adding a button to archive. If this is possible how do i can do this??
2. By creating from scratch by creating a report, in this case i am struck with the dynamic selection screen creation.
Your suggestion/help is very much in need.
Thanks
Shruthi

Hi  Shruthi,
I don't think we can have a generic transaction to archive Ztable records. May be in case if you wanna delete you can do so, but since archived records needs to be stored somewhere you may need to create several tables that holds the archived data.
Regards,
Karthik D

Similar Messages

  • Table of changed standard objects

    hello all
    i am looking for a table in SAP which contains all the changed standard objects.
    I have just a old copy of that table in Excel, but I cant locate it in SAP.
    The fields of the table:
    OBJ_TYPE     OBJ_NAME     SUB_TYPE     SUB_NAME     INT_TYPE     INT_NAME     OPERATION     MAIN_PROG     INCLUDE     MOD_NAME     MOD_LANGU     MOD_USER     MOD_DATE     MOD_TIME     ACTIVE     INACTIVE     UPGRADE     PRE_CORR     PROT_ONLY     UPG_MODE     MARK     SPAU     TRKORR     SPAU_CODE
    The table is very useful for our future upgrade project to get a list of standard objects repaired by us.
    Thanks for any help.
    Imrich

    Hi Imrich,
    The Table name is SMODILOG.
    Hope you got the answer.
    Regards,
    Sowmya

  • How to change standard selection-screen fields

    hi i am kishore.
    i have requirement.
    i have to change selection-screen label purchase order to purchase docuement in request for quatation.
    pls suggest that how to change the standard selection screen field labels.

    Hi.
    This is possible.
    Just try out this way.Heres is an example. 
    TABLES: pernr.
    data: i_tab type standard table of RSSELTEXTS with header line.
    initialization.
    i_tab-name = 'PNPPERNR'.
    i_tab-kind = 'S'.
    i_tab-text = 'Employee ID'.
    append i_tab.
    CALL FUNCTION 'SELECTION_TEXTS_MODIFY'
      EXPORTING
        program                           = 'ZESO_TEST'
      tables
        seltexts                          = i_tab
    EXCEPTIONS
      PROGRAM_NOT_FOUND                 = 1
      PROGRAM_CANNOT_BE_GENERATED       = 2
      OTHERS                            = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Thanks and regards,
    Maheshwari.V

  • How to find all those list of SAP standard and custom objects that are changed from a specific point of time

    Hi all,
    Please let me know the process to track or find all the SAP Standard and custom objects. that got changed from a specific point of time.
    Is there any function module or any table where this change log is maintained.?
    I just only need the details ,wheather that SAP standard or Custom object has got changed or not.
    Thanks in advance

    Hi RK v ,
    I really don't know what your actual requirement is , but if you want to know the objects as per the modification , then transport request will be much help to you .
    Have a look into table E070 and E071 .
    Regards ,
    Yogendra Bhaskar

  • Rfx Custom Tab(Table) Value not mapping in Change Doc BADI

    Hi,
    I am currently adding Custom Tab with Table in SRM Rfx Webdynpro Screen SRM PPS 7.01 Extended classic . I did the configuration steps to add the custom table, visibility setups, created a new Webdynpro, enhanced in Component controller and could get current active instance Rfx values.
    In local memory using a class method i am exporting custom tab values to Change Doc BADI and updating the et_hcf with the custom values.
    The values are getting saved in the data base and i am able to get it via function module and show in the screen again.
    My Problem is when i am modifying a saved Rfx it saves the entry another time. When i debug the change doc badi i could see all the time the et_hcf and it_hcf is coming empty in the first place and each time the entries from screen are consider as new entries and getting saved in DB.
    I have created Custom tab with table in Contract screen, PO Header and shopping cart line item. Rfx screen is little different and not getting the et_hcf value again in Change Doc BADI. Do anyone have similar issue in handling Rfx.? Please help me. I can Change my code logic and fix this problem still it looks like a standard bug to me that et_hcf or it_hcf is not getting values to the change doc BADI as it does in PO or Contract. Also let me know if i need to check any of my configuration.

    Hi,
    Checkout the below link :
    <link to blacklisted site removed by moderator>
    Shailaja Ainala.
    Edited by: Thomas Zloch on Jan 28, 2012 9:06 PM

  • How to archive custom tables???

    Hello gurus,
    I have been assigned to a archiving assignment..
    To archive standard tables SAP provided with standard archiving object.. but how to archive custom tables and how to creat customized archiving object..
    each reply will be rewarded...
    Regards
    RR

    Hi Ramana,
    Check the following links:
    Re: Archiving of Z Table
    Re: Archiving
    These contain the information you need to archive custom table.
    These may be helpful to you.
    Regards.
    Rajat

  • Change documents for customer Z table - serious help wanted

    Hi all,
    I am no beginner and I don't expect any comments from beginners.
    Situation: My customer wants to replace the material valuation transactions MRN1 MRN2 MRN3 due to bad performance and locking problems with own developed programs.
    The valuation results will be stored in a customer Z-Table on a monthly base. For auditing and transparency purposes, this Z-table has to get a change object and the update routines will have to write change documents.
    Due to the expected size of the new Z-table, it is not advisable to simply switsch on table logging.
    In this huge project (and in none I participated!) nobody ever implemented the change document process for a Z-table. <b>BUT EVERYBODY CAN TELL YOU THI IS NO PROBLEM AT ALL.</b>
    I read some documentation at SAP and serached for threads or blogs here. I could not find anything desribing that in depth.
    So before I start, I'd be happy to get some hints from people who created own change documents and implemented the process. Links to documentation and other helpful pages are also welcome.
    If I can keep the process simple, I'd like to create a BLOG on this - because I think, in the future it will get more and more difficult to pass the auditing process with undocumented features and uncontrolled table changes.
    TIA.
    Regards,
    Clemens

    Hi,
    Please check this thread.
    http://www.sapdevelopment.co.uk/tips/changedoc/cd_createch.htm
    Once you create your change document object using generate update pgm option then  please check the WRITE document fm.
    I have done this long back i am updating CDHDR and CDPOS for 2 table YATT and YATTPLANTS. Here YATT have single record (header table) and YATTPLANTS have multiple records (item table)
    function yatt_write_document           .
      call function 'CHANGEDOCUMENT_OPEN'
        exporting
          objectclass             = 'YATT           '
          objectid                = objectid
          planned_change_number   = planned_change_number
          planned_or_real_changes = planned_or_real_changes
        exceptions
          sequence_invalid        = 1
          others                  = 2.
      case sy-subrc.
        when 0.                                   "ok.
        when 1. message a600 with 'SEQUENCE INVALID'.
        when 2. message a600 with 'OPEN ERROR'.
      endcase.
    if upd_yctc                           ne space.
       call function 'CHANGEDOCUMENT_SINGLE_CASE'
         exporting
           tablename              = 'YATT                          '
           workarea_old           = o_yatt
           workarea_new           = n_yatt
            change_indicator       = upd_yattc
            docu_delete            = 'X'
         exceptions
           nametab_error          = 1
           open_missing           = 2
           position_insert_failed = 3
           others                 = 4.
        case sy-subrc.
          when 0.                                "ok.
          when 1. message a600 with 'NAMETAB-ERROR'.
          when 2. message a600 with 'OPEN MISSING'.
          when 3. message a600 with 'INSERT ERROR'.
          when 4. message a600 with 'SINGLE ERROR'.
        endcase.
      endif.
      if upd_yctcauthplnts                  ne space.
        call function 'CHANGEDOCUMENT_MULTIPLE_CASE'
          exporting
            tablename              = 'YATTPLANTS                 '
            change_indicator       = upd_yattplants
            docu_delete            = 'X'
          tables
            table_old              = yyattplants
            table_new              = xyattplants
         exceptions
           nametab_error          = 1
           open_missing           = 2
           position_insert_failed = 3
           others                 = 4.
        case sy-subrc.
          when 0.                                "ok.
          when 1. message a600 with 'NAMETAB-ERROR'.
          when 2. message a600 with 'OPEN MISSING'.
          when 3. message a600 with 'INSERT ERROR'.
          when 4. message a600 with 'MULTIPLE ERROR'.
        endcase.
      endif.
      call function 'CHANGEDOCUMENT_CLOSE'
        exporting
          objectclass             = 'YATT           '
          objectid                = objectid
          date_of_change          = udate
          time_of_change          = utime
          tcode                   = tcode
          username                = username
          object_change_indicator = object_change_indicator
          no_change_pointers      = no_change_pointers
        exceptions
          header_insert_failed    = 1
          object_invalid          = 2
          open_missing            = 3
          no_position_inserted    = 4
          others                  = 5.
      case sy-subrc.
        when 0.                                   "ok.
        when 1. message a600 with 'INSERT HEADER FAILED'.
        when 2. message a600 with 'OBJECT INVALID'.
        when 3. message a600 with 'OPEN MISSING'.
    *    WHEN 4. MESSAGE A600 WITH 'NO_POSITION_INSERTED'.
    * do not abort, if positions are not inserted!!!
        when 5. message a600 with 'CLOSE ERROR'.
      endcase.
    endfunction.

  • Load data from BW 7.0 DSO into a ECC 6.0 SD standard/Custom pricing table

    Gurus,
    We have a scenario, where we need to load data from a BW DSO to SD standard/Custom pricing table in ECC 6.0. That data will be few thousand records.
    Per my knowledge, in BPS, retractors are available to update data from BW to ECC and OpenHub also can be used to handle similar scenarios.
    Any one of you came across similar scenario?
    If you have any third option (not BPS rectors or OpeHub) as a solution to handle this kind scenario, and share the knowledge, it will be greatly appreciated.
    Thanks in advance,
    Vittal

    Hi Yogesh,
    Thanks for your reply.
    We have large data volumes for Billing datasource and hence moving flat files using PI is not an option and also as i mentioned a part of requirement is monitoring of the whole process as well. What i mean by this is if a 1000 billing document items were passed on to CRM7 to create a member activities and because of some reason a member activity was not created for one of the billing doc items, we should know the problematic record and reason why member activity was not created in CRM7 (reason code). And then be able to fix it.  All this requires an end to end monitoring capability and also guaranteed delivery of data to CRM7.
    Hence i was trying to explore the enterprise web service option.
    What i am not sure of is how to expose BW DSO delta request to CRM7 using a web service ? or any other method that gives end to end monitoring capability and also guaranteed delivery of data to CRM7.
    Any other suggestions ?
    Thanks
    CK

  • Archival Method of a custom transparent table

    Hi, I have created a custom transparent table and now I want to archive its contents after a certain point of time. Is there any way for this? Please advice.
    Thanks, Sagar...

    Hi Sagar,
    Have a look at demo archive object EXAMPLE.
    Create your custom archive object from AOBJ transaction along with the underlying write, delete, reload and read programs.
    Hope this helps.
    Thanks
    Lakshman

  • Tracking changes in a customized database table

    Hi All,
    I have made a customized Z table having the following technical attributes:
    Data class         APPL1   Transaction data, transparent tables
    Size category      0       Data records expected: 0 to 40,000
    \/  Log data changes(ticked).
    I have made one table maintenance generator for the table and inserted some values in it. I am not able to view the changes made in the table in table DBTABLOG or using transaction SCU3. 
    What are the other settings needed to view changes in table(table history). <<removed by moderator>>
    Regards,
    Debopriyo Mallick

    Hey,
    Check this link. U can find step by step.
    http://help.sap.com/saphelp_nw04/helpdata/en/25/f4dd58807b11d395fc00a0c930dcc1/frameset.htm
    Regards,
    Lakshman.Annamaneni

  • Archiving customized tables

    Hi,
    I want to archive around 10 tables for the past 30 days.  i  have used the following code to archive for one table.
    * Internal table to store the records that was retrieved
    DATA :  BEGIN OF GET_TAB OCCURS 1000.
            INCLUDE STRUCTURE ZFIT0056.
    DATA :  END OF GET_TAB.
    MOVE SY-DATUM TO TEMP_DATE.
    SUBTRACT 30 FROM TEMP_DATE.
    IF WA_CNT <> 0.
      PERFORM MOVE_RECORDS.
    ENDIF.
    FORM MOVE_RECORDS.
      CLEAR GET_TAB.
      TEMP_DATE = TEMP_DATE  + 1.
      MOVE TEMP_DATE+0(4) TO DATE_YY.
      MOVE TEMP_DATE+4(2) TO DATE_MM.
      MOVE TEMP_DATE+6(2) TO DATE_DD.
      CONCATENATE 'DR' DATE_DD DATE_MM DATE_YY '.AAA' INTO FILENAME.
      SELECT * FROM ZFI00001 INTO GET_TAB WHERE FILENAME1 = FILENAME.
        IF SY-SUBRC  = 0.
          APPEND GET_TAB.
        ENDIF.
      ENDSELECT.
      PERFORM ADD_RECORDS.
    ENDFORM.                 
    FORM ADD_RECORDS.
      INSERT ZFI00006 FROM TABLE GET_TAB.
      IF SY-SUBRC = 0.
        PERFORM DELETE_RECORDS.
      ENDIF.
    ENDFORM.                    "add_Records
    FORM DELETE_RECORDS.
      DELETE FROM ZF000001WHERE FILENAME1 = FILENAME.
      IF SY-SUBRC = 0.
        WA_CNT = WA_CNT - 1.
      ENDIF.
    ENDFORM.                    "delete_records
    can anybody suggest me a simpler way to archive all the 10 tables in a single program.

    Hi,
    Hope this link will helpful to you Re: Archiving
    http://www.pbs-software.com/medien/praesentationen/PBS_CUSTOM_EN.pdf
    Regards,
    Pravin

  • BPM-  Change Standard Monitoring Object

    Hi,
    I have few queries in BPM:
    1). How to change a standard Montior?
         For example, if I want to change Monitoring Object Sales Document (KPSD0001) and add New Keyfigure or add a new
         selection parameter (eg. Plant) for a keyfigure. How do I do this??
    2) In which database table/Transaction can I see all the Standard Monitoring Objects available.
    3) How can I copy a standard Monitoring Object  into a Z Monitor and make the required Changes.
    Regards,
    Shalini Chauhan

    Hi Shalini
    1)As Ragu mentioned, it is not possible to change standard monitoring
      object. Code is already fixed to the selection parameter.
    2)It is stored in special way in satellite system. (Cluster table).
      So it is not easy to check it like via SE16.
      You can get list of available monitoring object and key figure from
      the list that is available in service market place.
      (You need authorization to access service market place).
      http://www.service.sap.com/bpm
      =>media library =>Customer Information
      =>Business Process & Interface Monitoring - Part 2
    3)As Ragu mentioned, I also recommend you to check customer exit
      development guide.
        http://www.service.sap.com/bpm
        =>media library =>Technical Information
        =>Technical Information
        =>Guide - Customer Exit
    Best Regards
    Keiji  Mishima

  • Report Custom Vertical Table Question

    Hello Guys,
    I am trying to display some data in a custom vertical table (for a report). The data that I have looks like this :
    Customer number          Name               Product          Age
    123               John Customer          Checking     50
    456               Jane Customer          Savings          40
    When I display it using a vertical table (or attribute value pairs) the data looks like:
    Customer number: 123
    Name : John Customer
    Product: Bank Account
    Age: 50
    Customer number: 456
    Name : Jane Customer
    Product: Bank Account
    Acct No: 40
    But I want to display the data like this:
    Customer number: 123 456
    Name : John Customer Jane Customer
    Product: Bank Account Bank Account
    Age: 50 50
    The option here is to change the data to dynamic columns rather than dynamic rows. I tried manipulating the templates but it would not do it. Any other suggestions?
    Thanks!

    Hi Badri,
    OK - this is what I did (there's no documentation as such, so I'll just give you the step-by-step guide here!):
    1 - In your application, go to Shared Components then Templates
    2 - Click the Create button
    3 - Click the "Report" option
    4 - Select "From Scratch" and click Next
    5 - Enter a name for the new template (for example, "Vertical Report"), leave the Theme as your current theme, set Template Class to "Custom 1", tick the "Named Column (row template)" option and click Create
    This creates a new blank report template - scroll down the list of templates to this new one and click on the name to edit it.
    In there, you need to enter the following:
    Row Template 1 setting:
    &lt;td&gt;
    &lt;table cellpadding="0" border="0" cellspacing="0" summary="" class="t18Standard" style="border-collapse:collapse"&gt;
    &lt;tr&gt;&lt;td class="t18Data"&gt;#1#&lt;/td&gt;&lt;/tr&gt;
    &lt;tr&gt;&lt;td class="t18Data"&gt;#2#&lt;/td&gt;&lt;/tr&gt;
    &lt;tr&gt;&lt;td class="t18Data"&gt;#3#&lt;/td&gt;&lt;/tr&gt;
    &lt;tr&gt;&lt;td class="t18Data"&gt;#4#&lt;/td&gt;&lt;/tr&gt;
    &lt;/table&gt;
    &lt;/td&gt;NOTE: In my example report, I show four columns (EMPNO, ENAME, SAL, COMM) - these are refered to as #1#, #2#, #3# and #4# above (#1# means column number 1, #2# is column 2 and so on - but use the column numbers not the names in your template). If you have a different number of columns add in or remove lines of: &lt;tr&gt;&lt;td class="t18Data"&gt;#nn#&lt;/td&gt;&lt;/tr&gt; (replacing nn with the column number)
    Leave all other settings in the Row Templates section blank
    Before Rows setting:
    &lt;table cellpadding="0" border="0" cellspacing="0" summary="" style="border-collapse:collapse;"&gt;
    &lt;tr&gt;
    &lt;td&gt;
    &lt;table class="t18Standard" cellpadding="0" border="0" cellspacing="0" summary="" style="border-collapse:collapse;"&gt;
    &lt;tr&gt;&lt;th class="t18ReportHeader"&gt;EMPNO&lt;/th&gt;&lt;/tr&gt;
    &lt;tr&gt;&lt;th class="t18ReportHeader"&gt;ENAME&lt;/th&gt;&lt;/tr&gt;
    &lt;tr&gt;&lt;th class="t18ReportHeader"&gt;SAL&lt;/th&gt;&lt;/tr&gt;
    &lt;tr&gt;&lt;th class="t18ReportHeader"&gt;COMM&lt;/th&gt;&lt;/tr&gt;
    &lt;/table&gt;
    &lt;/td&gt;NOTE: You will need one TR tag for each of the column headings - I have four here (EMPNO, ENAME, SAL and COMM) - add or remove lines of &lt;tr&gt;&lt;th class="t18ReportHeader"&gt;COLUMNNAME&lt;/th&gt;&lt;/tr&gt;
    After Rows setting:
    &lt;/tr&gt;
    &lt;/table&gt;
    &lt;table&gt;
    &lt;tr&gt;
    &lt;td&gt;
    #PAGINATION#
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;/table&gt;Leave all settings in the Pagination section blank
    NOTE: Any "class" name used above assumes that you are using Theme 18 (t18Standard is the standard report style class, for example) - you will have to update these to match your own theme
    Click Apply Changes to save this
    Now go back to your page and click on the "Report" link for your report region - this takes you to Report Attributes. Scroll down to the "Report Template" setting and change this to your new template. Click Apply Changes to save that.
    When the page is rendered, a new table will be created for the report, the headings will be created within another table in the first TD on that table. All data lines are created as separate tables within new TD tags - this makes the output go across the page instead of down.
    Andy

  • ABAP question: define a custom foreign key for a standard field??

    Hi,
    I want to use the field ADDR1_DATA-STR_SUPPL3 for customer use. I must to define a foreign key against a Ztable (as verification table) for this standard field. Also I must to define a custom search help.
    To defining a foreign key for this field, I must be in change mode, so the system ask to me for registering the object. That means this action is a modification. My question is the following: is there any way to do so without SAP standar modification??
    For instance, using BDT events...but how?
    Thanks in advance.
    Regards,
    Rosa

    Hi Rosa,
    Changing SAP Standard dictionary elements is not possible with out changing the same. To change these elements, we dont have any other method apart from SAP standard modification.
    Cheers
    Pavan

  • Change standard message 'No result found' of AB of overview page CRMCMP_CMG

    Hi,
    I have a requirement, that if not result is found in views table, of assignment blocks in overviw page. Then we see a stadard message 'No result found'
    I want to show different messages in different assignment blocks.
    One way is to handle at Do_output_result method of each view and display different messages in different views called in overview page. However i think this is not the best solution.
    Kindly guide how to achive this result?
    Where do i have to do the changes to get different message?
    Kindly help!
    Thanks
    Ekta

    Hi,
    maybe you can have a look at the Message Replacement Functionality by which you can replace a standard message everywhere by another custom message. But I don't know if it is possible to create different custom messages for the same standard message.
    For the Message Replacement Functionality:
    1. Go to sm34 and create new entry in view cluster BSPWDVC_MSGREPLS
    2. Assign the new Profile you created to your business role, using the Function profile MSG_REPLACE
    Kind regards,
    Carl

Maybe you are looking for

  • Sender unspecified in outlook express

    I just installed PSE 7 and as with some of the previous versions I am getting the "sender unspecified" in outlook express when I try to share pictures. I realize that an easy fix is to just press forward, but c'mon Adobe, can't you make this software

  • TDS Deduction on Vendor Payment

    Hi While booking the invoice (through FB60) if I forget to delete the WTax Code for payment, then how can I rectify the same, so that TDS is not deducted again at the time of making payment. One way is to reverse the document through FB08. Is there a

  • Handling inbound messages

    Hi, We would like to handle incoming messages. The problem appears when we send an e-mail to SAP system. I can see some of SMTP transaction traces in log file, but some of them are not. Also, I cannot see any e-mail notification in SOIN transaction.

  • Error Code 8224 Ldifde Exchange 2010 installation failure

    Hi, here is a problem I have been bashing my head with for about a week. I am transitioning to Exchange 2010 from 2003. I have two DC's running Windows Server 2003 Sp2, one of which is the Exchange 2003 server. I have just brought online a windows 20

  • File compare won't launch on mac

    mtn lion tried two diff file compare utilities both open fine when launched directly neither actually open a file compare when trying from within the dreamweaver interface. e.g., select a file and try a compare with remote. or resolve when syncing. j