Hello Tahar,
Check the vriable in the Driver Program whether they are clearing before it is calling second time.
Because the Variable in the smartforms will be cleared in the global_clear form routine by the system.
If you share issue with screen shot then it will be clearer to understand.