2015 Jul 31 5:40 PM
Hi All,
In tcode F-43, after entering the details if hte user hits enter it should display a pop up information message "Multiple bank accounts available for this Vendor ! "
I have followed the same steps as in the below link. But from F-43, But it is not triggering my code. Am I missing any other configuration. Please help me.
GGB0-> created a Validation.
Go back ad clicked on Form builder, it is showing Rules
here.
OB28->
In my system there are two programs ZGGBR000 and ZGGBS000. I have added the below code in both the programs.
exits-name = 'U128'.
exits-param = c_exit_param_none.
exits-title = text-128.
append exits.
form u128 changing account.
types : begin of ty_lfbk.
include structure lfbk.
types : end of ty_lfbk.
data : t_lfbk type table of ty_lfbk.
data : w_lines type i.
select *
from lfbk
into table t_lfbk
where lifnr = bseg-lifnr.
if sy-subrc = 0.
describe table t_lfbk lines w_lines.
if w_lines gt 1.
message i000(zfi) with
'Multiple bank accounts available for Vendor !'.
endif.
endif.
endform.
Thanks,
Haritha
2015 Aug 01 10:40 PM
I would rather solve this requirement by implementing BTE 1100. It is called in F-43 right after pressing enter in account field. You already have almost all the code, just find some FM suitable for pop-up.
2015 Aug 01 10:40 PM
I would rather solve this requirement by implementing BTE 1100. It is called in F-43 right after pressing enter in account field. You already have almost all the code, just find some FM suitable for pop-up.
2015 Aug 11 10:39 AM
Solved !
I have added the same code in already existing Exit.
Thanks,
Haritha