Hi deebak,
to solve this you need to do your checks all in the driver-program and pass an additional parameter to the interface. You know, something like duplexmode = abap_true and afterwards you can set the correct parameters to call the form.
~Florian