The following section describes the data types you can use when attaching your geo-coding program to the SAP system via the RFC interface.
For more information about the data types passed via the ABAP IF_GEOCODING_TOOL interface, see Data Types of the ABAP interface.
The data types of the RFC interface are as follows:
importing |
addresses |
type |
aes_rfc_addr_table |
|
xinfo |
type |
xinfo |
|
time_zone |
type |
timezone |
exporting |
results |
type |
geocd_res_table |
|
choice |
type |
geocd_choice_rfc_table |
|
relevant_fields |
type |
geocd_addr_relfields_sortedtab |
changing |
messages |
type |
aes_msg_table |
|
containers |
type |
aesc_sortedtable. |
The data types will be defined using pseudo code:
aes_rfc_addr_table type standard table of aesaddrrfc; |
aesaddrrfc type structure of { id type byte[16], address type geocd_addr }; |
geocd_addr type structure of { name_co type char[40], city1 type char[40], city2 type char[40], city_code type char[12], cityp_code type char[ 8], home_city type char[40], cityh_code type char[12], regiogroup type char[ 8], post_code1 type char[10], post_code2 type char[10], post_code3 type char[10], pcode1_ext type char[10], pcode2_ext type char[10], pcode3_ext type char[10], po_box type char[10], po_box_num type char[ 1], po_box_loc type char[40], city_code2 type char[12], po_box_reg type char[ 3], po_box_cty type char[ 3], postalarea type char[15], transpzone type char[10], street type char[60], streetcode type char[12], streetabbr type char[ 2], house_num1 type char[10], house_num2 type char[10], house_num3 type char[10], str_suppl1 type char[40], str_suppl2 type char[40], str_suppl3 type char[40], location type char[40], building type char[20], floor type char[10], roomnumber type char[10], country type char[ 3], langu type char[ 1], region type char[ 3], sort1 type char[20], sort2 type char[20], sort_phn type char[20], addrorigin type char[ 4], extension1 type char[40], extension2 type char[40], time_zone type char[ 6], taxjurcode type char[15], address_id type char[10], remark type char[50], langu_crea type char[ 1] }; |
xinfo type structure of { srcid type char[ 4], country type char[ 3], language type char[ 2] } |
time_zone type char[6]; |
geocd_res_table type standard table of geocd_ress; |
geocd_ress type structure of { id type byte[16], res type int4, info type char[128], addit_info type char[64] }; |
geocd_choice_rfc_table type standard table of aeschoirfc; |
aeschoirfc type structure of { id type byte[16], ranking type int4, percentage type numc[ 3], addr_short type char[100], address type geocd_addr, container type aesc }; |
geocd_addr_relfields_sortedtab type sorted table of geocd_rlfl with unique key id fieldname; |
geocd_rlfl type structure of { id type byte[16], fieldname type char[30] }; |
aes_msg_table type standard table of aes_msg; |
aes_msg type structure of { id type byte[16], order_no type int4, message type symsg }; |
symsg type structure of { msgty type char, msgid type char[20], msgno type numc[ 3], msgv1 type char[50], msgv2 type char[50], msgv3 type char[50], msgv4 type char[50] }; |
aesc_sortedtable type sorted table of aesc_tabs; |
aesc_tabs type structure of { id type byte[16], container type aesc, cancelled type char }; |
aesc. type standard table of aesc_struc; |
aesc_struc type structure of { service type char[16], field type char[16], value type char[255] }; |