Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

pop up message for F-43

Bharath84
Participant
0 Kudos

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

1 ACCEPTED SOLUTION

AntonFarenyk
Contributor
0 Kudos

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.

2 REPLIES 2

AntonFarenyk
Contributor
0 Kudos

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.

0 Kudos

Solved !

I have added the same code in already existing Exit.

Thanks,

Haritha