‎2006 Sep 06 4:41 PM
Hi Experts,
Can any one tell me how to display the address of a company if the company code is given.
Raj
‎2006 Sep 06 4:43 PM
‎2006 Sep 06 4:43 PM
‎2006 Sep 06 4:52 PM
‎2006 Sep 06 4:56 PM
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.
‎2006 Sep 06 4:43 PM
Look at table T001. You can get address from ADRC for T001-ADRNR.
‎2006 Sep 06 4:44 PM
company code means bukrs is the field name to display company code
‎2006 Sep 06 4:57 PM
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..