Error in AET in SAP CRM 7.0 EHP1

Hi All ,
I have created new table using AET in SAP CRM ehp1 and it  has created new z-component and z-table succusfully.
When I opened the component and view and i noticed it has been created two context nodes.
One is Parent and another is z-context and here Parent context node is not refering any base entity.But while creating the new data base table I selected ORDERADM_I as parent object.
PARENT context node base entity is initial  and  Implementation Class CL_BSP_WD_CONTEXT_NODE .
ZATAB000013 context node Base Entity is ZAEXT_BOL_OBJ000002 .
Beacuase of this parent context I am getting dump "Parent context node is initial".
Thanks,
Venkat

Hi,
I am not sure what steps you habe taken for the AET table view creation.
If you open any sales order and then open an item, you come to item's overview page.
If your requirement was to add a custom table based assignment block on this-item overview page then steps for creation are :
1) Start the config tool from UI and select the Items header view
2) use Display Enahncement button
3) Select NEW on table enhancement
4) create the table enhancement by defining the fields and their properties
5) Once done and clicked on save and generate, then this creates the table view in the component you defined in AXTSYS.
6) AET automatically adds this table view as assignment block on Sales Order Item overview page - where from we began the AET.
7) Then you just have to go to the BT115I_SLSO and select overview page, go to view config tool and pull the AET generated view into displayed block. Save the config and do client copy if your test client is different than customizing client.
That is all.  PARENT is MUST because your AET table create a dependant Z bol object with a Z relation to BTADMINI in this case.
The care is taken by AET to bind the BTADMINI to PARENT through component usage on item component controller.
One must understand the requirement given, think about the design and then go for creating the AET. Just running the wizard without understanding what i want and what i am doing is a wrong practice.
You will get a dump if you run the component standalone because obviously PARENT is initial. Who is supplying entity to Parent ? No One and so its initial.
Do you see the Zcomoment/zview in Sales order item compoent's overview page ? it should be there if you have created the AET in the steps i gave.
Did you start AET from sales order header-General data view or sale order item-General data view ?
Incase you do not see your AET created component and view on overview page view config, then you have to create component usage of your AET component and add the view to your overview page. Plus code in WD_USAGE_INITIALIZE method of sale order item component and bind BTADMINI of component controller to PARENT node.
Thus you will not get the PARENT initial and hence no dump.
Thanks & Regards
Suchita

