Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Maintain SARA Transaction

Former Member
0 Likes
1,671

Hi,

While creating archive file, using SARA transaction, I am facing the error - <b>"Please maintain the variants of delete program first".</b> when we tried to delete from SARA, we are facing "no data available" . please guide me, to workaround on this transaction.<b> I <REMOVED BY MODERATOR></b>. Thanks

Message was edited by:

Alvaro Tejada Galindo

Hi,

While creating archive file, using SARA transaction, I am facing the error - <b>"Please maintain the variants of delete program first".</b> when we tried to delete from SARA, we are facing "no data available" . please guide me, to workaround on this transaction.<b> I <REMOVED BY MODERATOR></b>. Thanks

Message was edited by:

Alvaro Tejada Galindo

5 REPLIES 5
Read only

Former Member
0 Likes
1,010

Hi

When you enter an OBJECT in SARA Tcode first screen like (SD_VBAK)

and see by going to GOTO->documentation from Menu

all the steps are clearly mentioned

Do accordingly

Regards

Anji

Read only

Former Member
0 Likes
1,010

Hi,

SAP provides 2 standard variant for the delete job for each archive object. They are as follows

Test Mode Variant -> SAP&TEST

Production Mode Variant -> SAP&PROD

From your error message it is clear that these variant are missing. If the object is a standard archive object then there should be a OSS note which is addressing the problem. BTW what is the archive object that you are trying to archive? Also what is the SAP support pack level?

I suggest you look for SAP note in SAP service marketplace. Alternatively you could create the variant by yourself.

Hope this helps

Cheers!

Samanjay

Read only

0 Likes
1,010

Hi ,

The object we are using is - CHANGEDOCU, we are trying to archive CDCLS entries. As, I could find CHANGEDOCU has CDHDR and CDPOS table information. and also I would like know, whether CHANGEDOCU is reducing CDCLS entries or not. pls let me know, how to check the entries in CDCLS please. We are working on 4.5B vesrion.

we are able to rectify the error by maintaining Testmode variant and Prod mode variant as well. but now the error we could find in the job log is for the step - RSSCD7AR, New archive file created: xxx.cdcls. Error opening file xxx.cdcls Operating system message: No such file or directory. As per basis Team the physical path was maintained in Operating sys Level and SAP level.we are looking OSS Notes , pls guid me , how to proceed further.

Thanks

Read only

0 Likes
1,010

Hi,

If you archive data using CHANGEDOCU then the entries in table CDCLS will also be deleted. You can use TA: DB15 to find the tables from which the data is deleted if you archive a particular archive object.

Verify if the archive job is creating the file xxx.cdcls at the OS level. If it is not then the problem could be that the directory may not have create permission. I suggest that you revisit the logical and physical path again and verify the configuration.

Hope this helps

Cheers!

Samanjay

Read only

0 Likes
1,010

Hello Sanjay,

When verifying the archive file path as mentioned previously, also check the owner of the filesystem It should be owned by <sid>adm and not root.

As for archiving entries from table CDHDR and CDCLS, it is recommended to only archive the master data change records with archive object CHANGEDOCU. The other change records should be archived with the relevant transaction data. For example, the change records for sales orders should be archived with archive object SD_VBAK.

Best Regards,

Karin Tillotson