Skip to Content
author's profile photo Former Member
Former Member

CRM_ORDER_READ

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Mar 29, 2008 at 11:35 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.