Archiving object for the tables
Hi,
I want to archive the tables.But some of the tables I did not find the archiving object.What should be done on this.Pls guide.
Tables w/o archiving object which i want to archive
APQD,ARFCSDATA,DYNPSOURCE,WBBP,REPOLOAD,REPOSRC,BDCP,BDCPS
Thanks
Hi Rajesh,
Not all tables can be archived. For some tables there may be option available for plainly deleting the contents without archiving. Please check the Data Management Guide available at the service marketplace for further information. You may also refer to SAP note 706478.
Word of caution: Not all tables are meant to be archived / deleted. Some tables maybe required for proper functioning of the SAP system (however big the table is). So please proceed with caution if you are trying to develop a custom program to delete contents from a standard SAP table, you may end up deleting some data which was required. Even when deleting using standard SAP programs, proper due diligence and testing is necessary
Hope this helps,
Naveen
Similar Messages
-
To find locks on the objects for the table-- urgent
hi all..
how to find which lock object is used for the table T001b...
i want to lock a record of the table t001b before righting the select query and then do some mofification and the unlock it again..
plz can any one tell me how to do this...
thnx
Message was edited by:
neha guptaHi Neha,
When you create a lock object System automatically creat two function module.
1. ENQUEUE_<Lockobject name>. to insert the object in a queue.
2. DEQUEUE_<Lockobject name>. To remove the object is being queued through above FM.
You have to use these function module in your program.
check this link for example.
http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
tables:vbak.
call function 'ENQUEUE_EZLOCK3'
exporting
mode_vbak = 'E'
mandt = sy-mandt
vbeln = vbak-vbeln
X_VBELN = ' '
_SCOPE = '2'
_WAIT = ' '
_COLLECT = ' '
EXCEPTIONS
FOREIGN_LOCK = 1
SYSTEM_FAILURE = 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,
Reward If helpful. -
Archiving object for tables GLPCC and GLPCO
Hi All,
GLPCA table stores the actual line items in PCA and GLPCT table stores the totals records of PCA.
What are the transactions which get affected in regular course by these tables?
GLPCC - EC-PCA: Transaction Attributes
GLPCO - EC-PCA: Object Table for Account Assignment
There is no archiving object for the tables GLPCC and GLPCO when checked in DB15. What is the alternative for archiving the entries in those tables?
Thanks in advance
Regards
AnupamaHello Anupama,
The standard archiving objects for PCA are EC_PCA_ITM & EC_PCA_SUM. Most of the data is archived with above two objects. Hence it would be better to use given archiving object. About 80% of data can be archived through standard archiving objects.
For more information you may read SAP Data Management Guide.
Regds
Ambadas -
Can you please give me the details of Archiving object for Reservations
Hi All,
Could you please give me the details of Archiving object for Reservation documents. If there is no standard object can you please give me the details, for which program we are using.
Regards,
RamHi,
You do not need to configure the tables to be deleted for any archive object through AOBJ. SAP would have maintained the list of tables from which data will be deleted if you archive a particular object. In case of archiving MM_EKKO, data will be deleted from many other tables apart from EKKO and EKPO. Here is the list of tables from which data will be delete if you archive PO using MM_EKKO.
A068
A081
A082
A215
ADR10
ADR11
ADR12
ADR13
ADR2
ADR3
ADR4
ADR5
ADR6
ADR7
ADR8
ADR9
ADRCOMC
ADRCT
ADRG
ADRGP
ADRT
ADRU
ADRV
ADRVP
AUSP
CDCLS
CDHDR
CDPOS_STR
CDPOS_UID
CMFK
CMFP
DJEST
EIKP
EIPO
EKAB
EKBE
EKBEH
EKBZ
EKBZH
EKEH
EKEK
EKES
EKET
EKETH
EKKN
EKKO
EKPA
EKPO
EKPV
EKUB
EREV
ESKL
ESKN
ESLH
ESLL
ESSR
ESUC
ESUH
IBADDR
IBIB
IBIBOBS
IBIBT
IBIN
IBINDOMAINS
IBINOBS
IBINOWN
IBINT
IBINTX
IBINVALUES
IBSP
IBST
IBSTREF
IBSYMBOL
INOB
JCDO
JCDS
JEST
JSTO
KAPOL
KOCLU
KONH
KONM
KONP
KONW
KSSK
MLBE
MLBECR
MLWERE
NAST
RESB
STXB
STXH
STXL
WRF_PSCD_DLHD
WRF_PSCD_DLIT
WRF_PSCD_DLIT_SH
Hope this helps
Cheers!
Samanjay -
Customised archiving object for archiving a Y table
Hi Guys,
I am trying to create a customize archiving object for archiving a Y table.
BC_SBOOK is one archiving object which i am using as the template. IT has no archiving calss defined in AOBJ tcode
Could you please let me know if it is necessary to create the archiving class.
Also if i can get any reference document for the same.
Thanks & reards,
JackHi Jack,
Please refer the below link for more infor on Archiving Classes
[https://cw.sdn.sap.com/cw/docs/DOC-14096]
Regards
Abhii -
Archiving object for batch deletion
Hi ,
Please let me know the archiving object for batch date deletion from table MCHA.
MM_SPSTOCK is for archiving batch date from table MCHB.
Thanks in advance,
VinayakMM_SPSTOCK - is for archiving all the Batch related data including speical stocks. This will take care of your Batch Tables MCH1, MCHA, MCHB(own stock) and also all of the special stock tables like MSKA, MKOL, MSKU, MKOP, MSLB .....(if used in your company)etc. You should be fine just using this object
-
SEQUENCE Object for Small Tables Only?
QUOTE from a recent thread: "Long term solution should be to use SEQUENCE with NO CACHE for small tables instead of identity and benefit from performance improvement for large tables."
Thread:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/cf63d145-7084-4371-bde0-eb3b917c7163/identity-big-jump-100010000-a-feature?forum=transactsql
How about using SEQUENCE objects for large tables? Thanks.
Kalman Toth Database & OLAP Architect
SQL Server 2014 Design & Programming
New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012Well Erland, either you calm down your manager (with a martini?) or use NO CACHE.
QUOTE: "This could cause a sequence to run out of numbers much more quickly than an IDENTITY value. It could also cause managers to become upset that values are missing, in which case they’ll need to simply get over it and accept that
there will be numbers missing.
If you need SQL Server to use every possible value, configure a cache setting of NO CACHE. This will cause the sequence to work much like the IDENTITY property. However, it will impact the sequence performance due to the additional metadata writes."
LINK: Microsoft SQL Server: The Sequencing Solution
Kalman Toth Database & OLAP Architect
SQL Server 2014 Design & Programming
New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012 -
Help on PO13 ---- "SAP Organizational Object" in the table control.
Hi All,
Can some one tell me details on or where to read from ..... PO13 -> "SAP Organizational Object" in the table control.
For eg if you go to PO13 -
> "Relationships" in the table control you get all the hierarchy details of an employee (eg: reports to, belongs to, holder ...etc.).
Similarly what would you get when u go to PO13 -
> "SAP Organizational Object" -
> Overview in the table control. Is it something to do with product hierarchy ..... am not very sure. I am working on a sandbox on a trial workflow for learning purpose and I do not have it configured so that I can look for some samples.
I understand I am not very clear about my question, but still I hope if someone can answer.
Thanks,
Anu.An object type is a generic description of an object.
The object type definition determines the object type by specifying its various components.
An object type is defined by its
Basic data, such as name, created by...
Key fields, which give each object a unique ID
Attributes as the characteristics of an object
Methods with parameters and exceptions as activities that can be performed for an object
Events, which describe any changes that occur
Implementation in the program code
After assigning Object Type, you should click on Assign Key.. and assign respectuve Object ID.
This will create link between Object in HR-OM with Object of other modules like Sales, Vendor, Purchase etc.
Note sure, how this is used in Workflow... i never worked on workflows.
Regards
...SAdhu -
Existing Lock Objects for a table
Is there a function module or program to get a list of existing lock objects for a given table?
Hi,
I am not sure of function module..
But you can get the lock objects for the a table..
Go to SE16..Give the table name DD25L
In the ROOTTAB field give the table name.
In the field AGGTYPE give 'E' which is for lock object.
Thanks,
Naren -
Hi,
Does anyone know what is the DI object for OACT table, if I wanted to set "Relevant to Budget" flag on a G/L account through DI?
If there is an object for OACT, how would I have found it in SDK help? I think I've asked this question before, but if I know the db table, how do I search for the DI object for it? I find the cross-reference between the two very inadequate in the SDK help, unless I'm just missing something really obvious?Maybe by the Services
Search Services in the SDK and the second entry is DI Services -
TimesTen Release 11.2.1.9.6 (64 bit Linux/x86_64)
Command> dssize;
PERM_ALLOCATED_SIZE: 51200000
PERM_IN_USE_SIZE: 45996153
PERM_IN_USE_HIGH_WATER: 50033464
TEMP_ALLOCATED_SIZE: 2457600
TEMP_IN_USE_SIZE: 19680
TEMP_IN_USE_HIGH_WATER: 26760
Is there any command/query/etc, which would allow to understand what database objects (for example tables) are consuming memory and how much of it?
tried to use ttsize function, but it gives some senseless results – for example, for the biggest table, tokens, it produces following output (that this table is 90GB in size – what physically cannot be true):
Command> call ttsize('tokens',null,null);
< 90885669274.0000 >
1 row found.Are you able to use the command line version of ttSize instead? This splits out how much space is being used by indexes (in the Temp section of the TT memory segment), which I think is being combined into one, whole figure in the procedure version of ttSize you're using. For example:
ttSize -tbl ia my_ttdb
Rows = 4
Total in-line row bytes = 17524
Total = 17524
Command> create index i1 on ia(a);
ttSize -tbl ia my_ttdb;
Rows = 4
Total in-line row bytes = 17524
Indexes:
Range index JSPALMER.I1 adds 5618 bytes
Total index bytes = 5618
Total = 23142
Command> call ttsize ('ia',,);
< 23142.0000000000 >
1 row found.
In 11.2.2 we added the procedure ttComputeTabSizes which populates system tables with detailed table size data, and was designed to be an alternative to ttSize. Unfortunately it still doesn't calculate index usage though, and it isn't in 11.2.1. -
IDM with SQL server Error: Cannot find columns for the table...
Hi all,
I am Configuring IDM with SQL Server repository and ran into this error.
'Cannot find columns for the table 'object'
.....jdbc...[SQL Server]Invalid object name 'object'
Can anybody please help me!!
GYes, permissions are very important. I ran into a similar problem because I didn't have the correct permissions. Make sure the user has the following permissions:
CREATE ANY TABLE
ALTER ANY TABLE
DROP ANY TABLE
CREATE ANY PROCEDURE
EXECUTE ANY PROCEDURE
DROP ANY PROCEDURE
Also, make sure there is enough space in the default tablespace of that user.
HTH
~Suvesh -
Data gets deleted for the table RSTRFIELDSH
If data gets deleted for the table RSTRFIELDSH at BW end
...what should i do?to get it backWim,
We lost the data from production. We ran Archive program to archive the data and archiving file is still exist.
There is no possibliity to run the OUTBOUND process again to create the IDOCs.
But only my concern is When we run the Transaction SARA we will be getting the data for other period as well.
But I need to reload the data for three months only because that archiving file also has other period data as well.
Can you send me details of how to use SARA Transaciton for particular period.
Thanks,
Kalikonda. -
To get Lock object for Standard Table
Hi all,
i want to update table FKK_GPSHAD,so i need corresponding lock object for this table.can any one sughgest me the solution for this.
Thanks in advance,...Hi,
Lock objects are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database.
SAP Provide three type of Lock objects.
Read Lock(Shared Locked)
protects read access to an object. The read lock allows other transactions read access but not write access to
the locked area of the table
Write Lock(exclusive lock)
protects write access to an object. The write lock allows other transactions neither read nor write access to
the locked area of the table.
Enhanced write lock (exclusive lock without cumulating)
works like a write lock except that the enhanced write lock also protects from further accesses from the
same transaction.
You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK.
Use: you can see in almost all transaction when you are open an object in Change mode SAP could not allow to any other user to open the same object in change mode.
Example: in HR when we are enter a personal number in master data maintainance screen SAP can't allow to any other user to use same personal number for changes.
Technicaly:
When you create a lock object System automatically creat two function module.
1. ENQUEUE_<Lockobject name>. to insert the object in a queue.
2. DEQUEUE_<Lockobject name>. To remove the object is being queued through above FM.
You have to use these function module in your program.
check this link for example.
http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
tables:vbak.
call function 'ENQUEUE_EZLOCK3'
exporting
mode_vbak = 'E'
mandt = sy-mandt
vbeln = vbak-vbeln
X_VBELN = ' '
_SCOPE = '2'
_WAIT = ' '
_COLLECT = ' '
EXCEPTIONS
FOREIGN_LOCK = 1
SYSTEM_FAILURE = 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.
Normally ABAPers will create the Lock objects, because we know when to lock and how to lock and where to lock the Object then after completing our updations we unlock the Objects in the Tables
http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
purpose: If multiple user try to access a database object, inconsistency may occer. To avoid that inconsistency and to let multiple user give the accessibility of the database objects the locking mechanism is used.
Steps: first we create a loc object in se11 . Suppose for a table mara. It will create two functional module.:
1. enque_lockobject
1. deque_lockobject
before updating any table first we lock the table by calling enque_lockobject fm and then after updating we release the lock by deque_lockobject.
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
GO TO SE11
Select the radio button "Lock object"..
Give the name starts with EZ or EY..
Example: EYTEST
Press Create button..
Give the short description..
Example: Lock object for table ZTABLE..
In the tables tab..Give the table name..
Example: ZTABLE
Save and generate..
Your lock object is now created..You can see the LOCK MODULES..
In the menu ..GOTO -> LOCK MODULES..There you can see the ENQUEUE and DEQUEUE function
Lock objects:
http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
Match Code Objects:
http://help.sap.com/saphelp_nw2004s/helpdata/en/41/f6b237fec48c67e10000009b38f8cf/content.htm
http://searchsap.techtarget.com/tip/0,289483,sid21_gci553386,00.html
See this link:
http://www.sap-img.com/abap/type-and-uses-of-lock-objects-in-sap.htm
Check these links -
lock objects
Lock Objects
Lock Objects
Please reward points if useful.
Regards
Rose -
How to look for the Table Name
Hi Friends,
Sometimes we need to download the table for the desired information if the same is not available from a particular report. How to look for the table name? Is there a report or a particular feild, where we can find the name of the particular table?
Thanks for the assistance.
RegardsHi Friend,
If you want to see the structures then go to SE11. Sometimes it happens that you cannot find the table names but only fields. In such case, if you want to find the Table names which is not available, then go to SE90.
Abap Dictionary > Fields > Table Fields.
Now Enter the Field name in Right Hand Side of the screen then Execute. You will see the all tables by which that Fields are used.
Regards,
Jigar
Maybe you are looking for
-
Error in receiver Mail adapter: Client was not authenticated
Hi. My requirement is to send email via PI to an extermal mail address. I am trying to use the following configuation for the same. Tramsport Protocol: SMTP Message Protocol: XIPAYLOAD URL: To get the value of URL, execute transaction SCOT in PI syst
-
Can I add charter marks after iMovie and iDVD
a few years ago I transfered old 16mm to my DV camcorder and then into iMovie and iDVD. I was looking at one of them for a family reunion and on one of the DVD's I somehow forgot to put in the last 3 chapter stops. Is there an easy way of redoing the
-
Script to start an app in /usr/local/bin
I am new to trying AppleScript. I use gnupg and want to start an app called "gpg-agent" located in /usr/local/bin/ . I want to pass it an arg, something like --daemon and maybe another ... first I want to see if it is even running ... But when I comp
-
RE: Network Connect of a WMP100N Wireless card Thru a WRT54G Router
Well, I disabled the Zonealarm personal firewall. No change in connectivity. The card acquires the router, has super signal strength, and no internet. I've even tried re-doing the connection profile. I have noticed a minor difference in security sett
-
CS4 Flash Form Application Doesn't Work in CS5
Hi I was surprised to see the following message when opening a flash CS3 fla in CS5 << Slides and Forms documents are not supported in this version of Flash. Please open in a previous version. >> Is there any known work around to be able to maintain