Similar Messages

  • Pricing in SAP CRM 7.0 Ehp1

    Hi Experts,
    I have some doubts in the SAP CRM 7.0 EHP1  pricing.
    1.is IPC part of sap crm or any other third party tool ?
    2. How to find the IPC user exit in the sap crm system.
    3. ERP (R/3 version is 3.1)is the backend system  and already they implemented the pricing conditionS in SD. I know we can dodwnload the pricing conditions from ERP to SD Using midldleware.after downloading the pricing condition where i have to write the code?
    4. JAVA knowledge is required or not for writing the Pricing conditions.(I know only basic java coding and good in abap )
    Please help me.
    Thanks,
    Venkat

    Hi Venkat,
    There's good blog about pricing in SAP CRM 7.0 EHP1 : /people/srini.katta3/blog/2011/04/19/faster-and-powerful-pricing-engine-delivered-with-sap-crm-70-ehp1
    and also take a look at SAP Note Note 809820 - Userexit concept for pricing
    There you can download guide about how to develop user exit Pricing in CRM
    Hope it's help,
    Lina
    Edited by: Linawati Lie on Sep 5, 2011 10:51 AM

  • Error  IF_ICCMP_CUCOBT_BOL_TRANS~SAVE (CL_ICCMP_CUCOBT_IMPL)  sap crm

    how can i avoid to catch an error in the method?
    i have object where an attribute is not always define, i'm trying to test if that attribute it filled or not but an error occurs. in debugging , when the attribute is empty i noticed an error in the method IF_ICCMP_CUCOBT_BOL_TRANS~SAVE (CL_ICCMP_CUCOBT_IMPL) caught an error (code above)
    CATCH cx_root INTO lr_exc.
    * unspecific error
          me->exception_handling( ir_exception = lr_exc ).
          IF rv_success NE abap_true.
            rv_success = abap_false.
            lr_transaction->rollback( ).
            lr_msg_service = cl_bsp_wd_message_service=>get_instance( ).
            CALL METHOD lr_msg_service->add_message
              EXPORTING
                iv_msg_type   = if_genil_message_container=>mt_error
                iv_msg_id     = lc_message_class
                iv_msg_number = '005'  " Unexpected error occurred during save
                iv_msg_level  = '1'.
          ENDIF.
    this the code i'm using
    pr_activity_h = lr_entity->get_related_entity( iv_relation_name = 'BTHeaderActivityExt' ).
      CHECK pr_activity_h IS BOUND.
    *do not transfert activity with external serial number thqt start with *10                           "C01
    *    CLEAR lv_description.
        lv_description = pr_activity_h->get_property_as_string( iv_attr_name = 'EXTERN_ACT_ID' ).            "C01
        IF lv_description(2) = '10'.
          pv_subrc  = '4'.                                                                       "C01
          EXIT.                                                                                "C01
        ENDIF.
    where do i make a  mistake in my logic and code?

    Hi
    I made a testing in our CRM 7.0 system, and I found the view I got is not the same as yours, mine is:
      ICCMP_BP_SEARCH/BuPaSelectCPforCustomer
    and I am not using multiple bp profile, and the scenario has been tested under both B2B and MIX.
    For this view, it does not have the two restrictions you mentioned.
    Anyway, please try to put the coding to bit before the DO_INIT_CONTEXT which should bypass the problem you are now having.
    in
    CL_CRMCMP_B_BUPASEARCHB2B_IMPL
    PROCESS_CUSTOMER_SEARCH
    about line 56
    * normal contact person processing
            TRY.
                rel_col = lv_bp->get_related_entities( iv_relation_name = cl_crm_buil=>contact_person_rel ).
              CATCH cx_crm_genil_model_error.
            ENDTRY.
    here the search of the related CP is performed. You may try to put your codings there to do the initial filter.
    I've not tested, please feel free to let me know if it does not help.
    Hongyan

  • Word 2007 (docx) integration in SAP CRM 7.0 EhP1

    Hi,
    When creating word templates with the template designer (CRM_OI_TEMPLDSG) for office integration, is it possible to use Mircosoft Word 2007 docx-files?
    Furthermore you get the message, that "The file contains custom XML elements which are no longer supported by Word. If you save this file, these custom XML elements will be removed permanently." ([KB2445062|http://support.microsoft.com/kb/2445062]) when you create a template in fileformat .doc with Word 2007. When you open this template again all xml elements are no longer available (as mentioned in the message) and you have to create the template again.
    How do you handle this situation? Or do you not even have this problem?
    Thanks in advance,
    Sebastian

    May be this thread Document Template designer - ActiveX on IE 7 problem and the [Note 1566793 'Procedure to create word template in EHP1 & higher versions'|https://service.sap.com/sap/support/notes/1566793] will give you some inputs.

  • Installation of SAP CRM 7.0 EHP1

    Hi Gurus,
    We are in the process of installing SAP CRM7.0 EHP1. As per the requirement we have downloaded all the installables, including a UC kernel from Netweaver 7.0 EHP2 set of installables (as per the SAP EHP1 installation guide).
    During installation, i provided the "UC kernel NW 7.20" for Windows and it went successfully to the next screen where it asked for import data. In the next screen, it again prompted us for a "Kernel NW 7.20". Even if we give any kernel the installation fails with the message
    You entered: F:\Installables\SAP_CRM_70_EHP1\51039352_8\NW_7.02_Kernel_7.20_OS_400__Windows\LABEL.ASC Found the label SAP:AKK:720:DVD_KERNEL:SAP Kernel 7.20:Dxxxxxxxx::D51039352 but need the label SAP:SAPLUP:700:::
    Could anyone please help me out with the right kernel that is required?
    Thanks & Regards,
    Savan D.

    You should download the DVD with number 51039102.
    CDLABEL.ASC:
    SAP EHP2 FOR SAP NETWEAVER 7.0
    Kernel 7.20
    AIX 64bit, z/OS 64bit
    HP-UX (IA64 64bit, PA-RISC 64bit)
    Solaris (SPARC 64bit, x64 64bit)
    Number 51039102

  • How to send Email to customer when clicked on hyperlink on SAP CRM web UI

    Hi all,
    I am working with SAP CRM 7.0 EHP1. I have one field named Email on Complaint description page on Web client UI. I have made the field a hyperlink by using the setter getter methods of attribute in component workbench for the component -BT120H_CPL. Now I want to send one mail to customer who have raised the complaint when clicked on the hyperlink Email through SAP CRM if possible or by using Microsoft  outlook(Microsoft outlook is default mailing server on the system).
    Please help !
    Thanks and regards,
    Kavita Chaudhary
    Mobile: 8800222151

    Hi kavitha Chaudhary,
    if you wan to send any details to outside mail id first you should get that person mail id. based on that you can send data to that mail id by using this code...
    just fallow this code in your event..
    DATA: send_request       TYPE REF TO cl_bcs.
    DATA: text               TYPE bcsy_text.
    DATA: document           TYPE REF TO cl_document_bcs.
    DATA: sender             TYPE REF TO cl_sapuser_bcs.
    DATA: recipient          TYPE REF TO if_recipient_bcs.
    DATA: bcs_exception      TYPE REF TO cx_bcs.
    DATA: sent_to_all        TYPE os_boolean.
    TRY.
    *     -------- create persistent send request ------------------------
           send_request = cl_bcs=>create_persistent( ).
    *     -------- create and set document -------------------------------
    *     create document from internal table with text
           APPEND 'Hi to all' TO text.
           document = cl_document_bcs=>create_document(
                           i_type    = 'RAW'
                           i_text    = text
                           i_length  = '12'
                           i_subject = 'test created by srinivas' ).
    *     add document to send request
           CALL METHOD send_request->set_document( document ).
            sender = cl_sapuser_bcs=>create( sy-uname ).
           CALL METHOD send_request->set_sender
             EXPORTING
               i_sender = sender.
    * hardcoded value im passing here u should capture customer mail id here..
    data : lv_email type string.
    lv_email = '[email protected]'.
    *     --------- add recipient (e-mail address) -----------------------
    *     create recipient - please replace e-mail address !!!
           recipient = cl_cam_address_bcs=>create_internet_address(
                                             lv_email ).
    *     add recipient with its respective attributes to send request
           CALL METHOD send_request->add_recipient
             EXPORTING
               i_recipient = recipient
               i_express   = 'X'.
    *     ---------- send document ---------------------------------------
           CALL METHOD send_request->send(
             EXPORTING
               i_with_error_screen = 'X'
             RECEIVING
               result              = sent_to_all ).
           IF sent_to_all = 'X'.
             WRITE text-003.
           ENDIF.
           COMMIT WORK.
    * *                     exception handling
    * * replace this very rudimentary exception handling
    * * with your own one !!!
         CATCH cx_bcs INTO bcs_exception.
           WRITE: text-001.
           WRITE: text-002, bcs_exception->error_type.
           EXIT.
       ENDTRY.
    after this go to sost transaction.
    first you can see first mail.. select your recent mail id execute then you will get email..
    try this and let me know..
    if this is not working then see this link too this might be help full to you.
    Hyperlink in Email using Send Mail Activity
    Thanks & Regards,
    Srinivask.

  • Is it possible to use variant configuration (with a Non-SAP solution) when creating ERP sales orders in SAP CRM WebUI

    Hello,
    our customer plans to use a Non-SAP solution for variant configuration (Camos) in SAP ERP (ECC 6.0) and in SAP CRM 7.0 EHP1 as well.
    ERP sales orders (and ERP quotations) should be created in SAP CRM (CRM WebUI).
    Is it possible to use variant configuration (with an external variant configuration tool) when creating ERP sales orders and quotations in the SAP CRM WebUI or do we have to implement SAP IPC for this?
    Thanks in advance.
    Regards,
    AEV

    Dear AEV,
    I think LORD (lean orders) should work with variant configuration as well. In the note 1236015 there is not restriction listed. However you need lord2 activated in ECC, and ECC system should be on EHP4.
    Best regards
    Rene

  • How to stop the sap crm search in the middle if it takes more time

    Hi,
    We are in SAP CRM 7.0  EHP1.
    In webui, if we search for any customer, product, contact, transactions and the volume of results list is more, system takes more time to diplay it in results list and till that time wheel spins. If user decides to stop the search, the only option they have is logoff or F5 which will take to new session.
    But I came to know in EHP1, options are there to stop the search manually and proceed with other transactions/search in the same session.If any one knows this, pl share the details.
    Regards
    Suresh

    Hello,
    This functionality was recently introduced by the following note:
    https://service.sap.com/sap/support/notes/2044841
    Regards
    Joaquin

  • ICI - How to display custom error messages in SAP CRM

    Hello,
    we are working on a custom Contact Center which interfaces with SAP CRM Version 7 with Enhancement Package over ICI.
    The basic call functions like accepting, hanging up, holding and retrieving are fully implemented and are working already.
    Our goal is to display error messages in the CRM so that clients know there is something wrong, for example why he can't be log in successfully (e.g. the telephony server isn't reachable).
    We already found the ICI Documentation file which provides us the CRM SOAP error codes and tried to send SOAP Fault messages, but never got
    them to screen.
    Please find an attached example screenshot what we mean exactly, reproduced by trying to make a call with CRM user while BCM CDT isn't
    running in the background.
    Regarding to this topic we've the following questions:
    - Is it possible to display custom error messages on the CRM or is this functionality limited to SAP?
    - Could you provide us some further information on how to use this feature exactly (implementation details?) and how the SOAP XML should look like to get it work?
    Thank you in advance!
    Best regards
    René Holy

    NewUser7 wrote:
    Please correct me if I am wrong
    I need to create an entity adapter and attach an error handler with the adapter? or can i handle that in the event handler itself. I coulnt find any api for handling errorsYou can do it both ways but since we are talking about event handler now, then in 9.x you need to extend com.thortech.xl.client.events.tcBaseEvent class for creating a event handler. In tcBaseEvent class there are various flavors of handleError method. So use that as per my note earlier and you should be good.
    HTH

  • Error while creating and opening a ERP sales order in SAP CRM

    Hi,
    I am getting an error while creating or opening a ERP sales order from SAP CRM.
    "Creation of the ERP Transaction failed" this is the error i'm getting while creating. when i try to open an existing sales order I'm getting a dump.
    Attached the dump screen shot. From the dump analyasis it seems the transactions are not loaded through LORD framework.
    The RFC connection seems to fine as i have tested accessing an ECC RFC FM through a sample program and its successful..
    please help..
    Thanks
    Krishna

    Hello Krishna,
    Did you get a solution to this? I have the same dump message.
    As a matter of fact, we already use ERP Sales Order and it works fine. But I have recently configured a new sales order document type, and the dump occurs only for this new Z order type.
    Thanks a lot,
    Luis.

  • Error Message when we create a Service Ticket in SAP CRM 2007

    Hi All we are having a serious production issue when we create a S.Ticket in SAP CRM 2007 We get the following error message we are not trying to send any information to R/3 We have a planned go live this saturday. So any help would be greatly appreciated.
    An error occurred in system EDIES during account assignment
    Message no. CRM_ORDER_MISC 060
    Diagnosis
    Errors occurred when assigning an account assignment object to a business transaction. To view the error message, see the accompanying log file.
    Transfer Log
    No controlling type could be determined (Notification E IAOM 012)
    No controlling type could be determined (Notification E IAOM 012)
    Regards
    Sathya

    Hi,
    I have looked into your issue.
    For this service ticket, kindly check the Org Unit maintained in Transaction and table OFIC_BILLORG_SRV are same. If not same kindly make changes in the following path in SPRO.
    ==> SAP Implementation Guide
    ==> Customer Relationship Management
    ==> Organizational Management
    ==> Cross-System Assignment of Organizational Units
    ==> Assign Billing Units to Service/Sales Organizations
    If the above information is not helpful kindly take a look at note 861116.
    I hope this helps.
    Regards,
    Venkat

  • Cannot Delete BP Relationships in SAP CRM 7.0 - intermittent error

    Hi Everyone,
    We are running SAP CRM 7.0, SP08.  We are trying to delete just the relationship "Contact Person" between an Account and a Contact in CRM.  Sometimes when we do it everything works just fine and the relationship is removed in CRM and the Contact Person is deleted in ECC.  Other times we are getting the following error: "Address is still being used and may not be deleted." If we expand the error, we are getting the following:
    Diagnosis
    You tried to delete a BP address. This BP is still being used somewhere in the system, meaning that you are not permitted to delete this address.
    System Response
    Error message. The BP address is not deleted.
    Procedure
    Look at the where-used list for the BP address. If you still want to delete the address, change the reference to this address in the applications affected. In most cases, if applications other than maintenance of business partner itself are affected, you can navigate directly to the corresponding application from the where-used list (by calling the context menu with the right mouse button). You can then try again to delete the BP address.
    Note
    If a business partner is merely moving, you only need to change the actual address details. All references are automatically transferred to the new address.
    We have tried several scenarios and have not found a consistent result.  For example, we can create Activities in CRM, Quotes and Orders in ECC, using the Contact, and then when we remove the relationship it all works as we expected and removes the relationship in CRM and deletes them in ECC.  However, for another Contact this does not work.  It does not seem to matter if the person is the "main contact" in ECC or not, whether we have flagged them as the Main Contact in CRM or not, whether they have lots of transactions or none.  The only thing that does seem to be consistant is where they were created and the relationship defined.  It seems if they were created in ECC it does not work, but if they were created in CRM it does work.
    I looked at SAP note 830239, but it does not apply to CRM 7.0.
    Any help in this regard is appreciated. Thanks for your time.
    Bryan

    Hi,
    We used the questionnaires (questionnaires was displayed and worked) but we faced issues with the display in web UI (only when the questionnaires are linked to an activity/opportunity). The Admin screen for questionnaire works well).
    We have implemented the following notes in order to correct this displaying issues :
    - 1858059 : Upload the CRM_SVY_GENERATE_BSP_TEMPLATE.ZIP, refresh cash and generate all surveys
    And then notes mentioned above
    - 1914885 & 1944288 in the relevant order.
    But we cannot display anymore the existing surveys (They are active, all scenarios are flagged).
    Error message : Cannot get questionnaire HTML string
    Any Ideas how to proceed to solve ? (we work on EHP2)

  • Error in logical port while connecting to SAP CRM cloud

    Dear Members,
    I have created a logical port manually to connect to SAP CRM cloud system. But when I ping the web service I am getting below error. Please let me know how to solve this error.
    SRT Framework exception: Service Ping ERROR: Error when calling SOAP Runtime functions: SRT: Couldn't create Object: ("ICF Error when creating HTTP client object by Config for URL <WSDL URL>

    Hello Nihar,
    The error message indicates the HTTP client object cannot be created by the given URL. Please check if your URL is correct.
    You also need to check what protocol is used, HTTP or HTTPS, and ensure the protocol is active in your local ABAP system as well. You can check them by t-code SMICM->Goto->Services.
    Regards,
    Robert

  • Error when connecting SAP CRM to SUP using JCO

    Hi Gurus,
    we are trying to connect SAP CRM (v 7.0 Ehp1 SP3) to Sybase Unwired Server Platform 2.0 (installed on a 64bit workstation) using JCO.
    Following the instructions into the following link:
    http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01283.0200/doc/html/asc1229701333453.html
    and given the informationfound into the forum, we performed the following steps:
    1) Copy librfc32.dll (32bit) and sapjcorfc.dll (64bit, if not an error
    is thrown) to "D:\Sybase\UnwiredPlatform\Servers\UnwiredServer\lib"
    2) Copy librfc32.dll (32bit) and sapjcorfc.dll (32bit) and paste them
    to C:\WINDOWS\sysWOW64
    3) Copy librfc32.dll (32bit) and sapjcorfc.dll (32bit)
    to 'D:\Sybase\UnwiredPlatform\JDK1.6.0_24\bin'
    4) Copy sapjco.jar (32bit) to
    "\Sybase\UnwiredPlatform\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\com.sybase.uep.com.sap.mw.jco_<version>\lib"
    5) Copy sapjco.jar (32bit)
    to "D:\Sybase\UnwiredPlatform\Servers\UnwiredServer\lib\3rdparty"
    With this configuration, we are able to connect to CRM from Eclipse (Sybase Unwired Workspace) but if we open Sybase Control Center, and we go to Domains -> Connections, we select CRD connection, we go to Properties then we click on "Test connection", SCC remains stuck with no responce. This issue does not allow us to connect to Sybase-SAP
    using an Ipad application (the application remains stuck the same).
    We also tried to install SapGui, but with no results. Did we place the right files into the right directories? Do you have any suggestions=
    Thanks in advance,
    Fabio

    Hi Pavani
    I hope you solved your issue
    Ey!.. Im also in a project where I had to connect BODS with SAP CRM, actually I havent even configured the connection, but I would really appreciate if you could share some valuable information with me.
    BR
    Belinda

  • Any report or Table to see the list of orders  with errors  in SAP CRM?

    Hello All,
    Can anyone help me in getting  a table or report  to find the list of orders with errors in SAP CRM?.
    Let me know if you need any additional information.Thanks in advance.
    Cheers
    Sreedhar
    Edited by: sreedharhazari2 on May 26, 2010 11:59 AM

    Hello Chait,
    I got the solution  by this report CRM_ORDER_CHECK_STATUS.
    Anyhow thanks very much for your inputs.
    Cheers
    Sreedhar
    Edited by: sreedharhazari2 on May 30, 2010 8:48 AM

Maybe you are looking for