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

Need help...

Former Member
0 Likes
973

Hi Experts,

Can any one tell me how to display the address of a company if the company code is given.

Raj

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
938

yu mean to disaply in report or in scripts

6 REPLIES 6
Read only

Former Member
0 Likes
939

yu mean to disaply in report or in scripts

Read only

0 Likes
938

Hi Warun,

yes i want to display in a report.

Raj

Read only

0 Likes
938

Try something like this:

SELECT STREET CITY1 REGION POST_CODE1 COUNTRY

INTO TABLE ITAB

FROM ADRC INNER JOIN T001

ON ADRCADDRNUMBER = T001ADRNR

WHERE T001~BUKRS = P_BUKRS.

Read only

Former Member
0 Likes
938

Look at table T001. You can get address from ADRC for T001-ADRNR.

Read only

Former Member
0 Likes
938

company code means bukrs is the field name to display company code

Read only

Former Member
0 Likes
938

take that field bukrs give that in selection-screen and take the address of company and fetch the data from the table and give that condition bukrs in select..