Creation of new Archive Object
HI All,
I am currently having a requirement, where I need to create a new archive object a copy of MM_EBAN, can anybody let me know, how to copy this... If any body has worked priorly will help me a lot...
Thanks in advance...
Regards,
Brijesh Patel
Hi Brijesh,
For archiving object ceation the transaction is: AOBJ. From there you can create a NEW archiving object as such or COPY an sxisting one. It is basically a view cluster and where you can maintain the transaction.
Create a PATH for the archiving files to be stored using the FILE transaction, this needs to be specified in the AOBJ transaction.
Decide on what all DB tables you want to archive first, and what all activities you want to do. like WRITE program, DELETE program, RELOAD program if required. All these things you need to specify in the customizing of AOBJ transaction.
Please let me know if further details are required from my side.
Regards,
Goutham
Similar Messages
-
Creation of new Personalization object keys
Hi All,
Is it possible to create new personalization object key for a role for eg: in SRM we have personalization objects keys BBP_SPEND_LIMIT and BBP_APPROVAL_LIMIT already defined by SAP. In case we need to define the same kind of spend limits for users in MM. Can we define new personalization objects keys ? If yes let me know what are the steps
I am aware of the transaction PERSREG, but not sure of its uses.
Regards,
SCHi,
PERSREG is the right one for defining the pers.key.
I think the problem will be, if and how your new key shall be handled by the applications coding....
Maybe MM offers some exits or whatever to verify own personalizaiton keys?
b.rgds, Bernhard -
Archiving object in open hub with logical file name
Hello,
I am trying to use an open hub with a logical file name.
By the SAP help looks like you have to use/define a archiving object:
http://help.sap.com/saphelp_nw70/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/en/8d/3e4ec2462a11d189000000e8323d3a/frameset.htm
Steps 1 and 2 of "Defining Logical Path and File Names" are done and tested:
1. Definition of the logical path name
2. Definition of the logical file name
3. Assignment of the logical fine name for the archiving object
But is it not clear to me if an archiving object is suppose to be used, which one then?, or if you have to create a new archiving object, with which characteristics?
Any help welcome,
Alberto.Alberto,
Can you explain what you are trying to do. Are you trying to archive data from a BI object or are you trying to export data out of a BI object using open hub. -
Hi,
I need to archive data using archiving object CHANGEDOCU. Now the condition is that in this archiving object, I need to restrict the data (to be archived) to company code 1030 (country US). As the company code field is not available in the selection screen of this archiving object, can you please tell me, how can I limit the data to company code 1030, using other fields in the selection screen.
Thanks and Regards,
AnujHello,
If you are targeting few tables for your requirement than you may create a customized(Z) archiving object for them using transaction AOBJ.
While creating the archiving program you can create your own selection screen. On this basis you can write the select queries and then archive them.
A detailed steps to create a customized archiving object and program is mentioned in below link.
**************** - Step-by-step procedure for Creation of Custom Archiving Object
Reward points if this is useful
With Regards,
Viral Bhuva -
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 -
Need info for COPA (Cost based profitability analysis)- Archiving objects
Hi All,
SAP have introduced new 2 Archiving objects COPAA_xxxx, and COPAB_xxxx instead of the old archiving object COPA1_xxxx.
Where xxxx = operating concern.
Can any one please give the document path how to archive the COPA data.
Means exactly i want the variant parameters for the 2 new archiving objects.
Please waiting for your reply...
Thanks,
NagendraHi Chandra sekhar,
I need to Archive the data in R/3 system & ECC6.0 not in BW system.
I want the steps how to Archive the 2 objects COPAA_xxxx, COPAB_xxxx in ECC6.0 System.
Please if have any info please help me...
Thanks,
Nagendra -
Hello.
I created a new archive object at AOBJ.
I copied MM_ACCTIT actually.
But an error message "Entry & does not exist in ARCH_OBJ" is shown when I enter the new archive object at SARA.
The error does not occur in development system.
Beacause entry exists in table ARCH_OBJ.
I transported the new archive pbject to production system.
And I found no entry exists in table ARCH_OBJ.
The enrty was not transported.
I don't remember how to create entry in ARCH_OBJ.
I guess the entry is created by running in any transaction.
But I don't know what the transaction is.
Thank you and regards.
Emma S.hi,
check this link, it contains how to create field catalog.
http://www.sap-press.de/download/dateien/362/sap_press_archiving_sap_data.pdf
do reward if it helps,
priya. -
Creation of archiving objects in AFX_WB
Hi,
I am trying to create an archiving object in AFX_WB.
I assigned a custom package which I created to the archiving object.
The transaction generates the programs for the archiving object by itself with the inputs given.
In one of the steps, I am getting an error " SAP Object cannot be assigned to the custom package".
When I tried with a standard package, I got error in another step saying "custom object cannot be assigned to standard package".
Is there an appropriate package which I can assign the archiving object ( as it has got a combination of custom and SAP standard object) ?
What is the purpose of including package in package hierarchy and defining user access for them?
Thanks and regards,
Lakshmi ReghuvaranHi,
What is your Apex version?
Is your Apex instance runtime environment or can you login to INTERNAL workspace?
See this for Apex 4. Document do not say how disable demonstration app creation on runtime environment.
http://download.oracle.com/docs/cd/E17556_01/doc/admin.40/e15521/adm_mg_service_set.htm#sthref255
Regards,
Jari -
Getting ORA-20001: Creation of new object is not allowed: !!
Hi Am getting ORA-20001: Creation of new object is not allowed while enabling constraints after importing the dumps from source to target datbase,can anyone assist me to fix this issue.
Hi Osama/Mustafa,Thanks for your quick response,can you please explain me the following things-
1)As i don't have privilege to run the DBA_XX views,am not able to run those queries-
SELECT OWNER, TRIGGER_NAME, TRIGGER_BODY FROM DBA_TRIGGERS WHERE TRIGGER_TYPE IN ('AFTER EVENT', 'BEFORE EVETN') AND TRIGGERING_EVENT LIKE '%CREATE%';
can you tell me what output it'll throw,based on this output how will we fix the issue.
2)SELECT * FROM dba_sys_privs WHERE privilege = 'UNLIMITED TABLESPACE';
why we need to check this privilege?as i don't have privilege to run this one in my db.
3)select * from dba_source where upper(text) like upper('%Creation of new object is not allowed%');
as i don't have privilege to run this one in my db,already i got the object name from my logfile
and more you have quoted"This is an error of someone that coded purposely on your database, probably dba or a developer who has privilege and again it is in a database event trigger"
4)can you explain me much more deeper about the root cause and as already sent note to my DBA,can you explain me the solution to fix this issue ? -
Creation of new object link for DMS
i have searched a lot about Creation of new object link for DMS on internet .
and all replies focus on that documentation :
1. Program two screens for the following module pools for the SAP object that is to be linked additionally:
u2013 SAPLCV00
u2013 SAPLCVIN
The process logic must be according to that of screen 0204 in program SAPLCV00 and must not be changed.
2. Create the function module OBJECT_CHECK_XXXX (XXXX = name of the SAP object).
i need to know how to implement that in more detailed step by step
as i know DMS and abap also.Hi Reda,
Hope the below URL will help to understand how the Process of adding a object link works.
Enhancement Without Modification of the Object Links - Engineering Change Management (LO-ECH) - SAP Library
Thanks & Regards,
Seshadri. -
Step By Step Creation Of A new Business Object
hi,
Please Give Me Details Of A Business Object,like step by step creation of a new business object and it's utilization.Create a business object (SWO1).
Give the business object name prefixed with Z_.
Enter the following fields with values:
Object type: Z_TESTXX
This is the internal technical key. Page: 1
Object type can have maximum 10 characters. This must be unique across all object type. Objects are specific instances of object types at runtime.
Object name: Object_Name_for_XX
The object type is addressed with this name by external applications. This is a descriptive English name and can be up to 32 characters. This also must be unique across all object type.
Name: Object Name: XX
This is a meaningful name of the business object.
Description: Object Description: XX
Page: 1
Object description, can be up to 40 characters.
Program: Z_TESTXX
Each object type has an ABAP/4 program in which methods of the object are implemented. This program is generated automatically when you create or revise an object type.
Application: indicates cross application.
3: Create an event.
Open the Object type in change mode. When you change your subtype the first step is to create a new event, this is done by selecting the Event node and clicking the create button. Give the event a name and a description. Next set the status of this object type component to implemented.
Event: Z_EVENT_XX
Name: Event name: XX
Description: Event Description: XX
Click on the new event andu2026
Edit - Change Release Status- Object Type Component - Implemented
(A small box sign vanishes from the right side of the event, indicating that it is implemented)
There can be multiple triggering events for a standard/customer task.
In R/3 4.0 the release strategy for new Object Types and Object Type Components (methods, attributes, events, etc.) was enhanced. Now when an object type and/or components are created, there are different statuses to select, based on its required purpose. The statuses are:
u2022 Modeled - objects cannot be accessed at runtime. This is the status that is automatically set when an object type or component is created. Items with a modeled status cannot be referenced in any type of workflow task.
u2022 Implemented - objects can be used internally in a test environment. They are accessible, but may not be stable (especially if no delegation has been defined).
u2022 Released - objects are ready for production. Note: Local objects cannot be released.
u2022 Obsolete - objects are typically replaced by new functionality or incompatible with previous versions. This status is optional.
4: Create a method.
Next a method must be created without using any function module template. When creating the method ensure that the method call is synchronous - this means that the method doesn't require a terminating event.
A method can be synchronous or asynchronous. Synchronous Method
Method that, for the duration of its execution, assumes the process control and, after its execution, reports to the calling component (work item manager, in this case).
Synchronous methods can return the following data, if defined: Return parameters, one result and Exceptions.
Terminating events can also be defined for a single-step task described with a synchronous method. At runtime, the relevant work item is then terminated either when the synchronous method is successfully executed or when one of the defined terminating events occurs.
Asynchronous Method
Method that, after its execution, does not report directly to the calling component (work item manager, in this case).
Asynchronous object methods do not return results, parameters or exceptions.
At least one terminating event must be defined for a single-step task described with an asynchronous object method.
At runtime, the relevant work item is only terminated if one of the defined terminating events occurs.
Next set the status of this object type component to implemented. The methods are not implemented unless you once open their program. Select the method and open its program. It gives a message u201CDo you want to generate a template automatically for the missing sectionu201D. Click u201CYesu201D. Inside the program insert the code u201CCALL TRANSACTION u2018FB03u2019. Display Financial Document.
Method: Z_METHODXX
Name: Method name: XX
Description: Method Description: XX
Edit - Change Release Status - Object Type Component - Implemented
5. Create Key fields.
Create key fields with ABAP dictionary field proposal.
It is the identifying key, via which the system can access a specific object, that is, an instance of the object type. The key fields of an object type are usually also the key fields in the table containing the header data for the object type. Only character-based data types are allowed as key fields. The total length allowed for all key fields is 70 characters. Each key field refers to a field in the ABAP Dictionary.
Enter u2018BKPFu2019 in table name field and select all the key fields. Press Continue button. Next set the status of these key fields to implemented.
Edit - Change Release Status -Object Type Component - Implemented
6:Implement business object.
The whole business object needs to be implemented so click on the business object title andu2026
Edit - Change Release Status - Object Type - Implemented
Now you can check the syntax, generate the Business Object and then test it. Execute the custom method you created and give the Company code, Document number and Year. -
Creation of New Custom Development Object in Solar02
Hi,
We are trying to create an object type of Form for a new custom development object in solar02 under tab Development,and for this I get an error that the object doesn’t exist in development environment.
Based on my analysis, it looks like Solution Manager only allows to link pre-existing development objects but not creating new objects. Is that right? If not please advice how can we add new custom objects through solution manager.
Thanks & Regards,
Sandeep Alapatihi,
solar01/02 is the tools for documenation, it is not for creating objects.
basically it should allow you to enter any developement objects names, irerespective of whether they are created in the back end system or not.
please provide the screenshots.
Thanks
Jansi -
Archiving Object SOBL - New Object Links Package
Any one has experience on this archiving object?
Is it necessary to run this archive object? or the object relationship is archived when the object is archived.
if we do need to archive this object, how can we sure it does not cause data lose. I tried to run this archive object it selects records which linked objects are still active!Alberto,
Can you explain what you are trying to do. Are you trying to archive data from a BI object or are you trying to export data out of a BI object using open hub. -
Add new authorization object for production order creation/change/display
As mentioned. I definded new authorization object using "Production scheduler" (Field Name : FEVOR) by SU20. then use SU21/SU24 to add authorization object for some transaction code such as COOIS. use PFCG maintain new role and assign a fixed production scheduler value and assgin transaction code COOIS to this role. create new user ID and assign to that role.
logon system with new ID, run COOIS. but system don't check new authorization object(production scheduler). who can tell me why it is and how i can add new new authorization object for standard transaction code?
Thanks.
Kevin.WUHi,
there is an icon of generation. just click there in PFCG and also in su21.
then add this object in new role.
Assign this role to user id
while assigning the role also there is a generation.
Please take a help of BASIS consultant also as this is entire a BASIS process.
Regards
Amit parkhi -
Hi Experts,
I dont have archive objects for the tables EEIN and EAUS.
I have found the OSS notes solution for this issue in SDN.
They have provided three programs for Archive , Delete and read.
I have created the Object ISU_EVER as per the instrucitons provided in OSS notes for the tables EEIN and EAUS. When I tried to create the variant for the delete program, I have got errors. The error message is
"This archiving report is for internal use only and is not released.
SAP does not support the use of this report."
How do I make use of this program then.
Can anyone give some suggestions please.
Thanks in advance,
Shree.Solved by commented a Message statement Message e295 .
Then its archiving.
Maybe you are looking for
-
Urgent help needed on deployment facts
Hi I had completed a Java Web based application using JApplet, which in turn uses Java Media Framework and Java Communications APIs. So when i deploy this application and let the clients use this application. I need to dump some jar files and propert
-
hey all, I was using my computer running on battery when the battery went empty and computer turned off. so i plugged the computer to the AC and used it. when the green light turned on and the status on screen said fully charged, i unplugged the elec
-
Home hub 3 as second router (access point) - anyon...
Hi all, I have my infinty connection from the modem to a netgear wndr4500 cable router. I am trying to get a better signal upstairs but using the home hub 3 as a secondary router / wifi point (connected to the netgear with homeplugs). I have done all
-
Recent issue with Iphoto. I will email several photos to someone, but the actual pictures will be copies of the first picture. Not sure how to fix that issue.
-
Add DataControl to DataBindings.cpx without a wizard?
Is it possible to add DataControl based on BC4J AppModule to DataBindings.cpx file without running one of the create new panel/frame wizards? For ex.: I created few BC4J AppModules but JDev didn't create DataControl elements in DataBindings.cpx and d