TABLE for program last execution date & time

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Post Reply
ravi rkr

TABLE for program last execution date & time

Post by ravi rkr » Mon Jun 16, 2003 9:36 am

Hi all,

Does SAP store data of last execution date and time for a customer program ?
Transaction STAT is of no use to me.
My program captures all materials created in SAP and re-creates them in another non-sap system. I need to capture materials created in SAP by my program since it's last execution. So, am looking for the date & time of my programs latest execution.
Please help.

Regards
Ravi

RidgeRunner
Posts: 591
Joined: Mon Nov 25, 2002 1:19 pm
Location: Northern California, USA

Post by RidgeRunner » Mon Jun 16, 2003 12:37 pm

It sounds like you need to create a new custom table to save the last date and time your program executes. Then, select change documents from CDHDR created since the last execution date/time, then the document detail from CDPOS to determine the material keys. You'll need to know the material master change document object, but I'm sure you know what that is.
Keith
To SEARCH the forum, go here: search.php

Post Reply