Displaying Container element in send mail

Hi Experts,
I am a beginner in SAP Workflows. I  have created a simple wokflow in which a mail is sent to a particular user.The workflow is triggered whenever a  complaint (BUS20000120)is raised.Now I want to display values of certain container elements in the workflow.I  have  also created a container element based on BUS20000120. But every time I use some or the other container element attributes, in the mail it is displayed '<BONmae>.<Attributename> not  found.
I  am  not  getting  any  solution to this problem.Please  help  me.....

Hi Raja Sekhar,
The  start  event  of  my  workflow  is  'created' event  of  the  Business Object (BUS20000120) .But where to implement the binding for  the  'EVT_Object'?The start  event  for  the  workflow  is  firing  as  I  have  checked  in  the  transaction 'SWEL'  and  also  the  mail  is  being  sent  to  the  desired  user.The  only  problem is  that  I   cannot  display  any  data  of  my  container  element  based  on  Business Object  BUS20000120 . I  can  display  elements  of  the  system  container  like  current  date  ,time  etc. Please give me  a  solution.Infact  this  is  happening  to  some  other  workflows  as  well.

Similar Messages

  • Using Multiline Container element in sending mail

    Hi,
         I am sending mail with Multiline Container element APTEXT.
    I put &APTEXT##&  Is this right ?
    But when I have 2 lines of data, its sending mail with only one line.
    Thanks

    It is my personal observation that if the line size is more than 132 charecters then it will display like that.
    So do like this
    1. First make the row size as 125.
    2. and when you are selecting the multiline container element in the mail content, then it will ask you 3 options selct the option Print line by line then check the mail.
    It worked in my case.

  • Passing value of multi line container element to send mail step?

    Hi ,
    I am using send mail step type to send mail . in this mail i want to send data of multi line container element but it is writing only one line item even though my container element is holding tow line items. so how to process all line items of multi container  element in a mail. please suggest me......
    do i need to use loop until step ?
    Thanks,
    Rahul

    Hi Chindanand ,
    i tried with the same now but in the mail it is not showing me any value instead it si giving me <po_items > not found.
    po_items is the name of my multiline container element and i am simply using these po_item in mail.
    please tell me what to do......as its urgent.....
    Thanks,
    Rahul

  • Sending mail to a particular positon in org structure via workflow

    hi all
    i have a problem regarding sending mail to particular position in org structure on runtime execution  via workflow so that i neednt hard court the particular position
    to achieve this i am using expressions,first i have created a new container element and then i have used container operation like this:
    (lead.employee responsible.business partner= container element defined by me)
    when i first try to execute the workflow and test it ,in the container  i am getting the value of the container element in which i have the position where i have to send the mail.but inspite of value getting populated ,when i am using that container element to send mail like:
    expression: container element
    the mail is not send,when i checked the log it is mentioned that " you are not the authorised person to stsart the workflow and start failed" but workflow is still triggered and i am able to pass the object but not able to send the mail.
    please tell me is there any feasible way to achieve this,like rule or in my way how is it able to achieve
    detailed possible solution will really be appreciated.on thing we are working on CRM 5.0 standalone system
    full marks will be rewarded
    best regards
    ashish

    Hi,
    Follow this ,
    Goto PFTC -> Choose "Workflow Template" from the drop down -> Enter the workflow template id "123********" in the text box -> now click on "change" button -> Now goto the menu addional data -> agent assignment -> maintain -> select the task text -> and set it as general task.
    I guess you have done the same for the standard task TS*********** but failed to do it for the workflow template (WS123*************). Or have you done it already?
    Also once you make this change "Refresh your buffers" once before checking it out.
    Richard A

  • Printing Long text in Send Mail Task

    Hi All,
    My requirement is to print the long text of particular error message in the send mail task, which will be sent to outlook.
    for this i have an activity beforr the mail task, where i have filled the multiline parameter called 'TEXT' and this is exported to workflow also.
    In my send mail task, in the body of the message, using insert expression i have inserted the multiline container 'TEXT' with the option of line break, so it came &TEXT##&.
    But once the WF is executed , i checked the WF log and found that the mail is sent and i have checked the container 'TEXT' in my previous activity where the TEXT container has 10 lines.
    But when i checked the mail in SOST the contents of TEXT is not getting printed.
    What will be the issue?
    Thanks and Regards,
    Swaminathan

    @Rick
    How is TEXT defined in the container? Is it passed in via the binding?
    I think if at all you want to use the container element in the mail then binding is not necessary from workflow to task.
    @Swaminathan PJ 
    the multiline container 'TEXT' with the option of line break, so it came &TEXT##&.
    Try to print the entire text continuosly with out line breaks then it works.

  • Variable char 255 in the body of a Send Mail step

    When I include a variable (char 255) of the workflow container  in a "Send Mail" step body, in the sent mail I can't see all the characters. It seems to cut about 80 characters.
    Can anybody help me.
    Thanks in advance.
    Sonia

    Yes ..There  is a limitation on length, It can be extended upto 130 character, there is some note avaliable for that (please check) , but for more than 130 character i am not sure it is possible ..i solved it by splitting

  • Error -Container element 'ZBUS2081' is not used

    Hi All,
    I have transported a workflow from one SAP installation to another.
    In the new System when i checked the transported workflow it's giving an error "Container 'ZBUS2081' is not in used.
    How to solve this problem . If I diagnose the problem its taking me to the screen of workflow template.
    Please suggest how can i resolve this issue.
    Thanks.

    Hi All,
    The workflow is in active state , but i dont see any such message display in source system.
    I used SWU7  tcode to check for my workflow template it shows error :
    Workflow definition does not exists.
    At the bottom of the screen it displays : "Container element 'ZBUS2081' is not used".
    Regards,
    Ujjwal
    Edited by: ujjwal dharmak on Nov 22, 2010 3:52 PM

  • Confirmation popup problem not sending mail

    Hi,
    I am working on apex.oracle.com
    i am sending mail to users.when i simply click on send mail button it is working fine .it is sending mail to users.
    i want to display confirmation msg before send mail to users. i created confirmation using dynamic actions.
    when i click on send mail button it raise popup. but when i click on ok button of confirmation popup.it is not sending the mail.
    where i am doing wrong. please help me to rectify the problem.
    Thanks in advance.
    Vedant

    Hi
    the code is
    DECLARE
    l_id number;
    to_add varchar2(2000);
    from_add varchar2(1000);
    l_sub varchar2(1000);
    l_temp_descrp clob;
    CURSOR C1 IS select distinct email_id from crm_cam_target_list tl where target_id in (select target_id from crm_cam_campaign_target ct where ct.CAMPAIGN_ID=:P221_X);
    REC C1%ROWTYPE;
    BEGIN
    select CAMPAIGN_NAME,FROM_EMAIL_ID into l_sub,from_add from CRM_CAMPAIGN_MAS where CAMPAIGN_ID=:P221_X;
    select TM.DESCRIPTION_IMAGE into l_temp_descrp from CRM_CAM_TEMPLATE_MAS TM,CRM_CAMPAIGN_MAS CM where TM.TEMPLATE_ID=CM.TEMPLATE_ID and CM.CAMPAIGN_ID=:P221_X;
    OPEN C1;
    LOOP
    FETCH C1 INTO REC;
    EXIT WHEN C1%NOTFOUND;
    l_id:=APEX_MAIL.SEND(
             p_to        => REC.email_id, -- change to your email address
             p_from      => from_add,
             p_body      => l_temp_descrp,
             p_body_html     => l_temp_descrp,
             P_subj      => l_sub
    end loop;
    CLOSE C1;
    apex_mail.push_queue(
    P_SMTP_HOSTNAME => '11.1.9.2',
    P_SMTP_PORTNO => 25);
    UPDATE CRM_CAMPAIGN_MAS SET EXECUTE_STATUS='Y' WHERE CAMPAIGN_ID=:P221_X;
    END;Thanks & Regards
    Vedant

  • Mail not send to multiple users even Multiline container element has value

    Hi,
    I have collected the AGENTS to send mail notification in a multiline container element using a background step. The method collect the agent and return in to a container. I use this container in the following mail step using expression. The type id is 'G'. The mail step fails .The address string is filled also with agents.
    Please guide me if u have come across this situation early.
    Regards,
    Richard A

    I think if you are passing SAP User Id then the SAP User Id should be concatenated with US in the front.
    If this is maintained in the container element and if still send mail is failing then it might be that one of the USER Id does not exist in the system.
    Hope this helps.
    Thanks
    Arghadip

  • Sending Mail from workflow or updating container elements

    Dear friends,
    I'm new to work flow.
    My requirement: <b>send mail from workflow to a user after dead line is missed</b> I do not want to use messages in 'Latest end' tab. I want to send mail.
    The mail id of the user is determined in the previous step using a FM. How do I use this mail id to send the mail. I thought of using 'Rule' option in 'Send Mail' (and use same FM)but thats not possible. In that case how do I pass the mail id value to the WF container from the FM?
    I also tried this idea:
    created a task with BOR object SELFITEM, method 'SENDTASKDESCRIPTION' .
    *in an activity step used this task and filled the 'Rule' option in notification tab appropriately
    *in this case the WF goes into an error '.....error executing 'sendtaskdescription' .....'
    *i would prefer using the activity step because, the mail has to be sent after a delay
    Is there any other simple method to do this?
    My problem would be solved even if someone can show me how to transfer values from a FM into a WF container.
    Can someone please explain?

    Reposted under different thread

  • SEND Mail Step Mail body is not getting displayed in SOST Transaction

    Hi Gurus,
        I have a very strange problem. I have developed a workflow to send notifications.  My client wants to send notifications in different languages based on the user. If the users language is english, the notification mail should trigger in english. If the user's language is French, then the notification mail should trigger in French. like if the user's language is chinese, the notification should be in chinese.
         I have used the Standard text objects (SO10) and read the text based on language of the user into the workflow container element. We have passed that container element (which has the required text in users language) to text_lines in SEND MAIL step of the workflow.  I am getting the text in the correct language based on the user.
        When the mail triggers to user, the user is getting a blank email. There is no body/text in that email.  We have checked the SOST transaction and observed that the notification email doesnt have any body, even though we have the text in workflow log.   For the users who have the English language, they are getting the text in their mail, SOST and workflow log. Where as for the other languages (French, Chinese, Spanish etc...), they are getting the blank mail, (SOST doesnu2019t have body text) but in workflow log the correct text(based on user language) is getting displayed.
        I tested the same workflow in devlopment & quality, everything is working fine. All users (English & Non-English) getting mails in their respective languages. Where as in production, only for English users it is working, but for Non-English users it is not working.   I have compared all three environments workflow definitions and they are same. I do not understand why this is behaving differently in production. Could you please help me how do I resolve this issue. 
        May I know, does any one has faced similar issue. I request you to throw some light in this area.
       Thanks in advance.
    Regards,
    V.Nagaraju

    Hello,
    Interesting! That seems like a foolproof way to handle the language problem
    which can be a challenge in multi-language workflows. Please be sure to tell us
    how you solve this and what the cause was.
    You keep referring to the language of the "user". I assume you mean the
    mail recipient?
    You have to watch out with the workflow logs, they take the language settings
    of the person viewing it into account when displaying texts, unlike SOST.
    "I have used the Standard text objects (SO10) and read the text based on language of the user into the workflow container element"
    Which user actually executes the method to do this? Is it WF-BATCH?
    Are you using an actual SendMail step? And you reference the variable text_lines##
    in the task description?
    regards
    Rick Bakker
    hanabi technology

  • Container element value does not display

    Hi,
    I am facing a strange issue.
    There is one step in my custom workflow which sends sap mail. The subject of the e-mail has a container element &notif&. When I check the workflow log this container element gets set with a value just before this step and so I expect it to be displayed in the e-mail .
    But the issue is i am getting the mail in my inbox which says ....&notif& ......
    i.e Instead of displaying the value of this container it displays the text &notif&.
    The same container element is used in the same e-mail message body where it displays correctly.
    has anyone faced this kind of an issue before?
    Thanks,
    Simmi

    Yes it is set to Expression.
    This mail step was not created from scratch.
    I just changed a few texts in the subject of this Mail step in an already existing workflow without touching the container element in the subject. But after i did this change and tested teh workflow, the container element no longer displayed any value in the subject, but it does continue to show value in the message body.
    Any suggestions to solve towards this issue will be extremely helpful.
    Thanks,
    Simmi

  • Multiline table container element does not display the contents

    Hi Guys,
    I am sending an email from the workflow. The workflow has few steps and in one of the steps the the workflow brings in few lines of text. This text is then stored in a multiline container element in the workflow.
    later in the workflow i am sending an email and this sendmail step is using the multiline containter. So in the body of the email i have used the container as shown below
    Your expense for the trip &TRIPEXP.TRIPNUMBER& has been rejected.
    The Reason for rejection(s) mentioned below:
    &CATSXT_LONGTEXT_ITAB##&
    Please change and submit again.
    However when i recieve the email i dont see any text. But when i look at the workflow log and check the contents of this table under the workflow container elements it has the data in it.
    Not sure where i am going wrong. I have checked the bindings and they are fine.

    Thanks Arghadip,
    Yes that was the missing link.
    One question:
    When i use sendmail step and use the variable drop down box i can see the workflow container elements. So why do i need the same container element in the sendmail setp? I just now created same element in the sendmail task. When i am able to access the workflow container elements in the send mail step then why there is a need to create a same container element in the send mail step and then do the binding for it to work?

  • BPM - An empty container element was specified when sending

    Hello Experts,
    My BPM process looks as below:
    Receive -> Loop (execute if the status of IDoc is ERROR(E))--> Mapping ---> End Loop --> Send
    The message is failing in BPM workflow with the log: An empty container element was specified when sending
    Container  for receive and send stepe are different. IP in SXI_CACHE has process code 0.
    Mapping program is defined between the abstarct msg type of receive step and abstract msg type of Send step.
    Th message being processed has initial status as ERROR and after the mapping step is exceuted, it retrieves teh current status i.e SUCCESS. This ends the loop step and while tying to send the messgae to target system, this error occurs.
    Pls advice if I am missing anything.
    Thanks,
    Elizabeth.

    Go to transaction SWWL  , select your integration process instance and delete it
    Create your process with a new name and run the scenario again
    Re: Prob with Integration Process
    regards
    Ninad

  • When I send a mail from my iPhone, it displays the mail server name to the receiver if the mail and does nog display my name or e mail address. This only since upgrading my iPhone5 to iOS7

    When I send a mail from my iPhone, it displays the mail server name to the receiver if the mail and does not display my name or e mail address. This only since upgrading my iPhone5 to iOS7. I've checked all settings etc. anyone have a solution please?

    Rectory wrote:
    Please can someone tell me how  I can change this so when I send a mail from my phone and from the IPad that it reads from me.
    You need a separate email address but you've already ruled out that solution.

Maybe you are looking for