SO_NEW_DOCUMENT_ATT_SEND_API1          ( I need  text  + zattachment )

i am using the the below fm  but the output in the mail is coming as attachment .pdf and .txt .
SO_NEW_DOCUMENT_ATT_SEND_API1
But i need the text in the table  CONTENT_TXT must come as  written text in email and data in the CONTENT_BIN as 
attachment  .
How can i achieve that??
Edited by: AJAY SHARMA on Feb 8, 2010 5:54 AM

Thanks for your reply ..
I am  passing the  Content_txt in the packed list table as a raw data  and contentbin data as a pdf. data .
But it display both data as attachment .
2ndly
in the packed_list table if put raw format  data in 2nd index and pdf data in the firstindex .
then  the pdf is not opening but the raw data is  comming  as text  .

Similar Messages

  • Need text in a single line which is reading from FM 'BBP_PD_CONF_GETDETAIL'

    Hello All,      I am working on one ABAP SRM Report inwhich i need to read text which are given below.      TDID                TDLINE      HTXT                  Supplier Text      HTXT                  Local      Text      NOTE                Supplier Note      NOTE                  Local  Note      ITXT                  Item txt      ITXT                  Item Txt1      NOTE                Item Note    NOTE                Item Note1 i wanna read the TDID and TDLINE in such a way that all TDLINE related to HTXT of TDID come in sigle line in ALV report like  TDID                  TDLINE    HTXT                Supplier Text Local      Text  NOTE                Supplier Note Local  Note  ITXT                    Item txt Item Txt1    NOTE              Item Note Itemm Note1 In Alv output Htxt and its description come in single line and its note in another single line same for item text and its note. Please help me out how to get these data into ALV output. Text file is also attached.with screen shot. Thanks Sankil

    Hello Sankil
    This can be achieved by using event AFTER_LINE_OUTPUT and also search with keyword AFTER_LINE_OUTPUT to get more examples
    Please go through the below tutorial.
    http://www.****************/Tutorials/ALV/Wordwrap/Index.htm
    Thanks

  • Need text and image in the message

    Hi,
    I need to send an email with an image and text as part of the message, Ill do the following but it jsut takes the text and as an attachment, how can I include both content in the body of message??
    BodyPart texto = new MimeBodyPart();
    texto.setContent(fichero, "text/html");
    multipart.addBodyPart(texto);
    // Procesar la imagen
    MimeBodyPart imagen = new MimeBodyPart();
    imagen.attachFile("C:/Documents and Settings/Administrador/Mis documentos/Sandra/epinuevo/web/imagenes/logo150px.jpg");
    imagen.setHeader("Content-ID", "<figura1>");
    MimeBodyPart imagen1 = new MimeBodyPart();
    imagen1.setText("Sandra");//.attachFile("C:/Documents and Settings/Administrador/Mis documentos/Sandra/epinuevo/web/imagenes/logo150px.jpg");
    imagen1.setHeader("Content-ID", "<nombre>");
    multipart.addBodyPart(imagen1);
    message.setContent(multipart);
    Thanks!!

    Milene wrote:
    bshannon wrote:
    If you're still having trouble, you can find a message created by some other
    program that has the overall structure you want, and then copy its structure.I dont understand what do u mean exactly.You want your message to look and behave a certain way.
    Find another message (with different content), that looks and behaves similarly to what
    you want. Perhaps you can create such a message using another mailer. Or perhaps
    you've received a message from someone else that is similar to what you're trying to do.
    Then, look at that message using the "view source" function of your mailer. You'll see all
    the MIME headers, etc. You can then use a similar MIME structure in your message.
    You'll also see the content of the body parts and how the content references images and
    URLs. Use a similar technique in your message.
    But I was trying to include the image and the text as 2 different MimeBodyPart, now I found a simple solution I add html code as part of the message where there is a reference to the image, all the text in in the code.
    But now I have a problem cause I have in that html code an URL as an > but when i recieve the mail the url doesnt work, is there any other funciont to add urls in a special way???
    A URL reference like "xxxx.jsp" is implicitly relative to the html page containing the reference.
    When you include the html content in a mail message, the reference is relative to the mail
    message. That's not what you want. You want the reference to point to your web site. The
    simplest solution is to just use a reference like "http://myserver/myurl/xxxxx.jsp".
    Note that viewing html in a mail message is not exactly the same as viewing html on a web
    page. Different mailers will impose different restrictions on what you can do in the html in a
    mail message.

  • Help - need text editor component

    Hello,
    I need a simple text editor component to add to my application.
    I need to load it from a database file line by line.
    It must be able to handle page breaks (new page) when the user types more than will fit on a page.
    I have not been able to find anything to do this in java, I found a .net TextControl, but I want to stay in java if possible.
    Are there any code samples or anything available to do this?
    If it does not handle page breaks, it is useless to me because I need to write the text back to the database and must be able to handle multi-page.
    I thought about fileing a jtextarea one page at a time by loading the text in an array. I still have the problem of if the user types more than will fit on a page.
    Thanks for the help.
    Frank

    That might help you.
    http://forum.java.sun.com/thread.jsp?forum=57&thread=42
    964
    regards,
    StasWow! That's a gem - erm - (havent tested /run it yet but) ...thank you

  • IPhone & iPad text entry as universal app (need text to resize?)

    Hi.
    I'm building a universal app for the iPhone and iPad that has a login screen that needs to obviously use text input..
    This all works fine, I'm developing at the iPad size and letting it auto-scale to the iPhone size (I have made allowences for the extra screen size).. only downside is, on my iPad text is the correct size during entry, but when trying to type on my iPhone it remains at the iPads text setting - which is 40 when it needs to be about 14 to fit in the text box when on the iPhone screen.
    anyone tried to deal with this problem?

    Could you please, write here you application.xml file for the iPad (or universal iPhone/iPad ) application? I can't compile my application for wide iPad screen - it works as iPhone app (320x480).
    Thanks.

  • Is ME edition of Indesign 6 through Creative Cloud? I need text to read RTL.

    I just need to make my Hebrew text read RTL. This is available with the World-ready Paragraph Composer, but apparently only in the ME and North African versions of the software. Will I have to pay additionally to get this? Can I upgrade to this or will i have to download an entirely different program? Or maybe there's a script for this? Thanks for any help!
    Best,
    Sarah

    You can change the install language of InDesign using the Adobe Application Manager (AAM). Hebrew is a choice (the UI is in English).
    To do so open AAM and click on your name in the top left. From the context menu choose Preferences. You can change the Install Language field. If you find it hard to scroll the choices you can use the up/down arrow keys.
    You will need to uninstall the current language before installing the new one.

  • Need text to speech in EPUB

    I need a conventional hardware / software solution so I can listen to, edit, cut and paste Epub books with DRM (from Library or purchased). Adobe Digital Editions isn't it! I am a student I need to be able to listen to a book, cut segments out and insert into my notes so I can listen to a review later and the files need to be available on my "mobile device" of choice.

    DRM can preclude much, if not all, of what you want to do. That is, sort of , the point of DRM. Restrictions are established by the publishing house.
    As a student there may be a staff member at the school who deals with issues such as you face.
    Perhaps a discussion will identify alternatives to DRM processed PDF.
    Keep in mind that the various alternatives used at schools, like Digital Editions consumed products, are not going to function on 'every' device.
    So, the "mobile device of my choice" may be unrealistic.
    Be well...

  • Table in pages need text in a column to carryover to next page.

    I created a table in pages and as I type, I have exceeded the length of the column.  The text is hidden, how do I get it to carry over to the next page.  I tired "insert" but the split column option is not available........ thank you

    Problem described and answered several times.
    A cell can't cross pages boundaries.
    Yvan KOENIG (VALLAURIS, France) samedi 16 juillet 2011 17:31:25
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please :
    Search for questions similar to your own
    before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • I need text to show one letter or word at a time.

    Hi there, I've been having this big issue that I can't seem to find an answer to.
    I'm trying to make it so text in a text box shows one letter or word at a time. (letter at a time preferred.)
    Does anyone know if this is even possible with flash? When I look it up I can never seem to get what I'm trying to find.

    That should be simple to do. Place a text box on Stage, enter the first letter and press F6. In the new frame, add the second letter as well and press F6 again. Keep repeating this (adding an additional letter in every frame) until you have the complete text. Adjust your fps speed as desired and Test your movie.

  • Send mail using cl_bcs. need text in mail body

    Hi friends,
    please provide me some solution to send mail with out attachment and the message should only be in mail body.
    Code :
    TRY.
    *     -------- create persistent send request ------------------------
            send_request = cl_bcs=>create_persistent( ).
    *     -------- create and set document -------------------------------
    *     create document from internal table with text
            CLEAR lv_const.
            CONCATENATE 'Dear' gs_cust-name1 ',' INTO lv_const SEPARATED BY space.
            APPEND lv_const TO text.
            CLEAR lv_const.
            CONCATENATE 'at' gs_cust-new_date 'planned delivery for you with following items:'
                        INTO lv_const SEPARATED BY space.
            APPEND lv_const TO text.
            l_space = '                                       ' .
            APPEND l_space TO text .
            CLEAR : gs_mat,
                    lv_const.
            CLEAR l_quan.
            LOOP AT gt_mat INTO gs_mat WHERE new_date = gs_cust-new_date.
              l_quan = gs_mat-zmeng.
              CONCATENATE gs_mat-matnr gs_mat-maktx l_quan INTO lv_const SEPARATED BY space.
              APPEND lv_const TO text.
              CLEAR :
                      lv_const.
            ENDLOOP.
            l_space = '                                       ' .
            APPEND l_space TO text .
            APPEND 'Please contact with us if you confirm whether above products are' TO text.
            CLEAR lv_const.
            CONCATENATE 'required on' gs_cust-new_date 'with specified quantity.'
                        INTO lv_const SEPARATED BY space .
            APPEND lv_const TO text.
            APPEND 'You can contact with us via e-mail:xxxxxx or via' TO text.
            APPEND 'phone +xxxxxxxxxxxxxx' TO text.
            l_space = '                                       ' .
            APPEND l_space TO text .
            APPEND 'Best regards' TO text.
            APPEND 'Linde Central Logistic Team' TO text.
            lo_document = cl_document_bcs=>create_document(
                            i_type    = 'RAW'
                            i_text    = text
    *                        i_length  = '12'
                            i_subject = 'test mail' ).
    *     add document to send request
            CALL METHOD send_request->set_document( lo_document ).
    *     --------- add recipient (e-mail address) -----------------------
    *     create recipient - please replace e-mail address !!!
            recipient = cl_cam_address_bcs=>create_internet_address(
                                              'address' ).
    *     add recipient with its respective attributes to send request
            CALL METHOD send_request->add_recipient
              EXPORTING
                i_recipient = recipient
                i_express   = 'X'.
    *     ---------- send document ---------------------------------------
              CALL METHOD send_request->send(
                EXPORTING
                  i_with_error_screen = 'X'
                RECEIVING
                  result              = sent_to_all ).
              COMMIT WORK.
    *  Send Immediately
              send_request->set_send_immediately( i_send_immediately = 'X' ).
          CATCH cx_bcs INTO bcs_exception.
            WRITE: text-001.
            WRITE: text-002, bcs_exception->error_type.
            EXIT.
        ENDTRY.
    Please provide me the solution if i am missing any thing.
    Thanks,
    Kat

    thank you for looking into this thread,
    i have configured the in scot.
    currently sending all RAW type as TXT. this has resolved my issues.

  • Need Text variable for Bex which take values from another variable

    Hello ,
    I have a requirement to show date values in query description.
    User want to run a query which runs for 5 sept till last sunday.
    I have one exit which provides last week date range ( low= last week monday  & high = last week sunday )
    i have acheieved this by restricting 0calday by range = (5 sept 2011 to exit (above metnioned exist's low) + 6 (offset)
    now the problem is user wants to show this date range in query description .
    ie suppose user is runnig this query today so the query description should be  "5 sept  2011 to 2 oct 2011 "
    This could be possible with text variable  by using replacement path , but i am unable to figure ot the logic .
    Kindly advice .
    Regards,
    CR

    Thanks Sushant ,
    In the Tab "Replacement Path " ..there is a drop down -
    "Replace variable with" what should be choose in this ?
    I have used this selections for genearl tab  -
    General Tab -
    Processing By = Replacement Path

  • 0CostCenter in a structure in a query need text field

    Hi,
    I am creating a query using a structure so that cost centers can place on the query in a fixed ordered location.  When I pull 0COSTCENTER into a selection and restrict it to the cost center I want, the key and the text have the key value in them.  When I  search for the value in the "Select Values" screen, the result search shows the key and what appears to be the short text(. .  When I select that value to the chosen selection box, it is still showing the same values.  Once I hit Ok and go back to the "Change Selection" screen, the retriction shows the key as the text and that is the value showing in the description for the selection.
    Anyone else encountered this issue and found a work around other than hand entering descriptive descriptions that will probably change 5 minutes after the query has been built?
    Thanks in advance for any and all thoughts.
    Bill

    Hi,
    0COSTCENTER texts appear to be loaded and  BEX settings on 0COSTCENTER are the same as 0COSTELMNT which I am using the same way in another query.  When I do the restriction on it, the text for the cost element is pulled in. 
    When I just put 0COSTCENTER on the row and not in a selection, the text displays just fine.  Is there a setting in BEX that I might be missing.   I would think that the Cost Element query works so I should be getting the same results on this query.
    Thanks in advance for any thoughts.
    Bill

  • Need text to be more Bold

    Is there away to set the Text default to make the text more Bold?

    Maybe you can use a default font that is bolder.
    You can use the NoSquint extension to set font size (text/page zoom) and text color on web pages.
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/

  • I mistakenly reset my phone. Needed text messages on their.  How can I retrieve them back?!!

    Is there any way to retrieve the text messages I just lost due to resetting
    my phone?

        Tommis,
    I am sorry to hear you lost your text messages after resetting your phone on accident. Did you ever backup your media using Verizon Cloud or use Verizon Messages? If you haven't then the text messages are unfortunately lost and there is no way to get them back.
    KarenC_VZW
    Follow us on Twitter @VZWSupport

  • Need Text data table for GBSTA field(ref VBUP table)

    Hi frns,
    Can anyone suggest me the table to extract text data for the field GBSTA .
    Cheers,
    Shana

    Hi,
    The value range of domain "STATV" for field "GBSTA" is limited with fixed values. You can either read entries from Value range of domain "GBSTA" in SE11 or from table TVBST
    Table : TVBST with inputs
    SPRAS : sy-langu
    TBNAM : VBUP
    FDNAM : GBSTA
    Srikanth.

Maybe you are looking for