Top Banner

of 17

Custom Genil Usage

Oct 19, 2015

Download

Documents

Booker Booker

creating custom genils
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
  • SAP CRM: Webclient UI - Framework: Creating a C... | SCN

    http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/08/06/creating-a-genilbol-object-model[6/22/2013 11:57:32 AM]

    Getting Started Newsletters Store

    Products Services & Support About SCN Downloads

    Industries Training & Education Partnership Developer Center

    Lines of Business University Alliances Events & Webinars Innovation

    Login RegisterWelcome, Guest

    Activity Communications Actions

    Browse

    More blog posts in SAP CRM: Webclient UI - Framework

    SAP CRM: Webclient UI - Framework

    0

    Defining and Creating a Genil Model : You could define and implement dynamic models using IF_GENIL_APPL_MODEL Interface.use GENIL_MODEL_EDITOR OR GENIL_MODEL_BROWSER to create static models , AsGenil component class extends default implementation ofIF_GENIL_APPLMODEL_PERSISTENCY namly CL_WCF_GENIL_ABSTR_COMPONENT. Step 1 : Go to Transaction SE24 or SE80 ,Create a new abap Custom Genil ClassZCL_CUSTOMER_MODEL As this class use statically defined model we inherit fromCL_WCF_GENIL_ABSTR_COMPONENT

    Save and activate the class. Step 2: Registering of Genil component is done using Transaction SM34 ,

    Enter View Cluster name as CRMVC_GIL_APPDEF or we can use maintaince viewCRMV_GIL_COMPClick maintain button.

    Maintain the entries for Component Definition , Component Set Definition and Component

    Creating a Custom Genil/Bol object ModelPosted by Sumeet Gehlot in SAP CRM: Webclient UI - Framework on Aug 6, 2012 11:10:32 AM

    Share Like 1

    By author:

    ---

    By date:

    ---

    By tag:

    abap bol component crm crm_framework crm_newbiecustom_component sap sap_crm sap_gui_for_windows

    sapmentor ui webclient_ui webclientui webui

    Filter Blog

    Searching and Implementing BADI in CRM Web UI

    Access Component Controller or Custom Controller in acontext node class-2

    Pass variables to Long Text

    Accessing IBase Hierarchy

    Pop some tags and Pay it Forward V2.0

    Tips and Tricks - Troubleshooting CRM (IC)

    Accessing Component Controller or Custom Controllerin a context node class

    How to: Adding new row / element to context nodecollection in SAP CRM using ABAP

    Tree view change and save

    Function Profiles

    Recent Posts

    Incoming Links

    Re: EDIT option not available in Tr."genil_model_browser"

    Re: EDIT option not available in Tr."genil_model_browser"

  • SAP CRM: Webclient UI - Framework: Creating a C... | SCN

    http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/08/06/creating-a-genilbol-object-model[6/22/2013 11:57:32 AM]

    Assignment.

    Step 3: Create a new Master Table name as ZMAST_CUST using transaction SE11.

    Creating a Genil Business Objects.

    Key Structure of Customer Data

    Re: Concepts to be prepared in CRM TechnicalWEB UI

    Re: GENIL_MODEL_EDITOR in SAP CRM 7.0EhP1

    Re: Why my custom Simple Object BOL entity cannot be locked?

    Custom development of stand alone Web UIscreen

  • SAP CRM: Webclient UI - Framework: Creating a C... | SCN

    http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/08/06/creating-a-genilbol-object-model[6/22/2013 11:57:32 AM]

    Attribute structure of a Customer Data

    Table Type of Attribute Structure

  • SAP CRM: Webclient UI - Framework: Creating a C... | SCN

    http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/08/06/creating-a-genilbol-object-model[6/22/2013 11:57:32 AM]

    Create a Lock object of master table ZMAST_CUST.

    Step 4 : Go to Transaction GENIL_MODEL_BROWSER,Give component name as ZCUST .

    a. a.) Click on Change button and Right Click on Root Objects -> Give Object Name asCustomer

    Add Key Structure Name , Attribute structure name and Create structure name .And check web service enabled.

  • SAP CRM: Webclient UI - Framework: Creating a C... | SCN

    http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/08/06/creating-a-genilbol-object-model[6/22/2013 11:57:32 AM]

    Keep Attribute Structure Property -in Changeable mode , So that while creating a object youcan see a list of fields in Change mode in Object Browser .

    Step 5 : Open a custom genil class ZCL_CUSTOMER_MODEL and redefine all this metohodsas shown below.

    Create a new custom class name as ZCL_CUSTOMER_API which will to hold the APImethods to retrieve data from database.Declare GT_CUSTOMER as a global attributes ZATTR_CUST_TAB ( Attribute Structure of Customer ) ofZCL_CUSTOMER_API

  • SAP CRM: Webclient UI - Framework: Creating a C... | SCN

    http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/08/06/creating-a-genilbol-object-model[6/22/2013 11:57:32 AM]

    Here's the coding Starts to create a new root object IF_GENIL_APPL_INTLAY~CREATE_OBJECTSMETHOD if_genil_appl_intlay~create_objects.

    DATA : lv_guid TYPE crmt_object_guid. DATA: lv_key TYPE zattr_cust_key. DATA : lv_success TYPE char1.

    fill_struct_from_nvp_tab( EXPORTING it_parameters = it_parameters CHANGING cs_parameter = lv_key ).

    CALL FUNCTION 'GUID_CREATE' IMPORTING ev_guid_16 = lv_guid.

    DATA : lv_count TYPE i VALUE 0.

    TYPES : BEGIN OF ty_cust, custno TYPE zcustno, END OF ty_cust.

    DATA :lit_cust TYPE TABLE OF ty_cust, wa TYPE ty_cust. SELECT custno FROM zmast_cust INTO TABLE lit_cust.

    SORT lit_cust DESCENDING. IF lit_cust IS NOT INITIAL. LOOP AT lit_cust INTO wa. lv_count = wa-custno + 1. EXIT. ENDLOOP. ELSE. lv_count = 1. ENDIF.

    lv_key-guid = lv_guid. lv_key-custno = lv_count.

    CALL METHOD zcl_customer_api=>create_customer EXPORTING is_cust_key = lv_key IMPORTING rv_success = lv_success.

    IF lv_success IS NOT INITIAL. iv_root_list->add_object( iv_object_name = iv_object_name is_object_key = lv_key ). ENDIF.

    ENDMETHOD.

  • SAP CRM: Webclient UI - Framework: Creating a C... | SCN

    http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/08/06/creating-a-genilbol-object-model[6/22/2013 11:57:32 AM]

    METHOD CREATE_CUSTOMER.DATA : lv_data like line OF gt_customer.

    CALL FUNCTION 'ENQUEUE_EZMAST_CUST'EXPORTINGmode_zmast_cust = 'E'EXCEPTIONSforeign_lock = 1system_failure = 2OTHERS = 3.IF sy-subrc 0.* Implement suitable error handling hereENDIF.

    lv_data-guid = is_cust_key-guid.lv_data-custno = is_cust_key-custno.

    append lv_data to gt_customer.

    rv_success = 'X'.ENDMETHOD. IF_GENIL_APPL_INTLAY~GET_OBJECTS METHOD if_genil_appl_intlay~get_objects.

    DATA lv_root TYPE REF TO if_genil_cont_root_object.DATA lv_key TYPE zattr_cust_key.DATA lv_cust_att TYPE zattr_cust."DATA lv_temp_att TYPE zbol_bp_master_attr.

    lv_root = iv_root_list->get_first( ).

    lv_root->get_key( IMPORTING es_key = lv_key ).

    IF lv_root->check_attr_requested( ) = abap_true.

    zcl_customer_api=>get_customer( EXPORTING is_cust_key = lv_keyIMPORTING es_cust_attr = lv_cust_att ).

    IF lv_cust_att IS NOT INITIAL.

    lv_root->set_attributes( lv_cust_att ).

    lv_root = iv_root_list->get_next( ).

    ENDIF.ENDIF.

  • SAP CRM: Webclient UI - Framework: Creating a C... | SCN

    http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/08/06/creating-a-genilbol-object-model[6/22/2013 11:57:32 AM]

    METHOD GET_CUSTOMER. FIELD-SYMBOLS LIKE LINE OF gt_customer.*IF is_cust_key IS NOT INITIAL.

    READ TABLE gt_customer WITH KEYguid = is_cust_key-guidcustno = is_cust_key-custnoASSIGNING .ELSE.IF sy-subrc 0.RETURN.ENDIF.READ TABLE gt_customer WITH KEY new = 'C' ASSIGNING .ENDIF.**IF sy-subrc = 0.** IF -new EQ 'C' OR -new EQ 'M'.MOVE-CORRESPONDING TO es_cust_attr.RETURN.ENDIF.ENDMETHOD. IF_GENIL_APPL_INTLAY~MODIFY_OBJECTS DATA : lv_cust_attr TYPE zattr_cust,lv_root TYPE REF TO if_genil_container_object,lv_changed_objects TYPE crmt_genil_obj_instance,lv_props TYPE REF TO if_genil_obj_attr_properties,lt_changed_attr TYPE crmt_attr_name_tab,lv_cust_key TYPE zattr_cust_key,lv_success TYPE abap_bool.

    DATA : lv_change TYPE crmt_genil_attr_property.

    CHECK iv_root_list IS BOUND.

    lv_root = iv_root_list->get_first( ).

    IF lv_root->get_delta_flag( ) IS NOT INITIAL.

    CASE lv_root->get_name( ).WHEN 'Customer'.lv_props = lv_root->get_attr_props_obj( ).

    CALL METHOD lv_props->get_name_tab_4_propertyEXPORTINGiv_property = if_genil_obj_attr_properties=>modifiedIMPORTINGet_names = lt_changed_attr.

    lv_root->get_key( IMPORTING es_key = lv_cust_key ).lv_root->get_attributes( IMPORTING es_attributes = lv_cust_attr ).

    MOVE-CORRESPONDING lv_cust_key TO lv_cust_attr.

    CALL METHOD zcl_customer_api=>change_customerEXPORTINGis_cust_attr = lv_cust_attrit_names = lt_changed_attrIMPORTING

  • SAP CRM: Webclient UI - Framework: Creating a C... | SCN

    http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/08/06/creating-a-genilbol-object-model[6/22/2013 11:57:32 AM]

    rv_success = lv_success.

    IF lv_success IS NOT INITIAL.

    lv_changed_objects-object_name = 'Customer'.lv_changed_objects- object_id = cl_crm_genil_container_tools=>build_object_id( lv_cust_key).

    APPEND lv_changed_objects TO et_changed_objects.

    ENDIF.

    WHEN OTHERS.ENDCASE.ENDIF.ENDMETHOD.

    METHOD change_customer.

    FIELD-SYMBOLS : TYPE zattr_cust, TYPE simple, TYPE simple, TYPE name_komp.

    READ TABLE gt_customer WITH KEYguid = is_cust_attr-guidcustno = is_cust_attr-custno ASSIGNING .

    CHECK sy-subrc IS INITIAL.

    LOOP AT it_names ASSIGNING .ASSIGN COMPONENT OF STRUCTURE TO .CHECK sy-subrc = 0.ASSIGN COMPONENT OF STRUCTURE is_cust_attr TO .

    CHECK sy-subrc = 0. = .ENDLOOP.-new = 'M'.rv_success ='X'.

    ENDMETHOD. IF_GENIL_APPL_ALTERNATIVE_DSIL~LOCK_OBJECTS METHOD if_genil_appl_alternative_dsil~lock_objects.

    DATA : lv_key TYPE zattr_cust_key.FIELD-SYMBOLS LIKE LINE OF ct_object_list.

    IF iv_lock_mode = if_genil_appl_intlay=>lock_mode_exclusive.

    LOOP AT ct_object_list ASSIGNING .

    IF -object_name = 'Customer'.

  • SAP CRM: Webclient UI - Framework: Creating a C... | SCN

    http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/08/06/creating-a-genilbol-object-model[6/22/2013 11:57:32 AM]

    TRY.CALL METHOD cl_crm_genil_container_tools=>get_key_from_object_id(EXPORTINGiv_object_name = -object_nameiv_object_id = -object_idIMPORTINGes_key = lv_key )..CATCH cx_crm_genil_general_error .ENDTRY.

    CALL METHOD zcl_customer_api=>buffer_customerCHANGINGcs_attr = lv_key.

    IF lv_key IS INITIAL.-success = 'X'.ENDIF.

    ENDIF.ENDLOOP.ENDIF.

    ENDMETHOD.

    METHOD buffer_customer.

    DATA : ls_customer LIKE LINE OF gt_customer.

    CALL FUNCTION 'ENQUEUE_EZMAST_CUST'EXPORTINGmode_zmast_cust = 'E'guid = cs_attr-guidcustno = cs_attr-custno

    EXCEPTIONSforeign_lock = 1system_failure = 2OTHERS = 3.IF sy-subrc = 0.

    SELECT * FROM zmast_cust INTOCORRESPONDING FIELDS OF TABLE gt_customerWHERE guid = cs_attr-guidAND custno = cs_attr-custno.

    IF sy-subrc IS NOT INITIAL." Key Do not exist in databasels_customer-guid = cs_attr-guid.ls_customer-custno = cs_attr-custno.ls_customer-new = 'C'.

    APPEND ls_customer TO gt_customer.ENDIF.CLEAR cs_attr.ELSE.

  • SAP CRM: Webclient UI - Framework: Creating a C... | SCN

    http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/08/06/creating-a-genilbol-object-model[6/22/2013 11:57:32 AM]

    ENDIF.

    ENDMETHOD. IF_GENIL_APPL_ALTERNATIVE_DSIL~SAVE_OBJECTS METHOD if_genil_appl_alternative_dsil~save_objects.

    DATA lv_cust_key TYPE zattr_cust_key.FIELD-SYMBOLS TYPE crmt_genil_obj_inst_line.

    LOOP AT ct_object_list ASSIGNING .

    CASE -object_name.WHEN 'Customer'.TRY.CALL METHOD cl_crm_genil_container_tools=>get_key_from_object_id(EXPORTINGiv_object_name = -object_nameiv_object_id = -object_idIMPORTINGes_key = lv_cust_key )..CATCH cx_crm_genil_general_error .ENDTRY.

    CALL METHOD zcl_customer_api=>save_customerCHANGINGcs_key = lv_cust_key.IF lv_cust_key IS INITIAL.-success = abap_true.ENDIF.ENDCASE.ENDLOOP.ENDMETHODDefine CS_KEY Type(changing parameter) ZATTR_CUST_KEY. METHOD save_customer.

    DATA : wa_cust TYPE zmast_cust.DATA lv_success TYPE abap_bool.

    FIELD-SYMBOLS: LIKE LINE OF gt_customer.

    lv_success = 'X'.

    READ TABLE gt_customer ASSIGNING WITHKEY guid = cs_key-guidcustno = cs_key-custno.

    CHECK sy-subrc = 0.

    CASE -new.WHEN 'C' OR 'M'.MOVE-CORRESPONDING TO wa_cust.MODIFY zmast_cust FROM wa_cust.

    WHEN 'D'.DELETE gt_customer WHEREguid = cs_key-guid ANDcustno = cs_key-custno.WHEN OTHERS.ENDCASE.CALL FUNCTION 'DEQUEUE_EZMAST_CUST'

  • SAP CRM: Webclient UI - Framework: Creating a C... | SCN

    http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/08/06/creating-a-genilbol-object-model[6/22/2013 11:57:32 AM]

    EXPORTINGmode_zmast_cust = 'E'guid = cs_key-guidcustno = cs_key-custno.

    CLEAR cs_key.ENDMETHOD. "SAVECUSTOMER STEP 6 : go to transaction genil_bol_browser -> Click on Create a New Root ObjectSelect the root object as Customer double click it. Enter the parameters value Custno - you can add you own custom logic to default set the value of the attributes Click on Create Object

    Here Guid and Custno is in display mode , while remaining atrributes are in changeable mode -Enter the values of the Attributes. Click on Save Button.

  • SAP CRM: Webclient UI - Framework: Creating a C... | SCN

    http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/08/06/creating-a-genilbol-object-model[6/22/2013 11:57:32 AM]

    0

    Average User Rating

    (6 ratings)

    Topics: Customer Relationship Management

    8533 Views

    and Check the database table ZMAST_CUST.

    In my next blog ' http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/09/25/implementation-of-a-custom-genil-model-in-web-ui ' will use thisCustom GenIL component set to create a New custom component with create and save thedatain database

    Regards,Sumeet GehlotSAP CRM Practice.

    Share Like 1

    24 Comments

    Like (2)

    Imran Khan Aug 8, 2012 10:34 AM

    Hi Sumeet, Excellent blog. Can you please update the screen shot of "Component Definition", I would liketo know which implementation class you have mentioned there. ThanksImran

    Like (0)

    Sumeet Gehlot Aug 9, 2012 1:00 PM (in response to Imran Khan)

    Hi Imran , Thanks , I have attached a screen shot to register a genil component Regards,Sumeet

    Jason Scott Aug 13, 2012 2:37 AM

    Quite a few of the images do not show for me... The very first image in the blog is one with a probelm -

  • SAP CRM: Webclient UI - Framework: Creating a C... | SCN

    http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/08/06/creating-a-genilbol-object-model[6/22/2013 11:57:32 AM]

    Like (0)

    can you please look into this.

    Like (0)

    Sumeet Gehlot Aug 13, 2012 2:30 PM (in response to Jason Scott)

    Hi Jason, Can you please use in mozilla firefox browser.

    Like (0)

    Jason Scott Aug 14, 2012 2:36 AM (in response to Sumeet Gehlot)

    Unfortunately the company I work for only allows IE! What kind of image or htmlhave you used that won't work with IE? It would be excluding allot of users I think...(I wish we could run a different browser.)

    Like (1)

    Pooja Agrawal Sep 5, 2012 11:09 AM

    Can you please show the structure of ZATTR_CUST_TAB. As its not visible if you are already sharingit. The structure of the table doesnt have field like 'NEW'. So do we specifically add 'New' field instruct ZATTR_CUST_TAB.

    Like (0)

    Sumeet Gehlot Sep 18, 2012 10:37 AM

    @Pooja : I have attached a screen shot of a ZATTR_CUST, Hope it works... Regards,Sumeet Gehlot

    Like (0)

    Sumeet Gehlot Sep 18, 2012 10:40 AM

    @Jason : I dont know why images are not visible in IE , hope we can run in different browser. Regards,Sumeet Gehlot

    Like (3)

    Savaridasan P Sep 26, 2012 8:59 AM

    Hi Sumeet, Great Blog and Nice contribution. Thank u Das

    Like (1)

    Savaridasan P Sep 27, 2012 8:29 AM

    Hi Sumeet, can u share the parameter screen shot of Method SAVE_CUSTOMER? cheers, Das

    Sumeet Gehlot Oct 1, 2012 1:14 PM (in response to Savaridasan P)

    Hi Savaridassan, Create a Parameter as CHANGING type CS_KEY Changing Type ZATTR_CUST_KEY Customer KeyAttribute Regards,

  • SAP CRM: Webclient UI - Framework: Creating a C... | SCN

    http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/08/06/creating-a-genilbol-object-model[6/22/2013 11:57:32 AM]

    Like (1)

    Sumeet

    Like (2)

    Savaridasan P Oct 9, 2012 2:56 PM (in response to Sumeet Gehlot)

    Hi Sumeet, Thanks a lot. i worked on this and got the output..sure wil trace and learn a lot. Thanks again expect more resource from u like this...very Good one cheers Savaridassan P

    Like (0)

    Priyanka Rauthan Oct 10, 2012 8:41 AM

    Nice Blog

    Like (0)

    Tony Siloka Oct 19, 2012 8:41 AM

    Nice Blog !!!!

    Very Good one cheers

    Like (0)

    Bala Bevara Nov 19, 2012 9:25 PM

    Hi Sumeet..! I am new to CRM webui, found the most of the functionality in your article... I tried to impelmented thesame thing on my pc and got below errors.... 1) In IF_GENIL_APPL_ALTERNATIVE_DSIL~LOCK_OBJECTS lv_lovk_mode is unknown. it is not contaied in one of the specified table... 2)In class ZCL_CUSTOMER_API.. SAVE_CUSTOMER.. ABAP_BOOL is unknown... when I added the type-POOLs on the top the error is gone.. also in .. GENIL_MODEL_BROWSER when i enter the component as zcust, it neverallowed me to create the object when i right click on the root objects it shows collapseLower-level node and To Higher-level Node.... also in your sample it shows 4 symbols onthe top left corner to edit, transport (lorry), refresh and check but it is not showing me on myCRM 7.0 thing.. In my editor it is always a browser... not editor but in your screen shot it is saying as editor..like GenIL Model Editor: change component... etc I tried with t-code.. GENIL_MODEL_EDITOR it says it is not found.. When comming to the GENIL_BOL_BROWSER, I eneter the component name it showsempty model browser root objects... I believe this is because I could not create a root objectin genil model browser.... Again thnaks for your time in writing such a nice article but i do appreciate it if you clarify myproblems.. otherwise it would become an incomplete for me.. Thanks...

    Savaridasan P Nov 20, 2012 5:37 AM (in response to Bala Bevara)

    Greetings Bala, anyway Sumeet would be explaining you all in detail...to add with his point.. i too tried this document and got results..

    thanks to Sumeet the second point u said its ok, i too faced it. and the document prepared using CRM 7.0 EHP 1 i think so. in CRM 7.0, you dont have Genil_Model_Editor transcation.

  • SAP CRM: Webclient UI - Framework: Creating a C... | SCN

    http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/08/06/creating-a-genilbol-object-model[6/22/2013 11:57:32 AM]

    Like (0)

    cheers, Das

    Like (0)

    Bala Bevara Nov 20, 2012 3:05 PM (in response to Savaridasan P)

    Thaks for your info.. atleast I came to know that I am using a different version

    otherwise I'd have been sitting on it and scratching my head like crazy ..

    Like (0)

    Sumeet S Nov 28, 2012 4:02 PM

    Hi Sumeet Gehlot, Excellent Blog. I am new to webclient-ui-framework. I am bit confused of using GUID in tables. Please consider thethe simple scenario Company , Department and Employee and try to reply to the thread

    http://scn.sap.com/thread/3272179 . Thanks and Regards,

    Sumeet S

    Like (0)

    Vishal Jauhari Feb 6, 2013 8:39 AM

    HI Sumeet, Excellent blog with complete details.Just one issue m facing is ... when m trying to create a new root object in Genil_bol_browser withCustno value being 1 ... its giving a dump stating "An exception occurred which is explained in detail below.The exception, which is assigned to class 'CX_CRM_CIC_PARAMETER_ERROR', was notcaught andtherefore caused a runtime error.The reason for the exception is:Entry parameter ES_KEY of method CL_CRM_GENIL_CONTAINER_OBJECT->GET_KEYcontains value , which is not allowed" can u plzz guide. Rgds,Vishal

    Like (0)

    Naveen kumar chepuri Feb 12, 2013 11:17 AM

    Hi Sumeet, Great Blog and Nice contribution.I am facing problem, when I tried to create a new root object in genil_bol_browser, programgenerating in short dump with the message A mandatory parameter was not populated when dyn. calling a method. Error analysis An exception occurred that is explained in detail below. The exception, which is assigned to class 'CX_SY_DYN_CALL_PARAM_MISSING', was not caught in procedure "CREATE_HANDLER" "(METHOD)", nor was it propagated by a RAISING clause. Since the caller of the procedure could not have anticipated that the exception would occur, the current program is terminated. The reason for the exception is: The mandatory parameter "IV_MODE" of the method "CONSTRUCTOR" of the class "ZCL_CUSTOMER_MODEL" was not populated during dynamic method call. I am using CRM 7.0. I don't understand how to pass "IV_MODE" value. Can any please help me onthis?

    Naveen kumar chepuri Feb 12, 2013 11:28 AM

  • SAP CRM: Webclient UI - Framework: Creating a C... | SCN

    http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/08/06/creating-a-genilbol-object-model[6/22/2013 11:57:32 AM]

    Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

    Like (0)

    I could not see the root object in "ZCUST" component or "ZCSET_CUST" component set. No rootobjects are displaying when I tried to open them. Instead they are displaying in SO2component/component set.

    Like (0)

    Reshma Reddy Mar 12, 2013 9:29 AM

    Hi Sumeet, have you inherited any class or interface in zcl_customer_api class ? Thanks,

    Like (0)

    Sumeet Gehlot May 22, 2013 12:27 PM (in response to Reshma Reddy)

    Hello Reshma, No Class have been inherited for API class. Thanks,

    Like (0)

    paul sudhakar Jun 19, 2013 9:14 AM

    Nice Blog.

    sap.comSAP CRM: Webclient UI - Framework: Creating a C... | SCN

    1nZW5pbGJvbC1vYmplY3QtbW9kZWwA: form0: query:

    9zb2NpYWxfY29udGV4dD1mYWxzZQA=: form0: lsd: AVrG7Pmdhref: http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/08/06/creating-a-genilbol-object-modelaction: likenobootload: iframe_referer: http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/08/06/creating-a-genilbol-object-modelref: button0: lsd_(1): AVrG7Pmdhref_(1): http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/08/06/creating-a-genilbol-object-modelaction_(1): likenobootload_(1): iframe_referer_(1): http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/08/06/creating-a-genilbol-object-modelref_(1):

    1nZW5pbGJvbC1vYmplY3QtbW9kZWwA: form3: author:

    1nZW5pbGJvbC1vYmplY3QtbW9kZWwA: form9: author:

    Rfc29jaWFsX2NvbnRleHQ9ZmFsc2UA: form0: lsd: AVrp0x-whref: http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/08/06/creating-a-genilbol-object-modelaction: likenobootload: iframe_referer: http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/08/06/creating-a-genilbol-object-modelref: button0: lsd_(1): AVrp0x-whref_(1): http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/08/06/creating-a-genilbol-object-modelaction_(1): likenobootload_(1): iframe_referer_(1): http://scn.sap.com/community/crm/webclient-ui-framework/blog/2012/08/06/creating-a-genilbol-object-modelref_(1):