i have to find damage code and Equipment id fields in a table....urgent
for this....If the Sales Order type is KB (i.e. VBAK-AUART=KB) then Equipment ID and Damage Code are instead taken from the Service Order referred by the KB Order. From Sales Document Flow table (VBFA) find document no of preceding Service Order.
please reply soon.