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: 

Error in J2I8

Former Member
0 Kudos

Hi all,

System is not showing any error while users trying to take Credit of Future year in Current year. Is this standard? I want to make this as error or system should not allow to do this.

Regards,

Lakhya

1 ACCEPTED SOLUTION

former_member187965
Active Contributor
0 Kudos

Hi,

This is standard system behavior. If you want to validate year then you have to go for an User exit or BADI. I checked, user exits for J2I8 but unfortunately not found any user exit. You can find enhancement spots or BADI by debugging the J2I8 program with the help of abaper. Once you find an enhancement spot or BADI, write logic to validate year of the document with the system date.

If you don't find any suitable enhancement spot or BADI then you can create ZJ2I8 by copying standard J2I8 program and then you can make changes in the ZJ2I8 as per your requirement.

1 REPLY 1

former_member187965
Active Contributor
0 Kudos

Hi,

This is standard system behavior. If you want to validate year then you have to go for an User exit or BADI. I checked, user exits for J2I8 but unfortunately not found any user exit. You can find enhancement spots or BADI by debugging the J2I8 program with the help of abaper. Once you find an enhancement spot or BADI, write logic to validate year of the document with the system date.

If you don't find any suitable enhancement spot or BADI then you can create ZJ2I8 by copying standard J2I8 program and then you can make changes in the ZJ2I8 as per your requirement.