03-01-2007 3:59 AM
Dear all,
I'm calling Prog B from prog A using Submit and passing 2 selection values and disabling those 2 fields in prog B.If user select any of the variant from progB then the variant values overwritten the imported values .
Is there any way to disable Variants button in program B if it is calling from prog A ?
Hope I'm clear with my question.
thanks in advance.
regards,
raju
03-01-2007 5:35 AM
Try to add in program B
parameter p_calling_from a.
and
this code:
include rsdbc1xx.
...
...
at selection-screen output.
if p_calling_from a = 'X'.
append 'GET' to current_scr-excl. "get variant
append 'VSHO' to current_scr-excl. "display variant
append 'VDEL' to current_scr-excl. "delete variant
append 'SPOS' to current_scr-excl. "save a variant
endif.
03-01-2007 5:35 AM
Try to add in program B
parameter p_calling_from a.
and
this code:
include rsdbc1xx.
...
...
at selection-screen output.
if p_calling_from a = 'X'.
append 'GET' to current_scr-excl. "get variant
append 'VSHO' to current_scr-excl. "display variant
append 'VDEL' to current_scr-excl. "delete variant
append 'SPOS' to current_scr-excl. "save a variant
endif.