Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SELECT QUERY

Former Member
0 Likes
494

hi frnds.

i want to retrieve the name of the person who created the billing doc i.e vbrk-ernam and his telephone no

which is in USR03 table (USR03-TELNR).

how to write the query for it.

thnx daniel

4 REPLIES 4
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
468

Check FM

SO_USER_ADDRESS_FOR_USR03_GET

Read only

Former Member
0 Likes
468

Hi Daniel,

Check with this query.


SELECT SINGLE TELNR
    FROM USR03 AS A INNER JOIN VBRK AS B
        ON A~BNAME = B~ERNAM 
    INTO GV_TELEPH.

Thanks,

Vinay

Read only

Former Member
0 Likes
468

Hi Daniel,

Use JOIN between VBRK and USR03 and get the telephone number.


SELECT SINGLE TELNR
FROM USR03 AS A INNER JOIN VBRK AS B
ON A~BNAME =   B~ERNAM
INTO GV_TELPH.

Thanks,

Vinay

Read only

Former Member
0 Likes
468

asa