Copy users in Parties Involved on Opportunity to Email Activity
Hello Gurus,
In CRM WEB UI when i am creating a Email Activity as a follow up of an existing Opportunity (with Parties Involved having email Id's) , is it possible to copy the email id of the users in Parties involved of the Opportunity to the email Activity in the To : field
Currently it only gets the email ids of contact persons on opportunities to the email activity when its create as a follow up.
Will i be able to achieve this using config without doing any development?
Thanks a lot in advance.
Thanks
Edited by: Chetan Tangadpelli on Jul 20, 2011 8:49 PM
Edited by: Chetan Tangadpelli on Jul 21, 2011 3:21 AM
Hi Chetan,
Functionally Iam not aware how you can achieve it, but you can try implementing the COM_PARTNER_BADI to achieve this.
Get the access sequence created so that, the method DETERMINATION_ADD_IN_1 of the BAdI COM_PARTNER_BADI is called.
Now inside this method you can try to read the partner values of the oppurtunity and assign them to the follow up Email activity.
Hope this helps you out!
Regards
Veena.
Similar Messages
-
Copy of the Attachments from a Opportunity to a Activity
Hello SAP Experts!!!
I have a requirement when creating a Activity as an Follow-Up Document from an Opportunity that the Attachments of the Opportunity have to be copied to the Activity.
I have looked at BADI: CRM_COPY_BADI but I found out that the Structures of the BADI doesnt have the fields to put information of the attachments, so I think its useless to my case.
By doing a debugging I found out that by pressing the button "Create Follow Up Document" in the Opportunity that in the component BT111H_OPPT (View: OpportunityOVViewSet) method : EH_ONFOLLOWUP is called. Then in method BT126H_APPT in the Main Window the Method: IP_FOLLOWUP is called.
Anybody knows what I can do or what method I have to redefine that I can see the Attachments of the Opportunity in my Activity Document?
Does anybody have experience what steps to make to copy attachments and can help me out?
Best Regards
Oliver Schultze
Edited by: Oliver Schultze on Feb 25, 2010 4:53 PMHello, just to clase this thread correctly I put the code I have used to copy the documents of an Opportunity to an Activity Document while creating an Follow-Up Document:
DATA: ls_bo_oppt TYPE sibflporb,
ls_bo_actv TYPE sibflporb,
lv_guid_oppt TYPE crmt_object_guid,
lv_guid_actv TYPE crmt_object_guid,
ls_new_loio TYPE skwf_io,
lt_phios TYPE skwf_ios,
ls_error TYPE skwf_error,
lt_bad_ios TYPE skwf_ioerrs,
lv_all_documents TYPE skwf_flag.
MOVE is_ref_orderadm_h-guid TO lv_guid_oppt.
MOVE cs_orderadm_h-guid TO lv_guid_actv.
ls_bo_oppt-instid = lv_guid_oppt.
ls_bo_oppt-typeid = 'BUS2000111'.
ls_bo_oppt-catid = 'BO'.
ls_bo_actv-instid = lv_guid_actv.
ls_bo_actv-typeid = 'BUS2000126'.
ls_bo_actv-catid = 'BO'.
lv_all_documents = 'X'.
CALL METHOD cl_crm_documents=>copy
EXPORTING
business_object = ls_bo_oppt
new_business_object = ls_bo_actv
all_documents = lv_all_documents
IMPORTING
new_loio = ls_new_loio
new_phios = lt_phios
error = ls_error
bad_ios = lt_bad_ios
EXCEPTIONS
no_io = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDMETHOD. -
How to check if user is part of the specific OU in Active Directory
Hi :
We are trying to check if user is part of the specific OU or not , to do this I am invoking "Get Object Property Value"
since if user is part of that OU in that case it should be able to get that property .
However this activity is failing and not able to search for any proeprty , below is the snapshot of workflow which
I have created for this , I am logging to cisco.com domain for this .Hi Anil
You can run the "Get User Distinguished Name" action. This uses the login CISCO\username in your case to return the distinguished name which you are inputting including its OU.
You could then run the get object property with the input LDAP path being the results from the Distinguished Name.
Regards,
Matt -
Parties involved work center and partner functions in SAP WEBUI
Dear Experts,
Here is the situation
I have sales rep, quote admin1, quote admin2 and quote admin3 positions in my org model. Each level has approval process. All of these three types of users will create quotes directly without a previous document/follow-up document.
When a sales rep or anybody other than quote admin logon to create quote, parties involved <> quote admin should be admin1. When admin 1 logon, it should default to admin1. Admin 2 logs in only after admin1 so, it should display admin1 and admin2. When admin 3 logson, it should show admin1, 2 and three. They need to be able to see howmany quote admins already there in the quote. How can I get this?? Please help me..Hi Sri,
You can use Partner Determination Procedure for the first time to create a Quotation automatically which will be triggered by the system. For the next time, based on your requirement you can probably need to use something else which will trigger the partner determination and will select the partner function and the business partner. You can check the badi - COM_PARTNER_BADI which is used for the Partner Procedure Determination.
Hope this helps.
Thanks,
Samantak. -
Update Sold to party address to Ship to party in parties involved
Dear Experts,
I have problem in Development, actually my requirement is while creating the service order user will give the Sold to party number. I want to update the ship to party address as per the given sold to party in the Parties involved.
Please guide.
Regards
AnandhanHi Anandhan,
Have you worked on call back event function modules earlier. Using a call back function module would be required more of coding and in your case its not necessary to use FM.
There is another simple way to achieve this requirement. You can create a custom implementation for the badi COM_PARTNER_BADI and use the method COM_PARTNER_MERGE.
This badi will trigger for all the partners maintained in service order, so we have pick only ship to party partner function.
1. Check the partner function field(partner_fct) value in changing parameters CS_PARTNER_BADI, if it is your ship to party partner function then continue with below steps
2. Get the REF_GUID field from CS_PARTNER_BADI and
read the document process type and partner details. Observe below sample code
lv_guid = is_partner_control-document_id. "is_partner_wrk-guid.
APPEND lv_guid TO li_guid.
lw_object_name = 'ORDERADM_H'.
APPEND lw_object_name TO li_object_name.
lw_object_name = 'PARTNER'.
APPEND lw_object_name TO li_object_name.
CALL FUNCTION 'CRM_ORDER_READ_OW'
EXPORTING
it_header_guid = li_guid
it_requested_objects = li_object_name
IMPORTING
et_orderadm_h = li_orderadm_h
et_partner = li_partner
CHANGING
cv_log_handle = lv_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.
RETURN.
ENDIF.
3. Check the process type using li_orderadm_h table.
4. Read sold to party partner details from li_partner and pick the address fields and assign them to CS_PARTNER_BADI structure.
Best Regards,
Dharmakasi. -
Checking to see if the current User is part of the "Administrator Group"
I am writing an installer for my program - in java - that basically just executes a .jar file. In the past, my software had a disclaimer that just tells the user to make sure that they are an administrator before installing - but we are not currently enforcing that.
So my task is to develop a snippet of code that returns a boolean (true if the user has privileges, false if the user does not). Essentially checking to see if the user is part of the Administrators Group in windows. I created a creative solution for the Unix side of this problem, checking the root group, and some path names for root... but I am stumped on the Windows side of things. I KNOW there is a solution in C, in fact I have already created it (it involves a simple import of windows.h and a static variable check), but I would like a java solution instead.
I have researched a bit in the java.security API and the JNI interface for executing my C code in java... but I would like to post here in case there is a simpler solution that I may be overlooking. The windows platform is XP for the most part, but possibly Vista as well.
Thanks in advance for your replies, and sorry if this is a double-post, I tried searching beforehand.i found out that the fsutil command will not run correctly you are not a local administrator it gives the error message "The FSUTIL utility requires that you have administrative privileges.", right now i am using some string manipulation to try and catch this - another good command line option is net localgroups Administrataor
-
Copying a web part page into a new wiki page
Is it possible to copy a web part page (homepage of a team site) to a new wiki page on a team site? Can this be accomplihed without SharePoint Designer? If it is possible, how do I go about it?
Thanks for you help!Hi,
You may use powershell script in order to copy et move your page to another location.
Have a look at this :
https://gallery.technet.microsoft.com/office/Copy-all-SharePoint-Files-0999c53f
Best regards. -
Parties involved are not visible in WEB UI..they are onlyvisible in SAP GUI
Hi,
I have created a sales order with some line items. The problem is,
When I click on item, in SAP GUI, I can see all the partners determined. However, when I open in WEB UI, I am unable to see any of the partnets in "Parties Involved" assignment block.
Could you please let me know, how to solve this?
Thanks,
SandeepSandeep - Try clicking Personlize icon in the work area toolbar, this will open a popup to show "Available assignment blocks". Search for "Involved parties" under this block, select it and move it under "Displayed assignment blocks" and SAVE. This should make the assignment block for partners visible on the webUI.
If you do not find the assignment block in the popup, then try pressing "Reset to default" which would reset the view configuration to default and make the standard assignment blocks available for configuration. -
Copy paste a part of a pdf document
is there any way I can copy just selected parts of an adobe acrobat document into notepad or wordpad or clipboard viewer or whatever?,the document is unlocked and my os is xp pro 32 bit,home edition,thank you
Yes, you select the portion you want, then copy (Ctrl+C) and paste it into the target application.
Example; here is a portion of a PDF - the blue portion is selected and copied:
And here is the pasted output in Notepad: -
Before, when reading PDF files, I was able to copy and paste part of the book. Now it is not possible. I can copy but when pasting gets nothing.
Antes, quando lia arquivos PDF, eu conseguia copiar e colar parte do livro. Agora isso não é possível. Eu consigo copiar, mas quando vou colar o texto, não cola nada.Caro Fabiano,
Obrigado por ter contactado as Comunidades de Suporte Apple.
Na origem do seu problema podem estar várias causas. Nomeadamente:
O ficheiro (arquivo) que está a ler pode não ser texto, ou seja, pode ser texto transformado em imagem e exportado como PDF.
A aplicação de destino (onde está a tentar colar o texto copiado) pode não aceitar a colagem de texto formatado.
A aplicação que está a utilizar para abrir os ficheiros PDF pode não ser indicada para certo tipo de documentos. Experimente o iBooks, o Dropbox ou até mesmo o seu e-mail.
No caso de nenhuma destas causas estar na origem do seu problema, forneça, por favor, mais informações sobre a origem do ficheiro (descarga pelo Safari, Mail ou outro) bem como o destino (documento Pages, Keynote ou Numbers ou outra aplicação que não o iWork).
Atentamente,
Gonçalo Matos
Estou aqui para ajudar. Clique no botão "Reply" no caso de ter outra questão ou necessitar de outro esclarecimento para que eu possa ajudar da melhor forma que conseguir. -
Was I supposed to get a hard copy user manual with my new phone??
Was I supposed to get a hard copy user manual with my new phone??
I did not get one - but would like onehttp://manuals.info.apple.com/enUS/iPhone_UserGuide.pdf
There you go!
Enjoy -
Hi,
I used this query for copy user setting from Manager to all other users. This query running successfully but problem is this all the setting is copied but manager user lost all settings i.e all udf's come under general category which is previously distributed to different category. Which is fine for rest of the users.
ALTER PROCEDURE [dbo].[CopyUserSettings] AS
Declare @ManagerId int
Declare @MaxId int
Declare @NextId int
Declare @TempId int
-- Change value below if copying from other than Manager(1)
Select @ManagerId = 1
Select @MaxId = max(UserID) + 1 FROM OUSR
Select @TempId = 1
Select @NextId = @ManagerId
if exists (select 1 from sysobjects where name = 'temp_dev_sup')
Begin
drop table temp_dev_sup
End
select * into temp_dev_sup from cprf where usersign=@ManagerId
Delete from cprf where usersign= @ManagerId
WHILE @TempId < @maxid
BEGIN
If @tempid <> @managerid
BEGIN
Update temp_dev_sup Set usersign= @TempID where usersign=@NextId
Insert into cprf Select * from temp_dev_sup where usersign= @TempId
END
Select @NextId = @TempId
Select @TempId = @TempId + 1
If @TempId >= @maxid
BREAK
Else
CONTINUE
END
Thanks
RahulHi Rahul,
Change Select @ManagerId = 1 from 1 to some other user id having correct form settings and execute belwo procedure again.
ALTER PROCEDURE [dbo].[CopyUserSettings] AS
Declare @ManagerId int
Declare @MaxId int
Declare @NextId int
Declare @TempId int
-- Change value below if copying from other than Manager(1)
Select @ManagerId = 1
Select @MaxId = max(UserID) + 1 FROM OUSR
Select @TempId = 1
Select @NextId = @ManagerId
if exists (select 1 from sysobjects where name = 'temp_dev_sup')
Begin
drop table temp_dev_sup
End
select * into temp_dev_sup from cprf where usersign=@ManagerId
--Delete from cprf where usersign= @ManagerId
WHILE @TempId < @maxid
BEGIN
If @tempid <> @managerid
BEGIN
Update temp_dev_sup Set usersign= @TempID where usersign=@NextId
Insert into cprf Select * from temp_dev_sup where usersign= @TempId
END
Select @NextId = @TempId
Select @TempId = @TempId + 1
If @TempId >= @maxid
BREAK
Else
CONTINUE
END
Thanks,
Neetu -
Dear All,
I have a problem about user Login in SQL Server 2008.
because I restore database from another server, user Login for that database already created but not in instance user login. So when user login into instance name they have failed login.
what that i missed before restore database so when user login into instance they do not failed?
or how that i can copy user login from database to instance login? because when i add from add login wizard i have error user already created.
please help.
Best regards,
SurbaktiWhen a database is moved from one server to another server the login ids stored in the master database do not align with the login ids
stored in each user database or there is no login id or password associated with the user and user in the database becomes ORPHAN.
To fix this problem you need to transfer Logins & password refer below link to Transfer Logins & Passwords.
How to transfer logins and passwords between instances of SQL Server
once you transfer logins fix orphan users, refer below link to fix orphan users
http://blog.sqlauthority.com/2007/02/15/sql-server-fix-error-15023-user-already-exists-in-current-database/
Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
Praveen Dsa | MCITP - Database Administrator 2008 |
My Blog | My Page -
Copying user specific reporting variants to other users
Hi,
Does anyone have experience in copying user saved variants to other users?
We'd like to create a few complex variants for reporting and then distribute them to all of our users.
Thanks!
-Miikka
Edited by: Miikka Åkerman on Nov 18, 2009 2:40 PMHi,
In reports input Screen you have this option,
In selection screen you can find, Save as a New varient, give some name and save , don't select Save as User Varient and save it.
Note: Check with the select Save as User Varient & Use as default Varient options.
Thanks
Reddy -
Hi All,
I am on version 1.00.72.00.xxxxx I am unable to see the copy user option when I right click on users in the studio. I thought this was available in SP07. am i missing something ?
Message was edited by: Tom FlanaganI upgraded the studio to Version: 1.0.7300 and the DB is at 1.00.72.00.388670. The Issue still exists. I checked SAP | HANA Developer Edition and there is no version 72 for the studio. hence I used 73. any thoughts ?
Maybe you are looking for
-
When logging on to my apps on my I phone 3 when I try to download an app an it sends me to my credit card info and it is all stored. And has been but now it keeps telling me my cvv# on back of my card is wrong! I of course know it is not wrong but it
-
When starting up my HP g62 notebook with recovery disks pixels are HUGE and i cannot proceed
The problem I was tryinmg to fix was that while booting up, the screen goes black, although the motherboard is working and I can hear the whirring of the disk drive. So I figured I would start up and recover the whole ststem...but when I did this, th
-
Restructure using maxl command
hi ,how can we restructure database using maxl command. Actualy there is a planning application and i want to restructure database but i am planning on automating the process to run in the night but i am not able to make sure which command is the one
-
Hi Friends, Is there any restriction like i can use only specific set of joins inside a subquerie or vice-verse. If anything like that is present please do share or a link would help me go through such documents. Regards, Manoj Chakravarthy
-
PSE8 catalogue backup to external drive fails to complete in Windows 7.Catalogue of around 10,000 files, 40Gb, backs up to 65% completion then program hangs.Ample drive space in both PC( > 300Gb spare) and in external drive ( 1Tb). Catalogue optimisa