Quantcast
Channel: SCN : All Content - SAP CRM: Webclient UI - Framework
Viewing all 4552 articles
Browse latest View live

How to get data type of Value attributes dynamically

$
0
0

Hi experts,

My requirement is to get the data type of all the fields from View Configuration. I am able to read the data type of model attributes  Unfortunately, I am unable to get the data type of the value attributes in the context node.

Any suggestions are welcome.

 

 

 

      DATA: lv_model TYPE REF TO if_genil_obj_model.        lv_model = cl_crm_genil_model_service=>get_runtime_model( ).          FIELD-SYMBOLS:<bo_name>TYPE any.    
ASSIGN lv_cnode->('BASE_ENTITY_NAME') TO <bo_name>.    
IF sy-subrc NE 0 OR <bo_name>IS INITIAL.                                .       RETURN.     ENDIF.    
DATA: lv_bo_name TYPE crmt_ext_obj_name,          
lv_attr_stru_name TYPE crmt_ext_obj_name.     lv_bo_name =.    <bo_name>.
lv_attr_stru_name = lv_model->get_attr_struct_name( lv_bo_name ).    
CHECK lv_attr_stru_name IS NOT INITIAL.     DATA: lt_dfies TYPE TABLE OF dfies.    
CALL FUNCTION 'DDIF_FIELDINFO_GET'       EXPORTING         tabname  = lv_attr_stru_name         langu    = sy-langu         all_types = 'X'       TABLES         dfies_tab = lt_dfies.    
IF sy-subrc <> 0.       RETURN.     ENDIF.

Email Notifcation to user When a Customer or a Employee created in ECC or CRM

$
0
0

Hi All,

 

In one of my requirement, when a customer and Contact person is created in ECC or CRM a Mail should send to the user who created. There is
middleware setting between ECC and CRM. Mail Should trigger in CRM system only.

 

I know to trigger email for transaction data using Action Profile.

 

Could any One guide me to trigger email notification for Master data (Business Partner).

 

 

Thanks in Advance.

 

 

Regards

RR Pradhan

Starting a WF with Values of a Form View

$
0
0

Dear Community,

 

I already searched the Community and also used Google, but I didn't find any solution for my problem.

 

I work in bsp_wd_cmpwb and have created a Form View and a Context Node with Attributes and I inserted a Button to my View:

 

 

For the Configuration of the View I used my Attributes of the Context node. I also created an Event Handler EH_ONCLICK which should define what happens when I press the "Speichern"-Button.

 

What I want to happen is as follows:

 

Pressing the Button I want to read the values out of my Attributes and hand it over to a predefined Workflow and start the Workflow with these Attributes.(The attributes are the Input of my WF). Best Case would be that after that a Message appears saying "WF startet successfully" or something like that.

 

Since I do not know much ABAP and stuff I would like to know what I have to code inside my Event Handler to make happen what I want.

Do I even have the right Idea how to achieve that or am I totally wrong with my approach?

 

If you do need more information do not hesitate to ask for it.

 

Thank you so much for helping a student who is new in this field.

 

Regards

 

Marcel

Not able to test Single component in WEB-UI

$
0
0

Hi,

 

Whenever I'm trying to test any single component either Standard/Custom in webui

my browser displays the below error,

 

 

'); doc.close(); } function exitBSPApplication() { var url="/sap(bD1lbg==)/public/bsp/sap/system/sessionexit.htm?application_list[1].exit_url=/sap(bD1lbiZjPTM2MCZkPW1pbg==)/bc/bsp/sap/bspwd_cmp_test/session_single_frame.htm%3Fsap-sessioncmd=logoff"; var prop = 'height=100,width=400,top='+(screen.height-100)/2+',left='+(screen.width-400)/2; var out = window.open(url,'_blank',prop); document.getElementById("0026B98B6AD11ED4ACA41E702FF2D41C_FRAMESET").onunload = null; }

 

 

I am using Browser IE-8.

 

 

Did any one come across this ?

 

Please help.

 

Note : I'm only facing this but in my colleague system same is working fine. (I believe there is nothing to do with SICF).

 

Thanks,

Gunasekaran.

replicating custom fields BranchCode from crm to ecc

$
0
0

Hi Experts,

 

My requirement is replicating custom field branch Code from CRM to ECC.

 

