Application Development and Automation 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: 
Read only

VATDATE_RULES badi

Former Member
0 Likes
2,280

Hi gurus,

We are implementing a new functionality for VAT DATE due to reporting requirements, but we have come across a problem when the solution provided by SAP for this includes a BADI called VATDATE_RULES, that means one method VATDATE_CHECK that displays error FF785 if, when modifying the "tax date" that VATDATE_DETERMINE method purposes, you enter a date that if is less than the purposed one.

We have modified FF785 from error to warning as for Czeckia it is needed to have this option active but as long as other non-Czekiar company codes need this check to be carried out we need help to stablish this vatdate_check to be managed according to the country code, company code, ...

According to note 1232484 I do know that on se19 and se18 we can display and modify this badi but do not really know what to do, where...

Can anybody help? Thanks in advance.

Rushid

Hi gurus,

We are implementing a new functionality for VAT DATE due to reporting requirements, but we have come across a problem when the solution provided by SAP for this includes a BADI called VATDATE_RULES, that means one method VATDATE_CHECK that displays error FF785 if, when modifying the "tax date" that VATDATE_DETERMINE method purposes, you enter a date that if is less than the purposed one.

We have modified FF785 from error to warning as for Czeckia it is needed to have this option active but as long as other non-Czekiar company codes need this check to be carried out we need help to stablish this vatdate_check to be managed according to the country code, company code, ...

According to note 1232484 I do know that on se19 and se18 we can display and modify this badi but do not really know what to do, where...

Can anybody help? Thanks in advance.

Rushid

3 REPLIES 3
Read only

Former Member
0 Likes
1,334

if you have company code as input parameter for the BADi then straigtway you can put acheck in the BADI implemenation for different company codes..

go to SE18 type in BADI name and create implenattion class

Read only

Former Member
0 Likes
1,334

Hi,

please check below links

for how to find the BADI

/people/alwin.vandeput2/blog/2006/04/13/how-to-search-for-badis-trace-it

how to implement the badi

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0456c54-0901-0010-f0b3-cd765fb9...

Regards,

Madhu

Read only

Former Member
0 Likes
1,334

Hi,

To find the BADI - Please go for the below process

a) Go to SE24 - and give class name as CL_EXITHANDLER and choose Display.

b) Double-click on the method GET_INSTANCE and set a break-point.

c) Give TCode on the Command field and pres Enter.

d) Double-click on Exit-Name and press F8. it gives No. of badi's for that TCode.

e) Choose one according to your requirement and check in SE18. In that you can find Method VATDATE_CHECK and you have to implement this in TCode - SE19.