关于SAP CRM Organization Unit组织结构单元自动决定的一些调试
The creation of appointment executes the organizational data profile “Z00000000016” with scenario “SALES” and gets the sales orgs of the users (more than one) in FM CRM_ORGMAN_DETERMINE_SUBSET:
Raises the exception “alternatives_found = 3” and continues trying to search another organizational data profile:
FM CRM_ORGMAN_DETERMINE_SUBSET line 47
CALL FUNCTION 'CRM_ORGMAN_GET_PROFIL_ID'
EXPORTING
iv_ref_guid = cs_orgman_com-ref_guid
iv_ref_kind = cs_orgman_com-ref_kind
iv_scenario = iv_scenario
IMPORTING
ev_org_profilid = lv_org_profilid
es_org_profile = ls_orgprof
EXCEPTIONS
no_profile_found = 1
OTHERS = 2.
Raises the exception “no_profile_found = 1”. This is the cause of the issue.
Inside of FM ‘CRM_ORGMAN_GET_PROFIL_ID’ tryes to get the organizational data profile “Z00000000016” with scenario “SERVICE”:
FM CRM_ORGMAN_GET_PROFIL_ID line 107
CALL FUNCTION 'CRM_ORGMAN_ORGPROF_SELECT_CB'
EXPORTING
iv_org_profilid = ev_org_profilid
iv_scenario = iv_scenario
IMPORTING
es_orgprof = es_org_profile
EXCEPTIONS
OTHERS = 0.
- EV_ORG_PROFILID : Z00000000016
- IV_SCENARIO : SERVICE
- ES_ORG_PROFILE
We don’t have created the organizational data profile “Z00000000016” with scenario “SERVICE”
要获取更多Jerry的原创文章,请关注公众号"汪子熙":