Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Regarding FM crm_order_read

Hi All,

What are the constant values that we should pass to the it_requested_objects for text and exception import parameters.

Thanks,

Lakshmi.Y

Tags:
replied

Hi,

For text, try using this line of code:

INCLUDE crm_object_names_con.

INSERT gc_object_name-texts INTO TABLE lt_req_obj.

No idea about exceptions.But why do you need exceptions, it will anyways be visible in the output. Sample code below:

CALL FUNCTION 'CRM_ORDER_READ'

EXPORTING

it_header_guid = lt_header_guids

it_requested_objects = lt_req_obj

IMPORTING

et_orderadm_h = lt_orderadm_h_wrk

et_orderadm_i = lt_orderadm_i_wrk

EXCEPTIONS

document_not_found = 1

error_occurred = 2

document_locked = 3

no_change_authority = 4

no_display_authority = 5

OTHERS = 6.

Regards,

Rohit

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question