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

Access Archive Data

Former Member
0 Likes
525

Hello All,

Currently i have been assigned with transforming an existing ZObject which accesses the data from Custom table ZZXG1A (GL Line Items, Actuals), SKAT, BKPF etc. I was able to build the selection screen and i was able to select the Archive file (text files) using the FM 'FI_ARCHIVES_SELECT' It would be great if any one can provide the steps and the FMs to be used to Open the Archive file, Read the archive file based on the selection screen parameters etc.

If any code available it would be great if the same is forwarded.

Thank you.

- PSK

3 REPLIES 3
Read only

Former Member
0 Likes
449

Hi,

You can use ARCHIVE_OPEN_FOR_READ function module.

Make sure you study the archving object and see if the table ZZXG1A has been included while creating the archive file.

Since the archive file has multiple lines with header and line item data for the same document, you need to first find how its been written into the file, only then you can read it.

Hope this helps,

Ravi.

Read only

0 Likes
449

Hi

anybody did archiving in sap,after delete option the material is deleted but it is not writing to an output file it is giving error :IO error file i have set the logical path to unix sys ,please mail me if u have answers

thanks

Read only

Lakshmant1
Active Contributor
0 Likes
449

Hi Sravan,

Have a look at SBOOKR demo program.

Thanks

Lakshman