Archiving Objects in SAP Retail (transaction SARA)
Hi All.
I have problem with archiving object WS_ACSITE in SAP RETAIL.(Transaction SARA)
When I write data archiving, message appeard is that archive sessions are created.
When I try to execute the next step: delete - the archive sessions are not appearing in the dialog box where we should choose the archive sessions for deletion.
The above situation appear when I am working with plants existing in system for a while, but when I've create a new one and try to go through all SARA's steps it is OK, and master date of sites are deleted (e.g WB03).
Can anyone help me?
The second question is u2013 can I restore deleted sites to system?
thanks in advance.
Marcin
Hello,
Check below information for Material master record required to archive:
1. Is there any stocks in the plant for which MMR need s to be archived? (Stock = Zero)
2. Is there any open items at FI accounting? (There should be no pending bills or parked documents)
3. Is there any pending delivery for this material? (there should be no open deliveries)
If all the above criteria is met then set the deletion flag and indicator for perticular Plant you are looking for.
Note: Make sure that non of the other plants which is sharing this MMR is marked for deletion flag / indicatory
Then execute Archive run for archiving object MM_MATNR.
Note: All the required configuration is done for archiving object MM_MATNR.
Hope this will help you to archive MMR only for your required plant.
-Thanks,
Ajay
Similar Messages
-
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 -
Archive and delete sap event management objects
Team, I need to configure the archiving objects and residence time to Archive and delete EM objects. there are three steps of configuration, and I have never done this before.
Can any one of you help me in setting up this config and the programs that need to run to archive and delete these objects.
I would really appreciate you help and quick response on this.
Define Archiving-Object-Specific Customizing
Define Residence Times for Archiving or Deleting
Define Settings for Deleting Document Flow
Thank you!!!Hello Steffen,
I was told that it would be possible to display archived and deleted event handlers using BAPI /SAPTRX/BAPI_EH_GET_DATA_GEN. I tested it, but could not verify this statement. SAP Help reads:
"The archiving object /SAPTRX/A0 only supports a technical view in the Archive Explorer of the Archive Information System. This view is similar to the display in transaction SE16."
It would be great if you could help clarify this. Thank you!
Best regards,
Philiipp -
Unable to archive warehouse view of an article in SAP Retail
Hi SAP Gurus,
I want to archive the warehouse view of a material which i extended to a wrong warehouse by mistake .
The basic check would be first to discontinue the article by WSE1,, i could not do that because it was having open PO and sales stock. How to close them. I tried closing PO by MASS by putting a lock indicator as "l". Still its not helping me out.
Anyone please let me know how to close all the POs and sales stock.
Regards.
SUMIIt is archiving object MM_MATNR to archive a material master in total or just a certain org level of the material. No other archiving object needed for this.
...i had performed SARA using MM-MATNR and had selected the object table as MLGN.
I am lost. I do archiving for many years but do not know where you can select a MLGN object .
After executing it successfully with no error in the job log
errors in the joblog refer to errors in the job. logical errors are stored in the spool file to the job (preconditioned you have selected to get a log)
> I had not performed the delete operation by SARA.
> why do i still see the MLGN enteries for the article.
writing an archive does not remove entries from your table, it just duplicates the info, from the table into an archive.
the delete step vefrifies if the archive can be accessed and is readable and then loops thru the archive and deletes the corresponding records from the database tables. -
Archiving particular object in sap
Dear Gurus,
I want to archive an object "pm_objlist"- related to (serial no). from sap. Basically there are n number of serial no which is not using, the functional consultant wants to delete the same after archive the same ) please guide me how to do the same from SARA.
i am using ECC6 with oracle 10G. Is there any external tool required for the same
please guide me
regards
vgbshi supriya,
The following steps i have done
In sara t-code
i selected the object "pm_objlist" and i clicked on start button
and i created a variant and i select all the drop box "like Delivery, sales document, inspection lots etc..." and i select archive, after that i clicked on variant attrib and i put the meaning and save the vairant.
and i clicked on startdate "immediate" and i clicked on spool para and maintain the same and finally execute the same.
after that i clicked on management it is showing complete archiving object in green .
Is it right way i did the same or anything wrong please guide me
regards
vgbs -
Archiving Transaction SARA throws dumps.
S0003731475
Hi Gurus
I am trying to run archiving transaction SARA but it throws dumps and I canu2019t seem to find the reasonu2026u2026
Here is the dumpu2026u2026..Anyone who faced similar problemu2026u2026.Please help.
Runtime errors SYNTAX_ERROR
Occurred on 12/08/2009 at 13:45:09
Syntax error in program "SAPLARCH ".
What happened?
The following syntax error occurred in the program SAPLARCH :
"Method "GET_DATA" is unknown or PROTECTED or PRIVATE."
Error in ABAP application program.
The current ABAP program "SAPMAADM" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
What can you do?
Please eliminate the error by performing a syntax check
(or an extended program check) on the program "SAPLARCH ".
You can also perform the syntax check from the ABAP/4 Editor.
If the problem persists, proceed as follows:
Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
Error analysis
The following syntax error was found in the program SAPLARCH :
"Method "GET_DATA" is unknown or PROTECTED or PRIVATE."
How to correct the error
Probably the only way to eliminate the error is to correct the program.
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in the editor or
print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
System environment
SAP Release.............. "620"
Application server....... "M3SAPA01"
Network address.......... "136.133.230.177"
Operating system......... "Windows NT"
Release.................. "5.2"
Hardware type............ "4x Intel 801586"
Character length......... 16 Bits
Pointer length........... 32 Bits
Work process number...... 0
Short dump setting....... "full"
Database server.......... "M3SAPA01"
Database type............ "MSSQL"
Database name............ "RDS"
Database owner........... "rds"
Character set............ "C"
SAP kernel............... "640"
Created on............... "Mar 10 2009 01:13:21"
Created in............... "NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10"
Database version......... "SQL_Server_8.00 "
Patch level.............. "274"
Patch text............... " "
Supported environment....
Database................. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
SAP database version..... "640"
Operating system......... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2,
Windows NT 6.0"
User, transaction...
Client.............. 220
User................ "RHEMNANI"
Language key........ "E"
Transaction......... "SARA "
Program............. "SAPMAADM"
Screen.............. "SAPMAADM 0001"
Screen line......... 2
Information on where terminated
The termination occurred in the ABAP program "SAPMAADM" in "D0001_DISPLAY".
The main program was "SAPMAADM ".
The termination occurred in line 278 of the source code of the (Include)
program "MAADMO01"
of the source code of program "MAADMO01" (when calling the editor 2780).
Source code extract
002480 * check if parameters exists
002490 progname = arch_obj-retrie_prg.
002500 answer = 'YES'.
002510 CALL FUNCTION 'RS_SELSCREEN_EXISTS'
002520 EXPORTING
002530 report = progname
002540 IMPORTING
002550 answer = answer
002560 EXCEPTIONS
002570 no_report = 01
002580 program_incorrect = 02
002590 program_not_found = 03.
002600 IF sy-subrc EQ 0.
002610 IF answer EQ 'NO'.
002620 LOOP AT SCREEN.
002630 CHECK screen-group1 = 'VAR'.
002640 screen-active = 0.
002650 MODIFY SCREEN.
002660 ENDLOOP.
002670 ENDIF.
002680 ENDIF.
002690 ENDMODULE. " D0300_DISPLAY OUTPUT
002700
002710 *&---------------------------------------------------------------------*
002720 *& Module D0001_DISPLAY OUTPUT
002730 *&---------------------------------------------------------------------*
002740 * text *
002750 *----------------------------------------------------------------------*
002760 MODULE d0001_display OUTPUT.
002770 SUPPRESS DIALOG.
-----> CALL FUNCTION 'ARCHIVE_DISABLE_MONITORING'.
002790 ENDMODULE. " D0001_DISPLAY OUTPUT
002800 *&---------------------------------------------------------------------*
002810 *& Module INIT_0120 OUTPUT
002820 *&---------------------------------------------------------------------*
002830 * text
002840 *----------------------------------------------------------------------*
002850 MODULE d0120_display OUTPUT.
002860 DATA: format1(12) TYPE c.
002870 DATA: format2 TYPE i.
002880 LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.
002890 SET PF-STATUS 'SPACE'.
002900 SET TITLEBAR '105'.
002910 WRITE: / 'Archivverzeichnis:'(060), file_path.
002920 ULINE.
002930 MOVE freespace TO format2. "to format with points
002940 WRITE format2 TO format1.
002950 WRITE: / 'Verfügbarer Freiplatz:'(061),format1 NO-ZERO,'KB'.
002960 LEAVE SCREEN.
002970
Contents of system fields
SY field contents..................... SY field contents.....................
SY-SUBRC 0 SY-INDEX 0
SY-TABIX 0 SY-DBCNT 0
SY-FDPOS 0 SY-LSIND 0
SY-PAGNO 0 SY-LINNO 1
SY-COLNO 1 SY-PFKEY
SY-UCOMM SY-TITLE Archive Management Module Pool
SY-MSGTY SY-MSGID
SY-MSGNO 000 SY-MSGV1
SY-MSGV2 SY-MSGV3
SY-MSGV4
Active calls / events
No.... Type........ Name..........................
Program
Include Line
Class
2 MODULE (PBO) D0001_DISPLAY
SAPMAADM
MAADMO01 278
1 MODULE (PBO) D0001_DISPLAY
SAPMAADM
MAADMO01 278
Chosen variables
2 MODULE (PBO) D0001_DISPLAY
SAPMAADM
MAADMO01 278
%_DUMMY$$
2222
0000
0000
0000
1 MODULE (PBO) D0001_DISPLAY
SAPMAADM
MAADMO01 278
No dump information available
Application Calls
No dump information available
Application Information
No dump information available
Internal notes
The termination occurred in the function "ab_genprog" of the SAP
Basis System, specifically in line 1423 of the module
"//bas/640_REL/src/krn/runt/abgen.c#14".
The internal operation just processed is "FUNC".
The internal session was started at 20091208134509.
Program name.........: "SAPLARCH ".
Error message........: "Method "GET_DATA" is unknown or PROTECTED or PRIVATE.".Rajesh,
This might happen if the orginal function module ARCHIVE_GET_INFORMATION in LARCHF03 program is altered, bring back the the function module to original, it might solve your problem.
Anand B Vodnala -
Error : while converting a WD ABAP object into SAP Transaction
Hi,
I am trying to converting a WD ABAP object into SAP Transaction but i am getting the following error while executing the transaction :
Network Access Message: The page cannot be displayed
Technical Information (for Support personnel)
Error Code: 502 Proxy Error. The specified Secure Sockets Layer (SSL) port is not allowed. ISA Server is not configured to allow SSL requests from this port. Most Web browsers use port 443 for SSL requests. (12204)
IP Address: 10.114.6.144
Date: 4/7/2011 10:41:
Please help.> ISA Server is not configured to allow SSL requests from this port. Most Web browsers use port 443 for SSL requests. (12204)
This seems to be your specific network configuration. It seems that your corporate network is blocking HTTPS requests which don't use port 443. Your ABAP system is configured to use a port other than 443. Either talk to your basis admins about changing your ABAP system configuration to use port 443 or talk to your network administrators to allow whichever port the ABAP system is running on. -
SAP Business Object attached to FB03 transaction
Hi,
Can any body tell me the SAP business object associated with the transaction FB03?
Also please tell me how we can find it out?
Regards,
Ratheesh BSHi,
BUS3006 is the BO for FB03.
IF yu want to search go to SWO1.
ClicK on Business object repository button from menu bar then select second radion button(Businnes obejcts/organization types).
Then click on ok.Then u will see all application components.from there u canserach BO for u r appliation component.
Thanks -
Mass deletion of batches - SAP Archiving Object MM_SPSTOCK
__SAP Archiving Object MM_SPSTOCK (Batches and Special Stocks)__
Would like to know if there is any standard program or report available through which the batches (to be deleted) can be set with a deletion flag. We are in the process of implementing the archiving object MM_SPSTOCK and the batches have not been flagged. There is no pre-processing job for MM_SPSTOCK that can be used to set the deletion flag for all eligible batches.
This object MM_SPSTOCK does not have any date or selection criteria for the write job. All batches with set deletion flag will be archived/deleted.
We are in the process of implementing LO_CHVW (Batch where-used data) for which imlementing MM_SPSTOCK is a pre-requisite.
Would appreciate any leads around this. Any other suggestions around the MM_SPSTOCK & LO_CHVW will be great.
Thanks
SamI am basically looking for a method (program / report) through which mass deletion flag can be set for eligible batches prior to using MM_SPSTOCK archiving object to archving / deleting the batches.
Thanks
Sam -
Archiving object CRM_SERORD
Hi everyone-
I need to clean up my transaction monitor screen (delete/archive old test messages). I am able to delete the basis part of the message fine by running the report Z_DELETE_BASIC_NOTIFICATIONS per note 566225, however I need some help in archiving the CRM part of the message.
I know that this is done in transaction SARA by using archiving object CRM_SERORD, but that is all I know....once I execute transaction SARA, what do I do next?
Can anyone walk me through the steps for archiving the CRM side of the message?
Thanks,
NathanHi,
Data is said to be archived when both the Write job and Delete job for the data has run successfully. TA: SARA is used to run both the Write and Delete programs. Before you run these programs you need to do some customizing
- Archive Object Specific
- Application specific
For detailed steps visit this <a href="http://help.sap.com/saphelp_crm50/helpdata/en/e6/c66f3b6c980c3be10000000a11402f/content.htm">link</a>
Hope this helps
Cheers!
Samanjay -
Archiving object CUHD (Customs Document)
Hi All,
I am new to GTS. Could you please let me know what all t-codes related data will archive if I archive CUHD(Customs Document) object.
Regards,
J.Hi Jatin,
I fully agree with Siba that we don't have any T-code related data up for archiving but it is always table related (transactional) and area specific data that is archived.
For more dive into this topic, you can go to below area's:-
GTS cockpit-->System Administration-->Archiving.
or
you visit the Archiving administration directly through t-code SARA. Here, you will find a variety of objects to choose from based on the view of which data to be archived.
Moreover, for further reference, please visit SAP standard help on this topic as below.
System Administration - SAP Library
This explanation is simple and clear. Hope you will find it helpful.
Regards,
Aman -
Hi,
Can you please send me 'step by step process Archiving data objects and how we can extract archived data from R/3?'. If possible please send me with screen shots to my mail-id [email protected] or plese attach to this thread.
Thanks & Regards
Venkata Rao.Hi,
Creating Archiving Objects
Prerequisites
The programs you enter must already exist in the system.
Procedure
Call transaction AOBJ.
Choose New Entries and enter the following data:
General Information
Object Name
Name of the archiving object
Text
Short description
Application Area
Organizational category for assigning archive files
Application Component
Used for assigning archive files
Programs and Functions
Write Program
Name of the program that writes the archive files
Interruption Possible
Setting this indicator means the archiving object supports Interruption and Continuation of an Archiving Session. If you set this, the write program must also handle the interruption request. This indicator must not be set if the Do Not Start Before End of Write Phase is set.
Delete Program
Name of the program that deletes the data from the database after the write program has finished
Do Not Start Before End of Write Phase
If this indicator is set, the delete programs do not start until the write program is finished. To actually start the delete phase immediately, the Start automatic. indicator must be set in archiving-object-specific Customizing.
This indicator should not be set for most archiving objects. Before you set this indicator, decide whether you actually need to use this indicator or can do without it.
Reload Program (optional)
Name of the program with which the data can be loaded from the archive back into the database.
Prohibit New Session During Reload
If this indicator is set, no new archiving session is generated when reloading archiving sessions. The reload program is not authorized to call the function module ARCHIVE_SAVE_OBJECT.
Preprocessing Program (optional)
Name of the program with which data is to be prepared for data archiving.
Postprocessing Program (optional)
Name of the program with which data is to be processed after it has been archived. If, for example, the data is only marked for deletion in the delete program, the actual deletion can be executed in the postprocessing program.
Index Build Program
Name of the program for building indexes
ArchiveSelect.Active
If this indicator is set, the Archive Selection pushbutton is displayed in transaction SARA for building and deleting indexes. If you select archive files using variants, do not set this indicator.
Index Delete Program
Name of the program for deleting indexes
Index Build Allowed
If this indicator is set, an index can be created for this archiving object. For more information, see Creating ADK Indexes and Using Them to Access Archive. The actual index creation can be controlled by a Customizing entry.
"Invalid" Indicator Cannot Be Revoked
If this indicator is set, the "Invalid" indicator for archiving sessions cannot be reset in archive management once it is set.
Archiving Object Generated
Indicates the archiving object was generated.
As of SAP Web Application Server 6.10 write and delete programs can no longer be generated at runtime.
Cross-Client
Archiving is client-independent.
End Dialog
Dialog mode must stop before archiving can begin. Only set this if collisions may occur during data archiving. In general, this should not be set as it was primarily designed for older archiving objects where parallel operation was not able to be guaranteed between online operation and data archiving.
Documentation
Info for Write Program
Name of the document containing information about the object-specific write program
Info for Delete Program
Name of the document containing information about the object-specific delete program.
Info for Reload Program
Name of the document containing information about the object-specific reload program.
Info for Preprocess Prog
Name of the document containing information about the object-specific preprocessing program.
Info for Postproc Prog
Name of the document containing information about the object-specific postprocessing program.
Info for Read Program
Name of the document containing information about the object-specific read program.
You create the documents using the documentation maintenance transaction (SE61).
Save your entries and return to the initial screen of transaction AOBJ.
http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.wbia_adapters.doc/doc/mysap3/sap123.htm
http://sapabapinterviewquestionsjobs.blogspot.com/2007/11/sap-abap-interview-questions-jobs.html
http://www.sap-basis-abap.com/sapta009.htm
http://blog.danmcweeney.com/8
http://help.sap.com/saphelp_nw70/helpdata/en/2a/fa043a493111d182b70000e829fbfe/frameset.htm
Regards,
Chandru -
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. -
Re-use of article numbers in SAP Retail - consequences for SAP BI ?
Hello experts,
I´ve got another task concerning SAP BI 7.0 and Retail ECC 6.00. We are confronted with the following situation: The InfoObject 0MATERIAL is used for SAP Retail Article. 0MATERIAL has been extended with some specific attributes, but beside from this it´s still a standard Business Content object (lenght 18 characters etc.). We are loading data on a daily basis.
Now for the future there´s the intention to re-use already existing article numbers for different articles (!). E.g. article 012345678910111213 is now a bath towel, but somewhere in the future it changes into a computer or something else.
From my understanding, we cannot delete the "old" articles in SAP BI as long as they are used in any transactional data. We also cannot change the article text, because 0MATERIAL is not time-dependent. I know that we can make the texts time-dependent (valid from - valid to), but in this case the users have to know when the last change of every specific article has taken place - and this can´t be guaranteed. Beside from this, I can´t see a solution for the reporting on articles because they cannot be compared.
So - has anybody of you been confrontated with a similar situation and has been solved this problem ?
Thank you very much.
Regards,
AlexanderHi,
Please check this wiki pages for more information on how to solve your issue:
http://wiki.sdn.sap.com/wiki/display/BOBJ/ReleasingExtractorsforusebytheODP+API
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=217449812
Hope it helps,
Pedro -
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
Maybe you are looking for
-
Booting Mac OS 8.6 from install disc
I currently have a 6500/225 and I've been trying to do a clean install of 8.6. I received the machine for free, but there was quite a few things on it I don't need, so I wanted to wipe it completely and start over. I've tried to hold 'C' down when it
-
Hi Im new to XI and Im testing a simple file to file scenario by using Variable Substitution method. PFB the input payload of my scenario: <?xml version="1.0" encoding="UTF-8" ?> - <ns0:INF94145_Emp_Input_MT xmlns:ns0="http://infosys.com/xi/projects/
-
How to export the comp/interface to local hard disk
hi all, can any one send me how to export the comp/interface to local hard disk thanks, viswa
-
Model - level exceptions not thrown (EJB, 11.1.1.3)
Hi, We noticed that with the latest jdev version (11.1.1.3) exceptions from model layer are not thrown or logged anywhere. Steps to reproduce (HR schema): - create a new Application (J2EE template, add ADF Faces and Page Flow to view project) - creat
-
How to create new folder on laundchpad?
How to create new folder on launchpad? I am new, sorry