Mail / Merge in WORD  with DOI. Error in WORD 'field separator'

I have a program that creates   WORD DOcuments  for merging with data.
I use  WORD documents created with BDS.
I used  program   SAPRDEMO_MAILMERGE_INTERFACE as an example for creating my own program.
When I call METHOD VIEW  ,after creating data source and MERGE, I get following error in WORD
   'field separator?.  WORD asks which is the separator for field.
whatever  separator I indicate,  WORD issues an error saying    no record found.
If I execute program   SAPRDEMO_MAILMERGE_INTERFACE,  it  works.
I don't understand what happens.

I found solution.
In my data source , I have only 1 record.
When calling  method merge_range  I must indicate 0 in record number  and not 1 ( with 1 it worked on our system but not on the customer system : cause in  SAP or EXCEL I don't know. )
Fusion  données  source
      CALL METHOD HANDLE->MERGE_RANGE
        EXPORTING
          FIRST   = 0
          LAST    = 0
        IMPORTING
          ERROR   = error
          RETCODE = retcode.
      clear l_sy.
      CALL METHOD ERROR->GET_MESSAGE
        IMPORTING
          MESSAGE_ID     = l_SY-MSGID
          MESSAGE_NUMBER = l_SY-MSGNO
          PARAM1         = l_SY-MSGV1
          PARAM2         = l_SY-MSGV2
          PARAM3         = l_SY-MSGV3
          PARAM4         = l_SY-MSGV4.

Similar Messages

  • Mail Merge from Numbers with long text fields

    I'm having trouble doing a Mail Merge that's reading fields from a Numbers spreadsheet. Everything is working as expected except for my one field that contains several sentences of text for each record. Nothing from that field gets transferred into the merged document and there is no error message (the courtesy of an error message would be much appreciated if I'm hitting some limit of the feature!).
    If I make fairly short text fields, it will merge successfully, but it would be tedious to go through my large text field and break each one into multiple shorter ones, and I haven't been able to figure out the limit on text length if there is one, so there would be a lot of trial and error. It doesn't seem to be by number of words, so perhaps it is by number of characters?
    I have tried cutting and pasting into a new table in Numbers, pasting as values in case there was any weird formatting at issue.
    I can't find anything to help me either fix this or at least know what the limitations are on Mail Merge. The only discussion I found here suggested either splitting the text fields or creating a new document, and those haven't worked for me.
    Thanks for any leads people can give me on this!

    mezzaluna wrote:
    Luckily I'm only merging a few dozen records, so I can go through by hand and pick out the odd spaces. But I'm open to any ideas for saving me that work, too!
    Numbers can do a character count, but unfortunately can't do that 'live' as you are entering characters into the entry box; only when the string has actually been entered into a cell.
    You can, however, make an estimate of the number of characters by entering them into a text frame of fixed width using a mono-spaced font. In the examples below, the font is Andale Mono 10pt, and the text boxes are 4.50 inches wide.
    The top example shows the result when exactly 254 characters from the first paragraph of your previous post are entered in the box. For this example, leaving off the two words that wrapped onto line six and including only the first five lines of text would leave a 'headroom' of nine (or ten, depending on whether the space after "but" was included) characters.
    To use: Enter your text into the text box using Andale Mono 10 pt. Select and Cut the first five lines. Click on the table cell to receive this chunk. Go Edit > Paste and Match Style to use the font set in the table, or simply Paste to use Andale Mono in this cell.
    Repeat until all text has been transferred.
    More below.
    You can also get the actual character count using the LEN() function. In the table on the left, each of the cells B3, B4 and B5 contain the formula
    =LEN(A)-254
    A3, A4 and A5 contain part or all of the text shown in the two text boxes. I've set the alignment of these cells to 'Align right' to show the end of each string.
    The Conditional formatting rules below are applied to cells B4 and B5. They set the background colour of the cell to 'amber' when the cell in column A is within 10 characters of the maximum and to red when the maximum is exceeded. The numbers in the cells show how many more characters may be added (negative numbers) or how many excess characters (positive numbers) are in the cell to the left.
    These check cells may be placed in a separate table, and the formula revised to include the table name of the data table.
    Regards,
    Barry

  • "Mail Merge" example on XE: Result ERROR?

    I used Mail Merge example to generate MSWord documents. Now I tray this on Oracle XE and got this:
    "FORBIDDEN The requested operation is not allowed"
    is it possible to execute procedure through URL with XE?

    Security has been tightened in Oracle XE production,you have to "allow" your stored procedure to be executed.
    See the documentation here: http://download-uk.oracle.com/docs/cd/B25329_01/doc/appdev.102/b25309/adm_wrkspc.htm#BEJCGJFJ
    Here is a working example using the schema HR:
    conn HR/<pwd>@xe
    create or replace procedure hello_world as
    begin
      htp.p('hello world');
    end;
    grant execute on hello_world to anonymous
    conn SYSTEM/<pwd>@xe
    alter session set current_schema=FLOWS_020100;
    CREATE OR REPLACE function wwv_flow_epg_include_mod_local(
        procedure_name in varchar2)
    return boolean
    is
    begin
        -- Administrator note: the procedure_name input parameter may be in the format:
        --    procedure
        --    schema.procedure
        --    package.procedure
        --    schema.package.procedure
        -- If the expected input parameter is a procedure name only, the IN list code shown below
        -- can be modified to itemize the expected procedure names. Otherwise you must parse the
        -- procedure_name parameter and replace the simple code below with code that will evaluate
        -- all of the cases listed above.
        if upper(procedure_name) in (
              'HR.HELLO_WORLD') then
            return TRUE;
        else
            return FALSE;
        end if;
    end wwv_flow_epg_include_mod_local;
    /call it via http://127.0.0.1:8080/apex/hr.hello_world
    ~Dietmar.

  • Mail Merge not compatible with Firefox 31.01. How do I fix this problem?

    Hi everyone currently seeing this.
    I downloaded Mail Merge from the add-ons for Thunderbird.
    I tried to install it from file in the add-ons page and a message appeared saying Mail Merge could not be installed because it is not compatible with Firefox 31.01.
    Can anyone please tell me what I can do to fix this problem.
    Many thanks.
    J

    Install it in Thunderbird perhaps
    Try the ideal case here http://chrisramsden.vfast.co.uk/3_How_to_install_Add-ons_in_Thunderbird.html

  • How to mail merge a document with in database?

    Dear All,
    I would like to know how to implement mail merge functionality in side pl/sql body. I could open, edit a document using the package ORDWord. Morethan, that anybody know, how to merge the documents ?
    Or please let me know any other workaround apart from this?
    Regards
    Balaji

    Hi,
    There are tow ways :
    The first one is :
    - load the list of tables of the Database in a Vector for exemple by using methode DatabaseMetaData.getTables () and you can test if the table exist or not in the vector by using methode Vector.contains(Object o).
    The code seems Like that :
    // Loading List Of Tables
    // you need to load the list of tables at the begening of
    // your class
    Vector listOfTables = new Vector();
    try
    rs = yourConnection.getMetaData().getTables();
    while (rs.next())
    listOfTables.addElement(rs.getString(3));
    catch(SQLException exp)
    // When you need to test the existance of table name
    // you add this line
    if(listOfTables.contains(tableName))
    // your code
    The second one :
    try
    //execute your query
    catch
    //Create your default JTable
    I hope that my response can help you!
    Ciaou,
    Anis

  • Merging vhdx & .avhdx with powershell error ....

    i m trying to merge a vhdx & avhdx with powershell
    the codes are
    Run diskpart.
    Enter: select vdisk file="<full path to the latest differencing disk>"
    A differencing disk ends in either .avhd or .avhdx.
    Enter: merge vdisk depth=n
    n will be the number of parent files you want to merge.  Since I had two parents, one .vhd and one .avhd for this .avhd file, I used depth=2.
    the problem is whenever i try to select the differencing disk in step 2 , i get an error ...device not ready
    if i changed the avhdx to vhdx ... i get the same error
    i unchecked the read only ... gave full permissions to vm machine and user ... still get error
    please advice or if you suggest a third party that can migrate the vhdx with its avhdx

    You will need a backup to go back to a valid database.
    Snapshots are not supported in Production and cause in few cases  issues and behaviour like you are encoutering now.
    You have to avoid using snapshots in production, snapshots are nice and they unction propely in 99% of the cases. You were not lucky. If you want to use snapshots with a VM for a reason (test update or a  new configuration),  backup your VM before.
    Regards, Samir Farhat Infrastructure and Virtualization Consultant || Virtualization, Cloud, Azure ? Follow and Ask here https://buildwindows.wordpress.com

  • I just updated to 10.9.3. I now cannot open Mail - it comes up with an error window and suggests it may be incompatible with this OS. What is the fix for this? Thanks

    When I try to open Mail from the launchbar it won't open and comes up with a window saying it may be incompatible with this version of OS X.
    What is the answer to fix this?!

    Backup for safety on at least two reliable drives.
    Reinstall using the combo update at http://support.apple.com/kb/DL1746
    You would be wise to quit all apps, disconnect all peripherals and preferably delete all email accounts before upgrading.

  • When trying to send a mail, selecting attachement fails with no error.

    I imported lots of folders form Kmail (KDE3.5/ trinity) on a previous version (don't remember which one) of Thunderbird.
    All worked fine. (I was able to send a variaty of files in email attachements (.xls, .zip, .txt and also files with no extension with no trouble)
    Somewhen two weeks ago I updated Thunderbird and it would not allow me to attach files to a mail I want to send.
    This means: --click on the button to send a new mail.
    --typing a email adress
    --typing a subject
    --typing 'hello' into the text field
    --clicking the button to attach a file
    --selecting a text file, picture, .zip, binary and click 'open' in the file selector
    == nothing changes in the email window to show that a file has been attached and also on sending the mail the receiver does not receive a mail.
    reverting to older version of thunderbird does not seem possible as it appears that there is no link to older packages on thunderbird downlaod site?
    where did I go wrong?

    I doubt it's a version problem. But I don't run Linux any more.
    Old versions can be found here:
    http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/

  • Slow mail = beach ball spins with every click in every field.

    This happens since installing Snow Leopard: every click in mail takes 5 or 10 seconds for anything to happen. Reaction was always instant before. Anyone know of any fix?
    Examples of when this happens:
    When I click on "Forward."
    When I click "New Message" to pull up the blank email form.
    When I click on the "To" line.
    When I click on any other field to compose and send an email.
    That is, when I click on anything.
    Thank you for any advice.

    Some other post (which one?) contained the resolution: Go under the "Mailbox" menu and select "Rebuild" for each account. Count on it taking a while.

  • Find alpha numeric words with at least 3 words

    Hi,
    I am trying to extract a string which has got ranges like 10-20 or 10A-20 or A10-20 or 20-A40 or 20-40A or A20-30A and so on. besides this I would want to extract a thrid word which would contain a number or alpha numeric string or again a range alpha numeric string.
    for example:
    1. abc 123 12-2a cdf
    2. efg 23-12 345 alksd
    3. klkj; 123 456 asdfg
    from the above examples I have to fetch row 1 & 2
    Please advice.
    Many thanks in advance.
    Edited by: 920390 on Mar 12, 2012 8:57 PM

    920390 wrote:
    Hi,
    I am trying to extract a string which has got ranges like 10-20 or 10A-20 or A10-20 or 20-A40 or 20-40A or A20-30A and so on. besides this I would want to extract a thrid word which would contain a number or alpha numeric string or again a range alpha numeric string.
    for example:
    1. abc 123 12-2a cdf
    2. efg 23-12 345 alksd
    3. klkj; 123 456 asdfg
    from the above examples I have to fetch row 1 & 2
    Please advice.
    Many thanks in advance.
    Edited by: 920390 on Mar 12, 2012 8:57 PMIt is a violation of Third Normal Form to store multiple values in a single column!
    you reap what you sowed!

  • Word couldn't send mail because of MAPI failure, Unspecified error.

    This issue is crossposted in Microsoft Answers Word and OUTLOOK.  I am posting here in hopes that someone at Mircrosoft may have a solution or at least elevate the issue to someone who does.
    http://answers.microsoft.com/en-us/office/forum/officeversion_other-word/word-could-not-send-mail-because-of-mapi-failure/f62678fe-ef1d-42b5-8cfe-1e43d6a1d609
    http://answers.microsoft.com/en-us/office/forum/office_2013_release-outlook/word-couldnt-send-mail-due-to-mapi-failure/1f03cf74-9258-411b-9e2b-e41cb5006d71
    I dabble with VBA and write and maintain several amateur Word Add-Ins.  Accordingly, I have Word 2003, 2007, 2010 and 2013 installed on my PC.  They get along fine.  However, I am unable to "Share" or "Send" an open Word
    document as an E-mail attachment in any version!  In each case Word returns an error mesage "Word couldn't send mail because of a MAPI failure, Unspecified error (the same issue occurs with Excel and Powerpoint except the error dialog is a bit different.)
    Using Word 2003, I (CAN) "Send to (Mail recipient for review)" in which case OUTLOOK is opened with the document as an attachment.  I can also "Send to Mail Recipient" from Windows Explorer, in which case the Word file is attached to
    an OUTLOOK message, and I can create an instance of OUTLOOK and send mail from Word using VBA.
    I have repaired all Office versions.  I have removed the registry keys for all office versions and repaired all versions again.  I have run "fixmapi" until I am blue in the face. I have renamed the MAPI32.DLL files and ran sfc \scannow
    to ensure that the MAPI32.DLL file is not corrupt.  In view of these actions and in view of what I can do, something tells me that the MAPI files are fine.
    So what is this "Unspecified error?"  This problem is rife on the internet and most of the "canned" solutions have been marked "Answered" by some MS support engineer.  These "canned" solutions might have
    fixed the issue at one point, but they don't work now.  At least not for me.
    Thanks.
    Greg Maxey Please visit my website at: http://gregmaxey.mvps.org/word_tips.htm

    Hello Greg,
    I noted that there are 2 knowledge articles that describe scenarios where you may encounter this error.
    KB 291152 You receive a "Word couldn't send mail because of MAPI failure" error message when you try to send a Word document as an e-mail attachment in Word 2002
    http://support.microsoft.com/kb/291152/EN-US
    KB 929362 You cannot send a file by clicking Send in a different program when Outlook 2007 is running as administrator
    http://support.microsoft.com/kb/929362/EN-US
    Please let me know the following:
    1. What version of Outlook are you using?
    2. Do you have Outlook open when you attempt the File > Share > Email as attachment from Word? If not, does the error occur if you open Outlook, open Word and then try to send the email?
    3. If you close/reopen Word and then try the send again, do you get the same error?
    4. Are you running either Outlook or Word in an elevated mode?
    5. What happens if you start both Outlook and Word as "Run As Administrator". You may have to right-click each applications' .exe file to be able to choose the "Run As Administrator" option.
    6. Do you get the same error when using File > Share > Email as attachment using Excel?
    7. In Internet Explorer, open the Internet Options. On the General tab within the browsing history, delete your temporary Internet files and website files
    8. Does the issue occur in selective startup mode?
    Steps to setup selective startup mode:
    Click on the Windows Start button, in the Search box type msconfig and then hit enter. This should open up the System Configuration Utility. Make the following adjustments within each tab.
    Services Tab:
      - Check the option 'Hide All Microsoft Services'
     - Click on button 'Disable All'
    Startup Tab:
     - Click the button 'Disable All'
     - Go back through the list and enable any Microsoft items
    Click Ok. It will say “You must restart your computer for some of the changes
    made by System Configuration to take effect”. Hit the ‘Restart’ button.
    When the PC reboots try to run your test again.
    To return back to a normal boot launch msconfig again and choose 'normal startup' on the general tab, click Ok and then reboot the PC.
    Regards,
    Dennis

  • Need help with mail merge

    I created a mail merge using Outlook for Mac (2011) and Word for Mac (2011). I'm creating an email that uses only three fields from the data source (Email, Name, Company) and creating new emails. However, all my line breaks disappear once the Word document creates the emails.
    All my research points to unchecking a "Remove extra line breaks" option but all the directions are for PCs. I can't find this on my Mac. I have tried creating new columns in my data source and creating a line break within them, but that still doesn't fix the problem.
    How do I create emails with a mail merge and keep my line breaks? Is there a preference in Outlook I need to modify?
    Thanks in advance!!

    I have both Pages '09 and Pages 5.2 installed on my Mavericks OSX 10.9.2 boot drive. They do not interfere with each other at all. Apple has all Apps sandboxed since Lion.
    Menu > Insert > Merge Field > Choose
    NB How the Merge Inspector adds the new fields to its list:
    Dragged the VCard (the blue highlighted name) of the Contact onto the Pages document below:
    The Result:
    For multiple merges make up a Group in Contacts and drag the Group onto the Pages document and it will reproduce several pages of merges.
    Peter

  • Word Mail Merge

    I am using the following code to mail merge data in a table into a Word document:
    call function 'MS_WORD_OLE_FORMLETTER'
          exporting
            WORD_DOCUMENT             = FILEFORM
            HIDDEN                    = 0
            WORD_PASSWORD             =
            PASSWORD_OPTION           = 1
            FILE_NAME                 = FILEDATA
            NEW_DOCUMENT              =
            DOWNLOAD_PATH             = FILEPATH
           PRINT                     = PFPRINT
          tables
            DATA_TAB                  = FDATA
            FIELDNAMES                = FIELDS
         exceptions
           INVALID_FIELDNAMES        = 1
           USER_CANCELLED            = 2
           DOWNLOAD_PROBLEM          = 3
           COMMUNICATION_ERROR       = 4
           others                    = 5.
    Fdata has both text and numeric data in fileds F1, F2, F3,...Fn
    FIELDS has one field containing rows with text data corresponding to the field names of Fdata i.e F1, F2, F3,...Fn.
    My program does not open my word mail merge template, FILEDATA, automatically to fill it with contents of Fdata. Instead a new document is opened with the message "Insert the mail merge fields" and a pop up window asking which filed and record delimeters to use. Where am I going wwrong?

    I will rephrase my question:
    How does the function module 'MS_WORD_OLE_FORMLETTER' work?
    My understnading is that:
    1. WORD_DOCUMENT  is the document that contains the merge fields which will be filled with data. It is the final document that will appear after the function has been executed.
    2. File_Name is the file (can be word document) that will be used as the data source by word_document.
    3. DOWNLOAD_PATH is were File_name is located.
    4. DATA_TAB  contains the merge data. Its contents will be written onto File_name.
    5. FIELDNAMES is he internal table containing the field names that correspond to the fields on WORD_DOCUMENT. It also writes its contants to File_Name.
    Since the data source of a mail merge document should have delimited fields, how do I go about this in the File_Name?
    Regards,

  • I want to use a Thunderbird address book folder to mail merge into MS Word letter [name, address]. How to?

    I recently migrated from Outlook 2010 to Thunderbird. I have contact folders. I publish a newsletter in MS Word. I want to mail merge my newsletter with now a specific contact database [folder] in the Thunderbird address book. So my question is, how to do this?

    Unfortunately, the tight and smooth integration you have experienced between Outlook and Word is due to those two products having come from the same Office stable and having been designed from the outset for such interoperability. With Thunderbird coming from a third party author, there's not much incentive for Microsoft to support or encourage interchange of data between Office components and Thunderbird.
    If you have Outlook and Word, what advantages do you anticipate in using Thunderbird? (Personally, I do exactly the same because I dislike Outlook and its Ribbon in particular). But I don't have much call for the sort of task you are attempting.
    The long and short of it is that you'll probably have to export your TB Address Book to a format that your Word mail merge can use. Since I haven't tried this for myself in a long time, I don't know what Word can use. I'd hope that CSV would fit the bill.
    If you are thinking about moving away from Microsoft Office, then you might look at Libre Office, which can, IIRC, use a data source such as Thunderbird's address book as a mail merge source. But this alone may not be a very good reason to move away from tools you know. :-S

  • Default file destination in Microsoft Word 2010 Mail Merge to PDF

    I'm using windows 2010, and Adobe Acrobat X Standard. 
    I have a mail merge template that I created in Microsoft Word 2010 that I use to send out multiple price quotes to customers who are bidding jobs.  When I merge to Adobe PDF everything works properly (everyone receives their unique PDF, etc.), but every time I do this Adobe requires that I select a destination folder for it to send the PDF's it generates that get attatched to the emails. 
    When I save a Word Doc as a PDF it automatically saves it in the same folder at the word document it was created from.  Is there a way I can set up my 'Merge to Adobe PDF' feature to do the same thing when it generates the merged PDF files?  It's just a hastle to map the entire file path of the desination folder every time I send out a quote.
    Thanks for your help!

    I'm using windows 2010, and Adobe Acrobat X Standard. 
    I have a mail merge template that I created in Microsoft Word 2010 that I use to send out multiple price quotes to customers who are bidding jobs.  When I merge to Adobe PDF everything works properly (everyone receives their unique PDF, etc.), but every time I do this Adobe requires that I select a destination folder for it to send the PDF's it generates that get attatched to the emails. 
    When I save a Word Doc as a PDF it automatically saves it in the same folder at the word document it was created from.  Is there a way I can set up my 'Merge to Adobe PDF' feature to do the same thing when it generates the merged PDF files?  It's just a hastle to map the entire file path of the desination folder every time I send out a quote.
    Thanks for your help!

Maybe you are looking for

  • Mini DVI to DVI monitor Kernal Panic

    I have a 20" iMac Intel Core Duo, mini DVI to DVI-D adapter, cable, and Princeton 17" DVI-D monitor. When I hook up the monitor to the iMac I immediately receive a Kernal Panic. If I restart, it also results in a Kernal Panic. It does not matter if t

  • Getting error while hitting weblogic server from EBS client instance

    Hi, We are trying to hit weblogic server from EBS client instance. Steps Done from our side :- 1. Created a self signed key store and certificate (.cer file) with server host name and used it for SSL enabling on weblogic server. 2. Created a self sig

  • No DV Capture with Premiere Elements 13? How do I downgrade to 12?

    I have hours of footage to capture from a DV camcorder. I previously was using version 10 and was all excited when I received version 13 for Christmas. To my dismay when hooking up my camcorder via firewire, and opening the software, there was no opt

  • Macbookpro a1297 boot problem

    I bought an old macbook pro 17 inch a1297 and later found that it did not have hard drive. So I installed a new blank hdd n installed mountain lion. Laptop works fine but with a boot problem. I always have to disconnect the battery connector from the

  • IPad software upgrade too big to download

    I hooked my iPad up to my PC to synch with iTunes. iTunes said the iPad needed a software upgrade. It was 565 MGs. After 2 hours, I had 200 Mgs loaded, and 5 hours to go. My satellite server let me run for another hour and then cut me off as I had ex