How to pass import parameter it_header_guid to FM CRM_ORDER_READ
I have an internal table with only one field GUID of type CRMT_OBJECT_GUID.
Now I need to pass this into the import parameter of the FM CRM_ORDER_READ.
I tried in many ways but getting a type conflict error.
Edited by: Julius Bussche on Sep 15, 2008 12:49 PM
Post CRM Technical or Functional related queries in "Customer Relationship Management (CRM) - General & Framework" available under SAP Solutions in Expert Forums.
And regarding your question,
Your guid should be of "CRMT_OBJECT_GUID_TAB" type and not CRMT_OBJECT_GUID.
DATA : IT_GUID TYPE CRMT_OBJECT_GUID_TAB.
APPEND '488628CFB8C600B0E1008000C0090137' TO IT_GUID.
CALL FUNCTION 'CRM_ORDER_READ'
IT_HEADER_GUID = IT_GUID
Hope this helps.