P6 Text Attachment moves

I assigned text attachments to some activities but whenever I open that report attachments move up or down the report, do not stick with these activities. Any suggestions??
Thanks Goran S.

user13064427,
Just in case you haven't tried this.....another option would be to utilize the built-in Notebook tool in P6. It provides you with multiple options for adding text or other graphics to the gantt chart area of your P6 schedules.
Be careful not to overload your notebook area with too many graphics.....may create a memory hog and crash your software. As a side note, these Notebook text boxes sometimes get crushed or squeezed after reorganizing the schedule. The notebook text boxes may have to be manually resized (future enhancement request). We have found that by simply placing your cursor in the gantt chart region and scrolling thru the activities relieves this problem.
hope this helps,

Similar Messages

  • How to download / read  text attachment  in Sender Mail Adapter  IN XI

    Hi
    I would like to know how to download / read text attachment in sender mail Adapter & sent same attachment to target system using file adapter.
    Please help how to design / resolve this concept.
    Regards
    DSR

    I would like to know how to download / read text attachment in sender mail Adapter & sent same
    attachment to target system using file adapter.
    Take help from this blog:
    /people/michal.krawczyk2/blog/2005/12/18/xi-sender-mail-adapter--payloadswapbean--step-by-step
    From the blog:
    However in most cases
    our message will not be a part of the e-mail's payload but will be sent as a file attachment.
    Can XI's mail adapter handle such scenarios? Sure it can but with a little help
    from the PayloadSwapBean adapter module
    Once your message (attachment) is read by the sender CC, you can perform the basic mapping requirement (if any) to convert the mail message fromat to the file format.....configure a receiver FILE CC and send the message...this should be the design...
    Regards,
    Abhishek.

  • Email with text attachment with line width 1250

    Dear all,
                 I want to send the email with text attachment whose line width in text file is 1250. Kindly let me know how to send email attachment with more than 255 line width.
    Regards,
    Manoj
    Moderator Message: Frequently Asked Question. Please search for available information before posting.
    Edited by: kishan P on Apr 29, 2011 2:48 PM

    Hi,
    What ever text you are sending in the email, create a standard text for it using tcode SO10. In the program use the FM READ_TEXT to get the data into internal table which will be of length 132 char. If you want line widht of 255 chars convert using FM SX_TABLE_LINE_WIDTH_CHANGE as below,
    CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE'
        EXPORTING
          line_width_dst              = '255'
        TABLES
          content_in                  =  it_data
          content_out                 = it_mess_att
        EXCEPTIONS
          err_line_width_src_too_long = 1
          err_line_width_dst_too_long = 2
          err_conv_failed             = 3
          OTHERS                      = 4.
    Use FM SO_NEW_DOCUMENT_ATT_SEND_API1 to send email.
    Hope this will help you.
    regards,
    Tulasi.

  • Why does text box move when I open pages doc on my friend's mac?

    Hi Everyone,
      So I have this very vexing problem with pages. I have been trying to collaborate with a friend of mine and everytime the pages document moves from one computer to the other the text boxes move terribly out of place. So for example, I will make a document and format it perfectly on my computer. Then I will email it to her (or put it up on dropbox or yousendit or zip it and email it) and without fail when she opens it on her computer the text boxes have moved and the document looks horrible, all my design work is totally wasted. The same thing happens if she starts a document on her end and then gives it to me.
    Does anyone have any experience with this? Any suggestions?
    Oh and by the way we are both running OS 10.8.2 and Pages 4.3
    Thanks in advance!

    Hi Swati,
    That was a shot in the dark. I remember that the now obsolete MacDraw would reset its margins to suit different printers. I had the thought that because Pages page layout seems similar to MacDraw, it was doing the same. I don't have a printer, so my print settings don't tell me much. Maybe Page Setup or the Print dialogue?
    Let's hope that someone else has more ideas.
    Regards,
    Ian.

  • Receiver mail adapter - Payload as a Text attachment

    Hi,
    In my proxy to mail adapter scenario, when i want to send payload to email as a Text email, where i need to content conversion in XI (XML to Txt file)
    when i send payload, currently i am receiving as a XML file.
    I try to follow like Rushikesh Deshmukh XI thread: Text Attachment in Mail Adapter  in XI forum(topic)
    I have having following config
    Processing Sequence
    localejbs/CreateAttachment Local Enterprise Bean XML2Plain
    localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean Local Enterprise Bean mail
    Module Configuration
    XML2Plain Transform.Class com.sap.aii.messaging.adapter.Conversion
    XML2Plain Transform.ContentType text/plain;charset=utf-8
    XML2Plain xml.Header1000.fieldFixedLengths 100,10,10,30,30,80,80,20,10,10,20,20,30,10,18,240,10,30,18,10
    XML2Plain xml.Header2000.fieldFixedLengths 100,30,40,240
    XML2Plain xml.addHeaderLine 0
    XML2Plain xml.conversionType StructXML2Plain
    XML2Plain xml.recordsetStructure Header1000,Header2000
    Please suggest some solution."
    Could you tell me exactly where i need to do all these setting and
    do i need import localejbs/CreateAttachment Local Enterprise Bean XML2Plain...I mean shall i add same in my processing sequence
    give in detail ? (in Receiver mail adapter Communication channel,  advanced mode additional parameters)
    I tried to follow this also
    http://help.sap.com/saphelp_nw04/helpdata/EN/4e/c153426da9bd30e10000000a155106/frameset.htm
    but i could not find much info on this help.sap.com reg. req.
    Thanks
    Prabaharan

    Hi
    f i create like this Receiver CC (module Tab)
    number: 1
    Module Name: localejbs/CreateAttachment
    Module Type: Local Enterprise Bean
    Module Key: mail
    is it enough? do i need any other setting like this
    Did you deployed CreateAttachment on PI server. As this is not a standard SAP module this is a custom module?
    mail as module key is already used by XIMAILAdapterBean use some other key for CreateAttachment
    Settings are fine for the Module
    Processing Sequence
    localejbs/CreateAttachment Local Enterprise Bean XML2Plain
    localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean Local Enterprise Bean mail
    Module Configuration
    XML2Plain Transform.Class com.sap.aii.messaging.adapter.Conversion
    In this:
    Module Key: XML2Plain
    Parameter Name: Transform.Class
    Parameter Value: com.sap.aii.messaging.adapter.Conversion
    is it right?
    Processing sequence is fine
    XML2Plain Transform.ContentType text/plain;charset=utf-8
    XML2Plain xml.Header1000.fieldFixedLengths 100,10,10,30,30,80,80,20,10,10,20,20,30,10,18,240,10,30,18,10
    XML2Plain xml.Header2000.fieldFixedLengths 100,30,40,240
    XML2Plain xml.addHeaderLine 0
    XML2Plain xml.conversionType StructXML2Plain
    XML2Plain xml.recordsetStructure Header1000,Header2000
    can i anyone explain how to these settings?
    Is this key valid to provide inputs to the module check with the code for this module
    This looks like valid for MessageTransformBean ro StrictXMLtoPlainBean
    Thanks
    Gaurav
    Edited by: Gaurav Bhargava on Oct 15, 2008 5:34 AM

  • Receiver Mail adapter - Text attachment

    Hi Folks,
    sorry to post again & again same issue.
    if i want to achieve (proxy 2 mail scenario) Payload as text attachment in email,
    do i need to use below 2 modules in My receiver CC?
    Number 1 as AF_Modules/StrictXml2PlainBean
    Number 2 as AF_Modules/MessageTransformBean
    is it right (the order which i used and Modules which i used)?
    Screen shot link of my config:
    http://farm4.static.flickr.com/3071/2951413865_498cb4f19b_o.jpg
    http://farm4.static.flickr.com/3027/2951427759_d4d3097826_o.jpg
    did i make any mistake on my config?
    Rightnow i am getting Business content data in the email message inbox only. I am not getting Business data as a attachment.
    do i need to use PayloadSWAPBean module also to achieve my req.?
    Inputs reg. this will be helpful.
    Thanks
    Praba

    HI Gaurav,
    I tested again for ur Try
    With XIALL option  - i am getting 2 files in a attachment
    file name: ATT00001.xml  - control records -
    output file name : Untitled.xml - Payload (business data)
    file name: ATT00001.xml  as a attachment in the email
    - XI PAYLOAD  with out any module( but default sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean - module will be there), with out keep attachments option
      output file name : Untitled.xml  as a attachment in the email
    XI Payload  with out any module ( but default sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean - module will be there), with keep attachments
    any one has idea on this, plz throw some inputs
    Thanks
    Praba

  • Text Attachment in Mail Adapter

    Hi, I have Proxy-XI-Mail scenario.
    I want to send the mail as TEXT attachment.But the Text is coming as Mail content.
    I have having following config
    Processing Sequence
    localejbs/CreateAttachment                           Local Enterprise Bean     XML2Plain
    localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean  Local Enterprise Bean mail
    Module Configuration
    XML2Plain     Transform.Class     com.sap.aii.messaging.adapter.Conversion     
    XML2Plain     Transform.ContentType     text/plain;charset=utf-8          
    XML2Plain     xml.Header1000.fieldFixedLengths     100,10,10,30,30,80,80,20,10,10,20,20,30,10,18,240,10,30,18,10
    XML2Plain     xml.Header2000.fieldFixedLengths     100,30,40,240
    XML2Plain     xml.addHeaderLine     0
    XML2Plain     xml.conversionType     StructXML2Plain
    XML2Plain     xml.recordsetStructure     Header1000,Header2000
    Please suggest some solution.
    Thanks.
    Rushikesh

    Hi,
    Refer these blogs
    http://www.sapag.co.in/SAP-XI-Mail-Adaptor-FAQ'S.html
    The specified item was not found.
    The specified item was not found.
    eMail Report as Attachment (Excel/Word)
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
    XI Mail Adapter: An approach for sending emails with attachment with help of Java mapping
    and also refer these links
    http://www.riyaz.net/blog/index.php/2008/02/27/xipi-configuring-the-sender-mail-adapter/
    http://help.sap.com/saphelp_nw04/helpdata/en/23/c093409c663228e10000000a1550b0/content.htm
    Regards,
    Suryanarayana

  • Regarding text attachment in Email in ABAP program

    Hello...
    Need your expertise in one of the issues. Requirement is seems to be simple
    but i am stuck up at this moment. i have refereed SDN with Several code but
    some point its not giving the proper solution. So its a request to you please
    do not provide any SDN link for reference as i am very much tried all of them.
    please share piece of code.
    Requirement : Need to develope one ABAP program, Email text attachment with Header line.thought its
    very simple but still facing difficulties.
    i have tried many code either its showing Data in single line without new line , in one of the Codes
    data is coming in successive line but there is lot of spacing within Words means all alphabates are tab
    separated. coud you please provide ,me the proper solution for this.
    in  one of the codes is working fine for excel but when Txt extension done data is not coming in successive line all
    data is coming in single line.
    Ex. Text file should contain 1 head and 4 colunns and Data size 50..
    Thanks
    Nishi

    Hi,
    Another option....
    Some sample code using cl_bcs .
    Note the use of cl_abap_char_utilities=>cr_lf .
    FORM mail_1_prep_10
    USING
        it_data         TYPE table
      CHANGING
        ob_document_bcs TYPE REF TO cl_document_bcs .
      DATA: txt_line TYPE string .
      DATA: txt_data TYPE string .
    * Create some text data .
      DO 20 TIMES .
        txt_line = '' .
        DO 10 TIMES .
          CONCATENATE txt_line '|' 'some data 01' '|'   INTO txt_line .
        ENDDO .
        CONCATENATE txt_line cl_abap_char_utilities=>cr_lf INTO txt_line .
        CONCATENATE txt_data txt_line INTO txt_data .
      ENDDO .
    * Mail stuf....
      DATA: it_solix TYPE solix_tab .
      CALL METHOD cl_bcs_convert=>string_to_solix
        EXPORTING
          iv_string = txt_data
        IMPORTING
          et_solix  = it_solix.
      DATA: attachment_subject TYPE so_obj_des .
      DATA: attachment_type TYPE so_obj_tp .
      attachment_subject = 'Some text data' .
      attachment_type = 'txt' .
      TRY.
          CALL METHOD ob_document_bcs->add_attachment
            EXPORTING
              i_attachment_type    = attachment_type
              i_attachment_subject = attachment_subject
              i_att_content_hex    = it_solix.
        CATCH cx_document_bcs .
      ENDTRY.
    ENDFORM .                    "mail_1_prep_10
    regards.
    This is how I see it in my mail :

  • Need to link text within movie template

    Hi all,
    I downloaded a flash site template (some time ago) that I'm
    just getting round to using. I don't recall if support was offered
    when I bought the site. If so, I've long since lost the link to
    that support. So, I'm turning here for help.
    The site in question is www.plumbingsystems.net. Within the
    template there are individual movies. One of these movies is
    titled, "Text Area." I don't believe I can actually post this movie
    for review but I'm hoping by posting the text layout under
    "actions" that someone out there might be able to tell me how this
    text can be formatted and, most importantly, if the text can be
    linked to other URLs. Specifically, I want to take the text that
    makes up the "Client List" text and link some of the client names
    to external URLs with photos of the client's work. Here is how the
    text appears within the "actions" panel of the Text Area movie:
    text = "With decades of experience in commercial and
    industrial plumbing, the owner and employees of Plumbing Systems
    understand the needs of contractors. We provide expertise with
    numerous specialty piping services, reliability in meeting
    timelines and a commitment to working within
    budget."+newline+newline+"Having worked jobs from 4,000 to 400,000
    square feet and covered projects from commercial kitchens to malls
    and medical centers, we’re familiar with the challenges of
    both large and small scale projects. We can offer up everything
    from planning and design of a job, to installation and
    maintenance."+newline+newline+"Our ability to handle a project from
    planning through completion has allowed us to build long-term
    working relationships with some of the country’s top
    companies. Take a look at our client list, projects and other
    links. We think you’ll see why Plumbing Systems is the
    logical choice for contractors looking to partner with success.";
    Again, I need to know if/how this type of text can be made to
    a live link to a URL. Is this possible? I'd appreciate any help.
    This has confounded me, on and off, for a long time with these
    types of templates.
    Laurie

    Thanks!
    Robin Kramer
    Technical Representative
    Dartmouth Printing Co.
    603.643.2220 ext 291
    603.643.5479 fax
    [email protected]

  • E-mail as text attachment

    Hi,
    I want to send E-Mail as a .txt attachment.
    I tried using FM SO_DOCUMENT_SEND_API1, but its giving the sy-subrc = 2 (I.E document_not_sent) .
    Is 4.5B supports the text attachment ?
    is any configration requried?
    we have development and Quality clients this below code execuated in develpment sucessfully but when iam trying to test in quality client its throwing the error ( document_not_sent)
    Below is my code
    *--Data declearation
    DATA: OBJPACK LIKE SOPCKLSTI1 OCCURS 0 WITH HEADER LINE.
    DATA: OBJHEAD LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE.
    DATA: OBJBIN LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE.
    DATA: OBJTXT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE.
    DATA: RECLIST LIKE SOMLRECI1 OCCURS 0 WITH HEADER LINE.
    DATA: DOC_CHNG LIKE SODOCCHGI1.
    DATA: TAB_LINES LIKE SY-TABIX.
    DATA: L_MSG(100) TYPE C.
    * Creation of the document to be sent
    DOC_CHNG-OBJ_NAME = 'Z2318S1B01'.
    DOC_CHNG-OBJ_DESCR = EMSUBJ .
    OBJTXT = 'your report from apple vacations is enclosed as
              ATTACHMENT'.
    APPEND OBJTXT.
    DESCRIBE TABLE OBJTXT LINES TAB_LINES.
    READ TABLE OBJTXT INDEX TAB_LINES.
    DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    * Creation of the entry for the compressed document
    CLEAR OBJPACK-TRANSF_BIN.
    OBJPACK-HEAD_START = 1.
    OBJPACK-HEAD_NUM = 0.
    OBJPACK-BODY_START = 1.
    OBJPACK-BODY_NUM = TAB_LINES.
    OBJPACK-DOC_TYPE = 'RAW'.
    APPEND OBJPACK.
    * Creation of the document attachment
    LOOP AT IT_ATTACHMENT.
    OBJBIN = IT_ATTACHMENT-EMAIL.
    APPEND OBJBIN.
    CLEAR OBJBIN.
    ENDLOOP.
    DESCRIBE TABLE OBJBIN LINES TAB_LINES.
    OBJHEAD = 'Airport Mainfest.txt'.
    APPEND OBJHEAD.
    * Creation of the entry for the compressed attachment
    OBJPACK-TRANSF_BIN = 'X'.
    OBJPACK-HEAD_START = 1.
    OBJPACK-HEAD_NUM = 1.
    OBJPACK-BODY_START = 1.
    OBJPACK-BODY_NUM = TAB_LINES.
    OBJPACK-DOC_TYPE = 'BMP'.
    OBJPACK-OBJ_NAME = 'ANLAGE'.
    OBJPACK-OBJ_DESCR = 'Representation of object 138'.
    OBJPACK-DOC_SIZE = TAB_LINES * 255.
    APPEND OBJPACK.
    * Completing the recipient list
    TRANSLATE EMAILID-LOW TO LOWER CASE.
    RECLIST-RECEIVER = EMAILID-LOW.
    RECLIST-REC_TYPE = 'U'.
    APPEND RECLIST.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
         EXPORTING
              DOCUMENT_DATA              =  DOC_CHNG
             PUT_IN_OUTBOX              =  'X'
         TABLES
              PACKING_LIST               = OBJPACK
             OBJECT_HEADER              =  OBJHEAD
             CONTENTS_BIN               = OBJBIN
             CONTENTS_TXT               = OBJTXT
              RECEIVERS                  = RECLIST
        EXCEPTIONS
             TOO_MANY_RECEIVERS         = 1
             DOCUMENT_NOT_SENT          = 2
             DOCUMENT_TYPE_NOT_EXIST    = 3
             OPERATION_NO_AUTHORIZATION = 4
             PARAMETER_ERROR            = 5
             X_ERROR                    = 6
             ENQUEUE_ERROR              = 7
             OTHERS                     = 8.
    IF SY-SUBRC = 0.
      LOOP AT RECLIST.
        IF RECLIST-RETRN_CODE = 0.
            CONCATENATE RECLIST-RECEIVER ':'
                        'The document was sent' INTO L_MSG.
       MESSAGE S656 WITH L_MSG.
        ELSE.
        CONCATENATE RECLIST-RECEIVER ':'
                       'The document was sent' INTO L_MSG.
           MESSAGE E656 WITH L_MSG.
        ENDIF.
      ENDLOOP.
    ELSE.
            CONCATENATE RECLIST-RECEIVER ':'
            'error occurred in sending mail' INTO L_MSG.
           MESSAGE S656 WITH L_MSG.
    ENDIF.
    Thanks
    Vikranth Khimavath

    Hi,
    I want to send E-Mail as a .txt attachment.
    I tried using FM SO_DOCUMENT_SEND_API1, but its giving the sy-subrc = 2 (I.E document_not_sent) .
    Is 4.5B supports the text attachment ?
    is any configration requried?
    we have development and Quality clients this below code execuated in develpment sucessfully but when iam trying to test in quality client its throwing the error ( document_not_sent)
    Below is my code
    *--Data declearation
    DATA: OBJPACK LIKE SOPCKLSTI1 OCCURS 0 WITH HEADER LINE.
    DATA: OBJHEAD LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE.
    DATA: OBJBIN LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE.
    DATA: OBJTXT LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE.
    DATA: RECLIST LIKE SOMLRECI1 OCCURS 0 WITH HEADER LINE.
    DATA: DOC_CHNG LIKE SODOCCHGI1.
    DATA: TAB_LINES LIKE SY-TABIX.
    DATA: L_MSG(100) TYPE C.
    * Creation of the document to be sent
    DOC_CHNG-OBJ_NAME = 'Z2318S1B01'.
    DOC_CHNG-OBJ_DESCR = EMSUBJ .
    OBJTXT = 'your report from apple vacations is enclosed as
              ATTACHMENT'.
    APPEND OBJTXT.
    DESCRIBE TABLE OBJTXT LINES TAB_LINES.
    READ TABLE OBJTXT INDEX TAB_LINES.
    DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    * Creation of the entry for the compressed document
    CLEAR OBJPACK-TRANSF_BIN.
    OBJPACK-HEAD_START = 1.
    OBJPACK-HEAD_NUM = 0.
    OBJPACK-BODY_START = 1.
    OBJPACK-BODY_NUM = TAB_LINES.
    OBJPACK-DOC_TYPE = 'RAW'.
    APPEND OBJPACK.
    * Creation of the document attachment
    LOOP AT IT_ATTACHMENT.
    OBJBIN = IT_ATTACHMENT-EMAIL.
    APPEND OBJBIN.
    CLEAR OBJBIN.
    ENDLOOP.
    DESCRIBE TABLE OBJBIN LINES TAB_LINES.
    OBJHEAD = 'Airport Mainfest.txt'.
    APPEND OBJHEAD.
    * Creation of the entry for the compressed attachment
    OBJPACK-TRANSF_BIN = 'X'.
    OBJPACK-HEAD_START = 1.
    OBJPACK-HEAD_NUM = 1.
    OBJPACK-BODY_START = 1.
    OBJPACK-BODY_NUM = TAB_LINES.
    OBJPACK-DOC_TYPE = 'BMP'.
    OBJPACK-OBJ_NAME = 'ANLAGE'.
    OBJPACK-OBJ_DESCR = 'Representation of object 138'.
    OBJPACK-DOC_SIZE = TAB_LINES * 255.
    APPEND OBJPACK.
    * Completing the recipient list
    TRANSLATE EMAILID-LOW TO LOWER CASE.
    RECLIST-RECEIVER = EMAILID-LOW.
    RECLIST-REC_TYPE = 'U'.
    APPEND RECLIST.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
         EXPORTING
              DOCUMENT_DATA              =  DOC_CHNG
             PUT_IN_OUTBOX              =  'X'
         TABLES
              PACKING_LIST               = OBJPACK
             OBJECT_HEADER              =  OBJHEAD
             CONTENTS_BIN               = OBJBIN
             CONTENTS_TXT               = OBJTXT
              RECEIVERS                  = RECLIST
        EXCEPTIONS
             TOO_MANY_RECEIVERS         = 1
             DOCUMENT_NOT_SENT          = 2
             DOCUMENT_TYPE_NOT_EXIST    = 3
             OPERATION_NO_AUTHORIZATION = 4
             PARAMETER_ERROR            = 5
             X_ERROR                    = 6
             ENQUEUE_ERROR              = 7
             OTHERS                     = 8.
    IF SY-SUBRC = 0.
      LOOP AT RECLIST.
        IF RECLIST-RETRN_CODE = 0.
            CONCATENATE RECLIST-RECEIVER ':'
                        'The document was sent' INTO L_MSG.
       MESSAGE S656 WITH L_MSG.
        ELSE.
        CONCATENATE RECLIST-RECEIVER ':'
                       'The document was sent' INTO L_MSG.
           MESSAGE E656 WITH L_MSG.
        ENDIF.
      ENDLOOP.
    ELSE.
            CONCATENATE RECLIST-RECEIVER ':'
            'error occurred in sending mail' INTO L_MSG.
           MESSAGE S656 WITH L_MSG.
    ENDIF.
    Thanks
    Vikranth Khimavath

  • E-Mail as text attachment Exception

    Hi,
    When iam sending E-Mail as a text attachment iam not able to send email.
    <i><b>exception occured ( document_not_sent )</b></i> This is the error what iam getting. Below is my code.Please help me.
    DATA : DOC_CHNG LIKE SODOCCHGI1,
           OBJPACK LIKE SOPCKLSTI1 OCCURS  0 WITH HEADER LINE,
           OBJHEAD LIKE SOLISTI1   OCCURS  0 WITH HEADER LINE,
           OBJBIN  LIKE SOLISTI1   OCCURS  0 WITH HEADER LINE,
           OBJTXT  LIKE SOLISTI1   OCCURS  0 WITH HEADER LINE,
           RECLIST LIKE SOMLRECI1  OCCURS  0 WITH HEADER LINE.
    DATA: TAB_LINES LIKE SY-TABIX,
          L_MSG(50).
    * Creating the document to be sent
    DOC_CHNG-OBJ_NAME = 'Z2318S1B01'.
    DOC_CHNG-OBJ_DESCR = EMSUBJ.         "Given in Selection screen
    * Creating the body of email
    REFRESH OBJTXT.
    OBJTXT = 'your report'.
    APPEND OBJTXT.
    *-- Document size
    DESCRIBE TABLE OBJTXT LINES TAB_LINES.
    READ TABLE OBJTXT INDEX TAB_LINES.
    DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    *-- Populate packing list for body text
    CLEAR OBJPACK-TRANSF_BIN.
    OBJPACK-HEAD_START = 1.
    OBJPACK-HEAD_NUM   = 0.
    OBJPACK-BODY_START = 1.
    OBJPACK-BODY_NUM   = TAB_LINES.
    OBJPACK-DOC_TYPE   = 'RAW'.
    APPEND OBJPACK.
    CLEAR OBJPACK.
    *-----Attachment details
    *-- Final Data to send to EMail
    LOOP AT IT_ATTACHMENT.
    OBJBIN-LINE = IT_ATTACHMENT-EMAIL.
    APPEND OBJBIN.
    CLEAR OBJBIN.
    ENDLOOP.
    *-- Get total no.of lines of Object table(attachment)
    CLEAR : TAB_LINES.
    DESCRIBE TABLE OBJBIN LINES TAB_LINES.
    *-- Populate object header(attachment name)
    OBJHEAD = EMATTACH.
    APPEND OBJHEAD.
    CLEAR  OBJHEAD.
    *-- Packing list for attachment
    OBJPACK-TRANSF_BIN = 'X'.
    OBJPACK-HEAD_START = 1.
    OBJPACK-HEAD_NUM = 1.
    OBJPACK-BODY_START = 1.
    OBJPACK-BODY_NUM = TAB_LINES .
    OBJPACK-DOC_TYPE = 'TXT'.
    OBJPACK-OBJ_NAME = 'Z2318S1B01'.
    OBJPACK-OBJ_DESCR = EMSUBJ.
    OBJPACK-DOC_SIZE = TAB_LINES * 255.
    APPEND OBJPACK.
    CLEAR  OBJPACK.
    *-- Populate Mail Id's
    LOOP AT EMAILID.
    RECLIST-RECEIVER = EMAILID-LOW.
    APPEND RECLIST.
    ENDLOOP.
    RECLIST-REC_TYPE = 'U'.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
         EXPORTING
              DOCUMENT_DATA              = DOC_CHNG
              PUT_IN_OUTBOX              = 'X'
    *    IMPORTING
    *         SENT_TO_ALL                =
    *         NEW_OBJECT_ID              =
         TABLES
              PACKING_LIST               = OBJPACK
              OBJECT_HEADER              = OBJHEAD
              CONTENTS_BIN               = OBJBIN
              CONTENTS_TXT               = OBJTXT
    *         CONTENTS_HEX               =
    *         OBJECT_PARA                =
    *         OBJECT_PARB                =
              RECEIVERS                  = RECLIST
         EXCEPTIONS
              TOO_MANY_RECEIVERS         = 1
              DOCUMENT_NOT_SENT          = 2
              DOCUMENT_TYPE_NOT_EXIST    = 3
              OPERATION_NO_AUTHORIZATION = 4
              PARAMETER_ERROR            = 5
              X_ERROR                    = 6
              ENQUEUE_ERROR              = 7
              OTHERS                     = 8.
    Thanks
    Vikranth Khimavath
    Message was edited by:
            Khimavath Vikranth
    Message was edited by:
            Khimavath Vikranth

    Hi Vikranth,
    Check the below mentioned code. In this code replace the code of converting attachment(PDF) with Text. & pass the table contents_hex in function module fro sending email.
    REPORT  z_test.
    DATA: x_ctrl_p       TYPE ssfctrlop,
          x_output_data  TYPE ssfcrescl.
    DATA: it_docs    LIKE docs       OCCURS 0 WITH HEADER LINE,
          it_lines   LIKE tline      OCCURS 0 WITH HEADER LINE,
          it_packing LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE.
    *-----Initialisation
    x_ctrl_p-no_dialog = 'X'.
    x_ctrl_p-getotf    = 'X'.
    x_ctrl_p-langu     = sy-langu.
              Internal Tables  Declaration                              *
    DATA: it_record    LIKE solisti1   OCCURS 0 WITH HEADER LINE,
          it_pcklist   LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
          it_mess      LIKE solisti1   OCCURS 0 WITH HEADER LINE,
          it_objbin    LIKE solisti1   OCCURS 0 WITH HEADER LINE,
          it_receivers LIKE somlreci1  OCCURS 0 WITH HEADER LINE,
          it_table     LIKE solix      OCCURS 0 WITH HEADER LINE.
    DATA: it_soli      LIKE soli OCCURS 0 WITH HEADER LINE.
    *-----Work area declaration
    DATA: wa_doc_data  TYPE  sodocchgi1.
              Variable  Declaration                                     *
    DATA: v_lines_txt  TYPE  i,
          v_lines_bin  TYPE  i,
          v_lines      TYPE  i,
          v_fname TYPE rs38l_fnam,
          v_size TYPE i,
          v_filename TYPE rlgrap-filename.
              Start of selection event                                  *
    START-OF-SELECTION.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname = 'Z_SMTF_TEST'
        IMPORTING
          fm_name  = v_fname.
      CALL FUNCTION v_fname
        EXPORTING
          control_parameters = x_ctrl_p
        IMPORTING
          job_output_info    = x_output_data.
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
          max_linewidth         = 134
        IMPORTING
          bin_filesize          = v_size
        TABLES
          otf                   = x_output_data-otfdata
          lines                 = it_lines
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          OTHERS                = 4.
      CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE'
        EXPORTING
          line_width_dst              = 255
        TABLES
          content_in                  = it_lines
          content_out                 = it_soli
        EXCEPTIONS
          err_line_width_src_too_long = 1
          err_line_width_dst_too_long = 2
          err_conv_failed             = 3
          OTHERS                      = 4.
      CALL FUNCTION 'ZFUNC_CONVERT_DATA_ODC01'
       EXPORTING
         iv_byte_mode       = 'X'
       TABLES
         it_data            = it_lines
         et_data            = it_table.
    *-----To caluculate total number of lines of internal table
      DESCRIBE TABLE it_table LINES v_lines.
    *-----Function module to download the output file.
      CALL FUNCTION 'DOWNLOAD'
        EXPORTING
          bin_filesize = v_size
          filename     = ' '
          filetype     = 'BIN'
        IMPORTING
          act_filename = v_filename
        TABLES
          data_tab     = it_lines.
    *-----Create Message Body and Title and Description
      it_mess =
    'i have successfully converted smartform from otf format to pdf' .
      " and i have attached that in mail'.
      APPEND it_mess.
      wa_doc_data-obj_name   = 'smartform'.
      wa_doc_data-expiry_dat = sy-datum + 10.
      wa_doc_data-obj_descr  = 'smartform'.
      wa_doc_data-sensitivty = 'F'.
      wa_doc_data-doc_size   = v_lines * 255.
      APPEND it_pcklist.
    *-----PDF Attachment
      it_pcklist-transf_bin = 'X'.
      it_pcklist-head_start = 1.
      it_pcklist-head_num = 0.
      it_pcklist-body_start = 1.
      it_pcklist-doc_size =  v_lines_bin * 255 .
      it_pcklist-body_num = v_lines.
      it_pcklist-doc_type = 'PDF'.
      it_pcklist-obj_name = 'smartform'.
      it_pcklist-obj_descr = 'smart_desc'.
      it_pcklist-obj_langu  = 'E'.
      it_pcklist-doc_size   = v_lines * 255.
      APPEND it_pcklist.
    *-----Giving the receiver email-id
      CLEAR it_receivers.
      it_receivers-receiver = '[email protected]'.
      it_receivers-rec_type = 'U'.
      APPEND it_receivers.
      CLEAR it_receivers.
      it_receivers-receiver = '[email protected]'.
      it_receivers-rec_type = 'U'.
      APPEND it_receivers.
    *-----Calling the function module to sending email
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = wa_doc_data
          put_in_outbox              = 'X'
          commit_work                = 'X'
        TABLES
          packing_list               = it_pcklist
          contents_txt               = it_mess
          contents_hex               = it_table
          receivers                  = it_receivers
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
      IF sy-subrc = 0.
        SUBMIT rsconn01   WITH mode       = 'INT'
                          WITH output     = 'X'
                          WITH rfcgroup   = 'iwdf7ytc_YD3_94'
                          AND RETURN.
        REFRESH: it_receivers,
                 it_mess,
                 it_pcklist.
      ENDIF.
    Ashven

  • Attaching .MOV to email

    When I attach a .MOV to my email it's coming up in duplicate and very small. This hasn't always been the case. I've sent many .MOV through email with no problem till now. Any help would be appreciated.

    I believe you posted in the wrong forum. The iPhone can not attach MOV files to emails.

  • Attach movie - broken buttons - targeting

    Let's say i have a simple movie clip called "navBar" and in
    that movie clip I have nested another movie clip called
    "green_btn". I have assigned linkage to both clips the first as
    "navBar" and the second "green_btn". It is removed from the stage
    and saved in the library with proper linkage.
    Now let's say I return to the stage and create a "holder" for
    my attached movie. I leave it blank, I call it "myHolder_mc" and
    assign it linkageand give it a instance name of "myHolder_mc" and
    move the cross hairs to the upper right hand corner.
    Then I create a red button movie clip on the stage of a red
    circle called "red_btn", and give it a instance name of "red_btn".
    I will use red_btn.onRelease to load up the attachedMovie. When I
    press the red_btn, the "navBar" movie attaches fine.
    OK, thanks for sticking with me this far - HERE IS THE
    PROBLEM - I want to be able to target the "green_btn" that is
    located in the original navBar and assign it a onRelease function.
    I can't seem to be able to target it, and have tried to find the
    right target path, but can't seem to do it correctly.
    So here is the code so far that isn't working
    red_btn.onRelease = function(){
    myHolder_mc.attachMovie("navBar","navBar", 0)
    // the green_btn is nested inside of the navBar movieClip
    myHolder_mc.navBar.green_btn.onRelease = function(){
    trace("hello")
    What should I do?

    If you are importing the swf into the library it will lose all its actionscript.  You need to either copy that file from its original fla and create it as a movieclip in your other file (copy its timeline into a movieclip) or load that swf dynamically when the file is running using actionscript.

  • Attach movie (not using a button)

    I'm trying to attach movie on frame 1 on timeline. I'm using
    the following script and nothing happens:
    myMovieClip.attachMovie("graphic", "g", 1);
    g._x = 260;
    g._y = 250;
    When I use this script attached to a button it's working:
    on (press) {
    attachMovie("graphic", "g", 1);
    g._x = 260;
    g._y = 250;
    any idea what can be wrong?

    >>myMovieClip.attachMovie("graphic", "g", 1);
    This code assumes there is a movieclip with instance name
    'myMovieClip' on level0.
    >>do i have to give the movie clip an instant name
    No.
    >>i gave the name -graphic- in the linkage under
    identifier
    That's correct.

  • Attach movie clips to scrollPane using attachMovie

    Hi
    I tried to attach movie clips to scrollPane using attachMovie
    but could not do it
    I tried the following code:
    sp.contentPath="emptyMovieClip"
    sp.content.attachMovie("boxesRow","boxesRow1",1)
    trace(sp.content.boxesRow1)
    Im able to trace the sp.content.boxesRow1 , but not seen in
    the scrollPane
    Can any one suggest me , how can I do this
    Pleaseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
    Thank you very much

    hi,
    The code is correct....
    But, what i want to know is, are using the Identifier name of
    the moviclips ???
    "emptyMovieClip" should be an Ideintifier name for an empty
    clip in the library.
    and "boxesRow" should refer an identifier name of another
    movie clip in the library...(its should also contain some object
    for the visibility check)...

Maybe you are looking for

  • Does Endeca Integrator Loads Attribute with Null value?

    I have a table in DB , with a column , lets say, supply_id. This is null for all rows. When i load data from this table using clover ETL graph and lets say source this data to another table , will my final table will have a column as supply_id? Or wi

  • How do I search for a SR in metalink

    I went to metalink and clicked "service request" link. in the dropdown, I selected "SR number" and enter a number to search, I'm not able to get anything retured after searching. actully, no matter waht I entered, I was never be able to search anythi

  • How to convert dd/mm/yy in ddmmyy in java

    Can any one tell ,how to convert dd/mm/yy in ddmmyy in java

  • Help installing fms on windows server 2008

    Hello, I have FMS for developper 3.5.4. I have 2 computers: One called SVR with windows 2008 on it with iis7. One called PC with windows 7 which is my client. I would install FMS on the one called SVR beside IIS7. What I have done: I install FMS with

  • Composite Video on eMac problem

    At my school I have a number of eMacs and I want to connect a few of them up to TV monitors. In the past I have been able to use the mini-vga to video adapter and connect it to the video input and have things work just fine. Recently, however, when I