As per client requirement , we added branch code field in Customer_h and Customer_i using AET.

 

Now i need to replicate the same in sales doc table of ECC.

 

Branch code was also not present in ECC , So Sap added it .

 

Please provide steps to follow to solve this issue.

 

Is it the good way to do this by user exit in ECC?


In advance Thanks.


Regards

Alok

Mixed Node Iteration Issue

$
0
0

Hi All,

 

I had issue  with Mixed Node iteration.

while doing  mixed node iteration am getting an null reference in GET_NEXT( ) entity. so could you guys  please help onthis issue.

 

Regards,

Vishwanath.

Required fields on a contact

$
0
0

We have made function (//workaddress/struct.function a required field on a contact.  It only becomes required when an account is assigned to the contact.  If you hit 'enter' after entering an account id, it works fine, prevents saving.... However, if you do not hit enter, but click the save instead, it allows you to save the contact.  If you then click edit, immediately you are warned that the function is required.  How can I get the system to recognize that a value has been entered in the account id field, so that it will then recognize that function should be required.  I was attempting to call do_finish_input in the eh_onsave event, but cannot determine the correct format, I get errors when entering it.  Has anyone encountered this or have any advice?

MRS integration: I have created CRM service order with relevant items and for each item one assignment , but in MRS system assignments are not integrating, any solution?

$
0
0

MRS integration: I have created CRM service order with relevant items and for each item one assignment , but in MRS system assignments are not integrating, any solution?


The change of the component/view for a FS BP after upgrading

$
0
0

Background:

 

Prior to CRM 7.0 EHP3, when creating a FS BP, the system takes the view to BPFS_HEAD/BPHeadOverview.

But after update to EHP3, the system was navigating to view BP_HEAD/BPHeadOverview.

 

The overview page for the FS Business Partner technically would then be BP_HEAD/BPHeadOverview as opposed to BPFS_HEAD/BPHeadOverview.

This is to take full advantage of any standard Business Partner functionality.

 

 

How to change it back to component BPFS_HEAD:

 

If you would like to use the previous component BPFS_HEAD as the lower release, you can switch off the business function CRM_FS_BPHEAD_UI via Tcode SFW5.

Component BTCHIST View BTCHIST/ItmOV

$
0
0

Hi Guys,

 

Could you please help in adding below view to assignement block

 

Component BTCHIST View BTCHIST/ItmOV  to BT116H_SRVO/OVViewSet Component as assignment block.

 

we have already BTCHIST/HdrOV  as header data change history in UI , we also need the item change history of service order to be exposed in UI.

 

 

Regards,

N.Srinivas

Service Repair status issues

$
0
0

Hi All,

 

trying to change repair status from Released to Cancel but its not setting in the status in ddlb but its setting Completed instead of Canceled.

the same functionality is working in another system not in dev.

 

trying to put break point in get_v and get and set method,on new focus and crm_status_badi also no hope to find out.

 

in get_v standard method is getting caled to populate ddlb FILL_STATUS_DDLB method of class CL_ICCMP_BT_CUCOADMINH_IMPL.

 

component : ICCMP_BTSHEAD view : ICCMP_BTSHEAD/BTSHeader , cn: BTstatusH,attribute : STRUCT.ACT_STATUS .

 

from buffer level its deleting the status and setting completed status. is there customizing settings are done ? recently implemented sap notes bcz of that its not working? could you guide me plz

 

 

 

Jimmi

How to pass a value from backend to UI

$
0
0

Hi Experts,

 

I have a table view with editable cells. I enter something into a cell of the table column(say 8.7) and press enter or a button to round off the entered value using some function module in the backend say call function 'zxyz'

                              exporting iv_cell1 = '8.7'

                              importing ev_cell1 = lv_cell1.  "(Here lv_cell1 is 9.0).

 

I want this value i.e. lv_cell1 value which is 9.0 here to be set on the UI. In short, I want to send a value from any function module from the backend to be set on UI. How to achieve it?

 

Regards,

Shahir Mirza

UI Object Type

$
0
0

Hi All,

 

As per business requirement the component AIC_INCIDENT_H was enhancement and 2 new UI object types were created for the view configuration with z-business role , z-role configuration key and z-nagivation bar profile.

 

The new view configuration with the new UI object types , lets call it Z111 and Z999 displayed without problem when accessing from within the UI. We have an action that generates email to user with URL to the incident attached. This URL looks  like this  http://sap-xxxx:xxxx/sap/bc/bsp/sap/crm_ui_start/default.htm?sap-client=xxx&CRM-OBJECT-TYPE=Z111&CRM-OBJECT-ACTION=B&CRM-OBJECT-VALUE=<guid>&

This leads to an error :

 

 

Diagnosis

 

You have either no authorization for action Display
of  object type xxx Incident (Z111), or this object type is not part of
the role you are assigned to.

 

 

Procedure

 

Contact your system administrator .

 

Procedure for System Administration

 

Check Customizing for Customer Relationship Management
under Business Roles -> Define Business Role and under
UI Framework -> Technical Role Definition -> Define
Navigation Bar Profile

 

Could anyone kindly point out what is missing here?

 

Thanks in advance!

Add entities to context node in AET

$
0
0

Hi,

 

I created a table the service order object via the AET. Now I want to add multiple lines to the table via a button. I tried to create the entities in the event handler via the CREATE method of class CL_CRM_BOL_ENTITY_FACTORY and then add the entities to the context node. This doesn't work because the table is created as a dependent object. I guess I have to add the entity via the parent node but how can I get a reference to the parent node in the AET component?

 

Any help would be appreciated,
Patrick

Email notification for update and status changed

$
0
0

Hi Experts,

 

 

I have a  urgent requirement That is have to send the email notification to SR owner and task owner whenever update will happened or status changed to close.

 

Could please anyone help on this as soon as possible...Thanks!

 

 

 

 

 

 

 

Best regards,

Srinivas


Error Message "Atleast One Entry Could not be found in object buffer"

$
0
0

Hi Experts ,

 

I am getting an Error Message "Atleast One Entry Could not be found in object buffer" while trying to create an quotation , could you please let me know why this might be occurring .

 

Thanks ,

Vaibhav

Entry XXX cannot be used. Configuration is missing search criteria.

$
0
0

Hi All,

 

When Im trying to click on search button in a screen, it is giving the error ' Entry 'field_name' cannot be used. configuration missing search criteria'.

After getting this clear, If I click on search button again we are not getting error. This field is present in search structure also.

This is not for saved search.

 

Please suggest how to avoid this error message.

 

Thanks,

Spandana.

CRM_MKTBP_CHANGE_BP not working

$
0
0

Hello friends,

 

We are using the FM CRM_MKTBP_CHANGE_BP to update the marketing attributes.

 

But this is removing the maintained values for that set and updating the new values. But we are expecting it should add the new values to the BP.

 

Please find the code

**  Maintain marketing for business partner.
     CALL FUNCTION 'CRM_MKTBP_CHANGE_BP'
       EXPORTING
         iv_profile_template_id = ls_mkt-attr_set
         iv_bp_guid             = ls_mkt-partner_guid
         iv_fcode               = 'C'
         iv_commit              = lv_commit
       TABLES
         it_imp_seltab          = ls_mkt-imp_seltab
         et_return              = lt_return.


Kindly suggest whether it is a standard behaviour or something else need to be passed.

Let me know if you need more details.


Thanks,

Ravi Teja

Define Generic OP Mapping and Override options

$
0
0

Hello experts,

 

 

I am creating dynamic navigation from one component to another component.

 

Can someone plz explain these two options:

 

Define Generic OP Mapping

Override Generic OP Mapping for Component

 

I would like to know the usage of these two options and when to use what.

 

Thank you.

Event is not Triggering from controller class

$
0
0

Hi,

I have 2 different workcenters one is for create customer and another one is to search for customers in my navigation bar.

 

when i try to create customer by clicking person icon on result list of Account search screen then it is displaying the overview page where i can enter customer details and while clicking enter/save button it is displaying popup to add sales info data.

 

here my problem is when i trying create partner by clicking the workcenter 'create partner', then it is displaying the overview page like above, but here once i am trying to hit enter /save  popup is not coming to enter sales info data.

 

Both workcentes using same component.

 

Here when i try to debug the new workcenter i found it is not triggering the component controller class in which there is an event to raise the popup

 

pls provide some help.

 

Thanks

Venkat

Viewing all 4552 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>