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

Archive write program

Former Member
0 Likes
401

Hi,

I have a requirement that whenever a user runs Archive write program( Let say FI_DOCUMNT_WRI for object FI_DOCUMNT ) , I need to populate the current session number genrated and some fields of TOA01 into my custom table.

Kindly let me know the procedure if any one has worked on similar requirement.

Thanks

Rajneesh

2 REPLIES 2
Read only

former_member222860
Active Contributor
0 Likes
340

Hi Rajneesh,

What's the structure of ur z-table.

Once u run archive processs, u can simply insert the values into ur z-table:

Z_table-session = sessionID.
 Z_table-date = SY-DATUM.
 INSERT INTO Z_table VALUES Z_table.

thanks\

Mahesh

Read only

Former Member
0 Likes
340

Hi,

One thing i forgot to mention that i can't change standard archive write program. I need to do it using some user exit/Badi. I have searched some Badi's but they dont have session number as parameter.

My custom table has all fields of TOA01 + session number.

Thanks

Rajneesh