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: 

HR_IN_F24Q_TAX_CHECK - Implementation for ZERO amounts

Former Member
0 Kudos

Hi Gurus,

Please help me to implement the logic in BADI "HR_IN_F24Q_TAX_CHECK" to avoid the zero amount in Form 16.

Which internal tables to be filtered or how to write the logic in it after implementing the BADI.

Thanks in Advance,

Chandra.

3 REPLIES 3

Former Member
0 Kudos

closing..got solution..

Former Member
0 Kudos

Hi Chander,

Can you provide me the details, how did u solve the issue since Im facing the same issue.

Regards

0 Kudos

To avoid zero amount records in form16, below is what i have written in the method CHK_F24Q


 data: wa_results_table type line of hrpay99_rt.
 clear result.

 read table results_table into wa_results_table
                       with key lgart = '/460'.
  if sy-subrc = 0 and not wa_results_table-betrg is initial  .
    result = 'T'.
  else.
    read table results_table into wa_results_table
                          with key lgart = '/462'.
    if sy-subrc = 0 and not wa_results_table-betrg is initial.
       result = 'T'.
    else.
       result = ''.
    endif.
  endif.
 panchk = panchk_old.