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

Mail Forms - How to Add text types and date types in the email body?

$
0
0

Hi Gurus,

 

I'm in CRM 7.0 and I need to create an e-mail form which should display the contents of several Text types from my transaction. I need to add several dates too. What is the most efficient way to do this? I know I can add custom structures to my custom Attribute Context, but if I needed to display two different values from the same field that means I need to add an attribute structure for each?

 

I've been advised to just create a marker in the mail form body and just replace it later with a string (i.e., , then use REPLACE ALL OCCURRENCES OF... to insert my value) but it seems too brute forced. I might not be maximizing the potential of email forms here.


Create another Interaction Record for klient

$
0
0

Hello.

 

I want create new Interaction Record, but i dont want press button "END" or "Clear" on toolbar.

My identifity klient must be the same.

 

Anybody help me, pls.

 

Снимок.JPG

 

Thank.

Check the Attachment path before saving

$
0
0

Dear All,

 

I would like to kindly ask you to advise how it is possible to check File extension (the whole path) before the attachment is saved in CRM.

 

I was going to do that in ZL_GS_CM_ADDDOC_IMPL  EH_ONATTACH_BTN. (Component/View BS_CM/AddDoc).

 

I am able to check e.g. file name - which is free text field. However not sure how to identify the actual file path, or the type of the file. If the extension is e.g. .doc, .exe etc.

 

Could you please help?

 

Many thanks!

 

Honza

SAP CRM :Inbound emails not routed to Agent Inbox

$
0
0

Hello Experts ,

 

 

I am facing a strange issue with regards to Inbound emails.

The inbound emails are coming to SAP (visible in SOIN t-code).

 

But they are not available/visible in the agent Inbox.

 

 

Even the ERMS workflow gets triggered.

 

 

I checked the settings at SO28 level as well.all ok.

Checked the settings of "INT" communication.all ok.

WEB UI settings of Rule policy.all ok.

 

In fact everything seems to be OK.

 

Referred all possible SAP SCN discussions for any missing config,all seems ok.

 

 

Its just that the workflow task TS00207914(dialog task) is not triggered after TS00207915.

 

 

Below are the screenshots.

SWI1-No TS00207914 after TS00207915.JPG

 

TASK 207914 is general task as recommended.JPG

 

SO28 maintained correctly.JPG

 

 

Emails are routed to internal SAP addresess.JPG

 

Rule policies maintained at WEB UI level.JPG

 

 

 

Any suggestions?

 

Regards,

Abhishek Kokate

Unable to set value for AET field created in ERP_H component

$
0
0

Hi All,

 

I have tried to create AET field for Net value in ERP_H component under the BO part - ADMINH_V. Successfully created the field and generated the getter-setter methods of the field and using the GET_I made the field editable.

 

After that, I am trying to enter the value for that field in Web UI but its getting wiped off and reset to 0.00.

 

For this, to check I have put a break point in DO_HANDLE_DATA, SETTER method of field and DO_PREPARE_OUTPUT.

 

In DO_HANDLE_DATA --> inside the form_fields, I could see the entries but on going deep in the "ME" I couldnt find the value in the context node. The "CURRENT" of setter method also doesn't hold the value only for that particular AET field.

 

Later, I thought the problem might be with the data type of AET field, then tried with all types but no use.

 

Kindly help with your inputs asap.

 

Thanks in advance.

 

Regards

Swadini S

in objects result ,if user select any object and if i click the custom button on result directly open to service request creation page in sap crm ?

$
0
0

Hi Team,

 

My requirement is if user select any value in objects result page,and click zbutton on result page directly it will be opened to service request page with copy object id and partner id ? how to achieve this requirement.

 

when ever user click the  button directly open to service request creation page? how to do it?

 

and one more thing in object result view could not able to select the line in result view..there is no select field column in result view also..

 

Component - PRDIOQR

View - result view

 

Thanks in advance

 

Thanks & Regards

kalpana

Web ui change history

$
0
0

Hello all,

 

We have a weird scenario where in the Change history of a service contract, Partner Function: Contact person was deleted for several persons on the same time e.g. 11.10 a.m.and there are around 300 deletions recorded in the same minute.

 

Just wanted to know how to tract down this issue, since the user is denying for making any change. I have checked the CDHDR table and the entries exist.

 

What could be the possible reason for this issue, where to look?

 

Thanks,

Pradeep

BAPI to upload Categories in Service Request

$
0
0

Hi,

 

