New line formatting required in document template step in workflow

Dear all,
         I use document template step in workflow.
         In the document template step ,I use MS-Word as document class.
         I have to populate all employee names in the word document whose probation expires on a particular date.
         When my workflow attains execution, all employee names appear in single line in the word document.
         I want each employee name to appear in one line i.e., in new line in the word document.
         Is there any ABAP data dictionary type for new line?
        Please suggest me a solution to this problem.
Thanks and regards,
S.Suresh

Dear Raj!
          Thanks for your immediate response.
          I populate all employee names using custom method in the BOR zbus1065.All these employee names are inturn passed to multiline workflow container which in turn passed to word document.
          I did binding as following in the word document  of document template step:
Following employee probation expires shortly
                     {&EMPLOYEENAME&}
          Though I am getting all employee names,all the employee names appear in single line.
           I want each employee name to appear in new line.
          Please suggest solution for which I will be grateful.
Thanks and regards,
S.Suresh

Similar Messages

  • To add new Line Items in Accounting Document using BTE

    Hi,
    We have a requirement to add new GL line items while doing PGI through VL02N. The requirement is as below. Please confirm, if we can use BTE 1120 for this and if yes, how to use it to add new line items.
    Orig line items:
    Item PK Acct No USD
    001 99 12200 565.00
    002 81 40000 565.00
    New DESIRED line items:
    Item PK Acct No USD
    001 99 12200 565.00
    002 81 40000 565.00
    003 91 40000 565.00
    004 81 40001 565.00
    Regards
    Sai

    Hi,
    I need to add new line items previously to save the FI document too.
    Could you explain how we can use BTE 1120 to change or add new lines, please?
    I have done a test but it don't work:
    (Function open_fi_perform_00001120_p)
    L_BSEG[] = T_BSEG[].
    Call to the function that handle the BTE, with L_BSEG[] parameter.
    T_BSEG[]  = L_BSEG[].                                "Note 996552
    Then our new values in T_BSEG table are replace for the original table, and our changes are be deleted.
    Thanks in advance,
    Susana

  • How to add new line items to FI document

    Hi,
    When doing a Post Goods Issue From VL02N I need to add a new line item to the posted FI document.  BADI AC_DOCUMENT allows you to change the FI document, but it doesn't appear to allow you to add any new lines.  In fact the Exporting parameter EX_DOCUMENT-item doesn't even have all of the line item fields like the GL account(hkont).  Can the item component be extended to add the other item fields?
    Or is it best to use a Business Transaction Event such as Process 1120??
    Thanks for any and all advice!
    Doug Crabtree

    Hi Chris,
    The $20 difference represents a variance between what is the Material Master standard price and and another price that is maintained because of the current rapidly escalating commodity prices.  This amount and cost center to post it to has to be determined dynamically at posting time from VL02N.  Finance wants to be able to post this variance to account 40100 to be able to track this.  Our FI analyst has determined that this isn't possible using config. 
    A possible solution is to create a custom program to post an additional FI doc using a BAPI with the additional line item and run it as a periodic job, however a real-time solution would be preferred.
    There are BADI's and substitutions to substitute values, but I haven't found any great way to add additional line items.  Even several BTE's I have looked at such as PROCESS_00001120 say not to change bseg lines. 
    Any help or advice would be greatly appreciated.  Thanks.
    Doug

  • Delete existing document templates from a workflow pattern

    Hi folks,
    I have a workflow that uses the step that creates a document from a template (MS Word). Now I want to delete two of these templates and don´t want them to appear anymore when that workflow is being executed.
    So i deleted the template from the workflow and also from the binding to the step.
    I even deleted the template using the report RSWUODEL. But the "deleted" template still appears when the workflow is called.
    I also tried to make a new version of the workflow: no use.
    How can i get rid of these templates?
    Background: I am in an IS-U system (ERP) and the workflow is called by a front office process out of the CIC.
    Any help is welcome!
    Holger

    Deleted the whole step that creates the document. Created new step to create the MS document, defined the binding new.

  • How to send mails in HTML format from the send mail step of workflow?

    Hi,
    I have a requirement where I need to send mails in the html format from the send mail step of the workflows.
    But what I found out that the html tags are not renderd and as such the output is in plain text.
    I know that there is an alternative of using an activity step and use my own custom code from within there,But due to certain business constraints, I need to use the send mail step only.
    My SCOT settings are all right.
    Please let me know how it can be done.
    Thanks,
    Samrat.

    Samrat,
    It can't be done, you have to use your own activity step.
    What are these constraints that refrain you from doing that?
    Rgds,
    Patrick

  • Yet another new line formatting problemo guys :(

    Hi guys
    I have a standard xml document. A few tags in the document include quite a lot of text. for e.g
    <ExampleTag>
    1 first line
    2 second line
    3 third line
    </ExampleTag>
    Now when I convert this using xml spy(with an xslt transform template) into an html document, the html output looks like:
    1 first line 2 second line 3 third line
    As you can see the formatting is lost. How do I tackle this????
    Should I check for '&#10' character and then replace it with </br> html style? and if so then how??
    Also as the document is very large I just want to make the check for just one specific tag which would contain a lot of text.

    How to replace newlines by <br> elements when using XSLT to produce HTML... that's got to be an FAQ. Here's an entry from the XSLT FAQ that shows how to do that sort of string replacement:
    http://www.dpawson.co.uk/xsl/sect2/StringReplace.html

  • How do I create a new line in a pdf document?

    Hello,
    What I am doing is taking a compilation of information from multiple tables, displaying it in a textarea, allowing a user to change the information that is present in the text area if they wish, and then allowing them to create a pdf file. I am able to do everything except that when the pdf file is created, there is no new like created when the pdf doc is created. I can display multiple lines by using:
    <textarea name="all_content" cols="100" rows="30"><?php
            echo $row_getAllCont['first_name'].' '.$row_getAllCont['last_name']."\n";
            echo $row_getAllCont['email'];
            ?></textarea>
    <?php $_POST['all_content'] = nl2br($_POST['all_content']); ?>
    Then create the pdf doc by using:
    $newpdf = pdf_new();
    pdf_open_file($newpdf, "");
    pdf_set_info($newpdf, "Creator", "Me");
    pdf_set_info($newpdf, "Author", "Me");
    pdf_set_info($newpdf, "Title", "Tryal");
    pdf_set_info($newpdf, "Subject", "tryal");
    pdf_begin_page($newpdf, 595, 842);
    $newfont = pdf_findfont($newpdf, "Times-Roman", "host", 0);
    pdf_setfont($newpdf, $newfont, 10);
    pdf_show_xy($newpdf, $_POST['all_content'], 50, 750);
    pdf_end_page($newpdf);
    pdf_close($newpdf);
    $newbuf = pdf_get_buffer($newpdf);
    $newlen = strlen($newbuf);
    header("Content-type: application/pdf");
    header("Content-Length: $newlen");
    header("Content-Disposition: inline; filename=gen06.pdf");
    print $newbuf;
    pdf_delete($newpdf);
    ?>
    The problem is, when I want to display the first name and last name, and then email in the pdf, I want the email to display on another line only if email isn't set to NULL. I can get it to display in a webpage using the nl2br function but that doesn't work in pdf. Any ideas how to make this work?
    Thanks,
    Kelsey

    Hi Robert,
    Welcome!
    I see you are subscribed to our PDF Pack service.
    Check out this FAQ to help get you started!
    Let me know if this helps.
    Looking forward to hearing back from you!
    Kind regards, Stacy

  • About document template

    Hi,
    Can anybody pls elaborate about the document template step in a workflow.
    Cheers,
    Sukumar.

    You use this step type to enable the work item recipient to create a document based on a document template of a PC application (Currently Adobe Designer and MS Office suite). You can transfer values from container elements of the workflow container (Multiline elements are not supported) to the template.
    Please read the online help for more info. You can<a href="http://help.sap.com/saphelp_470/helpdata/en/a2/560b37e54d4330e10000009b38f889/frameset.htm">start here</a>.
    Cheers,
    Ramki Maley.

  • Using a PDF as a Document Template in SharePoint 2010: "New Document" icon and action

    Hi,
    I have to create a document template in SharePoint 2010 using a PDF. After much searching I have learned to install Reader on the SharePoint server to bring in AcroPDF.dll
    and set the OpenControl for PDFs in DOCICON.xml to be "AdobeAcrobat.OpenDocuments".
    After taking these steps I can check PDFs in and out of SharePoint, and edit PDFs as I would edit an MS Office document.
    However two problems remain with creating new documents based upon a PDF document template.
    1) The PDF icon does not appear in the New Document dropdown. This makes sense since I never referenced a 32x32 icon in the SharePoint config files. Where would I place the icon image file and which configuration file would I edit to use that image file, and how?
    The last three document templates are PDFs.
    The second problem I face is that when I click one of the document templates above that is a PDF, nothing happens. I have tried this with Acrobat installed on both the client and the server. It would be preferable to insert a copy of the PDF document used as a template without having to use Acrobat at all.
    Is there any resolution to either of these problems?

    According to what i found the image needs to be 16x16.
    See if this works.
    Edit the DOCICON.XML file to include the PDF icon
    In Windows Explorer, navigate to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML
    Edit the DOCICON.XML file (I open it in NotePad, you can also use the built-in XML Editor)
    Ignore the section <ByProgID> and scroll down to the <ByExtension> section of the file
    Within the <ByExtension> section, insert a <Mapping Key=”pdf” Value=”pdficon_small.gif” /> attribute. The easiest way is to copy an existing one – I usually just copy the line that starts <Mapping Key=”png”… and replace the parameters for Key and Value (see image below for example).
    Note: Do not take shortcuts and copy/paste from here. 99% of problems with PDF icons not being displayed are due to errors made in the DOCICON.XML file
    Save and close the file
    Source:
    http://www.sharepointsharon.com/2010/03/sharepoint-2010-and-adobe-pdf/

  • How To Add Line Items to Workflow Document Template

    Hi Gurus,
    ive made a Workflow which has few containers referencing VBKPF, VBSEGS, and constructed two methods which one of them gets the table VBKPF data into MyStructure and the second the data into MyStructure2.
    Inside of the workflow i made two container operations and assigned those two methods to VBKPF and VBSEGS containers.
    The Problem is that VBSEGS is a (multi) line item table and it doesnt show me the data inside of the document template.
    What could be the solution for this scenario
    Thanks, Points for Reward

    Hi,
    i checked the swo1 methods and it looks good. I didnt change the binding that ive implemented, and some values are getting showed, but still they do not correspond to the BO element (concerning Acct.Doc.Nr)
    My binding is:
    Display Document Task:
    #######Workflow -> Step Display Parked Doc
    **************BO FIPP -> &_WI_OBJECT_ID&
    #######Workflow <- Step Display Parked Doc
    **************Empty
    Document Template:
    #######Workflow -> Step Create Doc From Template
    **************&_WORKITEM& -> &FLOWITEM&
    **************DC8BA2ADFCEA4EF18D2F00145EDCE7A4 -> &TEMPLATE&
    #######Workflow <- Step Create Doc From Template
    **************&WF_DOCUMENT_0001& <- &_WI_OBJECT_ID&
    **************&_WF_INITIATOR& <- &_WI_ACTUAL_AGENT&
    As ive explained earlier i have a Container VBSEGS with abap table vbsegs, which is filled using method ReturnMe2 with MyStruct2 structure.
    Regards
    Laurynas Prikockis

  • New Line Character in OSB for sending email in proper format

    Hi
    We have a client requirement, where in we send an error email when ever an exception occurs in the OSB flow. We are using OSB 11g and we need to format the body within or before the publish activity using a replace activity something in the below manner (replace . in variable body (replace node contents))
    fn:concat("Following Exception Occurred <NEW LINE>","ErrorCode: ",fn:data($fault/ctx.errorCode) etc etc)
    Please tell us if there is a new line character available within OSB to format the email message. Please help its urgent. Thanks

    Thanks a lot for the reply, but still in the email body, i see everything in one line (no enter0). I tried " ","",\n and CHR(13). All dont seem to work.
    Also can you provide an example for &#13: (Ampersandhash13colon)
    Please help.
    Regards
    Amit Sachdev
    Edited by: user638094 on Mar 8, 2011 12:01 AM

  • Document template - text lines

    Hi,
    I have created a multine virtual attribute which is filled with text lines (from a PO).
    I want to show these lines in a document template. It works but the lines are shown like this:
    Line1Line2Line3
    In the document template (word document) I want to show it like this:
    Line1
    Line2
    Line3
    How do I force a line-break?
    I'm quite new in WF so i probably made some basic mistake.
    Any help is welcome !
    bert

    Bert,
    What Aman mentioned is not available for Word Document Templates. I am not sure if this will work but try to introduce a linebreak character at the end of each line of the multiline container element. You could try that in the method that populates the multiline container or have a new background method.
    You can try the following code (I have not checked the syntax).
      DATA:
        l_crlf(2).
      FIELD-SYMBOLS:
        <line>  TYPE t_line. "table type of the text
      l_crlf = cl_abap_char_utilities=>cr_lf.
      LOOP AT it_line ASSIGNING <line>.
        CONCATENATE <line> l_crlf INTO <line>.
      ENDLOOP.
    Cheers,
    Ramki.

  • Edit "New Document-template"

    Ik work with Dreamweaver a lot (CS3) and I create a lot of
    sites. Every site though, has the same folder structure.
    Is there a way to edit the "New Document" template for let's
    say... default css/javascript includes (link and script tags) and
    just a basic html layout (wrapper, header divs, etc...).
    I was also wondering if it is possible to automatically
    create a standard folder structure when setting up a new site
    inside DW? I always have the same structure so it would be great if
    I could skip the step to create those manually.
    Greetz,
    Wizz

    > Is there a way to edit the "New Document" template for
    let's say...
    > default
    > css/javascript includes (link and script tags) and just
    a basic html
    > layout
    > (wrapper, header divs, etc...).
    Huh?
    When you do FILE | New > Basic HTML, you want the page
    that opens to contain
    all of your standard stuff? Sure - you can do that. What is
    your OS?
    > I was also wondering if it is possible to automatically
    create a standard
    > folder structure when setting up a new site inside DW? I
    always have the
    > same
    > structure so it would be great if I could skip the step
    to create those
    > manually.
    I don't know any way to do that.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "CssWizz" <[email protected]> wrote in
    message
    news:f39hp6$dkh$[email protected]..
    > Ik work with Dreamweaver a lot (CS3) and I create a lot
    of sites. Every
    > site
    > though, has the same folder structure.
    >
    > Is there a way to edit the "New Document" template for
    let's say...
    > default
    > css/javascript includes (link and script tags) and just
    a basic html
    > layout
    > (wrapper, header divs, etc...).
    >
    > I was also wondering if it is possible to automatically
    create a standard
    > folder structure when setting up a new site inside DW? I
    always have the
    > same
    > structure so it would be great if I could skip the step
    to create those
    > manually.
    >
    > Greetz,
    >
    > Wizz
    >

  • Problem is occurring in docx format; it is not printing "New Line" character in extracted txt using IFilter (offfiltx.dll) while with doc file IFilter (OffFilt.dll) is working fine.

    Problem: Problem
    is occurring in docx format; it is not printing “New Line” character in extracted txt using IFilter (offfiltx.dll) while with doc file IFilter (OffFilt.dll) is working fine.
    Environment: -
    Operating
    System:
    Windows XP SP2/7
    Language:
    C#
    MS
    Office Version: - MS Office 2007/2010/2013
    Problem
    Description: -
    We
    havedocx
    file with new line character, and we are processing this file in IFilter for extracting text, and it is giving output with concatenation of lines.
    Docx
    file format (Sample.docx)
    Test this music
    Word processing
    Testing docx file
    Output:
    - Test this music Word processing Testing docx file
    Requirement:
    - We
    have requirement to get following text in particular format with New Line from docx because client is using docx format only.
    Test this music
    Word processing
    Testing docx file
    Attempt:
    We have tried a lot after changing IFilter configuration,
    but it is not giving required output. Then we saved same file in doc format (Sample.doc), which is giving required output.
    Because it is application specific problem, kindly
    assist to resolve issue on priority. We are sharing IFilter paths for extracting text for doc and docx.
    Doc Filter Location: - %systemroot%\system32\OffFilt.dll
    Docx Filter Location: - <Drive>:\PROGRA~1\COMMON~1\MICROS~1\Filters\offfiltx.dll
    Code Snippet for setting property of filter
    internal static IFilter LoadAndInitIFilter(string fileName, string extension)
                IFilter filter
    = LoadIFilter(extension);
                if (filter
    == null)
                    return null;
                IPersistFile persistFile
    = (filter as IPersistFile);
                if (persistFile
    != null)
    persistFile.Load(fileName, 0);
                    IFILTER_FLAGS flags;
                    IFILTER_INIT iflags
    =
                                IFILTER_INIT.CANON_HYPHENS
    |
                                IFILTER_INIT.CANON_PARAGRAPHS
    |
                                IFILTER_INIT.CANON_SPACES
    |
                                IFILTER_INIT.APPLY_INDEX_ATTRIBUTES
    |
                                IFILTER_INIT.HARD_LINE_BREAKS
    |
                                IFILTER_INIT.FILTER_OWNED_VALUE_OK;
                    if (filter.Init(iflags,
    0, IntPtr.Zero, out flags)
    ==IFilterReturnCode.S_OK)
                        return filter;
                Marshal.ReleaseComObject(filter);
                return null;
    Kindly
    assist to resolve this issue and also let us know if any input is required.
    For any help, we would be really
    thankful.

    Kindly
    assist to resolve this issue and also let us know if any input is required.
    For any help, we
    would be really thankful.

  • Use a pdf as a document template, New Document icon and action

    I am looking to use an editable pdf as a new document template for a content type.  I uploaded the pdf successfully, but when I select the new document from the template options, it attempts to open the pdf, and then provides the error message:
    Message from webpage
    The document could not be created. 
    The required application may not be installed properly, or the template for this document library cannot be opened.
    Please try the following:
    1. Check the General Settings for this document library for the name of the template, and install the application necessary for opening the template. If the application was set to install on first use, run the application and then try creating a new document
    again.
    2.  If you have permission to modify this document library, go to General Settings for the library and configure a new template.
    OK   
    I have already setup the docicon.xml with the following entry for pdf's:
    <Mapping Key="pdf" Value="pdficon_small.gif"/>
    PDF's are behaving appropriately throughout the environment, but I am unable to get the 'New Document' from a pdf template functioning.  Does this capability exist?
    Thanks!
    Jesse
    Jesse A. Brandenburg

    For Content Types, it only recognizes Office document types. In order to add PDFs, you would need to build a custom solution or purchase a 3rd party product (such as http://www.pdfshareforms.com/pdf-share-forms-enterprise/).
    See also:
    http://sharepoint20.blogspot.com/2012/08/how-to-use-pdf-as-sharepoint-content.html
    http://social.technet.microsoft.com/Forums/en-US/985bf92c-a718-4a90-ae95-b22600a75227/pdf-form-as-content-type-for-sharepoint-document-library?forum=sharepointgenerallegacy
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Maybe you are looking for

  • Send Email from approval task form

    In my reusable workflow, I have added an approval action. Everything works perfectly. What I want is - When approver comes to approval form, he should be able to send notification email to the initiator (From that form) that he has started working on

  • IPod playlists ain't cooperatin'

    I had a two year old iPod and when I would make a smart a playlist (on my iPod) and say -- sort by year, when I would view the playlist on my iPod (away from the computer) the playlist would be in the same order (sorted by year) So today, I get a bra

  • I only have one HDMI port on TV and it is in use?

    I only have one HDMI port and it is being used. How do I hook up Apple TV?

  • Does QuickTime Pro convert an ISO DVD movie to an mp4?

    I'm thinking about purchasing the Pro version of QuickTime; but what I REALLY want to do is convert some ISO DVD Image files to the QuickTime mp4 format so I can put it on my iPod or view it with my AppleTV. Does anyone out there know if this is poss

  • Sharing PC and MAC

    Hello... There is a problem on SHARING FILEFROM PC TO MAC and FROM MAC TO PC... After update MAC OS X MOUNTAIN LION, on PC is installed Windows 7 the problem is don't work sharing, that is is work only see the icon, but clicking on icon, there is a w