String type container element truncated in email

Hi Folks
In the email step of the workflow I have used a string type variable ( Notes of approver of ESS workflow ). The variable is populated completely in the container element in workflow log, but in the email body it's getting truncated after about 80 characters. I did apply the note 975947 but it did not help. Appreciate if anyone can let me know the fix for this.
Regards
Rajeev

I Know that EMAIL subject has a limitation upto 80 characters.
so you can do like this, create a internal table with one variable of 132 chanracters.
Pass this variable to that table.
so while inserting the table in email body, you will be asked to choose one of the options.
there you choose an with line break, it will appear in your editor as&it_tab##&.
Then definitely all the contents will be displayed.

Similar Messages

  • Container Element Text Being Truncated in Email

    Hello,
    If a user rejects a Purchase Requision, I have added a Hard Check (BADI)  that requires the user to enter a "Reason for Rejection."
    In my BOR (ZBUS2105) GET_DATA method, I retrieve the "Reason for Rejection" text and add it to the Container.
    In my "Send Rejection Email" step, I set the "Reason for Rejection" text in the email body.
    When the email is sent, only 76 chars of the "Reason for Rejection" text is transferred from the Container to the email, however, in SWIA (Workflow logs), I can clearly see that my Container element contains about 210 chars of text.
    Also, the "Reason for Rejection" Container element is defined as CHAR255 (max value size allowed by the Container).
    Does anyone know why the "Reason for Rejeciton" text would be getting truncated in the email?
    Thanks!

    Hi Matthew
    Try to have a look at oss notes 975947, 808259, they might help you solve this issue
    Regards
    Morten Nielsen

  • Container element is not being displayed in email

    Hi Experts,
      I inserted an element from container into email text as below
    The task has been pending in inbox for more than &ins_num& days.
    The value of &ins_num& in container is 9
    In output I get
    The task has been pending in inbox for more than  days.
    Please let me know what is wrong. The binding works fine. No error in workflow.
    Thanks.

    Hi Miak,
    Greetings..:-)
    > I inserted an element from container into email text as below
    > The task has been pending in inbox for more than &ins_num& days.
    > The value of &ins_num& in container is 9
    > In output I get
    > The task has been pending in inbox for more than days.
    > Please let me know what is wrong. The binding works fine. No error in workflow.
    Check on the Following things:->
    1> The Container Element has Initial Value defined, If Yes - it should symbolise in Green Colour.
         If 'Not', then check the WF Log and see whether this Container Element is fetching the Values orr   not.
    2> If the Values are not being Fetched, then the Problem lies with the Binding of these WF Containers.
    Let me know if you are still facing Issues.
    Regards,
    Kanika

  • Container element in BPM of type integer

    if i make a container element of type integer in my BPM, does it initiallize to some value

    Hi Pankaj,
    Check this out,
    http://help.sap.com/saphelp_nw2004s/helpdata/en/78/62373f58502e48e10000000a114084/content.htm
    Go to Assigning Values
    <i>At runtime, you can assign a value to a container element, for example to increase a counter or to append a message to a list of messages.</i>
    Also refer this
    http://help.sap.com/saphelp_nw2004s/helpdata/en/59/e1283f2bbad036e10000000a114084/frameset.htm
    <i>[Reward if useful]</i>
    Regards,
    Prateek

  • JAXB unmarshalling error for " " token as part of xsd:string type element

    JAXB unmarshalling error for "<" token as part of xsd:string type element
    We are getting a JAXB unmarshalling error:
    while processing the following <condition> tag which is of type xsd:string
    <condition> x < 100 </condition>
    The error is probably happening due to "<" token as a part of string type.
    xml.bind.JAXBException: Unexpected error in Unmarshalling
    at oracle.xml.jaxb.JaxbUnmarshaller.unmarshal(JaxbUnmarshaller.java:224)
    Any ideas how to resolve this issue?
    Note
    <condition> x > 100 </condition> is getting unmarshalled successfully by JAXB unmarshaller.
    Thanks

    Hi,
    Did you tried to put & lt; (without space) instead of < ?
    Best Regards,
    Paweł

  • Output of multiline container element in email not working

    I'm trying to display a multiline container element in an e-mail from workflow. The element container contains 2 lines. I can see these have been populated in the log in SWIA. However, when using &ITAB##& to output these lines nothing is diplayed. I've also tried &ITAB[]& and &ITAB& all of which return no lines in the e-mail.
    Does anyone know if this is something I'm doing wrong or is there an error in R/3. I'm on release 4.6c.
    Thanks
    Karen

    This is getting annoying. This was sednging e-mails and printing the table in the e-mail fine. Then I had to add more fields to the table ITAB. After this the table wasn't showing again in the e-mail. I recreated the workflow, tasks and even the BOM, but still nothing.
    As before I can see the ITAB entries in the details of the e-mail task. But, they don't get written into the e-mail even though I'm selecting &ITAB##& from the Expressions section to put into the e-mail.
    Is there anything I haven't tried. Is there something I'm doing wrong? Is this a SAP problem that can be fixed with a note. I've had a look, but can't find anything about it.
    Thanks
    Karen

  • Regarding Create container element ....in ......RWB.

    Hi All,
    can  anybody have a idea about say  while  creating a new container element by clicking CREATE button in container we have several options like
    Element:
    name:
    short descreption:
    object type :
    ABAP dict reference:
      structure:
      field:
    ABAP dict datatype:
      table name:
    what details i need to fill here .........(as i am trying to send alert using BPM for this i am configuring all Alert steps in RWB)
    Regards,
    Azeez

    Hi chirag,
    can i have ur email id so that i can explain in breif about my sceanrio and kind of errors i am looking for it would be very help full .....my email id
    thanks for the reponces.
    Regards,
    Azeez
    Please read the Forum's Rules of Engagement,
    i.e.,
    [/thread/117188 [original link is broken];
    and refrain from using email correspondence as the main objective of the Forums is to share knowledge.
    SDN PI/XI Forum Moderator
    Edited by: Kenny Scott on Mar 3, 2008 6:09 PM

  • 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

  • How to pass value to Multiline container element in workflow ?

    Dear Experts,
    I am using the BAPI "SAP_WAPI_WRITE_CONTAINER" to write into the workitem container elements. now i want to write the data into a multiline container element. i am unable to do the same. please guide me how to write the data into multiline container.
    I am getting the data from portal so i am using the BAPI to populate the container.
    Please help me out...
    Thanks & Regards
    Nigesh

    Hi,
    Use the following code:
    DATA:  lv_text             TYPE        string,
              lt_cont_vals        TYPE        swconttab,
              lt_cont_defs        TYPE        swbconttab,
              lo_oref             TYPE REF TO cx_root,
              lo_workitm_cntxt    TYPE REF TO cl_swf_run_workitem_context,
              lo_wi_conv          TYPE REF TO if_swf_cnt_conversion,
              lo_wi_cnt           TYPE REF TO cl_swf_cnt_container,
              lif_wi_cnt          TYPE REF TO if_swf_ifs_parameter_container,
              lo_exception_return TYPE REF TO cx_swf_cnt_container.
    ***--- Get work Item Context
       TRY.
           CALL METHOD cl_swf_run_workitem_context=>get_instance
             EXPORTING
               im_wiid     = im_wi_id
             RECEIVING
               re_instance = lo_workitm_cntxt.
         CATCH cx_swf_run_wim INTO lo_oref.
           lv_text = lo_oref->get_text( ).
       ENDTRY.
    ***--- Get Instance of the work Item Container
       CALL METHOD lo_workitm_cntxt->if_wapi_workitem_context~get_wi_container
         RECEIVING
           re_container = lif_wi_cnt.
    ***--- Type casting work item container into class CL_SWF_CNT_CONTAINRER
       lo_wi_cnt ?= lif_wi_cnt.
    ***-- Set the value
       TRY.
           lo_wi_cnt->if_swf_cnt_element_access_1~element_set_value(
             EXPORTING
               name             =  'ITEM'
               value            =  t_item[]
         CATCH cx_swf_cnt_cont_access_denied.    " Change Access to Container Not Allowed
         CATCH cx_swf_cnt_elem_not_found.    " Element Not Found
         CATCH cx_swf_cnt_elem_access_denied.    " Element Must Not Be Changed
         CATCH cx_swf_cnt_elem_type_conflict.    " Type Conflict Between Value and Current Parameter
         CATCH cx_swf_cnt_unit_type_conflict.    " Type Conflict Between Unit and Current Parameter
         CATCH cx_swf_cnt_elem_def_invalid.    " Element Definition (For Example, Type Name) Is Invalid
         CATCH cx_swf_cnt_invalid_qname.    " Qualified Name Invalid/Already Being Used
         CATCH cx_swf_cnt_container.    " Exception in the Container Service
       ENDTRY.
    * VERY IMPORTANT -- Save changes to DB
       TRY.
           lo_wi_cnt->save_to_database( ).
         CATCH cx_swf_cnt_invalid_por.    " Invalid Persistent Object Reference
       ENDTRY.
       lo_workitm_cntxt->publish( ).
       COMMIT WORK AND WAIT.

  • XSD string type - nillable

    Hello,
    I've generated proxy structure from WSDL file,
    everything work fine, but when i'm using methods that contains element
    defined in WSDL like this:
    <xsd:element minOccurs="0" name="operationResultCode" nillable="true" type="xsd:string"/>
    i'm getting error:
    Error during XML => ABAP conversion (Response Message; error ID: CX_ST_MATCH_TYPE...System expected a value for the type g)
    It's defined as STRING in both: proxy structure and WSDL file.
    Is it because of the 'nillable' parameter ??? Because this variable "operationResultCode" 
    comes back empty...
    Can I check somehow if it's mandatory field in proxy structure ?
    Any sugestions ???

    Hello,
    I've generated proxy structure from WSDL file,
    everything work fine, but when i'm using methods that contains element
    defined in WSDL like this:
    <xsd:element minOccurs="0" name="operationResultCode" nillable="true" type="xsd:string"/>
    i'm getting error:
    Error during XML => ABAP conversion (Response Message; error ID: CX_ST_MATCH_TYPE...System expected a value for the type g)
    It's defined as STRING in both: proxy structure and WSDL file.
    Is it because of the 'nillable' parameter ??? Because this variable "operationResultCode" 
    comes back empty...
    Can I check somehow if it's mandatory field in proxy structure ?
    Any sugestions ???

  • How to determine worklfow container element  for BUS2031?

    Hai,
    I am new to W/F. I would like to know how to detemine workflow container element  for Customer Quotation generated(BUS2031)- [event] created.ie based on what?
    Example :&Jquotation&,&JtransactionCode& etc.....
    any screen shot docu for binding/import/export purpsoe.
    Points will be given.
    With Regards,Jaheer

    Hai Aditya,
    Thanks for your reply.
    yes . I want to know what base we can create container element.
    Flow is like this :somebody create quotation , it will for manager approval & finally goes(mail) to customer.
    For this I am using object type BUS2031. Now I want to create w/f container element(in workflow template).From BUS2031(customer quotation), I understand that I need to create one w/f container as &Quotation&.what are others container element I have to create. This is my questions.
    I hope now it is clear.
    If you have any workflow documents/sample please send it to me [email protected]
    With Regards,Jaheer.
    -Jaheer

  • Debug Container Element Transfer

    Dear all,
    In our scenario a String variable was sent to workflow as event container element. It is then transferred to a workflow container element. Then it is given to an element in a task container. But now the execution has some problem. How should I debug the workflow and find the runtime value of container elements?
    Thanks
    Jerome

    Shweta,
    Yes, the triggering event has the input for the workflow.
    I just catch the event trace. But cannot find the runtime value of event container elements there. Only the following information:
    Event Instance ID
    Object Type
    Object Key
    Event
    Event Creator
    Creation Time
    How can I make sure whether the event contains the correct value?
    Thanks, Jerome

  • Array of strings in container won't pass to array of strings in LabVIEW cluster

    I'm new to TestStand but am a CLD.  I've taken a 3-day custom course that covered most of TestStand Core 1 and some of Core 2.  I'm using TestStand 2013 and LabVIEW 2013.
    I have a VI that needs an input of a cluster containing, in this order:
    1D array of strings named Column_Labels
    2D array of doubles named Results_Data
    1D array of paths named Graphics_File_Paths
    1D array of booleans named Pass_Fail
    In TestStand I created a custom data type called Maxim_Results from the VI module tab in the sequence.  When I reference a local (MINSYS_Reuslts) that is made from this Type I get the following error:
    No corresponding subproperty in argument 'Locals.MINSYS_Results' of type 'Maxim_Results' for cluster element 'Maxim_Results.Column_Labels'
    If, however, I reference each container element to each cluster element separatley there is no error:
    Can anyone help me understand why this is happening?
    Kelly Bersch
    Certified LabVIEW Developer
    Kudos are always welcome
    Solved!
    Go to Solution.

    Hey Kelly,
    I just set up the situation you described, and it worked properly for me. However, I did notice that in your example where you referenced each element individually, your Column_Labels element is actually called "Column_Lables". If this was also misspelled in the LabVIEW Cluster Passing setting for the custom type, it would cause the behavior you're seeing. Could this possibly be the case?
    Daniel E.
    TestStand Product Support Engineer
    National Instruments

  • 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

  • Error while creating container Element in WF

    Hi,
    I have created a container element with field vbeln, and specified an initial value. Created mail step and activated it.  I have given the mail subject and content  as "value given : &vbeln&".  When I try to test this I couldn't find the container element in " Input Data" tab  of the Test Data and getting the message as "Contnr elem. VBELN  is for read purposes only. No values are assigned to it." 
    Could anyone suggest me to correct this, because I am new to WF.
    Thanks,
    AA

    Hi AA,
    You would probably need to create more than one containers.
    In workflows, we have following types of containers:
    1. Workflow container
    2. Task Container
    3. Event Container
    Now, since you need the element VBELN, try the following:
    1. Create a WF container for VBELN. Make it as both input and output parameter.
    2. Create a container for the Mail Step, again with VBELN field as an input parameter.
    3. There would be a button for binding in the mailstep. Bind the Field VBELN from Work flow container to the Mail Step container.
    Once binding is done, save it and Activate the Workflow.
    Hope this helps.
    Do get back in case of any issues.
    Regards,
    Sonal

Maybe you are looking for

  • Safari crashes when I try to print

    Every time time I try to print, Safari shuts down. For example, when I select File/Print, Safari shuts down completely. Any suggestions? Thanks.

  • Total of numeric fields in the first line of ALV output

    Hi All, i have a problem it is like i have created ALV list display and total is dipalyed of numeric column  for each page. my requirement is total should be diaplyed at the end of page plus toal should be diaplyed on the first line of second page al

  • IPhone does not show album artwork for some songs!

    My iPhone recently stopped showing album artwork for newly added music.... I tried to add the album artwork thousand time but no use... Restore didnt help as well... Any solutions?

  • GP - Sequential Block Problem with input structure

    Hi all My scenario is as follows: I have three Actions A1 , A2, A3 every action has collable object of type WebDynproComponent : CO1 CO2 CO3 CO1 has only output parameters that i have mapped to input parameters of CO2 .  Output parameters of CO2 are

  • Negative Sign in Debit (Outgoing Payment)

    Dear Experts, I have a problem where the in outgoing Payment (overpaid) showing negative sign in Debit side(- $0.50) , for accounting standard it should be show RM0.50 in Credit side JE if it's overpaid. Because of this, it effected the display on Ge