We are currently using BAPI: CRM_ICSS_SRVREQ_CREATE to create service requests (Incidents), but we cannot upload categories (multilevel categorization schema ) using the same BAPI but haven't been able to achieve this yet.

 

Has anyone tried this yet ? Plz share any BAPI or a workaround, thnx.

 

BR.


Personalization sorting is not working for values attribute in sap crm web ui

$
0
0

Hello,

 

I added one value attribute in result list for displaying purpose and written logic in the get method of the attribute for displaying values.

 

for sorting, I had written logic in get_p method to enable sort options(sort ascending, sort descending) and in sort method (which is called in the do_prepare_output method), I written actual sort logic by calling collection_wrapper sort method like this

 

me->typed_context->result->collection_wrapper->sort( ........).


This manual sorting is working. but my problem is, In result list view personalization, have one sort option is there, there I gave 'sort by' is my value attribute and select any one of the sort option radio button (ascending, descending). this time sorting is not working. for the standard fields its working. only my value attribute this sorting is not working.



Please refer below screen shot for your reference.....


How to display Sort Ascending and Sort Descending names in the result page of newly added Model Attribute

$
0
0

Hi All

Good day

 

I had added one Model Attribute in the webui result page.i am getting data as expected but i am not getting Sort ascending and sort descending values to do sort on my newly added model attribute.

as per standarded  it is getting displayed for all other result page columns when i click on any one of the standarded column in the result page.

 

please suggest how can i display sort ascending and sort descending values on my newly created model attribute and how to make event on those if user click on any sort?

 

Thanks

Subhani Shaik

Need to display rows of table as display mode.

$
0
0

Hi, Need to display entities as display mode if the value of one field "category" is not case.(screen shot is attached) As of now all the rows are editable but our requirement is to make the already existing rows as display if  category is not equal case. While on the insert the row should be added as editable. Thanks in Advance  Regards, Peeyush

Need to syncronize the Regions between ERP and CRM

$
0
0

Hi MW gurus,

 

I didn't find a adapter object to synchronize the 'Regions' between ERP and CRM. The regions are stored to the table T005S in ERP and the same table exists in CRM too.

 

Will any one of you adivce on how to sync. these two tables using a replication object?

 

Thanks,

Raj

Concepts of SAP testing

$
0
0

Hi,

 

Can any one help in the concept SAP testing, please any documents, guidelines etc, in any form would defintely help me, please i have been assigned a task on sap testing

 

Your help will be def rewarded, please try to get me out of this problem

 

With regards

Christopher

 

Mail id : c_suno@yahoo.com

How WebUI passes table selected row information to ABAP backend

$
0
0

I have been working as a Fiori application developer in SAP for almost two years, which means now I use Chrome development tool in my daily work for trouble shooting instead of ABAP debugger when I was working using CRM WebUI.

 

Yesterday I was assigned with an incident about CRM Lead application in WebUI, and I am glad to figure out that Chrome development tool can also do me a great favor for my trouble shooting in WebUI issue. I share with my experience learned in this blog.

 

Issue description

 

The incident complains that when a given row in Products assignment block is selected and Delete button in toolbar is clicked, nothing occurs.

clipboard1.png

My issue analysis process

 

I located the event handler of this delete button in toolbar:

clipboard2.png

And I find out that get_marked in line 21 return an empty BOL entity collection.

clipboard3.png

I debugged into get_marked, this method will only return those BOL entities as marked whose SELECTED equals to true.

For Lead application, all the BOL entities which represent table entries in assignment block has SELECTED as false, as a result no BOL entity is returned - so nothing to be deleted.

3.jpeg

However I have checked Opportunity application, the deletion works. The attribute for BOL entity is set as abap_true as expected.

clipboard1.png

What is the reason of this different behavior?

 

Research how WebUI passes table selected row information to ABAP backend via Chrome development tool

 

In WebUI I selected first row in table and click delete button in toolbar, then I observe this selected information is passed to ABAP backend via field name as C34_W111_V113_V120_prodtable_selectedRows and value as 1.

clipboard2.png

And in ABAP backend, all these http form fields passed from frontend UI are received and stored in variable lt_fields in line 25.

clipboard2.png

I download the content of lt_fields as excel and highlight the field for selected row index:


clipboard3.png

Then in ABAP backend, it is expected to populate the string "C34_W111_V113_V120_prodtable_selectedRows" to get the index by field name. From the code below we get: "C34_W111_V113_V120_prodtable"

