Multiline variables are truncated in a Word task " Document from template"

Hi everyone,
I’d like to know if somebody have had the situation described below and how can I solve it.
The problem is when I try to write in a word document (task created as a Document from template) a container element declared as a Abap dictionary referenced as TLINE-TDLINE (Char 132) with multiline flag activated, because when this variable has more than 3 lines during the execution of the workflow, the word document doesn’t gets the  whole value, it means the value is truncated and the word document just write or get 2 and a half lines (almost 350 or 400 characters)  and I don’t know why the rest of the value of this variable is missed.
Does somebody knows what could be happen?, Does SAP have some kind of limit of the amount of characters to be written in a word document with a multiline variable? There’s a bug in the system and a “note”  to be applied? What can I do to write a variable wit multiple number of lines without missing any one?
Thanks  a lot for your help.

I have had a formal answer from SAP (OSS Note) for this issue, and It is no good at all to me (notes 375669, 559234, 724755);
1.     There’s a restriction on the length for text variables 80 characters
2.     to implement a long text you need to put several variables together
If any one has another solution, I would appreciate your comments.
Thanks a lot
Felipe Uribe

Similar Messages

  • Time out when trying to open Word/Excel document from portal

    Several of our users have been timing out when trying to open/download documents stored in our portal.
    The error message is "Download failed. Connection to server was reset."
    Is there some obvious setting that I am missing here?
    It happens with things as small as 200K - Word and Excel documents.
    thanks!!

    Hi Gary Jiang,
    Thanks for posting in MSDN forum.
    This forum is for developers discussing issues about
    apps for Office.
    Based on the description, it seems that you got an issue when you deploy the code sample. If I understood clearly, I suggest that you contact the author of the code sample from the "Q and A" tab.
    Also if you have the question about WOPI, I suggest that you get more effective response from
    Office
    Protocols forum.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Generating Word 2007 document from RH X5

    Is there a work-around for generating printed documetation in
    RH X5 with Word 2007? If not, is there a version that is compatible
    with Word 2007?

    Welcome to the forum.
    No and No.
    The next version of RoboHelp will work with Word 2007 but
    there is no release date yet.

  • How to print my microsoft word 2010 document from my hp photosmart c4780

    I just installed microsoft professional office to my hp Pavilion g7-1167 dx Notebook PC.  I created a document using microsoft word, and when I print it, it only prints part of each page.  Do I need an update for my printer?  Or is there another way to fix this?

    Download and install the latest software for your printer from the "Support & Drivers" link at the top of this page.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • To save a word/xls document from server machine to client

    Hi Folks,
    I am facing a problem in storing a document from server to client machine.
    I have a document in Oracle database BLOB column and i am able to read and open that document in client browser. But it is stored in the server machine when accessing from the client browser it is opening as a read only copy.
    I want to open it as editable copy in client machine and once it is edited i want to save back to the databse. But it can be stored in server or client machine without promting to the user.
    Any one can help me?
    Senthil

    Hi, I am wondering whether this will take time for a document/image which is about 3, 4 MB??? Cos customer has to scan documents one by one and the saving of the file in the DB and then using that to transfer to MSMQ (which is the requirement) should take less time than scanning 2 documents.

  • Write to word document from oracle plsql

    Hi,
    Please provide methods to create and write to a word document from ORACLE PLSQL.We tried using UTL FILE package but it writes as ascii text.

    Divs wrote:
    The server m/c operating system is unix.so we need to invoke the procedure from Unix Os.In that case - not possible. For Windows COM (Component Object Model) to work, Oracle database need to be able to call and load the COM dynamic link libraries.
    Not to say that it is not possible. Have never used DCOM (the Distributed COM interface), and not exactly sure what it requires. Assuming that DCOM is not usable from a Linux perspective, you can still provide a manual interface. You create a NT tcp/ip service that exposes the COM interface calls that you need - in a secure fashion (even better - you can provide a higher level abstraction layer for the COM interface that does the specific job you need to be done).
    From Oracle you can then use PL/SQL's UTL_TCP package to open a connection to it and via this service craft a Word document on that Windows server.
    Are there web services for MS Office? I know Google is pushing that aspect hard (and embroiled in lawsuits with the US government and Microsoft about tender awards in this aspect). Now if Microsoft has "+office-on-the-web+", then one can create a Word document via a web browser. This means that there is an underlying web service - and that this can be called and used. The Evolution (Open Source Mail Reader) project for example uses the MS Exchange web service interface to provide a seamless interface to Exchange mail accounts (have used this everyday for a number of years now).
    The real question I would however ask is why Word specifically? Why not a more common format like PDF? You can even consider generating XML instead. Both Microsoft and Open Office and others are supporting XML formatted word processing documents (as oppose to older proprietary and binary formats).
    And why not use a Report Writer? I'm a big fan of doing as much as possible in Oracle (using PL/SQL most of the time). But certain things, like generating Word-style documents would be better done (and more flexible too) using a Report Writer.

  • Word Perfect documents to iMac

    I need to transfer my word perfect documents from my old Windows XP to my new mac. I have already burned a cd with documents saved as .wpd It is not working. How do you make the switch?

    Hi burton2,
    Try icWord or NeoOffice, both very friendly priced alternatives to Microsoft's big artillery:
    http://www.panergy-software.com/products/lp/we/gn_op.html
    http://www.neooffice.org/neojava/en/index.php
    They should be able to open your Word Perfect files.
    Axel

  • What are the attributes available on Task Status Notification?

    Hi,
    I need to send the information below when a task is completed or rejected. So I would like to know if they are available. I think so because I've got them from Task Status Notification (OIM standard email definition). If not, what are the attributes available on Task Notification?
    <Tasks.Task Name> is <Task Details.Status>.
    <Task Details.Status>
    <Resource.Resource Name>
    Target User: <Users.First Name> <Users.Last Name> [<Users.User ID>]
    Assigned to: <Task Information.Assignee First Name> <Task Information.Assignee Last Name> [<Task Information.Assignee User ID>]
    Response Code : <Responses.Response>
    Response Description : <Responses.Description>
    Error Details : <Task Details.Reason>
    Thanks,
    Renato.
    Hi,
    I have implemented some java code to workaround the problem below... But I don't believe this does'n work in OIM :-):-):-):-) Please, tell me if you are using task status notification in OIM and if your email defintion has the variables below.
    Thanks,
    Hi,
    One of OIM email templates is Task Status Email Notification. I am trying to notify the user (Notification tab) using this template but it didn't work. Even when I set the Object Name and Process Name values for an email definition, it does not work.
    How have you implemented task status notification in your workflows? I think if this template exists in OIM, by default, so it is posible to have the information below during notifications.
    I think I'll have to call Oracle's Support.
    =======================================================
    Subject: Process task <Tasks.Task Name> is <Task Details.Status>.
    Body:
    The Process task <Tasks.Task Name> is <Task Details.Status>.
    The details of this process task are as follows:
    Process Task Name: <Tasks.Task Name>
    Process Task Status: <Task Details.Status>
    Resource Name: <Resource.Resource Name>
    Target User: <Users.First Name> <Users.Last Name> [<Users.User ID>]
    Assigned to: <Task Information.Assignee First Name> <Task Information.Assignee Last Name> [<Task Information.Assignee User ID>]
    Response Code : <Responses.Response>
    Response Description : <Responses.Description>
    Error Details : <Task Details.Reason>
    =======================================================
    As I've said, the e-mail was sent but in blank:
    The Process task is .
    The details of this process task are as follows:
    Process Task Name:
    Process Task Status:
    Resource Name:
    Target User: []
    Assigned to: []
    Response Code :
    Response Description :
    Error Details :
    Is it possible to have those fields available on notifications?
    Thanks,
    Edited by: Renato.Guimaraes on 23/10/2009 08:05
    Edited by: Renato.Guimaraes on 24/10/2009 15:57
    Edited by: Renato.Guimaraes on 26/10/2009 13:31
    I didn't get any answer until now.. Below it is what I've done.
    a) Create an entity adapter that is assigned to the post-update of the Specific Task Info data object.
    b) Select the task information searching by SCH_KEY, for example (I have to do more tests)
    SELECT
    sch.sch_key, sch.sch_status, sch.sch_note, mil.mil_key, rsc.rsc_data, rsc.rsc_desc
    FROM
    osi, sch, mil, rsc
    WHERE
    mil.mil_key = osi.mil_key and
    osi.sch_key = sch.sch_key and
    sch.sch_key = ? and
    rsc.rsc_key = osi.rsc_key
    c) Load the e-mail definition template and replaces the fields
    d) Sends the e-mail
    With that I solved another problem: I have to send an e-mail always the assignee adds a note to the task.
    Edited by: Renato.Guimaraes on 28/10/2009 08:51. How I did that
    Edited by: Renato.Guimaraes on 12/11/2009 12:19
    Edited by: Renato.Guimaraes on 13/11/2009 07:22 Changed the Thread Subject

    Hi Experts,
    I want to extend my doubt a little more.
    I have a requirment  as below.
    User will enter a range of Date say 01.06.2011 to 25.06.2011.
    I need to show him data in two columns one cloumn for the entered day range and second column for prevoius month date rangei.e(01.05.2011 to 25.05.2011)
    can i achive this without  using Customer Exit.
    Regards
    Laxman

  • Check variable against an array of words

    Hi,
    I wish to check a variable for a number of words that are in
    a array.
    Not sure if this is the best way to do it, but this is what i
    have.
    I have my own counter system that counts every visitor, but
    some of these visits are from BOTS, spiders..
    So i wish to have a method of searching the HTTP_USER_AGENT
    for certain words i put in a array.
    What i am after is how i get the words in an array and how i
    then get the script to check the HTTP_USER_AGENT for a word in the
    array and if so it will not complete the script. (not add to the
    counter)
    if none of the words are in the HTTP_USER_AGENT then it will
    add to the counter.
    so something like?
    <?
    // do array
    // check if HTTP_USER_AGENT contains a word from array
    if () {
    // increase counter if none of the words are in
    HTTP_USER_AGENT
    include(increase.php);
    ?>
    its the bit between the if () that i have no idea about, any
    help would be great.
    cheers in advance for your help.
    Jason

    not very clever wrote:
    > this is a bit more about what i am trying to do.
    >
    > <?
    > // do array
    > array(1)="something";
    > array(2)="something else";
    > array(3)=..
    > ..
    > ..
    >
    >
    > $HTTP_USER_AGENT = contants of the HTTP_USER_AGENT
    > // check if HTTP_USER_AGENT contains a word from array
    > if (array(x) is in the string $HTTP_USER_AGENT) {
    > // increase counter if none of the words are in
    HTTP_USER_AGENT
    > include(increase.php);
    > }
    >
    > ?>
    >
    >
    $myArray = array('blip','blop','glup',...);
    $counter = 0;
    foreach($myArray as $mA){
    if(preg_match('/'.$mA.'/',$HTTP_USER_AGENT)){
    $counter++;
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    Downloads: Slide Show, Directory Browser, Mailing List

  • Text Variables are not being Displayed in the Output of the Query

    Hi All ,
    We have some column headings , which are populated through the Text Vaiables , But in the Query Ouptput only the tech names of the Text variables are being displayed . can anyone tell me why its happening like this . I want to debug the Query , please guide me in this regard
    Thanks in Advance.. Pls reply me as soon as possible

    Hi Nagarjuna reddy,
    Click on the properties of the infoobject enter the name of the description and next to that you can see the X/? buttion click on the this button and select the field/if the proper field is not there then create a field descriton and select. i hope this is works and correct me if i am wrong. for debuggin the query use a transaction code- RSRT.
    regs,
    Vachan

  • ORA-01008 All variables are not bound

    Hi I am running this query and getting this exception ORA-01008 All variables are not bound .
    Could anyone please insight ?
    SELECT EQMT_INGT_LOG_ID, EQMT_ID,
    XMLSerialize(DOCUMENT XMLType(ingLog.BUCK_SLIP_XML) AS CLOB) BUCK_SLIP_XML
    FROM TOS_EQMT_INGT_LOG ingLog
    where BUCK_SLIP_XML is not null and ingt_date between to_date(:fromDate, 'MM/DD/YYYY HH24:MI')
    and to_date(:toDate,'MM/DD/YYYY HH24:MI' )
    and eqmt_id in (select eqmt_id from tos_eqmt
    where eqmt_init = :eqmtInit and eqmt_nbr = :eqmtNbr
    and orig_loca_id in (select loca_id from tos_loca where altn_src_sys_stn_id = :circ7 ))
    and SCAC = :scac
    and STCC = :stcc
    and SHPR_NAME = :shprName
    and CNSE_NAME = :cnseName
    and driv_id in (select driv_id from tos_driv where lcns = :lcns )
    and driv_id in (select driv_id from tos_driv where sabv = :sabv )
    and ingt_stat_ind = :ingtStatInd
    and BUCK_SLIP_XML like :inspectedBy
    ORDER BY INGT_DATE

    Slightly off-topic but what do you think this does :
    XMLSerialize(DOCUMENT XMLType(ingLog.BUCK_SLIP_XML) AS CLOB) BUCK_SLIP_XML?

  • How can I get past the error message "Variables are not compatible DMB00"?

    Hello,
    I'm working in Desktop Intelligence XI and I'm using an Excel data provider and a universe data provider. I've linked the two providers on the common field "Cost_Code". The Excel data provider also has a "Cost_Code_Descr_xls" field so I've created a new variable that makes this description field a detail object associated with the "Cost_Code" dimension. This allows me to use both objects in the report.
    Some of the cost codes in my universe data provider are not found in my cost_code Excel provider so I'm trying to create a simple formula to deal with these null values:
    = if isnull(<Cost_Code_Descr_xls>) then "Unclassified" else <Cost_Code_Descr_xls>
    This is where I get the "Variables are not compatible" error.
    Any ideas on how to get around this error?
    Thanks!
    David

    Hi David,
    I might have been a bit to quick with just saying that the only thing you needed to do was replacing the object with the variable you created.
    The variable is only compatible with 'Cost Code' dimension, but not with any of the other dimensions in the report. Your header probably only contains the 'Cost Code' dimension and as such the formula isn't giving any problems. But your details contain ohter incompatible dimensions.
    What you need to do is also create detail variables for the other dimensions and relate those to the 'Cost Code' dimension. Use those newly created detail variables  in your report.
    Regards,
    Harry

  • Qry:How to get different price for each price list (variable area) in order

    1-How to get different price for each price list (variable area) in order for sale. for the opportunity to display and select multiple prices.
    2- I add a location store from a table in line item and I want to see this area in order,.
    I 'm created 2 field location(item line and order), 1 table location
    I tried this for exemple : select $ [userfieldlocation.OITW]

    Thanks Suda for your answer,
    the Formatted Search for prices is OK, but for the Item locations in warehouse this is not so simple,     
    I must have several (at least 2) locations for the item in the Warehouse and a track of this location and search possibilities.
    read carefully and imagine how (Management warehouse locations)
    I added a user table '@Location' who linked to a user field 'U_Location in Item master data --> lnventory data  line and an ather user field 'U_Location' in sales order
    I met the value of location in the table (list of locations for any warehouse), I select the location of each item while receiving merchandise in the user field of inventory data line (Item M data) and this value appears in the sales order 'U_Location' user field ( only the location value in the default warehouse for this Item)
    or
    create an user field 'location' in Good receipt PO to fill it while receiving merchandise that appears in the sales order to give possibility to find/select the location of the item at this order and in Item master data
    I think we will use all these tables
    @LOCATION
    PDN1
    OITM
    OITW
    OWHS
    RDR1
    Juste a another question : where you found this and What is: ' 38.1.0 '
    Is it in document (System information):Item=38 Pane=1 ??
    Thanks,
    Ouchen

  • Web Variables are being displayed and they shouldn't be

    Hi, Our web template is configured to not present the variable screen when the variables are populated. For some reason after I added the dynamic tab functionality using the SAP_BW_URL command our variables screens are appearing after selecting a tab.  When the screen appears all of the variables are populated and some of the variables are not melted.  The only thing our SAP_BW_URL command does is reset a dataprovider.
    <i><A href="<SAP_BW_URL DATA_PROVIDER='DP1' CMD='RESET_DATA_PROVIDER' INFOCUBE='ZMPASDPL' QUERY='ZGZMPASDPL_SR21_AREA_DASH_01' CMD_1='ITEM=NAV_BRAND&HIDDEN=X' CMD_2='ITEM=CON_BRAND&HIDDEN=X'>">Sales Area</A></i>
    We have set our template to "Reset Variables to Default" and "display same variable only once".
    Anyone know why I am seeing the variable screens after I select a tab even though I have the correct settings and the variables values are all prepopulated?
    I will give full points from now until eternity for this to any kind soul helping me solve this one.
    Thanks!
    Message was edited by: Kenneth Murray

    Hi Kenneth,
    this is a tricky situation:
    just assume the following scenario (this is what I have seen when I had a glimpse  on your original post)
    - In your template you have 2 DataProvider DP1 and DP2
    - DP1 is assigned to a table item and points initially to some query (A)
    - DP2 is not assigned to a web item and points initially to some query (B)
    - Query B has some mandatory variable
    - Now when you call your web template the variable screen will be displayed (Variable for DP2 (query B))
    - You enter a value and submit the variable screen
    - Now you reset DP1 to another query (ok it's query B (which you already used as DP, but the system won't check this while resetting the variable screen). Now the (new) query has a unfilled variable. The system needs to bring up the variable screen.
    - As we have now 2 variables (one already filled (during start of your template) and one still initiall. They have different default values and won't be melted.
    - You get a variable screen with 2 variables
    - And they just have the same value, because the system remembers the last entered value and already writes it in the input field.
    The parameter reset variables to default is only relevant for views (mainly during first initialization of template). With your command you didn't change DP2.
    =================================================
    Solution: In BW 3.5 there's a possbility to pass filters and variables to another Query with the command RESET_DATA_PROVIDER (parameter rri=X)
    in BW < 3.5 I would recommend to not use RESET_DATA_PROVIDER, but creating different table items, which are initially hidden and just hide/unhide the correct tables ...
    Heike

  • Integrate html tags in a string and display it in a multiline text area

    Hi ABAPers!!
    First of all let me tell you that I'm working in ACCENTURE Casablanca(Morocco) and this is my first Job in my career.
    I'm working on an ALV OO, the program consists on creating an ALV using OO, In my selection screen there's a parameter of type ddobjname I provide the name of table and it returns the table's fields in another dynpro (screen0100), To do this I used the FM: 'DDIF_FIELDINFO_GET' then I append the internal table returned in another one to add the field CB (CheckBox), and I add a button in the toolbar, the function of this button is to generate a MySQL script To create the table provided by the user in my parameter (Screen 1000), but the fields of this table(MySQL) in the generated script are only the selected ones by cheking the checkbox in the ALV.
    I store my script in a string.
    My problem is that I want to show my script in a text area, but I don't know how to create a multiline text area!!
    And I want to use HTML tags in my string.
    I don't want to my string like this :
    CREATE [TEMPORARY] TABLE [IF NOT EXISTS] SPFLI ( CONNID CHAR ( 4 ) NOT NULL PRIMARY KEY , FLTIME INT ( 10 ) , DEPTIME DATETIME ( 6 ) , DISTANCE DOUBLE ( 9 ) , FLTYPE VARCHAR ( 1 ));
    But I want it to be shown like  this:
    CREATE [TEMPORARY] TABLE [IF NOT EXISTS] SPFLI (
    CONNID CHAR ( 4 ) NOT NULL PRIMARY KEY ,
    FLTIME INT ( 10 ) ,
    DEPTIME DATETIME ( 6 ) ,
    DISTANCE DOUBLE ( 9 ) ,
    FLTYPE VARCHAR ( 1 ));
    Thanks in advance
    Regards
    SMAALI Achraf
    Edited by: SMAALI90 on May 11, 2011 7:12 PM

    Hi again!!
    You know what!! let's forget the HTML and focuse on what I want to show.
    As I told you, I've a string which contains my script.
    I don't want that it will be shown as a simple line like this :
    CREATE [TEMPORARY] TABLE [IF NOT EXISTS] SPFLI ( CONNID CHAR ( 4 ) NOT NULL PRIMARY KEY , FLTIME INT ( 10 ) , DEPTIME DATETIME ( 6 ) , DISTANCE DOUBLE ( 9 ) , FLTYPE VARCHAR ( 1 ));
    But I want it to be shown as follows:
    CREATE [TEMPORARY] TABLE [IF NOT EXISTS] SPFLI (
    CONNID CHAR ( 4 ) NOT NULL PRIMARY KEY ,
    FLTIME INT ( 10 ) ,
    DEPTIME DATETIME ( 6 ) ,
    DISTANCE DOUBLE ( 9 ) ,
    FLTYPE VARCHAR ( 1 ));
    and finally I want to show it in a multiline text area.
    Plz what shud I do?!!! If possible I need a piece of code.
    PS : I create a HTML Viewer using this code :
    DATA : go_conteneur          TYPE REF TO cl_gui_docking_container,
                 go_controle_html    TYPE REF TO cl_gui_html_viewer.                 
      CREATE OBJECT go_conteneur                     
        EXPORTING                                    
          repid     = sy-repid                       
          dynnr     = '0100'                         
          side      = go_conteneur->dock_at_bottom   
          extension = 1000                           
          name      = 'CONTENEUR'                    
        EXCEPTIONS                                   
          OTHERS    = 1.                             
      CREATE OBJECT go_controle_html                 
        EXPORTING                                    
          parent = go_conteneur                      
        EXCEPTIONS                                   
          OTHERS = 1.
    But when it's shown my ALV disappears!!!

Maybe you are looking for

  • My new ipad can't be powered on.

    Hi, Last night when I tried to turn on my new ipad, it just can't be turned on. I tried to press power+home button for 30 seconds. No use. I had thought that maybe the battery is used out. So I plugged the charger and after a night, it still can't be

  • Opening balance issue

    Hi experts, We carried forward balances from 2008 to 2009 through T code F.16.We have found alll GL accounts has been carried forward properly except one GL code (which is opening balance uploaded in sap)not carried forwaded properly. We have run F.1

  • Performance issue in customized program

    Hi, We have a performance issue in customized program. In this program he used do-enddo twice. I mean nested do-endo. How can we increase the performance. And when we did the code inspector it displays 9 errors 'Char. strings w/o text elements will n

  • Calling to Mobiles without internet and other quer...

    Hi Team, I am new to this community, dont know if i am posting at correct place and if the questions are too lame Currrent Location - Amsterdam, Netherlands Queries - 1) If i choose a plan of 8Eur(800 mins) Internalional India calling subscription, c

  • AppStore download keeps restarting on my IPad air

    its been two week since I cant install apps on my iPad air with iOS 8...every time I download an app it gets downloaded about 50% and it fails and restarts again from beginning..I was able to download an app less than 10mb once and that's it I have o