I have newly started to learn SAP CRM Webclient. In which I have started using the component workbench BSP_WD_CMPWB tcode in CRM.
I wanted to understand a specific scenario related to UI component ERP_H. In which their is a view called ERP/HeaderDetails inside which we have a field called Sold to party as link.
When I click on the Sold to party link, it triggers an outbound plug NAVIGATE_DISPLAY of the main window and navigates to BP_HEAD component and view BP_HEAD/CorpAccountDetailsOV.
I am not able to get the navigation between ERP_H and BP_HEAD component. I checked in Runtime Repository Editor to get the navigation link.But no success.
I am not sure as to how the navigation is happening. Can someone help me in this regard.
We are creating a Quotation in CRM which in turn communcates with ERP with Lord API.
For certain Materials there were some POPUP comming up in ERP beacuse of which it dumps in CRM.
Do we have an way where we get the information of the POPUP from ERP to CRM via a message,beacuse there are many popup and which are conditionally we are not sure how to handle it with one solution.
We would like to to mass change of "Employee Responsible" for Activities (Appointments/Interaction Records) and Opportunities.Would be great if someone can provide the FM/BAPI that we can use for this usecase ?
I see BAPI 'BAPI_BUSPROCESSND_CHANGEMULTI' but not sure what table we need to fill to update "Employee Responsible"
Planning infocube, Planning DSO1, Planning DSO2 and i created multiprovider and added these 3 infoproviders into it. I have created Aggregation level on multiprovider. Created Bex Input ready query on Aggregation level.
Issue is Planning layout is not getting rendered and is dumping at : CL_RSDRC_TREX_QUERY_LAYER ~ _GET_PARTPROVS_WITH_TREX_PART.
I tried debugging it and found it is trying to read i_r_pro -> n_ts_part. It is populated with only 3 values (i.e. 2DSOs and 1 Cube), whereas <l_partprov>-partprov is referring to Aggergation level, hence read statement isn't successful, it is dumping.
The class CL_RSD_INFOPROV_CACHE->GET() method is trying to populate the N_TS_PART.N_TS_PART uses P_R_INFOPROV table which seems to be already populated.So, I debugged all the below methods to find out how the P_R_INFOPROV but couldn't find any clue.
This document shows how to create custom 1...n entities in sap crm via bol browser, which can be linked to any other crm objects by keeping the guid of that object in our simple object.There are multiple simple object genil classes provided by sap which provided the basic CRUD operations by default, we don't have to modify these genil classes for create/read/update/delete (CRUD) operations. In this e.g we had a requirement to create ZFORECAST as a table view which will be embebded in Sales opportunity page as a new assignment block.This table will store multiple Forecast data aginast opportunity header guid.
5. Create a mapping entry for our "Simple object - 'ZFORECAST', table name - 'ZFORECAST' and lock object - 'EZFORECAST " in the table "CRMC_TBLOBJ_MAP"
So up till now we created the SO object for ZFORECAST table which is now part of BOL in SO2 component and in the below steps now in below steps we will create Table View In Web UI
7. Let's start with creating new view "ZFOREC" under "BT111H_OPPT" bsp component in BSP Workbench.
Specify Context node name "ZFOREC" and Bol entity as the simple object created from the previous "ZFORECAST".Click next till last step, in the last screen select view type as "Table view", tick the Configurable and Change/Display check boxes Image may be NSFW. Clik here to view. After adding ZFOREC node also add BTADMINH which will be needed further to read the opportunity header Guid
ls_button-enabled = me->view_group_context->is_view_in_display_mode( me ).
APPEND ls_button TO tb_button.
CLEAR gt_button.
ls_button-text = 'Insert'.
ls_button-on_click = 'CREATE'. "#EC NOTEXT
ls_button-enabled = abap_true.
APPEND ls_button TO gt_button.
CLEAR ls_button.
ls_button-type = cl_thtmlb_util=>gc_icon_delete.
ls_button-on_click = 'DELETE'. "#EC NOTEXT
ls_button-enabled = abap_true. "lv_enabled.
APPEND ls_button TO gt_button.
CLEAR ls_button.
12.Create three event's "CREATE","DELETE","EDIT" in "ZFOREC" view via wizard & add the required logic in each event method as per below. Image may be NSFW. Clik here to view.
lr_entity ?= lr_comp->typed_context->btadminh->collection_wrapper->get_current( ). *"Reading the btadminh entity, which is bound to component controller's * btadminh context node.
Create On_new_focus method in the "ZFOREC" context node, specify it as a event handler for collection wrapper new_focus event. Image may be NSFW. Clik here to view.
14. As Save event is handled in different view (BT111H_OPPT/OpportunityOVViewSet), ZFOREC data has to be bind to custom/component controller to access it in other views.
So with this binding now ZFORECAST can be called in any page view in this component
16 .Further now also add the ZFOREC node to BT111H_OPPT/OpptDetailsCuCo custom component as per below, so that ZFOREC can be now displayed in the opportunity details page.
IF cl_crm_uiu_bt_tools=>mandatory_flds_no_save_allowed( ir_controller = lr_controller
ir_msg_srv = lr_msg_srv ) = abap_true.
EXIT.
ENDIF.
IF cl_crm_uiu_bt_partner_popup=>get_quick_create_status( ) = abap_true OR gc_abc EQ abap_true. *Save business partner-accounts and related objects (contacts, conditions,..)
Add the following code in on_new_focus method,here logic is to retrieve the order entities collection related to Order only if parent entity opportinity changes
I have deleted one standard error message in DO_PREPARE_OUTPUT with some condition in header level but I am having below issues.
Issue one :
Now error is not showing in webui at header overview screen but allocated space for that error message is showing in output screen with white space.
Please help me how to remove that space.
Issue two:
When I open Item overview screen, again that message is showing in Item overview screen.
I am using the below code to delete the message and its successfully deleting the message but when I switch to other screen its again showing. Please help me how to delete it completely on one go.
For the time being I was pretty sure that SAP CRM developers shouldn't combine layers when developing some enhancement.
However recently I had a problem to convince my colleagues and myself as well - why not?
I understand all the architecture and layers logic, but what is exactly wrong when someone uses BOL programming when creating own programs or when enhancing system via BADI. BOL programming in SAP CRM is much simplier, efficient and convenient. Using BOL programming to update some data instead of CRM_ORDER_MAINTAIN (I hate it Image may be NSFW. Clik here to view. ) is luring, so what the arguments are against using it, in example in a BAdI like ORDER_SAVE?
I am looking forward your opinions Image may be NSFW. Clik here to view.
In component BT125H_TASk , I have created a outbound plug . I am using this component in my customen component in component usage.
I want to use my outbound plug but when I am press F4 help to select , my outbound plug is not visible so I am not able to add this in navigation link.
Please suggest me how to make my outbound plug visble so that I can use this.
I have some fields on the view corresponding to a value node. One of the fields is Phone number. When the user enters the phone number and moves to next field, I want to trigger a JavaScript function that formats the phone number.
In Above web ui screen I Customized own Navigation bar profile, Logical links, Groplinks, I got proper out put after assing to particular Business role but not got a Group links. I got standard group links such as Create, search instead of my own group links.
We are trying to Replicate Transaction data SAP SD to SAP CRM.Our integration went till yesterday.Today we faced problem Outbound Queue in SAP not getting processed ultimately the Sales document not transpoted in CRM.When trying to process the queue it says that Generic stop set.Can anyone give more information on this?
I createda copy of thestandardopportunityto createa personalizedopportunityto be calledfrom aroleZ.This new opportunityis called from acopy of standard roleIC_AGENT (ZIC_AGENT).
When we createthe opportunity and save the opportunityremainseditable and not locked. If we execute the creation of the opportunity from a Z role copy of sales standard role works fine.
We have seen that when the eventSAVE (EH_ONSAVE) runs and execute the method save inside the class cl_crm_uiu_bt_tools at line 49 execute the following code:
** document is not a service confirmation lr_access = cl_crm_uiu_bt_channel_asp_fac=>get_instance( ). lv_edit_after_save = lr_access->if_crm_uiu_channel_aspects~keep_edit_mode_after_save( ).
This code causes the opportunity is not locked and remaining editable. What means the message "document is not a service confirmation"?
I created one value node and added one attribute in component ICCMP_BP_CP , but when tested from webui side I got below exception :
Note
The following error occurred in system DC4 : Access via 'NULL' object reference not possible.
The error occurred on application server cidc405_DC4_05 and in work process 2 .
The termination type was: RABAX_STATE
The ABAP call stack was: Method: SET_MODELS of program ZL_CRMCMP_B_BUPACONTACTPE_IMPLCP Method: SET_MODELS of program ZL_CRMCMP_B_BUPACONTACTPE_IMPLCP Method: DO_REQUEST of program CL_BSP_WD_VIEW_CONTROLLER=====CP Method: DO_REQUEST of program CL_BSP_CTRL_ADAPTER===========CP Method: CALL_CONTROLLER of program CL_BSP_PAGE_BASE==============CP Method: IF_BSP_ELEMENT~DO_AT_END of program CL_BSP_CALL_ELEMENT===========CP Method: _ONLAYOUT of program CL_O241IRDSNT0FX6OG9H63VLVRLE8CP Method: %_ONLAYOUT of program CL_O241IRDSNT0FX6OG9H63VLVRLE8CP Method: DO_REQUEST of program CL_BSP_PAGE===================CP Method: CALL_VIEW of program CL_BSP_PAGE_BASE==============CP
This is a question valid only for development within SAP Labs. I just hope that someone might give some idea on how to solve my issue.
Issue :
I have created about 50+ CRM web UI view configurations( object type DLCS ) for different views in CRM 714 release. Now I need to copy these configurations into CRM release 713. The standard copying tools like SCWB, UDO do not support copying of the DLCS objects. I am left with the option of manually recreating these 50 configurations in 713 release again.
When we do a transport of the request that contains DLCS objects from a dev system to a test system, the configurations are automatically copied into the test system. Which means there is a way in which the configurations are moved from one system to another without any manual activity. So there must be a way that allows me to copy the configurations from the 714 release to 713 release system without manual recreation of configurations. Note - there is no transport path from the 714 release to 713 release.
If you have any ideas about how this can be achieved do let me know.
I am having a problem while making changes to the number of "rows before paging" in the some of the BOL Tree Views of CRM IC WebUI.
Here are the details :
In our CRM interaction center the BOL Trees have been used in multiple workcenters including the Factsheet Workcenter.
We are able to change the "number of rows before paging" by clicking on the Personalize Icon on any of the BOL Trees of "Non-Factsheet" workcenters. But for 3 BOL Tree views configured inside the Factsheet workcenter, the number of rows before paging were fixed to 11, and changing the number of rows in Personalization doesn't have any effect.
Now, I looked in the view IUBOTREE/IsuBolTree which is the BOL Tree view . Here we have multiple configurations created, and one Configuaration created specifically for "Factsheet" and the number of rows before paging were fixed as 11. So, it seems the problem was this. So, in config of the View, I changed the number of rows to 15 in 110 Client (which is for Development) and did SCC1 of the corresponding TR to 150 client (which is for Testing).
But it didn't solve the problem. So I removed the number of rows and made it blank in Config of IUBOTREE/IsuBolTree view and did SCC1 again. But now the number of rows have become fixed to 15!! And changing this number of rows in Personaliztion still won't have any effect.
The SCC1 of the TR from 110 to 150 client has been successful both times, but I am not sure why the changes are not reflecting in Web UI. And also, the personalisation just won't work.
For Non-Facsheet workcenter BOL Trees, some other config might be loading and the number of rows before paging has been set to blank for all of the other configs. So, I am not having any such problem in these Non-Factsheet Workcenters.
Could you please help me figure out what could be the problem?
Please let me know if any other info is needed or something is not clear.