Fetching values using select query
Hi i want to get the details of belnr and bukrs using the where codn fields bukrs,anlkl,brdatu,ktansw,budat,WBS element.
1)The value of bukrs is entered in the selection screen
2)the value of asset class is optional and present in the anka
3)brdatu is already fetched and placed in a table.field brdatu is present in table j_ittaxdep
4)ktansw is entered in the selection screen and present in table j_ittaxdep
5)budat is fetched and placed in a table.
6)wbs element already fetched and is present in prps table.
Can anyone please tell how to code.actually the values of bukrs,anlkl ktansw, are present in structure anlav,brdatu is present in structure rbada and budat is present in structure anek.By using this structure is there way to get the belnr and bukrs value.