This website is not affiliated with, sponsored by, or approved by SAP AG.

TABLE for program last execution date & time

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

TABLE for program last execution date & time

Postby 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
ravi rkr
 

Postby 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: http://www.sapfans.com/forums/search.php
RidgeRunner
 
Posts: 591
Joined: Mon Nov 25, 2002 1:19 pm
Location: Northern California, USA


Return to ABAP

Who is online

Users browsing this forum: Majestic-12 [Bot] and 7 guests





This website is not affiliated with, sponsored by, or approved by SAP AG.