first setp for ABAP Query is Create a User group-SQ03
then second step is create infoset-SQ02
then here select direct read from the table ex then select include all table fields.then click on join tab in the nxt screen
then click on insert table then here enter vbap.
then select fields what ever u want from that tables.
then goto SQ01 and execute this query.
save it in local object.
reward points if it helps