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

Program Should not execute 2nd time for the same input

Former Member
0 Likes
873

HI,

My requriment is to download a file for some input . i did that. In the same program,the user executed the report with one set of input.

Again if they try to execute for same input , program should throw error. .

i.e. Program Should execute only once for those input.

For that, i need to store those input in some where. where i need to stored those values, except storing in table.

Is there any other solution to solve this?

6 REPLIES 6
Read only

Former Member
0 Likes
828

Hi,

My thought Not sure.

Can the user run the Report with some time frame difference ?

If we can think of Exporting to memory using Export keyword and the value you you export is combination of Input fields you take and when you run next time validate it across with that exported value which has Input values already

Regards,

Poornima

Read only

0 Likes
828

Hi Poornima,

I Checked that by export those data in memory id,but its System dependent.

Read only

0 Likes
828

Hi,

I mean Memory id is Let say your Program Name and what to export is one internal Table which has fields like( userid,Req inputfiled.....) and when ever you run check at start of program whether there is an entry in that internal table exported if not then append and then again export .

Though You say this as System System dependent That meory Id is also spec to system

Right ??? as told before not sure ..

Regards,

Poornima

Read only

Former Member
0 Likes
828

Give file name with the input selection. Validate the file is existing or not for the given input selection.

Thanks and Regards,

Chandra

Read only

0 Likes
828

Hi Chandra,

Users are not maintained all files. they deleted those files after verfiying the data. For me,File should not be downloaded for the same input or program should not executed for same input(2nd time execution).

Read only

0 Likes
828

Hi Sankavi,

As things are system independent, they should be stored in a Z table and checked for the later run. That's the only solution I think.

Thanks & Regards,

Faheem.