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: 

Change Accounting Document at time of MIRO

Former Member
0 Kudos

Hi experts,

I've an requirement to assign vendor and wbs data in xref1 and xref2 field in accounting document at the time of MIRO. I've used BADI 'AC_DOCUMENT'. It's working fine for all tax line item. But I can't capture thsi for TDS line item, because TDS line item is calculateed after thsi Badi thru FM 'AC_DOCUMENT_CREATE' .

How can I track this line item at the time of or after Simulation or Ppost and assign those fields?

Is there any exit or Badi to track accouting document data after simulation?

Please help.

Thanks in advance,

Goutam

1 REPLY 1

former_member183990
Active Contributor
0 Kudos

try to check out for BTE's

check 2218 or 2118 , i am not sure about that

put a break point at BF_FUNCTIONS_FIND

and check which event is called while posting in MIRO

and check in table TBE31 for that the correspoding FM and you need to take a copy that FM and serve them for your purpose

in the above mentioned event, there will be two internal table named bkpf and bseg , if it is for parking then Bseg related table will be inital , if it is posting then bseg won't be initial

cheers

S.Janagar

Edited by: Janagar Sundaramoorthy Nadar on Apr 9, 2010 1:11 PM