Dynamic actions settings to mail generation

Hi
The actions are set for mali generation ,when ever personnel action happen.while testing the mail generation some actions are fine which are set in dynamic actions with out action for reasons.but some of actions are not working which are mentioned action for reason.
one case i set dynamic actions for hiring action with mentioning action reason.that time it will entered in to programing and generating mail.
but in another case i have 3-4 reason for actions that time the program will considering only action type ,its not entering into program considering action for reason.
can any body give me brief advise how to set dynamic action while action having the action reasons.
Regards,
arjun

Sreehari,
You can configure feature M0001 (Add MASSN/MASSG as your decision operation) and you can call this feature in the dynamic action table T588Z
Reward Points if this is helpful.
Sanghamitra
Message was edited by:
        Sanghamitra11

Similar Messages

  • Dynamic Action to Send Mail

    Hi,
    I'm trying to set up a dynamic action so that during the separation process when a certain infotype (IT0040) is delimited that a mail should be sent to a distribution list. I've had a look at some other posts on here but so far none of these have helped solve the problem.
    I have set up a dynamic action as below..  The separation actions are 20 or 22.
    0040                   02     900     **GENERATE MAIL DURING SEPARATION*
    0040                   02     901     P     T001P-MOLGA='13'
    0040                   02     902     P     P0000-MASSN='20'/X
    0040                   02     903     P     P0000-MASSN='22'/X
    0040                   02     904     M     M0001
    In feature M0001 I have it set up:
    If TCLAS = A
    & INFTY = 0040
    IDTXT ZTEXT
    DISTR SEPARATION
    Do I need more arguements in the feature as I can't seem to get it to trigger.
    Thanks
    Tom

    Hi Regi,
    Thanks for the reply, sorry this task got lost behind a host of other ones. I've tried using the standard text and still nothing is produced.
    With the dynamic action I have put the code for this on IT0040 as this code should only be triggered if this infotype is changed by the actions also specified.
    I've checked that the mail set up is correct as I'm able to send an mail from my SBWP to myself, which is the only one in the distribution list.
    I've updated the Feature to have a few more arguements, but these are mostly blank as the email should only go to the distribution list.
    IDTXT MAIL_FOR_I0001_A
    RECV1
    SUBTY
    OUTBX X
    DISTR DIST
    NAME1
    NAME2
    Many thanks
    Tom

  • Get infotype data in e-mail/sapscript - Dynamic action-

    Hello,
    we developed a dynamic action sending a mail if an employee leave the company.
    We can catch data in infotype 0000 and 0001 in the sapscript used in the mail, but we would like also fetch data from other infotypes.
    We tried to generate an ABAP code from an ad hoc query, but it was impossible to get the return tables in the sapscript.
    Are there other solutions to get infotype data in saps scripts?
    Kr,

    Hi ,
    you can follow the below solution .
    1. Create a custom report for the leaving/terminated employees by using the action in infotype 0000 with field massn, massg.
    2. you will get all the employees from table pa0000 who are laving between a date interval .
    3. by using the personnel numbers from pa0000 get other infotypes information.
    4. create a smartform/script for your requirement.
    5. using the program you can send the data to the employees.
    another way .
    if you know the name of the script you can create some variables for the other fields from other infotypes in that script and you can populate the variable values using perform in program command using a custom program in that script.

  • Define mail attributes, dynamic action

    I am attempting to set up a dynamic action that is triggered when the STATE field in IT0000-0001 is changed. I am using the Send Mail step indicator M using feature M0001.
    My question is how shall I test it, where shall I put My mailid. Does it works for external mail as well
    Pls guide.
    rgds
    AJ

    Hi AJ,
    Yes. This can be made to work for external emails as well. Hope you have created an entry in the view V_T588Z for calling the feature M0001 on change in the required field.
    Now you need to create a distribution list which contains the email id of your IT support. You can create a distribution list (DL) in transaction SO04. Even if you have just one email id as the recipient never mind just create a DL for this single email id and name it as say “DL_FOR_IT_MAIL”.
    Now you need to create the text content for you mail. For this you need to proceed to transaction SO10. Enter the required text name for example “MAIL_TO_IT_SUPPORT” and choose the text id as PAMA. Now click on create. Enter all the content that you need to send out as email.
    Once the above steps are done you need to configure the feature M0001. For this go to PE03 and enter M0001 and choose decision tree. Click on "Change". Under the decision tree you will find some configurations already existing for infotypes 0001, 0006 and 0002. Now keep your cursor on "INFTY" and click on create. You will be presented with a list of infotypes. Select infotype 0000.
    Now an entry for 0000 will be added to the decision tree. Keep the cursor on the string "0000" and click on create. A pop up window for choosing node types is opened. Select the option "Return Table" and click ok. You will get a window with a series of blank rows. Here you will have to enter the following entries in the rows,
    IDTXT  MAIL_TO_IT_SUPPORT
    OUTBX  X
    DISTR  DL_FOR_IT_MAIL
    After doing this configuration your system would send the email to the distribution list with content defined in MAIL_TO_IT_SUPPORT.
    Note: Your SMTP settings have to be configured properly by your basis team. Even if it is not ready you can create an entry of 0000 infotype and check the transaction SOST. If the dynamic action was successful in sending the email you will find an entry here.
    Follow these steps and let me know if you have any problems.
    Thanks,
    Prasath N
    <b>P.S:</b>
    The return table content should be read as
    <b>IDTXT</b><single space><b>MAIL_TO_IT_SUPPORT</b>
    <b>OUTBX</b><single space><b>X</b>
    <b>DISTR</b><single space><b>DL_FOR_IT_MAIL</b>
    Message was edited by:
            Prasath Natesan

  • HR PA Dynamic Actions: Generate mail to the admin when 0002 & 0021 changed

    Hi gurus!
             My client wants us to generate a mail to the Admin when an employee changes his 0002 or 0021 infotype
    through ESS. I believe we could do this is Dynamic Actions. Can you please tell me how we do it?
    Thanks and Regards,
    Soniya

    Hi,
    Some good write-ups :
    http://wiki.ittoolbox.com/index.php/Dynamic_Action
    http://www.sapconfig.com/index-3.html (look for "Dynamic Action Mail for Infotype". This will require registration but free.
    Thanks.
    Regards
    Kir Chern

  • How to specify 2 conditions in when settings for 2 items in dynamic actions

    Hi,
    How to use 2 conditions for 2 different items in Page rendering ->dynamic actions-------when event settings
    Actually i have three items like A nd B nd c
    If A=v,x,y,z and B=k,l............ i need to set some content like
    "werttyyyy" in c  and i need to make it as disable
    if A=v,x and B=k ..................
    i need to enter the text in c  which i would  like to be freetext  and i need to make it as enable now
    here it is i struck  ------------Page rendering ->dynamic actions-------
    when
    event
    change
    select type
    items
    items
    a,b
    condition
    <<<<<< how to mention my condition in tis column>>>>>>>>>>>>>>>>>>>>>>>
    Regards,
    Pavan

    Hi JTan414,
    I have check the expression you have provided and there are many incorrect using of this expression, please check and do some modification as below:
    For the MonthName function you should follow the grammar like:
    =MonthName(10,True)
    =MonthName(Month(Fields!BirthDate.Value),False)
    ="The month of your birthday is " & MonthName(Month(Fields!BirthDate.Value))
    You have add the dataset name "DealStarts" at the wrong place, it should like below:
    =Last(MonthName(Month(Fields!BirthDate.Value)),"DealStarts")
    or
    =Last(MonthName(Fields!IntegerValueField.Value),"DealStarts")
    This will return the last value from the dataset
    There is no function named launchdate, expression "launchdate ("RowofTrendingVisibility")" is incorrect and you shouldn't add the datasetname in this way.
    If the expression involved of conditions from two different datasets, limit kinds of functions will support to use:
     =Last(Fields!BirthDate.Value,"DataSetName")
    =First(Fields!BirthDate.Value,"DataSetName")
    More details information about how to use expression in SSRS:
    Expression Examples (Report Builder and SSRS)
    If you still have any problem, please try to provide more details information about your requirements and also some sample data.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Mail Via a Dynamic Actions

    Hi all,
    I have a problem with text scripts in SO10.
    My dynamic action works and a mail is sent.
    However not all of the information is included in the text.
    I have a mail sent when a leaver action is made on an employee.
    The mail details the name, pernr and position details but will not display the user log on in ifotype 105. P0105-USRID
    I've check numerous employees who have that infotype and no data is brought through.
    Is it because the action does not go through that infotype (105)??
    Many thanks
    Sam

    Thanks
    I've tried including in the action, but still no success as the mail is sent before that infotype is updated.
    I've not used rp50d before. Any advice on how I go about creating this to call a subroutine? Basic details would be helpful...
    Cheers,
    - If you can help further I'll increase your points from 2 to 6 or even 10 ;0)

  • Mail not send when subroutine is call in dynamic actions

    Hi Friends,
    I have facing a problem in sending a mail through dynamic actions . In this mail is not send to specific user mail-id.
    Suggest me . What to be exactly done .
    Regards,
    Anish

    First you have to understand what should be done...
    ask your functional consulatant where exactly the Mails need to be retrived For example...
    in infotype 0105 subtype '010'  generally we have email ids avaialable of the employeee....
    may be this helps or not give full specification some one can revert back.
    Regards
    sas

  • In Mail, what is "Conversation Action Settings"

    in Mail, what is 'Conversation Action Settings' folder and can I delete it without harming anything?  I use Mail to access my Exchange account, and this folder just showed up the other day.  I don't recall ever seeing it before.  Any thoughts?

    Mail VIP
    It is a SmartFolder containing messages from a person you designated as VIP.
    Right click the VIP mail box and select "Remove from VIP"
    or
    click the star next to "From" in the message.
    http://support.apple.com/kb/PH14895

  • Dynamic Action - Mail to Oulook

    Hi,
    I have set up Dynamic actions that send a mail to SAP MAIL via a distribution list and this is working fine.  My question is how do I send the mail to OUTLOOK ?  Is this possible using SAPCONNECT and customisation thorugh IMG or will I need to code a function to do it ?
    Regards,
    Chan.
    Edited by: Mr Chan Bhogal on Jul 2, 2008 9:13 AM

    Hi,
    You will have to code a routine for the same.
    SO_NEW_DOCUMENT_SEND_API1 is the function module for this purpose and use U for external mails.
    And do basis configuration in transaction SCOT to attach mail server to SAP system.
    Regards,
    Divya
    Points Valuable.

  • Send mail through dynamic action, but the subject line and content is blank

    Hi all,
    I'm facing one problem on sending mail throught dynamic action.
    Whenever a new employee is hired, the system will trigger a mail to the administrator.
    The mail can successfully reach the email address. But the title and the content of the mail are missing. I can receive an email with a PDF attchment. But when I open this PDF file, it's blank inside.
    In t-code "SO10", I created a new mail text with name of Z_MAIL, for my mail, insteading of using the SAP standard one.
    When I using the SAP standard mail text, it works and I can see the content. But even I copy and paste the exact the content of the standard one to my own new mail text, it will not work.
    And I have to use my own customized mail text. So, is there any one knows about this issue? Any more setting I should do? Or is there some tricks?

    Hi,
       I feel that something will be misiing in the coding.Even i faced the same problem earlier.for me it was text file as an attachment ,file was receiving but no data...the problem was i forget to add one option in objpack-head.
       R u using the FM - SO_NEW_DOCUMENT_ATT_SEND_API1??
    If so pls C the below codes for text file as an attachment.
    DATA: objpack LIKE sopcklsti1 OCCURS  2 WITH HEADER LINE.
      DATA: objhead LIKE solisti1   OCCURS  1 WITH HEADER LINE.
      DATA: objbin  LIKE solisti1   OCCURS 10 WITH HEADER LINE.
      DATA: objtxt  LIKE solisti1   OCCURS 10 WITH HEADER LINE.
      DATA: reclist LIKE somlreci1  OCCURS  5 WITH HEADER LINE.
      DATA: doc_chng LIKE sodocchgi1.
      DATA: tab_lines LIKE sy-tabix.
    Creating the document to be sent
      doc_chng-obj_name = 'MESSAGE'.
      doc_chng-obj_descr = 'ZHRI_GARN_EPC_COMM'.
      objtxt = 'Program ZHRI_GARN_EPC_COMM has been executed successfully'.
      APPEND objtxt.
      objtxt = 'Error records passed to BDC session XPHRGARN01'.
      APPEND objtxt.
      DESCRIBE TABLE objtxt LINES tab_lines.
      READ TABLE objtxt INDEX tab_lines.
      doc_chng-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
    Creating the entry for the compressed document
      CLEAR objpack-transf_bin.
      objpack-head_start = 1.
      objpack-head_num   = 0.
      objpack-body_start = 1.
      objpack-body_num   = tab_lines.
      objpack-doc_type   = 'RAW'.
      APPEND objpack.
    Entering names in the distribution list
      LOOP AT se_tech.
        reclist-receiver = se_tech-low.
        reclist-rec_type = 'U'.
        APPEND reclist.
      ENDLOOP.
    Sending the document
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = doc_chng
          put_in_outbox              = 'X'
          commit_work                = 'X'
        TABLES
          packing_list               = objpack
          object_header              = objhead
          contents_bin               = objbin
          contents_txt               = objtxt
          receivers                  = reclist
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          operation_no_authorization = 4
          OTHERS                     = 99.
    Hope this will help u.
    Regards,
    Manoj.

  • Sending mail of infotype record using dynamic actions

    Hi
    How can we send mail of info type record using dynamic actions if possible give me one example
    Mail to me: [email protected]
    Thanks & Regards
    santhosh reddy

    Hi..
    Already Standard Entries exists for the same.. pls check T588Z

  • Sending mails using dynamic actions

    Hi
    How we can send mails using dynamic actions.
    Regards
    Santhosh

    Hi,
    Sending mails is possible by using the feature M0001. This is to be coded in the dynamic action depending on the requirement with function code "M".
    Hope this would help you to explore further. Incase of any specific query you can post back.
    Regards
    Tharak

  • Send mail using Dynamic actions

    Hello experts,
    How to send  a mail using Dynamic Actions??
    Requirement : Lets say one employee is hired on 26th Aug, so after 10 days he will be confirmed. so on 8th day need to send a mail to concerned person reminding the confirmation date.
    so how do i do that using dynamic actions??
    Thanks in advance.
    Saurabh

    Hi,
    In dynamic actions there is an option for calling sub-routine from any program or subroutine pool. So u can make subroutine for sending mail according to ur requirement. An call on th same from dynamic actions.
    if u want sample code for this, pls let me know.
    <removed_by_moderator>
    Regards,
    Ranjith
    Edited by: Julius Bussche on Aug 26, 2008 3:25 PM

  • Can we create a dynamic action for Training and Event Management???

    Hi All
    i need to configure automatic email generation for an employee when he gets booked for a training program in the training and event management module. can we use a dynamic action for it? and how to configure it?? I also guess that i have to use the Feature MAILS for it. but i am not sure abt it and also not sure how to configure it. I will really appreciate if someone can provide me with a step to step configuration for the same. Its urgently sought.
    Thanks and Regards

    Notifications in T&E are done through Workflow.Dynamic Actions are only for PA Infotypes.
    ~Suresh

