Hi Anil,
i tried this its not working.
I debugged MSC2N, it's not passing to TDNAME as below
if material = xyz(3characters)
TDNAME = xyz(15spaces)+4spaces(for plant)+Batch no.
Meaning to say its adding spaces to the right of material and 4 spaces for material.
Dont know if this is something to do with SAP system.