08-06-2007 5:33 AM
Dear All,
I'm writing code to download PO Details from SAP to TEXT File.
The TEXT file will be maintained in a central repository system.
It can be accessed by all employees in different locations as well.
When one person executes the program and download the data into TEXT File, second person should not be able to do the same.
Can anyone please suggest me how to handle this situation?
Thanks & Regards,
Karthikeyan G
08-06-2007 5:38 AM
Hi
One way to ensure that the same PO is not downloaded again, is to maintain all PO numbers that are downloaded successfully, in a<b> Z table</b>, check this table before attempting to download a PO details.
Regards
Raj
08-06-2007 5:40 AM
Hi,
Try to use ENQUEUE and DEQUEUE mechanism to maintain a lock on the program and table.
Regards,
Shruthi