Grigoriy, Thanks for ur reply.
I have requested my functional consultant & got below response for your last question
after trm docs are created, the tbb1 is run. so that this trm transaction gets financially recorded against gl accounts etc
So copa doc number is never created, a fin doc number will create.
I have done logic by declaraing local varaible. but now while executing TBB1 tcode, then only BADI is triggering & KEDR derivation/enhancement is not triggering.
Please let me know how to trigger KEDR derivation/enhamcement while running TBB1 run.
Thank you agian.
Rgds,
shabs