‎2008 Apr 02 4:07 PM
Hi all,
Iam having company code. with that how i need to find out the company address.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 2, 2008 12:30 PM
‎2008 Apr 02 4:10 PM
Take address number from T001-ADRNR
and pass this to ADRC-ADDRNUMBER to get the address details...
‎2008 Apr 02 4:11 PM
hi Maha
Get the address number from field ADRNR in table T001, then use this and go to the ADRC tables to get the address .
or check this code........
*SELECTING ADDRESS NUMBER FOR PARTICULAR COMPANY CODE
SELECT SINGLE ADRNR
FROM T001
INTO V_ADRNR
WHERE BUKRS = companycode.
*SELECTING ADDRESS FOR THAT ADRNR
IF SY-SUBRC EQ 0.
SELECT SINGLE *
FROM ADRC
INTO IT_ADDRESS
WHERE ADDRNUMBER = V_ADRNR.
ENDIF.
~~Guduri
‎2008 Apr 02 4:24 PM
Hi,
Please refer to the table T001 and field ADRNR.
Thanks,
Sriram Ponna.
‎2008 Apr 02 4:34 PM
Hi all,
Thnks for u r reply,
I want to change the address for payment advice in japanese not in english.But when i debugg the code in EN it was showing correct result(Correct address).but in the client layout ,that when he run the print payment advice in japanese It was showing old address.
what to do. Can any body tell me the procedure to change the address.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Apr 2, 2008 12:31 PM
‎2008 Apr 02 5:27 PM
so this was'nt the initial question and an urgent one..
may be address is not properly maintain in Japanese language? try login in Japanese and debug it.