how to give the vairables used in the RFC for the webdnypro developer
i an abaper i have one specific doubt regarding icon which has been selected on the portal screen.
My requirement is we have portal screen on which i have two Buttons(or links) one Self and another for Dependents. i have to write an Bapi or RFC and give it to webdynpro developer.
i have to write logic in my RFC based on the button selected on the portal screen (self or dependent) .
in my RFC function module i have used import parameters & table parameters( return value for the webdynpro to pick up) . In the table parameters i have given structure z_struc & the Z_Struc has basically three fields
a) self b) depndt c) flag.
so i have written logic as
if v_flag_self = 'A'
logic for the self of the employee
elseif v_flag_dep = 'B'.
logic for the dependent.
so any one could please let me know how i should pass on to the webdynpro
or to recognize that the value for the Self he has to consider is A
and dependent button he has to take is B. Because based ont he this flag values
(A & B) only my logic works.
how i should pass this values to him .