cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding FM crm_order_read

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (0)