cancel
Showing results for 
Search instead for 
Did you mean: 

crm_order_read

Former Member
0 Kudos

wat is the functionality of et_requested_objects in FM 'crm_order_read'??

I am passing 6 parameters to et_requested_objects but i am importing only 4 parameters.

will it cause any problem.

Edited by: srinivasa reddy mallidi on Sep 29, 2008 1:12 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

The function of it_requested_objects is to limit the database read time of the CRM transaction(s) you want to read.

Image you would use this FM only to get some dates of some transactions. If you don't specify anything in it_requested_objects the system will read ALL information of the requested transaction(s) (dates, partners, items, organizational data, ...) and thus resulting in a longer runtime + more data is red from the database. It will read ALL information EVEN if you did not requested all the importing parameters!

If you add the line e.g. 'APPOINTMENT' to it_requested_objects the system will ONLY read all the dates + header of the transaction(s) and thus resulting in a much faster runtime + less database reads.

You can find back the names of all objects that you can pass to it_requested_objects in the include gc_object_name. Some sample code to make it clear:

INCLUDE gc_object_names.

INSERT gc_object_names-appointment INTO TABLE lt_requested_objects.

If you only require certain information during this function call it's certainly worth providing the thing you need in it_requested_objects!

Hope this helps,

Kind regards,

Joost