Maybe you are looking for

  • JTextArea and typing one char at a time!

    Hi everyone! I'm developing an small app. In certain cases, the user may want to edit a little piece of text. For this, I show a new Frame with a JTextArea with the selected text, so the user can edit it... But I want to control this edition: the use

  • Eliminated cable - now searching for streaming 3D.

    I have eliminated my monthly cable bill by connecting the following devices and installed software:  Mac Mini, Samsung 3D-TV, HD-HomeRun, and EyeTV software.  The HD-HomeRun and EyeTV software allow me to pickup, stream, and record OTA programming. 

  • Need to get the operating unit name for AP report

    Hi, I'm really new to XML/BI publisher. I have to customize a oracle report called Payables Posted Payment Register. The package XLA_JELINES_RPT_PKG ties into this report. Upon reading the package it's pretty confusing. Anyway, there is a parameter c

  • I could make entries in ical yesterday now today it won't save an entry. what went wrong?

    Ical won't let me make entries, it keeps saying  "cannot save event, no calendar has been chosen."  It worked great after updating, even yesterday I entered an event. What could have happened?

  • Creative Are a Complete JO

    I have owned a black zen micro which I have had for about six months. Three weeks ago I got the problem ...yes you guessed it. The headphone jack problem! Anyway I RMA'd my zen micro and have had to make do without music for the last three weeks. I g