2012 Oct 15 1:37 PM
KIndly suggest how to use this bapi i,e BAPI_ACC_DOCUMENT_POST for service tax calculation. Per se If I have got 2 line items in an excel sheet. One is for GL and other is for vendor (Posting key would be 40 and 31 respectively). How to fill this ACCOUNTTAX structure in this BAPI. I have used
CALCULATE_TAX_FROM_NET_AMOUNT for calculating the various fields in IT_MWDAT which is of the structure -
(RTAX1U15).
Also I am getting this runtime error in BAPI which says "delete t_accr from begin_tabix to end_tabix in abap". ALso the dump message i am getting is
Short dump TABLE_INVALID_INDEX |
Also by researching on SCN forums I found out about this SAP NOTE number - 1337351. I am just really apprehensive about getting this note implemented. Please explain what could be the pros and cons of this note.
Kindly explain what needs to be done to remove this error and also how to fill accounttax table in bapi_acc_document_post with an example. Its an urgent requirement so please help me. Your help will be highly appreciated.
2012 Oct 15 3:31 PM
Hello,
To me this looks like a program fix. You could see if implementing this note removes the dump issue. You could always go back by removing the note.
As the note says this usually happens when the table T_ACCIT does not receive correct or no data while posting. So you may check if the data you are passing is correct or complete too.
Best Regards,
Swanand
2012 Oct 15 3:31 PM
Hello,
To me this looks like a program fix. You could see if implementing this note removes the dump issue. You could always go back by removing the note.
As the note says this usually happens when the table T_ACCIT does not receive correct or no data while posting. So you may check if the data you are passing is correct or complete too.
Best Regards,
Swanand
2012 Oct 16 5:53 AM
Hi Swanand,
Thanks for your reply.
Could you please tell me how to fill this accounttax structure in BAPI and what should be the corressponding entrires in Currencyamount for tax related items ?