SAP CRM : Call popup in CUSTOM ACTION (i have a dump : ASSERTION_FAILED )

Hi to everyone,
i have a problem to create a popup inside a new custom action in SAP CRM. I have a dump ASSERTION_FAILED.
Could somebody help me to fix the problem,please?
Thanks in advance.
Dario.

Hi,
in this case i have to write my code inside a custom action. The problem is that i have no a standard controller and ME instance.
So i tried to import controller from memory by IMPORT/EXPORT stataments, but when i create popup the system gets a dump :
ASSERTION_FAILED
Code is as follows :
    DATA zlc_controller TYPE REF TO cl_bsp_wd_component_controller.
    CALL FUNCTION 'ZCRM_CONTROLLER_GET'
      IMPORTING
        ex_controller = zlc_controller.
    DATA zcl_me TYPE REF TO zl_srqm_inc_incidentovp_impl2.
    CALL FUNCTION 'ZCRM_ME_EHONSAVE_GET'
      IMPORTING
        ex_me = zcl_me.
          lc_controller TYPE REF TO cl_bsp_wd_component_controller,
          lc_view TYPE REF TO cl_bsp_wd_controller.
   IF lr_confirm_popup IS NOT BOUND.
Message
     MOVE text-t01 TO l_text.
Title
     MOVE text-tit TO l_title.
    CALL METHOD zlc_controller->window_manager->create_popup_2_confirm
      EXPORTING
        iv_title          = 'TITLE'
        iv_text           = 'TEXT'
        iv_btncombination = if_bsp_wd_window_manager=>co_btncomb_yesno "OK Button
      RECEIVING
        rv_result         = lr_confirm_popup.
    lr_confirm_popup->set_display_mode( if_bsp_wd_popup=>c_display_mode_surrounded ).
    lr_confirm_popup->set_on_close_event( iv_event_name = 'eh_closepopup_at_save'
                                          iv_view = zcl_me ).
    lr_confirm_popup->open( ).
Thanks.
Dario.

