CL_CRM_ORGMAN_SERVICES
DATA crm_sales_office TYPE crmt_sales_office .
DATA r3_sales_office TYPE crmt_r3_sales_office.
crm_sales_office = 'O 50000097' .
CALL METHOD cl_crm_orgman_services=>map_hrobject_to_r3_sales_off
EXPORTING
hrobject = crm_sales_office
IMPORTING
vkbur = r3_sales_office
EXCEPTIONS
no_authorization = 1
not_found = 2
OTHERS = 3.
r3_sales_office = 'AU01' .
CALL METHOD cl_crm_orgman_services=>map_r3_sales_off_to_hrobject
EXPORTING
vkbur = r3_sales_office
IMPORTING
crmvkbur = crm_sales_office
EXCEPTIONS
no_authorization = 1
not_found = 2
OTHERS = 3.
阅读(1684) | 评论(0) | 转发(0) |