HR - Add Cut Off Validation at PA30

To add validation at transaction PA30, you have to add code at include.

CASE innnn-infty.
  WHEN '0000'.
    PERFORM f_0000 CHANGING innnn.
  WHEN '0001'.
    PERFORM f_0001 CHANGING innnn.
...
...
  WHEN '0267'.
    PERFORM f_0267 USING innnn.
  WHEN OTHERS.
ENDCASE. 

FORM f_0000 was declared at new subroutine pool Z as below.

 at PA30 message error will be raised as you wish.
SHARE

Mariana Novelia Senjaya

Hi. I’m author of ABAP Diary. I’m CEO/Founder of Meet Grapppi. I’m Creative Art Director, Web Designer, Interaction Designer, Industrial Designer, Web Developer, ABAPER, Analyst, Business Enthusiast, StartUp Enthusiast, Lecturer and Writer. Inspired to make things looks better.

  • Image
  • Twitter
  • Pinterest
  • Instagram
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment