Activate a call list in CRM using an interface
We are building an interface to create a call list in CRM and we have come to the stage where we want the interface to activate the call list that has been created.
Does anyone know how accomplish this?
What you are suggesting would require a different stored procedure for each table which is what I'm trying to avoid.
Why would it have to be different procedures? You could have all the INSERT statements in a single procedure.
Yes, you could save yourself some typing (well, copying-and-pasting) by using that piece of dynamic SQL. But when may at some point have to fight permissions, you will need to spend times to tweak the code, when there are columns that are not to be copied
and so on. It's possibly more fun, but it is necessarily not more productive.
By the way, there are three flaws in the piece of code you posted:
select @columnList = coalesce(@columnList + ',','') + sys.columns.name
from sys.columns
where object_name(sys.columns.object_id) = @tableName
and sys.columns.name not in ( @keyName )
and is_computed = 0;
The correct result of the construct SELECT @x = @x + col is undefined. You can use FOR XML PATH('') to create a concatenate list. (A quick Google will show you how.)
"NOT IN (@keyname)" means the same thing as "<> @keyname". If they idea is tha @keyname is to be an inclusion list, then you need to crack the list to a table.
And:
exec sp_executesql @sqlCommand, N'@oldKeyId int', @oldKeyId = @oldKeyId
select @newTableId = @@identity -- note scope_identity() won't work here!
Of course, scope_identity() works as long as you capture the value inside the dynamic SQL and return in it an OUTPUT parameter.
By the way, here is one more issue: you need to write the query so that it can handle tables that do have IDENTITY columns.
Erland Sommarskog, SQL Server MVP, [email protected]
Similar Messages
-
Call List Mangement - IC Web Client
Hi Gurus,
We are using SAP CRM 2007. I am calling transaction : CRMD_TM_CLDIST using transaction launcher in IC Web Client with team lead business role so that I can Split the Call List, Assign the Call List to CSRs and Activate the Call List. When I select the Call List and right click on to view the list of the commands (as of SAP GUI screen) to work the Call List Management - does not shows me any options (such as split or assign or activate). Does any body know, how to get this work?? please help me out....
Cheers,
Peter J.Hi John,
Thank you very much for your quick reply and guidance. I know the company which used PCUI - Call List screen, unofficially I came to know that SAP responded this company back saying that, SAP does not have plans to remove this PCUI screen/code from the future upgrades...
Once again thank you very much for your quick responses and the guidance. I will close this link...
Cheers,
Peter J.
Hi John,
2 corrections:
1. We are using IE 8.0
2. Transaction Code CRMD_CLMANAGMENT is not working in CRM 2007, we did the following:
a) Add URL to the URL Repository (SM30 table = crmv_ic_ltx_url) as BSP Application. Application = CRM_BSP_FRAME and Page = Entrypoint.do
b) Create Transaction Launcher entry (CRMC_UI_ACTIONWZ)
c) Crete Logical Link in (CRMC_UI_NBLINKS)
d) Call/Add the logical link to NavBar Profile
e) Add NavBar Profile to Business Role
f) Activate the logical link in Business Role (if necessary)
Cheers,
Peter J.
Edited by: Peter Jacks on Mar 25, 2010 9:30 AM -
Web IC Call List Message - Call locked,completed picked up by another agent
Hi,
For certain Call Lists in the CRM 2007 Web IC, when a call is selected there is a warning message to say that the "Call has been picked up by another agent, locked or completed" .
In the execution progress for the call list in CRM (CRMD_TM_CLDIST - Call List Maintenance ). All the calls have the status ready.None of the calls have the status - locked,executing,completed,cancelled,rescheduled or overdue.
What would be causing this to happen.
Any help on this would be greatly appreaciated,
Thanks,
Dan
Edited by: Daniel Moore on Aug 21, 2009 11:22 AMHi CRM gurus,
Can you please let me know which method of which class should be used to create a call in a particluar call list?
Also, can you please throw some light on the parameters required to be passed on to the method.
Regards,
Rohit. -
Interaction Center User cannot see Call List
Hi Gurus,
I have created a new call list with some calls and I assign it to an user and I have also activated the call list, but when I enter to the WebClient UI with that user who has a business role which have the option to see the call list, the call list assigned to the user doesn´t appear. Which might be the problem?
Thanks and regards.
JesúHi,
From the top of my head:
GO to the transaction used by the Call center manager
Find the call list
Assign it (depends on your scenario, you can assign it directly to the teleagent or to the Telecenter)
Activate the call list
Sometines, you need to be careful that the teleagent belons to the right Telecenter
Hope it helps,
D. -
I want to know how can I use the functionality of the field priority (CRMD_TM_IACT-PRIORITY) on the call lists on CRM (CIC0).
Program of the Target Group - > CRM_MKTTG_TG_BUILD
Program of the Call Lists generation - > CRM_CREATE_PLAN_CALL_LIST
Thanks
Pedro BarreirosDo you know how to add your songs on the "On-The-Go" list to begin with?
On the song you want, press the center button until it flashes; then you check in your "On-The-Go" list ans it should be there.
If you were doing this any differently then that's why it didn't work. -
Telephone Call List not showing in the T.Code - CRMD_TM_CLDIST
Hi Experts,
We are working in SAP CRM- ISU project in which we need to transfer the telephone call list to CRM .When we execute the transaction code CRMD_TM_CLDIST in CRM,system does not show any call list,as in ECC system is reflecting one call list successfully transferred(No of lines for processing 1)
We have executed the transaction FPVT to transafer the call list to crm system but crm system is not showing any call list under transaction code CRMD_TM_CLDIST.
Please share your input as how telephone call list will be displayed in crm system through ECC.
Thanks
Warm Regards
Vineet JoshiHi Sap,
We are triggering the dunning process in SAP ECC, there when we excute the transaction FPVT after entering all the details & click on execute then in ECC,system shows that (No of lines for processing 1).
We need dunning customers in CRM through calling list,but when we execute the T.code CRMD_TM_CLDIST, no calling list is reflecting.
I hope the requirement is bit clear to you.
Thanks
Warm Regards
Vineet Joshi -
Hello,
As a result of Telephone Campaign, a Caller List is created, using which, pospective customers are called. This list is stored in form of a table.
I want to find out the table in which this Caller List stored. Any pointers would be helpful.
Regards,
PraffulI think it is controlled by the method 'Select ' in the interface 'IF_CLM_STORAGE'.
If you set the break-point to the following methods(#), you can find correct information.
Class 'CL_CLM_APPL_INTLAY_CL'
->
1. Method 'GET_CALL_LISTS'
2. Method 'GET_CALLS'
Also, please check the table 'CRMD_TM_BP' and 'CRMD_TM_CL' in the package 'CRM_CIC_CLM_BO'
Hope this helps. -
Call list synchronization with Dialer
Hi
is there possibility that when agent reschedules call in ICWin the call will be sent to Dialer the same moment (call will be rescheduled to the same call list)?
is there some tool to synchronize
except tool that only sends call list after activating to Dialer?
Regards
RadekHi Vivek,
you say this is not possible in standard?(i think only sending call list to CTI after Activating call list is possible)
using the same function modules that send call list to dialer and
launch them after Rescheduler component was launched (and rescheduled call)
is possible?
but it needs programmer to do it.
If you now some/any things that does not allow to do it, please write.
Regards
Radek -
i got problem when trying to call my iphone 4 using facetime with my Macbook Pro 13',it did ringing,but my iphone 4 did not receive that call as if nothing happen.But,when the call ended,that call appeared in the missed call list.fyi both are connected to internet.Help!! thank you in advance
i got problem when trying to call my iphone 4 using facetime with my Macbook Pro 13',it did ringing,but my iphone 4 did not receive that call as if nothing happen.But,when the call ended,that call appeared in the missed call list.fyi both are connected to internet.Help!! thank you in advance
-
How to copy List item from one list to another using SPD workflow using HTTP call web service
Hi,
How to copy List item from one list to another using SPD workflow using HTTP call web service.
Both the Lists are in different Web applications.
Regards, Shreyas R SHi Shreyas,
From your post, it seems that you are using SharePoint 2013 workflow platform in SPD.
If that is the case, we can use Call HTTP web service action to get the item data, but we cannot use Call HTTP web service to create a new item in the list in another web application with these data.
As my test, we would get Unauthorized error when using Call HTTP web service action to create a new item in a list in another web application.
So I recommend to achieve this goal programmatically.
More references:
https://msdn.microsoft.com/en-us/library/office/jj164022.aspx
https://msdn.microsoft.com/en-us/library/office/dn292552.aspx?f=255&MSPPError=-2147217396
Thanks,
Victoria
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Calling r/3 function module from crm using rfc
Dear SDN Members,
I'm given a task to write a method on CRM side which sets the equipment status to "lost" in ABAON transaction on R/3 side. There is a function module on r/3 side which is RFC enabled and it will set the stuatus to LOST when we call that from CRM. This RFC fm is not available on CRM side, so I cannot used Pattern. I'm very new to abap and when i've gone through abap help I got the syntax which i've write with destination parameter. But I'm really not understanding how to pass Lost status to that fm.
Here-with I put the coding so far i've done on crm side and also the rfc fm coding aswell on r/3 side.
Should any one need for more info please do let me know to my yahoo ID:
[email protected]. I would be pleased to provide you the same.
The coding on crm side to call the r/3 fm through rfc follows here..
method IF_EX_EXEC_METHODCALL_PPF~EXECUTE.
21st November 2006
Created by Venkata Sunder
Method for
Loss Disposal - ERP Equipment Status Update
Damage Notifications
Called by actions
DATA: lv_guid_ref TYPE crmt_object_guid,
lv_kind_ref TYPE crmt_object_kind. "#EC NEEDED
DATA: lv_preview TYPE char1. "#EC NEEDED
DATA:
lt_header_guid TYPE crmt_object_guid_tab,
lt_orderadm_i_buffer TYPE crmt_orderadm_i_wrkt,
gs_orderadm_i_buffer TYPE crmt_orderadm_i_wrk,
lt_orderadm_i_db TYPE crmt_orderadm_i_wrkt,
gs_orderadm_i_db TYPE crmt_orderadm_i_wrk,
lt_customer_i_buffer TYPE crmt_customer_i_wrkt,
gs_customer_i_buffer TYPE crmt_customer_i_wrk,
lt_log_handle TYPE balloghndl,
return TYPE bapiret2_t,
gs_return TYPE bapiret2,
ev_rfcdest TYPE rfcdest.
get guid for referenced object
CALL METHOD cl_hf_helper=>action_helper->get_ref_object
EXPORTING
io_appl_object = io_appl_object
ip_action = ip_action
ii_container = ii_container
IMPORTING
ev_guid_ref = lv_guid_ref
ev_kind_ref = lv_kind_ref
ev_preview = lv_preview.
current crm transaction is identified
IF lv_guid_ref IS INITIAL.
RAISE EXCEPTION TYPE cx_socm_condition_violated.
ENDIF.
Header GUID
APPEND lv_guid_ref TO lt_header_guid.
Read order details from buffer
CALL FUNCTION 'CRM_ORDER_READ'
EXPORTING
it_header_guid = lt_header_guid
IMPORTING
et_orderadm_i = lt_orderadm_i_buffer
et_customer_i = lt_customer_i_buffer
CHANGING
cv_log_handle = lt_log_handle
EXCEPTIONS
document_not_found = 1
error_occurred = 2
document_locked = 3
no_change_authority = 4
no_display_authority = 5
no_change_allowed = 6
OTHERS = 7.
IF sy-subrc <> 0.
ENDIF.
call function destination 'DERCLNT200'.
(I'm not understanding how and wt to pass to this fm.)
The fm 'Z_SET_EQUIPMENT_STATUS_RFC' on r/3 side has the following coding..
DATA:
lv_objnr LIKE equi-objnr,
lv_estat LIKE tj30-estat,
wa_return LIKE bapiret2.
LOOP AT equipment_status.
SELECT SINGLE objnr
FROM equi
INTO lv_objnr
WHERE equnr EQ equipment_status-equnr.
SELECT estat
FROM tj30t
INTO lv_estat
WHERE stsma = equipment_status-stat_profile
AND txt04 = equipment_status-status
AND spras = sy-langu.
ENDSELECT.
CALL FUNCTION 'STATUS_CHANGE_EXTERN'
EXPORTING
CHECK_ONLY = ' '
client = sy-mandt
objnr = lv_objnr
user_status = lv_estat
SET_INACT = ' '
SET_CHGKZ =
NO_CHECK = ' '
IMPORTING
STONR =
EXCEPTIONS
object_not_found = 1
status_inconsistent = 2
status_not_allowed = 3
OTHERS = 4.
IF sy-subrc NE 0.
MOVE:
equipment_status-equnr TO wa_return-message_v1,
'E' TO wa_return-type,
' Equipment Update failed' TO wa_return-message.
APPEND wa_return TO return.
ELSE.
COMMIT WORK.
ENDIF.
CLEAR wa_return.
ENDLOOP.
ENDFUNCTION.
Thanks in advance.
Best Regards!
Sam.Hi,
You can write similar to the below.
CALL FUNCTION 'CRM_ORDER_READ'
<b>DESTINATION 'DERCLNT200'</b>
EXPORTING
it_header_guid = lt_header_guid
IMPORTING
et_orderadm_i = lt_orderadm_i_buffer
et_customer_i = lt_customer_i_buffer
CHANGING
cv_log_handle = lt_log_handle
EXCEPTIONS
document_not_found = 1
error_occurred = 2
document_locked = 3
no_change_authority = 4
no_display_authority = 5
no_change_allowed = 6
OTHERS = 7.
Thanks
Ramakrishna -
CRM Call List Save BADI / Enhancement Point
Hi
I need to perform some validations on Call List Save using TX CRMD_TM_CLDIST . I searched for a BADI which gets called when the call list is saved but could not find one .
Has anyone worked on a BADI which gets called when a call list is modified ?
Regards
AjitabhHi
In the call list application there are individual operations some of which require a save and some do not for eg adding a user to the assignment block of a call list does not require a save button .
For this operation class CL_TM_CLM_ASSIGNMENT is used by the standard.
SAP has provided implicit enhancement points in each of the methods of this classs .These methods handle the individual operations for eg deleting an assignment,adding an assignment etc.
To identify the classes we did a trace of the operation(adding a new assignment,deleting an assignment etc etc). From the ST05 traces we identified the classes which were performing the various operations and then implemented the implicit enhancements in these methods to do our processing.
Hope this helps....
Ajitabh -
Hello.
I have the requirement of sending additional fields to Genesys (G+ 7.5) during synchronization of call list.
Do you know if it is possible? I have searched for any documentation or similar topic and I haven't found any document.
Thank you in advanced.
JMit can be done with the help of a system code 'sy-xcode'. it is initialised the time list is sorted so just keeping a check point, we can solve this problem.
Vishu Khandelwal -
Call list: calling hours not taken into consideration
Hi Gurus,
I have a question. We are using CRM 7.0 EHP1, and especially marketing functionality.
We are generating call lists from a marketing campaign. What we see is that the customer calling hours are not taken into consideration when creating the call list.
However, if we create the call list the "old-fashioned" way (using CRMD_CALL_LIST), we have the option "scheduling... based on calling hours".
How can I achieve that calling hours are also considered when creating the call list from the campaign?
Is there a customizing setting, or do I need to activate a BAdi?
thanks.
regards,
Wim OliemanAlso, keep in mind that MRP calculates availability of inspection stock in two ways.
Before an inspection lot is created, (i.e. a purchase order or production order is out there and planned already, MRP uses the expected GR date plus the Avg. GR days on the main QM view for the material to determine the availability date.
Once the inspection lot is created however, MRP uses the end date of the inspection lot which is the lot creation date plus the avg insp. duration in the inspection type setup in the material master. This can result in some minor differences if you aren't careful in setting your various fields in the material master.
If a material is going to reside in QI for an extended time, the lab should use QA02 to modify the end date of the inspection lot.
FF -
IC Web Client: Requirement: After click on button END back to CALL LIST
Hello Experts,
we are using CRM 2007 (6.0).
I have to implement the following requirement:
When the user clicks on the button END in Interaction Center the user should come back to the CALL LIST.
Right now the the system always is getting back to IDENTIFY ACCOUNT. This is not very comfortable for the user as he or she has always make a view clicks to come back to the call list in order to call the next account (customer).
I tried to implement the required behaviour using rule policies (Intent Driven Interaction).
I customized the following:
If
Current Event Equals Interaction ended
Then
Navigate To ( Navigation Object type:Action = "IC_BT_IHI:B" )
Now I am pretty sure that the event 'Interaction Ended' is the right one, BUT my action is not correct! The system does not jump back to the call list.
My problem is that I can't find the correct action which gets me back to the CALL LIST!
Or is there another way to implement this requirement?
I would really appreciate your help!
Thank you and kind regards,
Roman
Ps: Actually there is an action called CALLLIST:B (Call Lists:Display) but this action does not seem to work properly!
Edited by: Roman Richter on Feb 28, 2011 11:55 AM
Edited by: Roman Richter on Mar 29, 2011 11:12 AMHello Experts,
we are using CRM 2007 (6.0).
I have to implement the following requirement:
When the user clicks on the button END in Interaction Center the user should come back to the CALL LIST.
Right now the the system always is getting back to IDENTIFY ACCOUNT. This is not very comfortable for the user as he or she has always make a view clicks to come back to the call list in order to call the next account (customer).
I tried to implement the required behaviour using rule policies (Intent Driven Interaction).
I customized the following:
If
Current Event Equals Interaction ended
Then
Navigate To ( Navigation Object type:Action = "IC_BT_IHI:B" )
Now I am pretty sure that the event 'Interaction Ended' is the right one, BUT my action is not correct! The system does not jump back to the call list.
My problem is that I can't find the correct action which gets me back to the CALL LIST!
Or is there another way to implement this requirement?
I would really appreciate your help!
Thank you and kind regards,
Roman
Ps: Actually there is an action called CALLLIST:B (Call Lists:Display) but this action does not seem to work properly!
Edited by: Roman Richter on Feb 28, 2011 11:55 AM
Edited by: Roman Richter on Mar 29, 2011 11:12 AM
SOLUTION:
Customizing was missing:
Define Generic OP Mapping:
Flag at 'Use Link ID'
Maintain IC_CALLIST in Logical Link ID
Maybe you are looking for
-
Problem in calling the function
HI i am creating the dynamic xml menu drop down menu in flash , 1) CreateMainMenu --- used to create the m ain menu.......... 2) getEmpDetailsFrmXML ------- used to load the xml file... 3) GenerateMenu ------ used to genereta the menus.. in run time
-
On my Windows 7, my latest iTune, after udating to the latest version, I cannot open or start the program. I even deleted the program from my system and then reinstall/download iTune from Apple Store, but the same problem persist. Anyway to get bac
-
why does my fan go into high speed noisy mode sometimes when I'm not actually doing anything on my laptop?
-
I have photoshop elements 10 on old computer
Can I download or upgrade my photoshop elements 10 that I had on my old computer?
-
Ineed a music player for E51 that remembers the tr...
Hi. I like my E51 apart from a few things. One of the worst is that the music player will not remember the track position when you exit like every other MP3 player in the world. Is there a 3rd party application I can use as a player that will remembe