Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

pop up message for F-43

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.

Adding Validation to F-43

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

Former Member
Former Member replied

Solved !

I have added the same code in already existing Exit.

Thanks,

Haritha

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question