how to get venor name
through script i m printing check. in my check i m displaying vendot name,credit amount.
in my selection screen document no.,company code and year has to be filled.i m fetching data from BSEG table . i m getting problem in fetching vendor name because through LIFNR field in BSEG i m joining LIFNR field in LFA1 table and through that in LFA1 i m getting NAME1 as vendor name . but in BSEG table LIFNR field is having value only for particular posting key like 25,27,35 etc. and if there is no value for LIFNR for doc no. then vendor name is not getting
is there any standard key or field or any method to get vendor name properly plz help.