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,
Jack
Hi Jack,
Please refer the below link for more infor on Archiving Classes
[https://cw.sdn.sap.com/cw/docs/DOC-14096]
Regards
Abhii
Similar Messages
-
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 -
Create Object for archiving Custom Table
Hi guru!!
I have a problem, I must create a archiving object for custom table..
I must create a report for READ, DELETE and ARCHIVING this type of table..
colud you help me?
thanks a lot guru!!!Hi,
Steps..
GO TO SE11
Give the table name
Press change..
In the menu..UTILITIES -> TABLE MAINTENANCE GENERATOR.
GIve the authorization group &NC&
Choose the single step radio button..
Give the screen number 1.
Give the function group..Give the table name itself as the function group.
Press create. button.
Now the screen is generated..go to sm30 and maintain the table entries..
Thanks,
Naren -
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
-
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 -
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
ThanksHi 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 -
Hello friends,
We have created a archiving object in transaction AOBJ. However when i enter this object in SARA, we get this error message.
"Entry missing in Customizing table for object Z******* "
I have matched my object with few other archiving objects and things looks similar.
Have you faced this kind of problem..
thanks
ashishHi,
I checked and i can see entry for ZSCS_TRAFO object in AOBJ.
But when i enter ZSCS_TRAFO, i get this error :
Entry missing in Customizing table for object ZSCS_TRAFO
Message no. BA057
Diagnosis
A function cannot be executed due to a missing table entry.
Procedure
Please create an entry for the archive object ZSCS_TRAFO with the AOBJ transaction.
However, a few other Z objects works well.
thanks
ashish -
Searching for Archiving Object for table COMH PP-PI messages header
Hallo,
i am faced to archive records from table COMH (PP-PI message headers).
And searched SMP, SDN, Dataguides but i could not find any objects or delete-reports for this table.
Could anyone give input on how to get rid of the records in COMH?
with regards
ingoHello Ute,
thanks for your informations.
We are going to start RCOCB009 as batchjob periodical, once per month, to get rid of elder messages.
with regrads
ingo -
Archiving Objects for sales docuements in document flow
i want to be able to from the sales document flow ,i.e sales order, billling document be able to find the arciving objects? were do i need to look to find the archving objects?
cheersHi,
Try with report S3VBAKAU. You can check it in tcode AOBJ for object SD_VBAK.
Regards,
Eduardo -
Authorization object for maintenance view on table
Is there any object that I could do authority check
in order to prevent modification on a specific view even if user as the right for SM30
Regards,Hi,
You can use the field DICBERCLS in S_TABU_DIS & put in the Authorization Groups there.
Regards,
Suresh Datti -
Hello Experts,
I have few questions about Archiving object:
1. How to create an archiving object for set of Z tables? shall i create a new archiving object by clicking on new entry or shall i copy an existing archiving object.
2.is there any restrictions on number of tables being used in an archiving object? in our scenario there are around 15 Z tables...
3. in T code AOBJ, i want to maintain customizing settings, but the screen is greyed out,which authorzation role will give me the access to this screen.
4.what are the retrieval methods avaialable in system???
5.in our scenario we have created a new archivie info structure,shall we use standard field catalog or need to create a new one???
awaiting your reply
Regards
Ramana Reddyhi
ans 4 :
you should call 4 function modules in sequence to retrive the archived data from archiving files to your report program.
see the below sample code:
data declaration
data: handle like sy-tabix,
buffer type arc_buffer,
sbook_wa like sbook,
number_of_records_read type i.
open existing archive files
call function 'ARCHIVE_OPEN_FOR_READ'
exporting
object = 'BC_SBOOK01'
importing
archive_handle = handle
exceptions
others = 1.
if sy-subrc <> 0.
write: / 'No file can be accessed'(001).
stop.
endif.
clear number_of_records_read.
loop to get the next data object from the archive file(s)
do.
call function 'ARCHIVE_GET_NEXT_OBJECT'
exporting
archive_handle = handle
exceptions
end_of_file = 1
others = 2.
if sy-subrc <> 0.
exit.
endif.
get data records from the data container
do.
call function 'ARCHIVE_GET_NEXT_RECORD'
exporting
archive_handle = handle
importing
record = buffer-segment
record_structure = buffer-rname
exceptions
end_of_object = 1
others = 2.
if sy-subrc <> 0.
exit.
endif.
add 1 to number_of_records_read.
enddo.
enddo.
write: / 'Total number of records read: '(002), number_of_records_read.
skip.
write / 'Last record read: '(003).
skip.
case buffer-rname.
when 'SBOOK'.
sbook_wa = buffer-segment.
write: / 'CARRID :', sbook_wa-carrid,
/ 'BOOKID :', sbook_wa-bookid,
/ 'CONNID :', sbook_wa-connid,
/ 'FLDATE :', sbook_wa-fldate,
/ 'CUSTOMID :', sbook_wa-customid,
/ 'ORDER_DATE:', sbook_wa-order_date,
when ...
If the archive object contained more than one table
(different buffer-rname), more cases would be needed.
endcase.
close the archive session
call function 'ARCHIVE_CLOSE_FILE'
exporting
archive_handle = handle.
ans 5:
you can either use standard field catalog, from the available field in field catalog you can select the required fields alone to your info structure.
regards
mano -
Custom Archiving Object: cluster tables
Hello All,
I need to create a custom archiving object to archive the content of a cluster table. Does anyone know how to do this? Would you provide me with the steps to do so?
Thank you in advance!Solution
As of R/3 Release 3.0, the ADK is also delivered to customers as a development tool for archiving programs. The ADK (Archive Development Kit) consists of function modules that help you to develop your own archiving solutions, as well as documentation on how to use the function modules.
As of Release 3.0, all existing archiving from SAP applications is moved to the ADK.
If you want to enhance an existing solution, you can do this with the help of the ADK. However, your own solutions may NOT delete or modify data from SAP standard tables.
Archiving classes are developed by SAP exclusively and must not be used alone but only in connection with an archiving object.
Archiving objects and archiving classes (and the objects belonging to the class) are not namespace-capable. A namespace as prefix may lead to errors in this case and must therefore not be used.
For more information on the ADK documentation please see Note 71930.
The two-days customer training BC670 deals with customer-specific enhancements to data archiving -
Archive Object GLFUNCA, GLFUNCP and other Custom table ZGLFUNCA, etc
Hi Expert,
I am encountering one issue that is how to define the write and delete program. I have three standard tables which have standard archive object and meanwhile I have another three custom own table which have the relationship with these standard table. Now I'm wondering should I defiine the dependency of these two archive objects and check only when the first object is done, the second one can proceed.
I'm really looking forward your advice, so far I plan to create one 'z' archive object which include three custom tables and put the standard archive object as dependency object. But how to proceed with the write and delete program?
Please kindly give your advise and solutions. Thank you.Hi,
you can ask your ABAP consultant to code in the table maintenance events. We need to call appropriate authorization objects in the events and allow/disallow the changes for a field/record based on the authorization.
If you want more details on TMG events, just search in SCN. We have lot of information on this.
Thanks,
Vinod. -
How to create infostructure for my own archiving object?
We created our own archiving objects.
Could you help tell how to create infostructure for each of them?
Any info would be appreciated.Hi,
Infostructure creation:
1. Create Field Catalog
2. Create Infostructure and assign Field catalog created
3. Activate Infostructure
4. Fill Infostructure
>> Retrieve archived data
Path to create Field Catalog:
Goto SARI >> Customizing >> Environment >> Create Filed catalog
Note: 1. During creation of Field catalog make use of field name from SE11 transaction.
2. Target field and Reference filed should be same and Source table from which you are considering the filed name
3. Key filed name should be Indicated
Path to create Infostructure
Goto SARI >> Customizing >> Environment >> Create Infostructure
Assign Archiving object for which this infostructure is created and assign filed catalog
Activate it.
Path to Fill structure
Goto SARI >> Status >> Select Archiving object and consider option Fill per Infostructure
In Archiving explorer you can retrieve archiving data.
-Thanks,
Ajay -
I am trying to run some analysis for my customer - they are interested in knowing all ABAPs (SAP standard and Z-ABAP) that would be impacted if we archived certain data.
I have tried looking at SE11 for specific tables but that is throwing up a lot of ABAPs.
Does anyone know if there is a way in SAP (or some 3rd party tool) where by I can enter the archiving object (rather than the specific table) and for the system to return a list of ABAPs that are impacted by 1 or more tables with in that object.
thanks in advanceShibu:
EMMA archive should have no impacts, provided you are not using EMMA cases OR if you are archiving for periods which are no longer used in case management.
regards,
bill.
Maybe you are looking for
-
How can I sync my ipod shuffle so that it plays in the same order as my playlist?
How can I sync my ipod shuffle (4th generation) so that it plays in the same order as my playlist?
-
I just purchased a new desktop PC and want to move Itunes and all my Ipad Apps to new computer, and delete off my old computer. What is the best way to do this?
-
When accessing some sites where they have links for additional information that would normally open a new window or tab, Firefox does not open either. This happens on a variety of sites, most recently the Santander on-line banking site. == URL of aff
-
Getting Session Info In A Normal Class
I want to get session info from a class that is not servlet (generally from in a bean). When we use servlets it is so easy to get session info by just using request.getSession() method. Is it possible to get this session info in a normal class which
-
My Iphone 4 will not come on. The battery is fully charged. How do I get it to come on?