Similar Messages

  • SAP CRM Role assignment block - Customer cc

    hi there, can anyone please tell me what the Customer CC refers to in the SAP CRM Role assignment block
    Thanks, Sue

    hi ahmedi khan,
    the role key what you have created that will be assign to your business role.
    go to CRMC_UI_PROFILE or
    SPRO >> Customer relationship Management >>UI Framework >>Business Roles >> Define Business Role
    click on your business role and under role config key you have to pass your custom role key..
    like this..
    go through this link you can get to know..
    The Usage of the SAP CRM Role Configuration Key –Detailed example
    Thanks & Regards,
    Srinivask

  • How can I call or reference custom action assembly in powershell script?

    Hello
    I have added some custom action in document library settings. Now I want to use this custom action properties using powershell for some bulk operations. So for this I want to call this custom action assembly and set a reference in PowerShell script and then
    update custom action properties.
    Please let me know how can I do this?
    Avi

    If you also want to automate this than there is a CodePlex action that'll possibly come in handy for you.
    https://ilovesharepoint.codeplex.com/wikipage?title=Execute%20PowerShell%20Script%20Action&referringTitle=Workflow%20Actions%20for%20SharePoint%20Designer%202010
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Business Activity in SAP CRM 7.0 WebUI

    Hello SAP Experts,
    In SAP CRM 7.0, under maintain activities, I have assigned categories to class interaction log, appointments and tasks.
    The same categories have been assigned to some business activities. For example Category Sales Call (001) is assigned to Interaction Log. The sales call is in turn assigned to Transaction Type- Business Activity.
    When I log on to web ui, I am able to see this business activity under Interaction Log and create the transaction.
    In the same way, when I assign category u2013CX4 (Telephone Call) to class Phone Call to a Transaction Type-Sales Call (0001-business activity), I am not able to see the same in web ui.
    The same holds good when categories are assigned to Class Miscellaneous, Letter, Meeting, E-mail etc, are in turn assigned to transaction types are visible in web ui.
    Kindly clarify, whether all the business activities fall under APPOINTMENT, INTERACTION LOG, TASK, E-MAIL AND VISIT PLAN in WEB UI.
    The other category class, apart from the above mentioned, where can they be used?
    If yes, how do I do the customizing which would enable me to see all in WEB UI?
    Thanks in advance
    Regards,
    Srinivasan.R

    Hi Raghavendran,
    I am facing the same problem. Other than Appointments,Tasks,Email and Interaction record I cannot create any other Activities.
    I defined a new Transaction type assigned the category Misc but cannot create the Activity on WEBUI. As Raja suggested I have also assigned the Channel as WEBUI and ICWEBCLIENT but still does not work. Is there any Role specific customization that needs to be performed?
    Please let me know if your issue is resolved and how you resolved it.
    Any help will be greatly appreciated.
    Thanks,
    Pooja

  • How to make the SLA time stop when the status of SR is set to Customer Action?

    Dear All,
    When a Service Request is created, the agent take over this SR and then set the status to Customer Action. I know the CRM 7.03 has the ability to exclude the Cumtomer Action time out form the Response time of SLA. However, I don`t know how to set it up. Could somebody help to give me some information about this?
    I noticed that in SLA, there is a Work duration(SRQ_WORK_DUR) and a Total Duration(SRQ_TOT_DUR), which Duration is used to affect the traffic light of SLA MPT time?
    Thank you in advance.
    BR,
    Elvis

    Hi,
    in fact you can only trace duration of Customer Action status lifetime - this you can do by
    SPRO -> ... -> Define Settings for Durations.
    and SPRO -> ... -> Date Management to create this new duration and add to SR dates profile.
    So then in Dates tab of Service Request you will have new duration called eg. Customer Action.
    If you would like to additionally exclude it from Due Date, so you should then add this status lifetime to Due Date - then Due Date would be pushed to the future (eg. Customer Action status took 3 hours, so after changing status to other one you can write down this time to duration, and then add to Due Date).
    For that you need to have a development - eg. using CRM BT Events, or in WebUI layer.
    BR
    Radek

  • Attachment Handling in SAP CRM 7.0 EHP 3.0

    Hello,
    We are in the design phase of an SAP CRM 7.0 EhP3 implementation project. In the current landscape the legacy system for customer service  (CS) management uses an external shared fileserver for storing attachments from the CS system. However we plan to decommission this external content server as it does not support good security features.
    Storing attachments in SAP CRM via content management - can SAP CRM content management support large files? What is the maximum capacity per attachment and also the overall maximum capacity that SAP CRM content management can support.
    We have "heard" that SAP does not recommend storing attachments within CRM, but rather in an external secure storage server. Is this true? Is yes, what would be the best approach to store and read attachments from SAP CRM?
    Regards,
    Reena

    Hi Christophe,
    Facebook and Twitter are officially integrated into SAP CRM 7.0 EHP 3. Not LinkedIn though.
    You can use a custom solution in EHP2. Example is provided in SAPPress book SAP CRM: Techical Principles and Programming.
    Regards,
    Pavel

  • How to find what type of middleware product we are using in SAP CRM ?

    Hello All,
    Ca anyone help me in getting the information  for the following :
    1) How to find out what type of middleware product we are using in our Project? ( Currently our SAP CRM version is 4.0 and the middleware is using for R/3 to SAP CRM and vice versa)
    2) Do we have a product called u201CMessaging wareu201D used in SAP ?
    Kindly revert at the earliest .
    Cheers
    Sreedhar

    Hi Sreedhar,
    What you've mentioned is exactly the task of CRM Middleware, which sits on the CRM server and governs the data flow.
    By any chance are you trying to find out about DOE(Data Orchestration Engine) used by SAP NetWeaver Mobile ?
    maybe this link would help then:
    http://help.sap.com/saphelp_nwmobile71/helpdata/en/7f/c9391404c74fabb8ccc321bac64e8d/content.htm
    -Rohit

  • Adding Extended Field in CIC0 - SAP CRM 5.0 IC Win

    Hi Experts,
    Please help with the issue that i'm facing
    Scenario:
    1) SAP CRM 5.0 - IC WinClient;
    2) I have extended 3 fields using EEWB;
    3) These fields were created correctly under "Clients Field Tab";
    My Problem:
    I want to see theses fields in the standard CIC0 (Activity Screen) and not inside the "Clients Fields Tab".
    Three Questions:
    1) Is it possible to add extendend field to the standard screen?
    2) If yes, How can I do this?
    3) Is this possible using Screen Variant?
    Thanks in advance.

    Hi
    I hope the following helps:
    1) how complex this is? Little effort or a lot of effort?
    For non-ABAP'ler it is a lot of effort, even experienced programmers need depending on the requirements up to several days.
    2) If this field is used in several screens (e.g CIC0 / CRMD_ORDER, etc) will I have to do the same procedure for every transaction/screen?
    No, it is one screen only, which is re-used in both transactions.
    3) If I have two distinc Contact Centers using the same application, can I hide this fields that I've added using screen variant for one CIC0 and allow the other to see them?
    If you use screen variants these are depending on transaction type only and not on te contact center application, so once you define a layout e.g. for a phone call, this layout is taken by all applications in call center and crmd_order.
    Hope this helps
    Kai

  • SAP CRM sales order

    HI CRM Gurus
    Now i am learning SAP CRM,
    Please tell me how to create sales order in SAP CRM, how to create customer master record, and material master record.
    Isn't possible to create in SAP CRM.
    If possible pls tell me path or tcode
    Thanks in advance
    Satya

    Hi
    as a standard process , CRM uses the Replicated Master data from ECC .
    1) Customer record will be maintained in ECC ( T-code XD01), same will get replicated to CRM
         To view customer master in CRM, use T-code : BP
    2) Material master data maintained by MM module will be replicated to CRM
        To view Material master in CRM, use T-code : COMMPR01
        However Service masters can be created localy in CRM using COMMPR01.
    3) Employee Master datra maintained by HR module will be replicated and creates BP number in CRM.
         To view Employee BP master in CRM, use T-code : BP
    Best Regards
    Nagaraj G

  • Will SAP CRM add value to me?

    Hi Guys, This is Thabresh from Chennai,India.I need a clarification on whether sap crm will be suitable for me l have 3yrs experience totally...First 18 months in barclays finance in channel sales and next 18 months in Scope international as an CRM end user where i used to handle portfolio of standard chartered bank uae customers over the phone... Let me know if SAP CRM will add value to me

    Hi
    1. Which CRM application you were working on when you were in Stan Chart? Is it SAP CRM? Every CRM application is different and has it's specific user interface.
    2. The customer service role which you working in currently is totally different than what you actually implement or support in SAP CRM.
    3. The background of sales and marketing or working knowledge of retails, manufacturing, healthcare industry etc would have been an added advantage.
    4. SAP CRM as a software involves mapping of business processes in SAP. Even if you do not have SAP background but if you could have the working experience in above mentioned indutry it will be helpful.
    5. Also, usually IT firms (in INDIA), would prefer to take candidates (even if they do not have SAP background) with engineering+MBA background.
    6. But you want to make a career in SAP CRM, you would have to undergone training + certification from SAP Authorised Education partner. You can find more information on the same on SAP web site. You may find the SAP authorised education partner in Chennai also.
    Hope this will be useful.
    Regards

  • SAP CRM 7.0 - Interactive reporting tool enhancing reports with new fields

    Hi Everyone,
    I am a BW Professional, currently working on evaluating the true benefits of implementing Interactive Reporting tool for our company. As I understand the Interactive reporting tool restricts us to report on individual reporting areas like Activities, Leads, Opportunties etc.
    But according to our business it is very important for us to be able to report on cross reporting areas real time i.e. activities & leads together or activties, leads & opportunties together etc.
    I learned about the enhancement work bench in interactive reporting tool where we can add SAP fields to individual reporting areas, so I thought of adding leads & opportunties to activities. This is where the fun part starts.
    Here I learned that all activty ID, Lead ID and Oppo ID are all fed from one single field from SAP CRM i.e. OBJECT_ID, which means the system is dividing this data into individual reporting areas based on type of data i.e. leads or oppor's etc. and may be based on some key like account etc. So here is a technical question, for me to add a new field to a reporting area I have to give a field name but we already have OBJECT_ID from where I am pulling activties data, so if I want to include leads also in activties then I will have to add some logic manually to get that and can't use enhancement workbench because it is for missing fields from SAP CRM whereas in my case I already have OBJECT_ID from where I am getting Activity data.
    Sorry if I am driving you guys crazy but I am just trying to think loud to make myself clear with concepts.
    Also I have seen that a reporting area in Interactive reporting tool is based on a BW query, but I am not sure why not all the fields in BW query are available for reporting in Interactive reporting tool?
    Any help or commets will be greatly appreciated.
    Thanks & Regards,
    SRV

    Hello,
    checking with the config wizard is always a good idea since it's the only supported way to configure this scenario
    The secret is that you apparently did not activate the report areas. It is a bit missleading that the queries are checked before the report areas are checked, therefore you see the errors concerning the queries first. Below those errors you should find some lines like
        Report areas: delivered 15, active <?>
        CRM interactive reports: delivered 20, active <?>
        Activation of report areas checked
    The last line offers some documentation and the actual link to activate the report areas.
    Best regards

  • Project Server 2013 Ribbon Customization using a custom action

    Is it possible to customize the ribbon in the Project Center through a Solution? Is the only way to add a button to the Ribbon through an app?
    I am using Project Server 2013 on Prem and every time I deploy a custom action - button to the ribbon in the Project Center the button becomes greyed out/disabled and says "This control is currently disabled." I haven't been able to find any examples
    of how to do this in Project Server 2013 using a solution.
    Here is the custom action, I have tried with and without the EnableScript attribute but nothing seems to work:
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction Id="Ribbon.Library.Actions.AddAButton"
    Location="CommandUI.Ribbon">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition
    Location="Ribbon.ContextualTabs.ProjectCenter.Home.Editing.Controls._children">
    <Button
    Id="Ribbon.Library.Share.NewRibbonButton"
    Command="NewRibbonButtonCommand"
    Image16by16="http://s10.postimage.org/lhar0oijp/U16.png"
    Image32by32="http://s17.postimage.org/trf3y2ui3/U32.png"
    LabelText="UniqueId"
    ToolTipTitle="UniqueId Displayer"
    ToolTipDescription="Displays UniqueId for the list item."
    TemplateAlias="o2" />
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler
    EnabledScript="javascript: function ReturnTrue() { return true; } ReturnTrue();"
    Command="NewRibbonButtonCommand"
    CommandAction="javascript:alert('Hello, world');" />
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    </Elements>

    Hello,
    You can add a new button using a SharePoint feature or via an app. If you haven't see the links below already, take a look. These are for 2010 but would be very similar for 2013:
    http://msdn.microsoft.com/en-us/library/office/gg549101(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/office/ff535984(v=office.14).aspx
    http://blogs.msdn.com/b/project_programmability/archive/2011/04/08/trials-and-tribulations-in-customizing-the-project-center-ribbon.aspx
    http://epmsource.com/2012/01/26/adding-print-capabilities-to-project-detail-pages/
    http://epmsource.com/2011/12/07/hiding-disabling-ribbon-items-in-project-server-part-i/
    http://epmsource.com/2011/12/13/hiding-disabling-ribbon-items-in-project-server-part-ii/
    http://msdn.microsoft.com/en-us/library/office/jj873844(v=office.15).aspx#pj15_StatusingApp_ribbon
    Follow
    some of those example to get those buttons working / hiding then modify your code.
    Paul
    Paul Mather | Twitter |
    http://pwmather.wordpress.com | CPS

  • SAP CRM Query

    Hello Folks,
    Please let me know the list of Standard SAP CRM queries. I would like to have a look at them and would like to use them to fit in our project specific scenarion,
    Regards
    DJ

    Hi DJ,
    Can you please clarify or give some more details about  your problem or can you clarify for what are you trying to do.
    Regards,
    Shweta

  • What is SAP CRM On-Demand Solutions ?

    Hi Gurus
       What is  SAP CRM On-Demand Solutions ? Does it have a separate certification programme on the same ?
    Thanks
    Jaman

    Hi Jaman,
    There is no CRM-on-demand solutions. It is only one solution. Have a look at www.salesforce.com which is another hosted CRM solution by another software vendor to get good idea.
    The idea is that for the customers who are not yet on CRM and want to try it with smaller investments first before making a big investment into a full fledged CRM Online, SAP has provided a quickly configurable, hosted on servers owned by SAP, quick to subscribe & less expensive but with limited functionalities CRM solution.
    The initial configuration time could be 1-7 days which is far far less than any of the CRM Online solutions.
    Advantage of CRM on Demand by SAP is that once you decide to go large with full fledged CRM implementation, all your data can be migrated in no-time, as SAP has planned the data model in such a way to make it map with CRM Online data model. And I dont all, but it is more than just the data model which is mapped. I think the interfacing APIs etc also are on similar lines to the Online version of CRM.
    There is not separate certification for CRM on Demand for sure and I dont think there is any need for it, or is there any?
    Gregor & Michael, may be you can share more knowledge here.
    Cheers!!
    Vivek

  • How to call a custom action class present in one DC from a different DC

    Hi Experts,
    I have to implement one email functionality in my project.This functionality works fine if I use the Standard EmailAction class present in com.sap.isa.cic.customer package,but we need to change the email IDs in some cases so,we need to create a custom class.But if I create a custom Action class in Another DC(shext) and try to call this class from the config file present in the other DC(From where the Standard class was called),I am getting no Action Instance found for the declared Action(This Happens when the class is not present ).
    From the error I interpreted that the presence of the Custom Action class is not recognised by the The DC.
    Please confirm If my understanding is correct.
    I also tried adding a a new public part in shrext and tried adding the same in the used dc for the DC from where I am trying to call the class.But the activity fails and it gives me the error that the DCs are Broken.Do I need to build the DCs after adding a public part or a used DC?
    Please answer If anybody has faced the same issue or has a solution to it.
    Thanks
    Arpita Saxena
    Edited by: ArpitaSaxena on Jun 23, 2011 6:51 AM
    Edited by: ArpitaSaxena on Jun 23, 2011 7:01 AM

    Hi All,
    I was able to resolve this issue myself.
    I had to include the DC crm/isa/lwc and the DC mail in the used DCs of SHREXT .
    So,all the jars got included automatically and I was able to create a new custom class for the required functionality.
    Its working fine now.

Maybe you are looking for

  • Showing an image that is not on disc..

    Hi, I'm having the following problem: I have some images in a database, when client connects i have to show him a determinate set of pictures for that client. The problem is that first I must extract images from the database and put it on a file in t

  • Problem in ipad air

    i have i pad air i can't download a lot of programes can u help me plz

  • How to update drivers on Qosmio F20?

    Hi, I have received a couple of alerts via email regarding drivers updates. Once I have downloaded the drivers, how do i update my computer? Thanks!

  • TES 6.1.x - how do you tell what DB is used by ClientMgr?

    We just externalized the Client Mgr DB to Oracle, updated config files, etc. How do you tell what db is using - Derby or Oracle?        

  • How do i share folders

    i have 2 computer linked with a router. the first computer, computer A is a desktop, it is running windows xp SP2 media center edition. and the second one, computer b is a laptop, it is windows xp SP2 home edition. i want to share a folder between th