Separating paragraph body text from level 3, 4 & 5 headings in the TOC

Hi,
Could anyone help me know how the paragraph body text is separated from level 3, 4, or 5 headings in heading styles?
The APA Manual, 6th edition says that these level headings are immediately followed by the paragraph body text; but if I do that
and put the headings in word styles, the text is also added! How do I separate them?
Thanks.

If you have been using an old APA template (there is one setup for Word 2003, for example), or you have started from an old document set up for APA styling, then the chances are tht the Heading styles are set up wrongly. In those days you had to do all that
stuff with hidden paragraph marks etc. You should not have to do that in Word 2010.
In the old templates, the Heading styles were set up as "Paragraph" styles. You can find out which sort yours are by opening the document you are struggling with, finding the relevant Heading style name in the Home tab, Styles group, right clicking on it
and selecting "Modify...". For the new type of Heading style, you should see Style Type "Linked (paragraph and character)". In an older template, you will just see "Paragraph".
In the latter case, when you select the part of the paragraph text that you want to be in the ToC and apply the Heading style, the style wil be applied to the whole paragraph. That's why you used to have to split the paragraph into two, and hide the paragraph
mark that follows the heading part. But with the correct style definitions, it should work the way I described.
Another possibility is that you have the correct "linked" styles but they have been disabled. If you click in the box at the bottom right of the Home->Styles group, you should see the list of styles, and there is a box at the bottom that controls that
behaviour.
If you are using an old template, then my suggestion is that you start with a new one document o template designed for Word 2010. I'll have a look, but you may have your own sources for that.
Peter Jamieson

