cancel
Showing results for 
Search instead for 
Did you mean: 

CRM_ORDER_READ

Former Member
0 Kudos

Hi CRM Experts!!

I hope most of ppl worked with FM CRM_ORDER_READ

and SE38 CRM_ORDER_READ (Same Functionality )

I use this FM Hundreds of times. But couldnot get how is populating data inside it using dynamic Field Symbol.

Anybody can tell me how this program population data from itab.

perform fill_input_params. "Filling Input parameters and population Itab.

Please tell me following subroutine functionalities.

perform create_interface using gv_funcname

changing gv_interface_ref.

assign gv_interface_ref->* to <interface>.

perform assign_input.

perform call_function.

perform output.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Sm1tje
Active Contributor
0 Kudos

Annee,

I don't have a CRM system at hand right now, but please provide me the code per subroutine and I think I can explain. I've worked with CRM for quite some time so I should be able to explain.

However, I'm not quite sure about your requirement? What is it exactly that you want to know, and more important WHY do you want to know? Out of (ABAP professional) curiosity or is something not working quite the way you want it to?

CRM uses dynamic field symbols so only ONE routine has to called (over and over again) which will work for all the structures in CRM like ORDERADM_H, ORDERADM_I, ACTIVITIES, etc. etc. By providing the current interface name the structure is known by the system. So the data can be stored in an internal table which can be accessed throughout the transaction since it is stored globally in the main function group TOP include. The internal tables / structures are stored as generic objects in the internal table of the function group. So all internal tables filled during the transaction will be stored in the function group generically, no matter what the structure of the internal table is (ORDERADM_H, ORDERADM_I, etc.)

Hope this helps a bit, else give some additional info (or coding) to explain your requirement.

Former Member
0 Kudos

Hi Micky,,

Thanks for writting me so quickly,

My curiosity to use ABAP Coding like standand SAP ABAP Code, to use dynamic Field symbol, avoiding loops,queries, etc....and use the same in OOPS Programing.

I got few inputs from you, But i would like to know these subroutines in details. i sent u a piece of code in ur email id.

perform create_interface using gv_funcname

changing gv_interface_ref.

assign gv_interface_ref->* to <interface>.

perform assign_input.

Please explain.

Answers (0)