03-25-2008 8:36 AM
Helo Gurus !!!!
I want to ger address for a company code which is maintained in IMG.
This address is stored in a sturcture ADDR1_DATA .
Is there any function module to read this data?
Points are assured !!!!
03-25-2008 8:38 AM
Hi,
Goto table T001. Just pass the company code. In the resulting record search for the field 'ADRNR'. Then goto table ADRC then pass ADRNR value. You will get you output.
Regards,
Sankar.
03-25-2008 8:38 AM
Hi,
Goto table T001. Just pass the company code. In the resulting record search for the field 'ADRNR'. Then goto table ADRC then pass ADRNR value. You will get you output.
Regards,
Sankar.
03-25-2008 8:43 AM
Hi
The structure will have value only during run time.
Goto T001 table pass the BUKRS and get the ADRNR value
then goto ADRC table get the address of the same
Regards
Shiva
03-25-2008 8:47 AM
You can use the Function
BAPI_ADDRESSORG_GETDETAIL
OBJ_TYPE BUS1069, OBJ_ID is company code.
Check it.
Import OBJ_TYPE BUS1069
Import OBJ_ID 1000
Import OBJ_ID_EXT
Import CONTEXT 0001
Import IV_CURRENT_COMM_DATA X