Recipient Type in Action Profile

Hi all,
I have created an action profile which triggers a smart form mail when the campaign is saved. When defining conditions for the action profile, in the processing details tab, the recipient type is selected as "sap user" and sap username is provided in the recipient address field. The action is executed successfully.
Our requirement is that,
1.Can we send this smart form mail to multiple recipients?
2. In the processing details tab, if i select the recipient type as Org. Unit / Position, what should be the input for the address field?
(Is it the ID of the org unit / position?)
Please help.....
Sindhu.

Hi Sindhu,
For the email in acton profile you have to select external communication as the processing type and then when you double click the external communication type in action defintion for the action, you will get the type of smart form and the class and other details which you need to enter based on the requirement for ex reminder mail as std smart form in case of reminders to be sent and class of crm_...ex or for sending CRM header data etc.
Once this is done and when you go to conditions you can select the processing type and then yu have processing details and on the right frame you have the Document tab and then sleect this tab and select comm method as standard (by default SAP will pick up the std communiation medium mentioned in master data and it has to be mentioned in the master data of the BP as std communication as email and his email id.
you can select a specific partner function based on which the email will be sent to the partner is there in the activity.
Or you can see this weblog done by and we have to be thankful to Rakesh kumar jain
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d03a6978-a10b-2a10-7baf-8428d86bf05f
thanks
Srini

Similar Messages

  • Uncaught exception CX_OS_OBJECT_NOT_FOUND in Action Profile RSPPFPROCESS

    Hej All,
    Am facing a problem in email notifications dump in CRM 7.0 with support pack 4 ..
    The same batch job was working fine initially.Couldn't figure out what went wrong..
    Here is the ST22 dump is for your reference below
    The exception 'CX_OS_OBJECT_NOT_FOUND' was raised, but it was not caught
    anywhere along the call hierarchy.
    Since exceptions represent error situations and this error was not adequately responded to, the running ABAP program
    'CL_PARTNER_PPF================CP' has to be terminated.
    "UNCAUGHT_EXCEPTION" "CX_OS_OBJECT_NOT_FOUND"
    "CL_PARTNER_PPF================CP" or "CL_PARTNER_PPF================CM001"
    "IF_OS_STATE~HANDLE_EXCEPTION"
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_OS_OBJECT_NOT_FOUND', was not
    caught in
    procedure "COPY" "(METHOD)", nor was it propagated by a RAISING clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    Could not find the referenced object with the OID
    "DF2108F7C61A11F1AB5118A905420075" (instance GUID) and
    "37B65114D0475B9EE10000009B38FA0B" (class GUID)
    Information on where terminated
    Termination occurred in the ABAP program "CL_PARTNER_PPF================CP" -
    in "IF_OS_STATE~HANDLE_EXCEPTION".
    The main program was "RSPPFPROCESS ".
    In the source code you have the termination point in line 32
    of the (Include) program "CL_PARTNER_PPF================CM001".
    The program "CL_PARTNER_PPF================CP" was started as a background job.
    Job Name....... "Z_XX_XX"
    Job Initiator.. "XXXX"
    Job Number..... 06001008
    The termination is caused because exception "CX_OS_OBJECT_NOT_FOUND" occurred
    in
    procedure "COPY" "(METHOD)", but it was neither handled locally nor declared
    in the RAISING clause of its signature.
    The procedure is in program "CL_PARTNER_PPF================CP "; its source
    code begins in line
    1 of the (Include program "CL_PARTNER_PPF================CM00O ".
    Action profile is used ZXXXX and action definition is ZXXXX
    Plesae provde your input to solve the issue.
    Regards
    Shan

    Processing type of action profile is method call and a method is Z_SLA_EMAIL_RES_TIME.Implemented in Badi ZCL_IM_SLA_EMAIL_RES_TIME(Interface name :IF_EX_EXEC_METHODCALL_PPF_ and definition name is EXEC_METHODCALL_PPF.     
    From the error it seems that it is not able to find the guid for the partner it is looking for.

  • Follow up task without using the action profile

    Hi,
    Is it possible to create the follow up task without using the action profile? If so, please let me know how we can do that?
    as per the requirements, i have to the custom coding that will automatically create follow-on task triggered by status change on the all the transaction type. Please guide me how can we do that.
    Task details (task id, description), I'm reading it from the custom table.
    Thanks for your help.
    Regards,
    Vaibhav

    Thanks Naresh for the response.
    Not sure if I can use the CRMV_EVENT. Even I'm not aware how to use that. Let me tell what i am doing in the logic.
    - implementing the logic in the badi order_save (method - CHECK_BEFORE_SAVE)
    - get the header and item details using the FM CRM_ORDER_READ.
    - get the status of header / item from the output of CRM_ORDER_READ.
    - compare the status with the custom table (having info of hearder type, item type, status, tast id, task description etc)
    - if status is different, create the task using the details from the custom table.
    now i want to write the logic to implement the last step. Do we have any standard FM where I can pass the task ID and it will create the task? Please help.

  • Z-Button - How to call a Action Profile to Open a PDF-Doc. within an Event?

    Hi Experts,
    we have created a Z-Button that afterwards creates an event. In the coding for the event an Action Profile should be called and a PDF-Document should be opened. We have copied the coding from the standard button 'Print Preview' which is calling the standard event: EH_ONPRINT_PREVIEW.
    We have also defined a Z Action Profile which is a copie of SERVICE_CONFIRMATION. Our problem is we don't know how why our Z-Action Prodile is not called? What is the class lr_actioncontext (TYPE REF TO cl_crm_bol_entity)?
    DATA: lr_cn               TYPE REF TO cl_bsp_wd_context_node,
            lr_adminh           TYPE REF TO cl_crm_bol_entity,
            lr_actioncontext    TYPE REF TO cl_crm_bol_entity,
            lv_adminh_guid      TYPE string,
            lv_url              TYPE string,
            lc_head_context     TYPE REF TO cl_doc_context_crm_order,
            lt_item_context     TYPE ppftctxpos,
            iv_header_guid      TYPE crmt_object_guid,
            lif_decision_pop    TYPE REF TO if_bsp_wd_popup,
            lv_string           TYPE string.
      CHECK gv_print_preview_enabled = abap_true.
      lr_cn = me->get_context_node( gc_cn_btadminh ).
      CHECK lr_cn IS BOUND.
      lr_adminh ?= lr_cn->collection_wrapper->get_current( ).
      CHECK lr_adminh IS BOUND.
      lv_adminh_guid   =  lr_adminh->get_property_as_string( iv_attr_name = 'GUID' ).
      lr_actioncontext = lr_adminh->get_related_entity( iv_relation_name = 'BTHeaderAction' ). "#EC NOTEXT
      CLEAR gt_print_actions.
      CLEAR gr_action_popup.
      iv_header_guid = lv_adminh_guid.
      CALL METHOD cl_crm_uiu_actions_tools=>get_action_definition
        RECEIVING
          rv_action_def = lv_string.
      CALL METHOD cl_crm_uiu_actions_tools=>show_print_actions_popup
        EXPORTING
          ir_action_context       = lr_actioncontext
          ir_parent_node          = lr_adminh
          ir_view_controller      = me
          ir_component_controller = comp_controller
          iv_event_name           = gc_ev_print_preview_closed
          iv_for_preview          = abap_true
          iv_appl_guid            = lv_adminh_guid
        IMPORTING
          et_actions              = gt_print_actions
          ev_url                  = lv_url
        CHANGING
          cr_decision_popup       = gr_action_popup.
      IF lv_url IS NOT INITIAL.
        call_print_preview_popup( lv_url ).
      ENDIF.
    Best Regards

    Closed. No answers.

  • EWT - Report on basis of Recipient Types

    Hi Gurus,
    How can we can report on basis of Recipient types in EWT?
    Recipient types consist of Company and Non Company.
    Please revert asap.
    Thank You

    check this and do modifications as per ur requirement.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/pages/viewpage.action&pageid=15856
    get the PRDHA of MARA then report.
    Regards
    Prabhu

  • Action Profile - Display SMART FORM in PDF

    Hi All,
    I have a requirement in action profile, in which when a SMART FORM PRINT action is triggered in CRMD_ORDER,  the smart form should be displayed in PDF. Then the user should be able to save or print the pdf form. 
    Can some body provide some pointers?

    Hi,
    You can achieve this using action profile in your transaction type, just create new action definiation in action profile using Process type Smart Forms Print  assign your smart form, define action conditions for this definiation.
    You can take look at standard Action Profile for reference  ACTIVITY definiation ACTIVITY_PRINT
    Regards,
    Dipesh.

  • Send smartforms via email using action profiles

    hi,
    i am trying to send smartforms via email using action profiles and i would like to know if anyone has any document or know any steps to do the same. i have created the smartform and i created the action in an action profile. i selected the option "Smartforms Mail". and i have mentioned my smartform in it.
    I have previously worked with action profiles to trigger workflows which sent a mail. That was relatively easier as i could mention that the mail be sent to my mailbox. But in the smartforms option, i dont know how to give the instruction that it be sent to my mailbox.. is there any place i can set it? The action is not person dependant and is done whenever saving a document.
    Please guide.
    Thanks,
    Nisha

    Hi Nisha,
    As u worked on Action profiles, i recommend u use action profile with permitted Process type as Smart Forms Mail to send the mails which contains the data in Smartform u created.
    Use below mail setting
    Form Name              (u r ZSmartform)
    Processing Class      CL_DOC_PROCESSING_CRM_ORDER
    Processing Method    CRM_ACTIVITY_EXEC_SMART_FORM
    Archive Mode            1 Mail only User
    In Action definition details u can mentioned the Processing time, Partner dependent for action to who u want to send the mail, further in action condition using schedule and start condition u can set the criteria to mail trigger.
    Hope it'll help u.
    Regards,
    Dipesh.

  • Smartform Mail Sending via Action profile

    Hi,
    we have a big problem, because our sended emails going into customers spam filter. We hava SAP CRM 5.0 and we send the emails via action profile.
    For that we use the standard for sending smartforms via action profile. Follwing problems are occured:
    1) email recipient is fill only in the cc field, not in the to field of an email
    2) the subjet ist the sam as the dcument name
    3) the emial is sended without text only whith attachment
    So my question are:
    how can i customize that the email is wirtten in the to field and how i can change the subject of this mail.
    Is ist possible to add a text to the email? Maybe not, but than we could add a disclaimer in the mail hub - so my firts questions are more importent for me.
    Thank you for your help
    Stefan

    Hi,
    To manipulate the subject Refer   Note 895550 - Name of Smart Form used as e-mail subject 
    Im not sure why the email recipient is in CC instead of To. Please check your Action settings. How are you determining the recipient? if it's by partner function, it should automatically be filled in To field.
    Smartforms can be sent either as Text or pdf attachment. This is controlled globally in SMTP settings in SCOT. I believe you can choose attachment option and also add some text by manipulating the Action class.
    HOpe this helps.
    Shaik

  • Send Smartform Email via Action Profile

    Hello,
    We have an Action Profile with a few actisn athat a workign perfectly.  I have added a new action to send  smartform via email when the the transaction is saved.
    The Action profile is set upfor object type BUS2000115(Quotation) with the context class of CL_DOC_CONTEXT_CRM_ORDER.
    I have set up the Smartform Email action processing as follows:
    Permitted processign type fo Action - Smartform Email
    Mail Settings:
    Form Name                       YC3_SF_CRM_COMM_QUOTATION_V7
    Processing Class              CL_CRM_BP_UM_PROCESSING_PPF
    Processing Method           UM_EXEC_SMART_FORM
    Archive Mode                    Mail only
    there is no schedule or start condition as it is not required.
    When I Save the Quotation nothing is getting triggered.  If in the Quotation I Preview output and select 'Email Quotation; I get the message 'Smartform Error'.  Is there a way to debug the message further ?  I'm assuming this is the SAP standard method of achieving Smartform email as Pdf attachment, are some steps that I have missed ?
    Regards
    Chan

    The Processing class and Processing Method seem to be incorrect.
    Use the below;
    Processing Class  : CL_DOC_PROCESSING_CRM_ORDER
    Processing Method: CRM_ORDER_EXEC_SMART_FORM
    You can always refer to standard action profile for Quotations to see what SAP has delivered.

  • Dispute Case Action Profile

    Hi can some body guide me through the key settings which we have to do in Dispute Management - Action Profile Configuration.
    Also what needs to be maintained by ABAP other than smart forms. I have done settings as per standard configuration guide
    by copying standard profile but it is not working.
    please explain the entire process if possible. points will be awarded for sure.

    Hi,
    Is your correspondence send by mail? Check your maintenance of you processing details. There is two checks:
    1. In your action profile check per action definition if your processing types have been maintained. E.g. set to external communication and check default - all correct details have to be filled in with the tab document
    2. Check the configuration of your conditions. Per action definition the processing details need to be correct. Check what communication method is set up in there. If mail try setting it to 'Internet mail'.
    Hope that helps.
    Regards,
    Richard

  • Workflow in Action Profile

    Hello Experts !!
      I want to use Workflow in Action Profile.I created a new workflow but this workflow is not coming while creating action profile.
    Please let me know what can be the issue?
    Thanks in Advance.

    In Workflow container add container element with name business object eg "BUS2000125" for task
    and select object type and enter your object and create.
    save and active w/f.
    go to action defination you can see the w/f in f4 hellp .
    regard vijay

  • Can i Change/Update the Lead Status using Action profile of Activity.

    Hi,
    I have created one Lead, and on the basis of Qualification level action triggers and Ativity getting generated.
    I want to know that it is possible by using functions(Action Profile/conditions) in activity, If i change the status reason of Activity (as Accepted) Earlier Leads status would change.(as Close)
    Please resolve with solution.
    Regurds,
    Dipesh.

    Hi Dipesh,
    What I understand is, u wish to change the status of preceding lead transaction when the activity status reason is changed to accepted.
    1.  This functionality can be achieved using ORDER_SAVE Badi. This Badi implementation shall check the activity reason changed to accepted, if yes, read the doc flow, get the lead transaction and change its status to close.
    2. As per my knowledge use of action profiles and conditions will not be helpful in this case.Else, create an action definition as Activity reason changed, put a condition which like Activity reason= Accepted.
    In the action definition Processing type use method call.
    Here u will have to create a new implementation of the BADI of action profile, and put the same logic as stated in point 1.
    But in think implementing point 1 should be easier.
    Wish the information is useful.
    Regards,
    Shalini Chauhan

  • Mail Forms through Action Profile

    Hi Experts,
    In one of the business requirement we need to trigger the Mail froms to users & customers with survery & questions attached to the mail form.
    Can we trigger this Mail form using Action Profile? Or Is it only the smart forms that can be triggered using Action Profile?
    If mail forms can also be triggered can you please explain what configurations need to be maintained?
    Hoping to find a solution here.
    Thank you in advance.
    Rgds,
    Sai Srinivas Ivaturi

    Hi Sai
    Typically a Mail Form can be triggered from an Action attached to a Business Transaction.
    The Action Profile is configured with the Transaction Type standard maintenance via SPRO-IMG.
    Action Profiles and Actions are configured under SPRO-IMG for CRM "Basic Functions-Actions".
    You will need to create/adjust an Action Profile and an Action within this to meet your needs, then Define Conditions for the Action to be triggered.
    Refer to SAP Help for more content on this, you can also refer to the Best Practice guides for SAP CRM as they step by step logic for setting up.
    Regards
    Arden

  • Create Action Profile for Service Complaint

    Hi All,
    How to create the action profile for service complaint. I am working in CRM Standalone server. I gone through that service complaint doc and found that for this transaction we have to define the actions like CREATE RETURN REQUEST, CREATE SPARE PART DELIVERY, CREATE QUALITY NOTIFICATION, CREATE CREDIT/DEBIT MEMO REQUEST AND CREATE TASK. Can Anybody guide me how can I achieve this ans assign to my transaction type ie Service Complaint.If any body has the doc to achieve this can send it to
    [email protected]
    Valuable answer will be appreciated.
    Thanx
    Saravana

    Hi saravana
    want actions in transactions then use this link
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c87bb93d-0b01-0010-a0b4-b04d7fda745f
    regards
    Vinay

  • Relation between Date Profile and Action Profile

    Hi Folks,
    I don't want any date profile assigned to my transaction type SLFN. When I took out date profile and saved system gave me error "Action profile is only allowed with date profile SLNF_HEADER". I have assigned Z action profile to SLFN.
    Is there any relation between both them? Where do we maintain it?
    Points would be rewarded.
    Regards,
    Nikhil

    Hi Nikhil,
    Its mandatory to have date profile for actions.Because once you execute the actions it picks up the date based of the profile and system date, and maintain that information in the system.
    I think we can only have print actions without date profile.
    Regards
    Arun Kumar

Maybe you are looking for