To get company details address call function BAPI_COMPANYCODE_GETDETAIL. It will return company address including Telephone, Fax no.
CALL FUNCTION 'BAPI_COMPANYCODE_GETDETAIL'
EXPORTING
companycodeid = p_bukrs
IMPORTING
COMPANYCODE_DETAIL = wa_DETAIL
COMPANYCODE_ADDRESS = wa_ADDRESS
RETURN = RETURN.
Thanks
Rizvi
CALL FUNCTION 'BAPI_COMPANYCODE_GETDETAIL'
EXPORTING
companycodeid = p_bukrs
IMPORTING
COMPANYCODE_DETAIL = wa_DETAIL
COMPANYCODE_ADDRESS = wa_ADDRESS
RETURN = RETURN.
Thanks
Rizvi
No comments:
Post a Comment