04-06-2009 3:30 PM
Hi All,
Am looking for an Exit or Badi which could be trigerred while selecting a line item in the PO & the TAXES Button is pressed in the INvoice Tab.
I am trying to get the Material Group of the line item into the Taxware User Exit when material Number is not entered.
Or Else please suggest an Enhancement point where i would be able to get the value of EKPO-MATKL.
Thanks in advance.
Kevin.
04-06-2009 3:46 PM
Hi,
When you select the line item and press on invoice tab and click taxes button the BADI ME_CIN_MM06EFKO gets triigerred....which contains the structure Y_EKPO-MATKL ....
Thanks,
Shailaja Ainala.
04-06-2009 4:10 PM
Hi ,
I am not able to implement this BADI,
The system is giving an error asking to specify Filter TYpes.
WHere do i specify & what do i specify.
Please Help.
regards,
Kevin.
04-06-2009 4:15 PM
Hi,
In the attributes tab ....Under TYPE tab .....
you will see filter-Depened check box below that you will see plus(+) icon click on that you will see one line item added.....in the fielst column(iso code) press f4help you will see iso codes displayed ask your functional consultant and select the relavant one....
Thanks,
Shailaja Ainala.
04-06-2009 4:25 PM
I tried executing by putting a breakpoint at the Call statement.
But it doesn't stop at the breakpoint.
And even after adding the filter type as US USA the system shows an error as
Interface implementation IF_EX_ME_CIN_MM06EFKO does not exist
regards,
Kevin.
04-06-2009 4:33 PM
Hi,
Did you implement the badi or not ......
go to se19 impelement the badi and give the filter type .....
now under interface tab ....double clikc on method ME_CIN_COPY_PO_DATA ...
inside this you will see
method IF_EX_ME_CIN_MM06EFKO~ME_CIN_COPY_PO_DATA.
endmethod.
now keep break as
method IF_EX_ME_CIN_MM06EFKO~ME_CIN_COPY_PO_DATA.
break-point.
endmethod.
Thanks,
Shailaja Ainala.
04-06-2009 4:40 PM
Exactly i have done the same.
But processing doesn't stop at the breakpoint.
I am in ME22N transaction After selecting a line item i am clicking on the Invoice Tab & then i am clicking on the TAXES Button to see the taxes calculated.
I am unable to hit the breakpoint.
regards,
Kevin.
04-06-2009 4:45 PM
Hi,
You have to give the correct filter value ...other wise it wont trigger.
Thanks,
Shailaja Ainala.
04-06-2009 4:49 PM
Is there any other BADI which can be used.
Or any Exit?
THanks.
Kevin
04-06-2009 5:22 PM
Hi,
What exactly you want to do the process ...
Thanks,
Shailaja Ainala.
04-06-2009 7:03 PM
I want to fetch the Material Group entered in the LIne item.
Based on the material Group I need to map a product code for the TAXWARE to calculate the right Tax.
SO whenever material NUmber is entered it comes in a field inside the User Exit for Taxware.
Whereas only if Material Group is mentioned. I need to export the value & import it inside the Exit.
The Exit I am working on is EXIT_SAPLFYTX_USER_001.
regards,
Kevin.
Sorry for the Delayed response I was out.
04-07-2009 2:07 PM
First Thanks to shailaja.
I am closing this thread because i found a solution.
The BADI EXTENSION_US_TAXES gets trigerred when you hit the Taxes Button.
There is a method called ME_TAXCOM_MEPO.
Inside this method you have two structures IM_EKPO and IM_OFEKPO.
These have the current selected line item values and the Old selected line item values respectively.
Using this the Material Group on the selected line item can be fetched.
regards.
Kevin.
04-07-2009 2:11 PM
04-07-2009 2:22 PM
Welcome Shailaja )
regards,
Kevin.
Some Info : TAXWARE is a third party software used to calculate taxes for US & Canada.
All the discussions were around these TAXWARE.
Some important SAP Notes Which might be helpful for Someone who might implement this in future.
Check out the following notes :
302998,
986148,
662668.
10-23-2012 12:20 PM
Hi Kevin,
I have same kind of requirement i need to read around 10-15 fields some of them are custom fields.
So i needed to ask that you read the data from this BADI and used it in the user
exit EXIT_SAPLFYTX_USER_001? if you have done so can you throw some light on the process of
how to transfer data from BADI to user exit.
Thanks & Regards,
Durgesh