clipboard5.png

The left string fragment "selectedRows" comes from constant gc_selected_rows. Now the selected row index is get by field name in line 14.

clipboard6.png

The original issue is: although we have table id "prodtable",

clipboard7.png

however a wrong default id "Table" is passed in via iv_id and thus wrong field name is generated, so based on this wrong field name, no selected index could be queried:

clipboard8.png

The issue is already fixed via SAP note 2331513.

 

The naming convention of capital characters in lv_name:

 

  • C: component
  • W: window
  • V: view

 

You can also find such id in generated html source code via Chrome development tool in Element tab: first click the small icon highlighted below and then click the UI area you would like to inspect:

clipboard9.png


Then in Elements tab, the html source code of the selected UI area will be displayed for you:

clipboard10.png

Further reading

read database record directly in WebUI without using select query

$
0
0

Hi All,

 

Since a select query would hamper performance when used from the WebUI, is there any other way to read an entity's properties persistent at the database level after changes to the GenIL and BOL buffers via core modify.

 

Actually core->modify has been performed so bypassing buffers will also not fetch the correct results as the data has been modified at the GenIL layer.

 

I want to check the properties of an entity persistent at the database after core->modify from webUI.

 

please help.


Hide Create Button on dependend Overview BT111H_OPPT / BT111H_OPPT/CompetitorsOV

$
0
0

Hallo,

 

based on 2 Fields of an Opportunity header  (Phase and Status )

we want to hide the Create button on teh Compettitor assignment Block BT111H_OPPT/CompetitorsOV .

 

Can you please give an example where and how to implement this request ?

 

Thank you

Frank

Twitter integration with SAP CRM

$
0
0

Hi All,

 

This discussion is regarding twitter integration with SAP CRM for which I followed the snote :1832480 "How to implement Twitter API for CRM Interaction Center". After doing all the steps still not able to integrate with SAP CRM.

Below are the doubts/problems that I have regarding twitter integration.

     1) Is there any background job program by which data's are fetched from twitter based on tokens?

     2) How will the implemented class methods are executed as we are not specifying which method to execute based on button click or event?

     3) When I  execute my implemented class 'get_post' method its giving the below error. Could anyone suggest the cause of this issue?

 

Note : I have imported SSL for twitter using STRUST.

SSL.jpg

 

Thanks in Advance.

 

Regards,

Bob.

Outbound Emails are Linked to Multiple Service Requests (All in 'Edit' Mode)

$
0
0

Dear All,

 

Currently, we are experiencing an issue where outbound email is being linked to multiple service requests (all of these are set to edit mode prior sending of email). You may refer to the following procedures to replicate the issue:

 

(1) Select more than one cases from the worklist. Open each case and set to edit mode.

Step01.PNG

Step01a.PNG

Step01b.PNG

 

(2) Access one of the cases then hit 'EMail' workcenter from the navigation bar.

Step02.PNG

 

(3) Provide text in the mail body and send it.

Step03.PNG

 

(4) Check that email is being linked to all service requests (Related Transactions and Business Context tabs). The expectation is that outbound email must be linked only to service request where I triggered the email,

Step04b.PNG

(Email was linked to Sample Service Request 01 as expected.)

 

Step04a.PNG

(Email for Sample Service Request 01 was linked to Sample Service Request 02 -- that is not expected.)

 

 

Did someone here already encounter similar issue and identify the root cause? Please help share your inputs on the root cause (technically -- in what class and/or method) of this issue just for quick reference. Although, we're currently investigating on this from our end as well.

 

Thanks,

Jay Mercurio

Error generating new field within AET

$
0
0

Hi Gurus,

 

I've the following issue when I am trying to create a new field using AET.

 

img1.JPG

 

I select ORDERAD_H

 

img2.JPG

 

And I am receiving the below error

 

img3.JPG

 

Do you have any suggestion ?

 

Thanks in advance

 

Regards, Diego

How to launch BSP component in New Window when user click on logical link

$
0
0

Dear SAP CRM Consultant,

 

I have Z-component, I have query regarding launching SAP CRM BSP component in different window.

 

Requirement: When end user click on logical link, than Z component should be open in new window. (Not in work area L shape window). I hope we need to do this through java script.

 

Note: This is not transaction Launcher/ Pop_UP component.

 

Please help me to develop this requirement.

 

Regards,

Kapil

Viewing all 4552 articles
Browse latest View live


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