Similar Messages

  • How can I copy a paragraph of text from a Kindle book on the iPad?

    I just purchased a book to read on the Kindle app on my iPad.
    I would like to copy a paragraph of text to email to someone or to possibly quote in a blog post.
    How can I copy a paragraph of text from a Kindle book on the iPad?

    I'm very late to the conversation but thought I'd chime in since I've just been dealing with this myself. One way to copy from Kindle books is to make sure that you have your settings to backup highlights etc. online, then highlight the text in the Kindle app, go to your Kindle webpage (https://kindle.amazon.com/your_highlights) and copy the text from there.
    Remember, to be able to do this you have to set the app to backup highlights etc. I think this is set individually for each book. On my iPad the default is to backup.

  • Can not copy text from AI CC or AI6 in to the file name

    I have an AI file with 80+ UPC codes that I need to separate in to individual files. Each UPC has a descriptor but when I copy the text and then try to paste it as file name it will not paste. I use this same process regularly in InDesign when I design print ads. Each print ad has a unique item number that prints with the copyright line so I simply copy and paste that information when I do the save.
    Under File Handling and Clipboard both PDF and AICB are on. I've tried this in AICC and AICS6. I also tried different files. Same issue. Any suggestions? I really don't want to have to type 80 some descriptions which are very lengthy. 

    I can not copy the text from Illustrator in to any OS X application/function (filename, Mail, Text Edit, ect). I can copy in to InDesign, Photoshop, Flash, and other other Adobe product. I can copy in to Word as well. I guess my work around will be Word.
    And the opposite is true. I can copy text from any other Adobe application to any OS X application/function with no issues.
    I guess my work around will be to OCR the text from Acrobat and open in Word. The descriptors have to be 100% accurate and some of them are pretty long.

  • I am trying to text from my new IPad2 and some of the contacts names turn red and won't allow me to send. Why?

    I am trying to text from my new IPad2 and some of the contacts names turn red and won't allow me to send. Why?

    The recipients have to have an apple device and an apple id.
    about messages
    http://support.apple.com/kb/HT3529
    Troubleshooting messages
    http://support.apple.com/kb/TS2755

  • If I send a text from my iphone to an iphone user the reply comes into my ipad via imessage. I don't get a text reply on my iphone. Any ideas how to fix?

    If I send a text from my iphone to an iphone user the reply comes into my ipad via imessage. I don't get a text reply on my iphone. Any ideas how to fix?

    Yes. On your phone make sure it is set to send messages from your phone number, not your apple id or other email address. That way when they reply it will go to your phone.

  • Table headings (tagged in paragraph tags) to be merged as a single entry in the TOC

    Hello, 
    I am working on a previous file done by somebody else. And here, I have the TOC as shown in screen shot below (which looks quiet normal).
    - The body page headings are placed in tables as shown in screen shot below.
    But, the entries when they appear in the TOC, they appear as one (IP31/42 T40) heading.
    How do we tag table headings (in different paragraph tags) and merge them as a single entry in the TOC.
    Also, suprising to note the paragraph tags are different in the TOC and different in the body (for the same headings).
    Below are the different paragraph tags that show up for the headings in the Table of contents:
    Below are the different paragraph tags that show up for the headings in the Table of contents:
    How do we tag table headings (in different paragraph tags) and merge them as a single entry in the TOC.
    Help much needed!!
    Please advice....
    Regards,

    You cannot have two paragraph styles in one paragraph, but you could use different styles in each cell of your table and include them all in the TOC.
    As far as using a different paragraph style for the lisitng in the TOC and the actual text that is picked up, that's very common. It allows you to find many different paragraph styles to include, but have the listings all look the same, and completley different from how the text looks in the body of the book. You'd problay not want 24 pt Bold TOC lisitngs, but that might be appropraite for section headings that you want to pick up.

  • How do I stop the texts from other iPhone users trying to reach the person who has my old phone number?

    I no longer have cell phone service but I still use my iphone every day for apps and imessage. Now someone has my old phone number. It seems that this person does not have a iphone. Everytime one of their friends with an iphone tries to text them the message goes to my iphone. I have tried many things to stop this. I took my old phone number off my apple account and I took out my old sim card. But I still am getting texts from other iphones attempting to reach whom ever has my old phone number. HELP please. This person is very popular, at first it was funny now its annoying. I'm sure the person with my old number is even more upset than I since they are actully paying for service.

    Hello there, lalaysa.
    The following Knowledge Base article offers up some great recommendations for unlinking your old phone number from your device:
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    Unlink a phone number
    To remove a phone number from an Apple ID, sign out of FaceTime and Messages on your iPhone:
    Settings > Messages > Send & Receive. Tap your Apple ID, then tap Sign Out.
    Settings > FaceTime. Tap your Apple ID, then tap Sign Out.
    This should remove your phone number from other devices using the same Apple ID with FaceTime and Messages. If the phone number is still available on other devices after you sign out of FaceTime and iMessage on the iPhone, you may need to sign out of iMessage and FaceTime on all your devices, then sign in to FaceTime and Messages again on devices you want to use.
    Note: If you no longer have access to the iPhone that is using the number you want to remove, reset your Apple ID password.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • How can i get the correct text from a string like it show in the original source with the quotation marks in the right place ?

    The text is in hebrew so the problem is that sometimes the quotation marks not in the right place.
    For example i have this text: תווית
    על בגד: ''תן לאישה לכבס. זה תפקידה''
    This is the source original text you can see the quotations marks and they are not in the right place and all i did is copy paste.
    And this is a screenshot of how this text looks like in the website in the original:
    You can see now where the quotations marks should be.
    Now this is how i'm using the text in my program:
    First of all i'm using a webclient to download the page from the website and i'm also encoding it to windows-1255 since it's in hebrew.
    using (var webClient = new WebClient())
    webClient.Headers.Add("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.0.3705;)");
    byte[] myDataBuffer = webClient.DownloadData("http://rotter.net/scoopscache.html");
    page = Encoding.GetEncoding("windows-1255").GetString(myDataBuffer);
    Then i'm extracting the places i need by reading the html file lines and parsing the right text and it's link.
    string loc;
    List<string> metas = new List<string>();
    List<string> metas1 = new List<string>();
    List<string> lockedLinks1 = new List<string>();
    string text = "";
    string mys = "";
    public List<string> LockedThreads(string filename)
    lockedThreads = new List<string>();
    lockedLinks = new List<string>();
    Regex textRegex = new Regex("ToolTip.*?(?=','<)");
    string[] fall = File.ReadAllLines(filename);
    for (int i = 0; i < fall.Length; i++)
    if (fall[i].Contains("http://rotter.net") && fall[i].Contains("locked")||
    fall[i].Contains("locked_icon_general") ||
    fall[i].Contains("locked_icon_anchor") ||
    fall[i].Contains("icon_anchor") ||
    fall[i].Contains("locked_icon_fire") ||
    fall[i].Contains("locked_icon_sport") ||
    fall[i].Contains("locked_icon_camera") ||
    fall[i].Contains("locked_icon_movie"))
    Regex linkParser = new Regex(@"\b(?:https?://|www\.)\S+\b", RegexOptions.Compiled | RegexOptions.IgnoreCase);
    foreach (Match m in linkParser.Matches(fall[i + 2]))
    if (m.Value.Contains("><b"))
    loc = m.Value.Replace("\"><b", string.Empty);
    lockedLinks.Add(loc);
    string txt = fall[i - 1];
    string text = textRegex.Match(txt).Value.Replace("ToolTip','", String.Empty);
    if (text.Contains("&rsquo;"))
    text = text.Replace("&rsquo;", string.Empty);
    lockedThreads.Add(text);
    Already here on the List lockedThreads you can see the quotation marks not in the right place as in the original:
    After i'm parsing the text and links and adding them to the Lists in another class i'm doing a comparison using this Lists:
    foreach (List<string> l_branch in ListsExtractions.responsers)
    TreeNode l_node = treeView1.Nodes.Add(l_branch[l_branch.Count - 1]);
    if (ListsExtractions.lockedThreads.Contains(l_node.Text))
    l_node.ImageIndex = 0;
    l_node.SelectedImageIndex = 0;
    for (int l_count = 0; l_count < l_branch.Count - 1; l_count++)
    TreeNode l_subnode = l_node.Nodes.Add(l_branch[l_count]);
    if (ListsExtractions.lockedThreads.Contains(l_subnode.Text))
    l_subnode.ImageIndex = 0;
    l_subnode.SelectedImageIndex = 0;
    The problem is in the line:
    if (ListsExtractions.lockedThreads.Contains(l_node.Text))
    When it's getting to the line with the quotation marks it's never equal.
    Now there are more quotation marks.
    In general the problem when comparing both text if it's having quotation marks it's not the same.
    So i have two options:
    1. To fix it somehow so the quotation marks will be the same in both variables when comparing and also the same like in the original as they show in the html page.
    2. To remove the quotation marks from both variables.
    What should i do ? And how ? I was prefer to use the original quotation marks like in the original since they have a meaning in the place they should be. The question is how can i do it ?
    This is example of the block from the html file where the text with the quotation marks is:
    <TD ALIGN="RIGHT" VALIGN="TOP">&nbsp;<font size=-1 color=#ff9933><b>9418</b></font>&nbsp;</TD></TR><TR BGCOLOR="#eeeeee">
    <TD ALIGN="RIGHT" VALIGN="TOP">
    <body onmousemove="overhere()">
    <a onmouseover="EnterContent('ToolTip','תווית על בגד: &rsquo;&rsquo;תן לאישה לכבס. זה תפקידה&rsquo;&rsquo;','<u><span style=color:#000099;>כתב: Spook בתאריך: 08.03.15 שעה: 22:11</span></u><br>מחאת טוויטר קמה בעקבות תוויות שוביניסטיות שהדפיסה חברת אופנה באינדונזיה לפיהן תפקיד הכביסה מוטל על האישה. החברה התנצלה אך כנראה רק עשתה רק יותר נזק לע...'); Activate();" onmouseout="deActivate()" href="javascript:void(0)">
    <img src="http://rotter.net/forum/Images/new_locked_icon_general.gif" border="0"></a></TD><TD ALIGN="right" VALIGN="TOP" WIDTH="55%">
    <FONT CLASS='text15bn'><FONT FACE="Arial">
    <a href="http://rotter.net/cgi-bin/forum/dcboard.cgi?az=read_count&om=189696&forum=scoops1"><b>
    <font color="898A8E">תווית על בגד: ''תן לאישה לכבס. זה תפקידה''</b>
    </a></font></TD>

    Ok, it is unclear on what is happening here.
    Are you saying that when the webclient gets the data that it is not honoring the quote characters? Or the processing of the data buffer is causing issues?
    This is what I see the of your example text which is trying to be parse out:
    <a onmouseover="EnterContent('ToolTip','תווית על בגד: &rsquo;&rsquo;תן לאישה לכבס. זה תפקידה&rsquo;&rsquo;','<u><span style=color:#000099;>כתב: Spook בתאריך: 08.03.15 שעה: 22:11</span></u><br>מחאת טוויטר קמה בעקבות תוויות שוביניסטיות שהדפיסה חברת אופנה באינדונזיה לפיהן תפקיד הכביסה מוטל על האישה. החברה התנצלה אך כנראה רק עשתה רק יותר נזק לע...'); Activate();">";
    It appears to me that the  escapes `&rsquo;` does not have matching `&ldquo;` anywhere within the tooltip. So it appears that the page properly places left quotes in when processing the page, but the raw html has broken text.
    Hence a garbage in, garbage out situation.
    William Wegerson (www.OmegaCoder.Com)

  • How do I stop texts from being seen on multiple devices on the same iTunes account

    I just updated my iphone 4s to ios 6 and now my texts are being viewed on another iphone connected to the same itunes account. How do I stop this from happening??

    Go into Settings -> Messages -> Send & Receive on the devices that your would not like to get your text messages to.
    Then remove the email addresses that you would not like to be reached on, especially the one that is the same as your Apple ID.
    Just leave the phone number there, and then the text messages should only appear on your iPhone 4s.

  • Texting from my iPad shows my wife as the sender. Need to change identity somehow. May be problem with iCloud recognition.

    I've been sending texts via iMessage from my new iPad. It is set up to send from my mobile phone number as the sender. When I send a message (even to myself) it shows my wife as the sender. When sent to myself it shows my picture as the recipient. I've checked under the messages setting and it only shows my data and phone number. However under the setting menu under contact heading the " my info" has my wife's name ( on all our devices including both iPhones, iPad, iMac, etc). Even when I log into iCloud it comes up my name but shows her picture. That is why I'm wondering if the problem is with our iCloud account.  I've checked into it and only my data is included on it. W do share all our contacts via iCloud for all our devices.  I cannot figure out what or how to change it so it shows me as the sender.
    Any ideas?

    Firstly, you need to change your details with Apple,  Start here, change your country if necessary and go to manage your account. You may have already done this.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")
    Providing you are simply updating your existing details and not changing to another account, when you delete your account, all the data that is synced with iCloud will also be deleted from the device (but not from iCloud), but will be synced back to your device when you login again.
    In order to change your Apple ID or password for your iCloud account on your computer, you need to sign out of the account from your computer first, then sign back in using your updated details. (System Preferences > iCloud, click the sign out button)
    In order to change your Apple ID or password for your iTunes account on your iOS device, you need to sign out from your iOS device first, then sign back in using your updated details. (Settings > iTunes & App store, scroll down and tap your ID)
    If you are using iMessages or FaceTime, you will also need to log out and into your ID there too.

  • How can I delete texts from a conversation in iOS8 without deleting the entire conversation?

    If I tap and hold an indivivual text msg, I get the pop-up with "Copy | More" and I select "More".  The only choice then is to "Delete All" or "Cancel".  There is no trashcan visible to just delete the selected message. I have an iPhone 5 and and an iPhone 6.  Both are at iOS 8.1.3 and perform the same way.  Am I missing something?  One or two iOS versions ago, I was able to select individual msgs and "Delete Selected" (or something like that)

    sberman (& Emilyy1234), thanks for making me look more.  The Trash Can icon and the Forward (arrow) icon were not visible at the bottom of the screen. What was there was the text message input window with the camera icon in the lower left and the Send button in the lower right.  That screen bottom line was covering the Trash Can icon and the Forward icon.
    The only way I can make it disappear is to select the input area and then when the keyboard slides up and I drag it dow out of the way, the Trash Can is right where it should be.
    It seems like the action of 'tap and hold' an individual message and then selecting 'More' is failing to replace the bottom screen line (msg input line) with the Trash Can and Forward icon on the bottom screen line.  It works that way on the iPhone 5 and the iPhone 6 (both at iOS 8.1.3).  Is that the way it works for everyone or is it something about my phones?
    Thanks again folks. Glad to be able to use the function again.

  • Using Export for Kindle, how can I get black body text to display inverse (white on black) on Kindle

    I'm using ID 5.5 on a Vista system.
    I've created a book file with some colored fonts and anchored gif images. Basic paragraph (body text) is black. The "Export to Kindle" mobi file displays fine on Kindle for PC and Kindle Previewer.
    Kindle PC alows viewing on white, sepia or black background. Works fine on white and sepia, but when the black color mode is selected (night viewing option) the black text does not display as white text. What can I do to have the black text automatically change to white?
    While trying to find a solution, I created an epub file of the book and, using Calibre, converted it to mobi. When this mobi file is loaded into Kindle PC, the black text does automatically change to white when viewed on the black screen. I would use this method of creating the mobi, but there are several other issues that make this process unsatisfactory (other text colors don't work well, image transparency losses, etc).
    So, how can I get the black to white text thing using only Export to Kindle?
    Jim

    Grayscale is probably the best (Settings>General>Accessibility>Grayscale)
    -Ethan
    EDIT: If you would like a black color scheme, use the suggestion in the reply above.

  • Mail the local files as attachment and some body text

    hello Exprests
    I have a requirement where i have to mail the local files as attachment and some body text also...
    I am using the following code, and the problem is that i am getting a blank TXT as an attachment.
    Please help me solve this issue, if u change the spool request no., client & put ur mail id and execute it u will find that apart from the pdf we get an un wanted attachment also..
    Please suggest me the solution..
    WORK TABLE AREAS
    TABLES: tsp01.
    INTERNAL TABLES
    DATA: lt_rec_tab LIKE STANDARD TABLE OF soos1 WITH HEADER LINE,
    lt_note_text LIKE STANDARD TABLE OF soli WITH HEADER LINE,
    lt_attachments LIKE STANDARD TABLE OF sood5 WITH HEADER LINE.
    DATA: lt_objcont LIKE STANDARD TABLE OF soli WITH HEADER LINE,
    lt_objhead LIKE STANDARD TABLE OF soli WITH HEADER LINE.
    DATA: pdf_format LIKE STANDARD TABLE OF tline WITH HEADER LINE.
    TYPES: BEGIN OF y_files,
    file(60) TYPE c,
    END OF y_files.
    DATA: lt_files TYPE STANDARD TABLE OF y_files WITH HEADER LINE.
    DATA: l_objcont LIKE soli OCCURS 0 WITH HEADER LINE.
    DATA: l_objhead LIKE soli OCCURS 0 WITH HEADER LINE.
    STRUCTURES
    DATA: folder_id LIKE soodk,
    object_id LIKE soodk,
    link_folder_id LIKE soodk,
    g_document LIKE sood4,
    g_header_data LIKE sood2,
    g_folmem_data LIKE sofm2,
    g_header_data LIKE sood2,
    g_receive_data LIKE soos6,
    g_ref_document LIKE sood4,
    g_new_parent LIKE soodk,
    l_folder_id LIKE sofdk,
    v_email(50).
    DATA: hd_dat LIKE sood1.
    VARIABLES
    DATA: client LIKE tst01-dclient,
    name LIKE tst01-dname,
    objtype LIKE rststype-type,
    type LIKE rststype-type.
    DATA: numbytes TYPE i,
    arc_idx LIKE toa_dara,
    pdfspoolid LIKE tsp01-rqident,
    jobname LIKE tbtcjob-jobname,
    jobcount LIKE tbtcjob-jobcount,
    is_otf.
    DATA: outbox_flag LIKE sonv-flag VALUE 'X',
    store_flag LIKE sonv-flag,
    delete_flag LIKE sonv-flag,
    owner LIKE soud-usrnam,
    on LIKE sonv-flag VALUE 'X',
    sent_to_all LIKE sonv-flag,
    g_authority LIKE sofa-usracc,
    w_objdes LIKE sood4-objdes.
    DATA: c_file LIKE rlgrap-filename,
    n_spool(6) TYPE n.
    DATA: cancel.
    DATA: desired_type LIKE sood-objtp,
    real_type LIKE sood-objtp,
    attach_type LIKE sood-objtp,
    otf LIKE sood-objtp VALUE 'OTF', " SAPscript Ausgabeformat
    ali LIKE sood-objtp VALUE 'ALI'. " ABAP lists
    CONSTANTS
    CONSTANTS: ou_fol LIKE sofh-folrg VALUE 'O',
    c_objtp LIKE g_document-objtp VALUE 'RAW',
    c_file_ext LIKE g_document-file_ext VALUE 'TXT'.
    *=======================================================================
    *=
    *=========
    *z_send_email_fax2
    *function z_faian_mail_fax2.
    ""Interface local:
    *" IMPORTING
    *" REFERENCE(SRC_SPOOLID) LIKE TSP01-RQIDENT
    *" REFERENCE(FAX_MAIL_NUMBER) TYPE SO_NAME
    *" REFERENCE(HEADER_MAIL) TYPE SO_OBJ_DES
    *" REFERENCE(OBJECT_TYPE) TYPE SO_ESCAPE
    *" TABLES
    *" LT_BODY_EMAIL STRUCTURE SOLI
    *" EXCEPTIONS
    *" ERR_NO_ABAP_SPOOLJOB
    Fist part: Verify if the spool really exists
    *select single * from tsp01 where rqident = src_spoolid.
    DATA src_spoolid TYPE tsp01-rqident VALUE '23242'.
    DATA header_mail TYPE so_obj_des.
    DATA lt_body_email TYPE STANDARD TABLE OF soli WITH HEADER LINE.
    DATA l_t VALUE '1'.
    header_mail = 'Subject line of mail'.
    IF l_t = '1' .
    RAISE err_no_abap_spooljob. "doesn't exist
    *ELSE.
    client = '200'."tsp01-rqclient.
    name = 'SPOOL0000023242'."tsp01-rqo1name.
    CALL FUNCTION 'RSTS_GET_ATTRIBUTES'
    EXPORTING
    authority = 'SP01'
    client = client
    name = name
    part = 1
    IMPORTING
    type = type
    objtype = objtype
    EXCEPTIONS
    fb_error = 1
    fb_rsts_other = 2
    no_object = 3
    no_permission = 4
    OTHERS = 5.
    IF objtype(3) = 'OTF'.
    desired_type = otf.
    ELSE.
    desired_type = ali.
    ENDIF.
    CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
    EXPORTING
    rqident = src_spoolid
    desired_type = desired_type
    IMPORTING
    real_type = real_type
    TABLES
    buffer = l_objcont
    EXCEPTIONS
    no_such_job = 14
    type_no_match = 94
    job_contains_no_data = 54
    no_permission = 21
    can_not_access = 21
    read_error = 54.
    IF sy-subrc EQ 0.
    attach_type = real_type.
    ENDIF.
    CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET'
    EXPORTING
    owner = sy-uname
    region = ou_fol
    IMPORTING
    folder_id = l_folder_id
    EXCEPTIONS
    OTHERS = 5.
    fill out informations about the header of the email
    CLEAR: g_document.
    g_document-foltp = l_folder_id-foltp.
    g_document-folyr = l_folder_id-folyr.
    g_document-folno = l_folder_id-folno.
    g_document-objtp = c_objtp.
    g_document-objdes = header_mail.
    g_document-file_ext = c_file_ext.
    g_header_data-objdes = header_mail.
    CALL FUNCTION 'SO_DOCUMENT_REPOSITORY_MANAGER'
    EXPORTING
    method = 'SAVE'
    office_user = sy-uname
    IMPORTING
    authority = g_authority
    TABLES
    objcont = lt_body_email
    attachments = lt_attachments
    CHANGING
    document = g_document
    header_data = g_header_data
    EXCEPTIONS
    OTHERS = 1.
    folder_id-objtp = l_folder_id-foltp.
    folder_id-objyr = l_folder_id-folyr.
    folder_id-objno = l_folder_id-folno.
    object_id-objtp = c_objtp.
    object_id-objyr = g_document-objyr.
    object_id-objno = g_document-objno.
    link_folder_id-objtp = l_folder_id-foltp.
    link_folder_id-objyr = l_folder_id-folyr.
    link_folder_id-objno = l_folder_id-folno.
    REFRESH lt_rec_tab.
    CLEAR lt_rec_tab.
    lt_rec_tab-sel = 'X'.
    lt_rec_tab-recesc = object_type. "This field for FAX/MAIL
    lt_rec_tab-recnam = 'U-'.
    lt_rec_tab-deliver = 'X'.
    lt_rec_tab-not_deli = 'X'.
    lt_rec_tab-read = 'X'.
    lt_rec_tab-mailstatus = 'E'.
    lt_rec_tab-adr_name = fax_mail_number.
    lt_rec_tab-sortfield = fax_mail_number.
    lt_rec_tab-recextnam = fax_mail_number.
    lt_rec_tab-sortclass = '5'.
    APPEND lt_rec_tab.
    lt_rec_tab-recextnam = ."Email id .
    lt_rec_tab-recesc = 'U'. "object_type.
    lt_rec_tab-sndart = 'INT'.
    lt_rec_tab-sndpri = 1.
    APPEND lt_rec_tab.
    c_file = 'C:\Documents and Settings\abgupta\Desktop\Abhinav\zpk.txt'.
    lt_files-file = c_file.
    APPEND lt_files.
    begin of insertion by faianf01
    hd_dat-objdes = header_mail.
    CALL FUNCTION 'SO_ATTACHMENT_INSERT'
    EXPORTING
    object_id = object_id
    attach_type = attach_type
    object_hd_change = hd_dat
    owner = sy-uname
    TABLES
    objcont = l_objcont
    objhead = l_objhead
    EXCEPTIONS
    active_user_not_exist = 35
    communication_failure = 71
    object_type_not_exist = 17
    operation_no_authorization = 21
    owner_not_exist = 22
    parameter_error = 23
    substitute_not_active = 31
    substitute_not_defined = 32
    system_failure = 72
    x_error = 1000.
    IF sy-subrc > 0.
    ENDIF.
    end of insertion by faianf01
    lt_note_text-line = 'test prgram for email'.
    APPEND lt_note_text.
    send email from SAPOFFICE
    CALL FUNCTION 'SO_OBJECT_SEND'
    EXPORTING
    folder_id = folder_id
    object_id = object_id
    outbox_flag = outbox_flag
    link_folder_id = link_folder_id
    owner = sy-uname
    check_send_authority = 'X'
    TABLES
    receivers = lt_rec_tab
    note_text = lt_note_text
    EXCEPTIONS
    active_user_not_exist = 35
    communication_failure = 71
    component_not_available = 1
    folder_no_authorization = 5
    folder_not_exist = 6
    forwarder_not_exist = 8
    object_no_authorization = 13
    object_not_exist = 14
    object_not_sent = 15
    operation_no_authorization = 21
    owner_not_exist = 22
    parameter_error = 23
    substitute_not_active = 31
    substitute_not_defined = 32
    system_failure = 72
    too_much_receivers = 73
    user_not_exist = 35.
    ENDIF.
    COMMIT WORK AND WAIT.

    Hi!
    Add the actual body right after the line, you have created the Multipart object.
    // create and fill the first message part
    MimeBodyPart mbp1 = new MimeBodyPart();
    mbp1.setText(this.text); //body of message
    Multipart mp = new MimeMultipart();
    // Adding the body
    mp.addBodyPart(mbp1);
    //adding attachments
    //... and so on...-Raine-

  • Gettting text from header.

    Hello,
    I would like to know where a text appearing in
    vl03n -> Go to [menu] -> Header -> texts
    is stored.
    I mean I need the name of the table and the field, because I need to print the text in a form.
    Thanks a lot.
    Also I would appreciate to know how to find out the info by myself -in case.
    Thanks again.

    Hi
    You can't get the text from any table
    You have to use the fun module READ_TEXT
    pass the parameters OBJECT,ID,NAME and LANG
    NAME  = Delivery doc No
    OBJECT = 'VBBK'  (table)
    LANG = 'EN'
    ID  take it from the Text by double clicking GOTO->HEADER something like '0001'  or '0002'  etc
    see the doc
    READ_TEXT
    READ_TEXT provides a text for the application program in the specified work areas.
    The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
    After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
    If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK.
    Function call:
    CALL FUNCTION 'READ_TEXT'
    EXPORTING CLIENT = SY-MANDT
    OBJECT = ?...
    NAME = ?...
    ID = ?...
    LANGUAGE = ?...
    ARCHIVE_HANDLE = 0
    IMPORTING HEADER =
    TABLES LINES = ?...
    EXCEPTIONS ID =
    LANGUAGE =
    NAME =
    NOT_FOUND =
    OBJECT =
    REFERENCE_CHECK =
    WRONG_ACCESS_TO_ARCHIVE =
    Export parameters:
    CLIENT
    Specify the client under which the text is stored. If you omit this parameter, the system uses the current client as default.
    Reference field: SY-MANDT
    Default value: SY-MANDT
    OBJECT
    Enter the name of the text object to which the text is allocated. Table TTXOB contains the valid objects.
    Reference field: THEAD-TDOBJECT
    NAME
    Enter the name of the text module. The name may be up to 70 characters long. Its internal structure depends on the text object used.
    Reference field: THEAD-TDNAME
    ID
    Enter the text ID of the text module. Table TTXID contains the valid text IDs, depending on the text object.
    Reference field: THEAD-TDID
    LANGUAGE
    Enter the language key of the text module. The system accepts only languages that are defined in table T002.
    Reference field: THEAD-TDSPRAS
    ARCHIVE_HANDLE
    If you want to read the text from the archive, you must enter a handle here. The system uses it to access the archive. You can create the handle using the function module ACHIVE_OPEN_FOR_READ.
    The value '0' indicates that you do not want to read the text from the archive.
    Reference field: SY-TABIX
    Default value: 0
    Import parameters:
    HEADER
    If the system finds the desired text, it returns the text header in this parameter.
    Structure: THEAD
    Table parameters:
    LINES
    The table contains all text lines that belong to the text read.
    Structure: TLINE
    Exceptions:
    ID
    The text ID specified in the parameter ID does not exist in table TTXID. It must be defined there together with the object of the text module.
    LANGUAGE
    The parameter LANGUAGE contains a language key that does not exist in table T002.
    NAME
    The parameter NAME contains the name of a text module that does not correspond to the SAPscript conventions.
    Possible errors:
    The field contains only blanks.
    The field contains the invalid characters ‘*’ or ‘,’.
    OBJECT
    The parameter OBJECT contains the name of a text object that does not exist in table TTXOB.
    NOT_FOUND
    The system did not find the specified text module.
    REFERENCE_CHECK
    The text module to be read has no text lines of its own but refers to the lines of another text module. This reference chain can include several levels. For the current text, the chain is interrupted, that is, one of the text modules referred to in the chain no longer exists.
    WRONG_ACCESS_ TO_ARCHIVE
    The exception WRONG_ACCESS_TO_ARCHIVE is triggered if an archive is accessed using an incorrect or non-existing archive handle or an incorrect mode (that is, read if the archive is open for writing or vice versa).
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Paragraph or Text or Word?

    Hi all,
    I am a little bit confused about the relations between Paragraph, Text and Word (concerning CS3).
    1. What's the difference between Text and Paragraph or Text and Word?
    2. From the ESTK it looks like any of them can contain every other... are there any assumptions about hierarchy that can be made?
    Regards,
    Max

    A Paragraph is a stretch of text between two returns (paragraph marks).
    A Word is something that InDesign is sometimes confused about: in the interface, double-clicking selects a word and selects all consecutive letters. In scripting, when you place the cursor somewhere in a word and run app.selection[0].words[0].contents you'll see that Word means "anything between two spaces, two em-dashes, or two en-dashes (or a combination of these)".
    A Text is anything that's not a Paragraph, Word, or Character. Select half a paragraph and you'll get a Text; select several paragraphs and you'll get Paragraphs or Text, depending on how you select them: if the first and/or the last paragraph in the selection are not completely selected, you end up with a Text; if they are completely selected, you get Paragraphs.
    As to hierarchy, a Story contains Paragraphs, which contain Words, which contain Characters. A Story also contains Text (or TextStyleRange, if there's any formatting present). A Text can contain Paragraphs (and therefore Words), and a single Paragraph can contain Text. So the hierarchy is clear and simple, apart from Text, which has a variable relationship with other text objects.
    Some playing around with selections and running the single line app.selection[0] in the ESTK console is instructive.
    Peter

Maybe you are looking for

  • Using Apple TV on another country

    Hello, I am going back to Spain on christmas holidays and I was wondering whether if an Apple TV brought in the USA would work in Spain. THX

  • I want to modify the payment term in BP

    Hi, I want to modify the payment term in BP. I have this message when I try to modify: "do you want the system to replace all associated payment term settings automatically?" I can choose YES or NO: what changes if I choose the first or the second ch

  • Error entry no. 04 Clock-out cannot be delimited

    Hello experts, I am working in a time evaluation project and I am getting an error in time pair formation, I am using TM00 schemas: Employee planned working time schedule is from 22:55 (current day) to 06:55 (next day), If employee clocks-out in that

  • Suggestions needed on software

    I am aiming to make a game in adobe director but i want to integrate it with java. Does anyone know of any good software that integrates director and java. I have found INM MOKA XTRA but it seems very unpopular and expensive.

  • Time Capsule connection quality

    Hi everybody, I have a 3rd generation Time Capsule. It works perfectly connected to my modem. But when I use AirPort Utility on iOS, it shows me that the connection is "good" and not "excellent". The Time Capsule is connected via ethernet, the speed