Hi ALl,
I am using the below mentione FM to get the subject profile of a Transaction type.
CALL FUNCTION 'CRM_SERVICE_OS_GET_DATA'
EXPORTING
iv_profile_type = 'F'
iv_ref_guid = wa_final-guid
iv_ref_kind = 'A'
IMPORTING
ev_subject_profile = lv_subjp
TABLES
et_subjprofil = lt_subjp[]
et_code = lt_codes[]
EXCEPTIONS
error_occured = 1
invalid_guid = 2
invalid_profile = 3
OTHERS = 4.
But its returning me the Default Subject Profile assigned to the Tr.Type. in SPRO->CRM->TRANSACTIONS->Basic Settings ->Define Transaction Types
But in SPRO->CRM->TRANSACTIONS->SETTINGS FOR ACTIVITTIES -> Maintain Transaction Customizing for Activities -> Assign Status and Subject Profile for Each Transaction Type
Based on the Tr.Type and Status Profile, Subject Profile is maintained :
Tr.Type Status Tr.Desc Subject Profile
0000 E0001 Appointment ACT000002
Can any one pls let me know is there any other FM to retrive the same,
I tried using CRM_ORDER_READ but its not working out !!!
Pls help !!