Skip to Content
0
Former Member
Apr 01, 2011 at 04:50 AM

Displaying SO Data used by the usesr in an interactive report.

25 Views

hello ABAP Experts,

I have to create a report which takes username as input and execute the program.

it has to extract all the sales order used by that particular user.

Now i have created the parameter and internal table and work areas, but in the select statement i am stuck ( i dont know to which field i have to compare so that i can extract the Sales order data used by the user). How should i do this.

here is the select statement..

PARAMETER : Username TYPE syst-uname.

SELECT *

FROM vbap

INTO TABLE l_vbap

WHERE Username = sys-uname . " but this will give me SO data used by syst-user only i.e. the user logged in which is me. if i enter other user name i will not get any data in l_vbap.

any clue/hint you can give me.

thanks and regards.