Multi line items in mail

Hi All,
In my scenario sales order created in R3 side and send mail from XI side.
Every thing is working fine. But the issue is in case multi line items in the sales order, the mail showing only one line item.
Please help me on this scenario, and send me some documents for go through and try.
Thanks.
Senthil kumar V.

1 We can send an e-mail with multi-line content using E-Mail Adapter.
2. We can set Dynamic Data as the e-mail content.
3. The Dynamic Content has to be formatted either in Mapping or in Module and then sent to E-mail Adapter. E-Mail Adapter cannot do the formatting.
4. Content can be of any number of lines.
5. The consolidation should be done in Mapping or in a Module program and the consolidated data should be given to the adapter.
6. Yes Content can also be set in HTML format
Edited by: Dharamveer Gaur on Sep 18, 2008 7:15 AM

Similar Messages

  • Multi line values in mail forms to send emails

    Hi All,
    Ours is CRM 2007 application, as part of new capability adding to the system, we need to send email to customer with few details once service tickets saved in the system. we decided to use mail forms to create the template and send email to the customer with details. as part of this we need to send multi line values as well in the mail form - email as shown below. example field here is for working hours of the customer office.
    Saturday - Sunday 10am - 4pm
    Saturday - Sunday 10am - 4pm
    (excluding public holidays)
    Can some body tell me how to send the multiline values using mail forms - emails to customers. right now we receive the last line. I dont see any help in mail form documetation as well on this.
    I appreciate any help in this if you already have some solution.
    Regards,
    Srinivas

    Hi,
    Are you using below any FM to send mail ?
    1. CRM_IM_EMAIL_CREATE_SEND_40 2. CRM_IM_EMAIL_CREATE_SEND_51
    if so, then inside this FM there will be call to BADI CRM_IM_ADD_DATA_BADI . This badi will get the data for custom/additional attribute values. Basically it will get one value ( last value ).
    What u might need to do is after this badi call u need to loop ur values and set it . For doing that u might need to make this FM tocustomer name space or look for implicit enhancements.
    We have done similarly for sending mail duringcampaign execution. That was done in different place.
    hope it might help you to analyse more.
    Regards
    Sandeep

  • Generating unbound multi-line items of type long?

    I'm trying to generate a form containing an unbound item with datatype long which I'd like to have multi-line. Is this possible using Headstart without adding an entry to the Headstart Object library?
    I tried to use CGSO$LONG, but that won't make it multiline. It also means I have to add "Ofgstnd1.olb" to my list of object-libraries to use in the preferences which seems to override the headstart obj.library on many items.... Does anybody have any suggestions??
    Greetz,
    Tim

    You could create a custom object library which contains only the 'long' item. Then in qms65_recommended, edit the STOOLB preference and add your custom library, using the ';' as a separator.
    Regards,
    Lauri

  • Multi Line output using Mail Adatper?

    I'm sending email using the Mail Package Format and the Mail adapter.  Is it possible to create a multi line body to produce a readable email message?
    The <Content> tag is used for the email body and adding multiple content tags does not work.  Here is the Mail Format for reference.
    <ns:Mail xmlns:ns="http://sap.com/xi/XI/Mail/30">
      <Subject></Subject>
      <From></From>
      <To>[email protected]</To>
      <Content>This is the body.</Content>
    </ns:Mail>
    Thanks for the help.
    Brian

    Brian,
       I had a similar problem. I had a rfc return that could contain multiple rows. Like this...
    <return>
      <message>Line 1</message>
      <message>Line 2</message>
      <message>Line 3</message>
    <return>
    I wanted all the messages to display in the content on their own line so in the mapping I added a advanced function called AddText so my mapping looked like this...
    message>AddText>Context
    Here's the function I used.
    String b = "";
    for (int i=0;i<a.length;i++)
    b = b + a[ i ] + "\n";
    result.addValue(b);
    Hope that helps out.
               - Emmett

  • Cost Center Error in Shopping cart Multi Line items

    Hi,
    We are working on SRM 4.0. when the user is trying to create a shopping cart from catalog he gets the error message as
    "you don't have the acces to the cost object xyz12.please return to the cost assignment section and correct".
    We have given the access to that cost center in SRM even also he is getting the same error. 
    He does not have any problem with single line item against the same cost center. problem gets only when he is going to create with multiple line items in shopping cart against the same cost center.
    Request all  please advise me where i need to check to overcome the issue.
    Regards,
    Sri

    Hi,
    Thanks for your kind response. can you please elaborate bit more  step by step.
    Awaiting for your feedback.
    Regards,
    sri

  • Lsmw........(multi-line items)

    hi,
       how to insert several line items in a sales order. whether this can be performed using recording or any other method can be used . If so please let me know.
                         thank you.
    regards
    prem

    Hi Prem,
    Follow these steps for processing multiple records in lsmw.
    I presume that you have one header line and multiple line items in the file and has a unique identifier. Let us say you have two nodes in lsmw called VBAK and VBAP.
    Normally lsmw process one line of the file at a time. When lsmw reads the header line, process the VBAK node and use the 'transfer_record' command (this must be already there). When the second record is processed and if the unique identifier is same as the header then write a command called 'skip_record' in the '__BEGIN_OF_RECORD__' session of VBAK. If you do like this we will have one header and multiple line items.
    Thanks
    Vinod

  • Problem with Multi line items in Order

    When a customer sends an order, generally the line items will be maintained individually.But here the problem is customer wants all kg deposits under separate item u2018AAAu2019.
    Example:
    Item Code     Quantity     Item Price        Net Price Net Amount
    abc     2 kgs     $15/kg        $15/kg      $30.0
    xyz     3 kgs     $10/kg        $10/kg      $30.0
    AAA     5 kgs     $15/kg        $15/kg      $75.0
    There will be no item in SAP with code u2018AAAu2019, so before placing the order in SAP, someone has to distribute the kg deposits in the ratio of quantity to all items with kgs. Also when we send back the invoice, take out all kg deposits from different items , add up total and put it under new item u2018AAAu2019 and send it.
    Can you suggest how we can resolve this problem ?

    create a new program in which
    --> get all the line items into table
    --> sort all line items
    --> loop at itab and put sum of all similier line items in anoter itab with priscribed name
    --> finally use call transaction va03 or some thing by passing new internal table
    shiva

  • Multi Line Item Check

    This seems like a simple problem but I can't find a good answer.
    If I have an item that contains infinite empty records for the
    user to fill in. I want to be able to check the entire item to
    see if any of the instances of the item are not null. Do I have
    to create a function for this or is there something is Developer
    that can handle this?
    null

    Hi Fan,
    You can try do it in 2 ways: statically & dynamically.
    I will explain both of the ways to you. Suppose you have bound your table to a context node by name SFLIGHT. It contains CARRID, CONNID, FLDATE, PRICE & an attribute by name CHECK of type  WDY_BOOLEAN.
    Static Method:
    When you right click on your table & say "Create Binding" you select the context node as SFLIGHT & then you get the option to specify the Cell editor of the various table columns. Now go to your column CHECK and select the cell editor as "Checkbox" & name of property to be bound as "Checked". Now this would result in the column CHECK being displayed as a checkbox to you. Also the checked/unchecked values go and get stored in the boolean attribute CHECK that you had created at context level.
    Dynamic Method:
    Whenever you are working with dynamic ui modification you need to put your coding inside the WDDOMODIFYVIEW method. You need to basically perform the below steps to realise your functionality:
    1) You need to first get the reference of the table element.
    2) You then use this reference to get the reference of the desired column by specifying the column index. 3) 3) You then create an object of type checkbox & then embed it within the cell editor of the table column
    Below is the coding from the method:
    method WDDOMODIFYVIEW .
      data: lr_table type ref to cl_wd_table,
            lr_column type ref to cl_wd_table_column,
            lr_check  type ref to cl_wd_checkbox.
      check first_time = abap_true.
      lr_table ?= view->get_element( id = 'TABLE' ).
      lr_column ?= lr_table->get_grouped_column( id = 'TABLE_CHECK' ).
      lr_check = cl_wd_checkbox=>new_checkbox( bind_checked = 'SFLIGHT.CHECK' ).
      lr_column->SET_TABLE_CELL_EDITOR( THE_TABLE_CELL_EDITOR = lr_check ).
    endmethod.
    Regards,
    Uday

  • How To Add Line Items to Workflow Document Template

    Hi Gurus,
    ive made a Workflow which has few containers referencing VBKPF, VBSEGS, and constructed two methods which one of them gets the table VBKPF data into MyStructure and the second the data into MyStructure2.
    Inside of the workflow i made two container operations and assigned those two methods to VBKPF and VBSEGS containers.
    The Problem is that VBSEGS is a (multi) line item table and it doesnt show me the data inside of the document template.
    What could be the solution for this scenario
    Thanks, Points for Reward

    Hi,
    i checked the swo1 methods and it looks good. I didnt change the binding that ive implemented, and some values are getting showed, but still they do not correspond to the BO element (concerning Acct.Doc.Nr)
    My binding is:
    Display Document Task:
    #######Workflow -> Step Display Parked Doc
    **************BO FIPP -> &_WI_OBJECT_ID&
    #######Workflow <- Step Display Parked Doc
    **************Empty
    Document Template:
    #######Workflow -> Step Create Doc From Template
    **************&_WORKITEM& -> &FLOWITEM&
    **************DC8BA2ADFCEA4EF18D2F00145EDCE7A4 -> &TEMPLATE&
    #######Workflow <- Step Create Doc From Template
    **************&WF_DOCUMENT_0001& <- &_WI_OBJECT_ID&
    **************&_WF_INITIATOR& <- &_WI_ACTUAL_AGENT&
    As ive explained earlier i have a Container VBSEGS with abap table vbsegs, which is filled using method ReturnMe2 with MyStruct2 structure.
    Regards
    Laurynas Prikockis

  • Copying the cost centre details to all line items in SC

    HI all,
    Im working on SRM 5.0.We are creating mult line item SC's.My reqt is that once i enter the cost centre details in the 1st item of the SC,that cost centre value should be copied automatically to all the line items in the cart w/o click of any button.
    My problem is that the CHNAGE badi cannot be used as the copying should be done immediately after the 1st item details are entered and w/o clicking of any button on the sceen,
    - Ram

    Hi Ram!
    Once you gave the Account assignment for your first line item, you should have the button "Change All Items in Document".
    If you manage to use it, then you only have to push it once => it will be copied automatically to all items of the SC.
    imre

  • Header PO discount, not apportioned to line item

    Hi MM Gurus
    My client wants to create a multi line item PO and also will like to include the header discount (value based). The client does not want the discount to be apportioned to each line item. He wants the line items to be received and paid at its original cost. Can someone suggest if this can be done and how?
    Here is the example:
    PO with 3 lines
    Line one 100 each @ 25 = $2500
    Line two 200 eaxh @ 30 = $6000
    Line three 150 each @ 10 = $1500
    Header discount = $500
    Line items still remain at their actual values. The discount is not applied to line items. Upon LIV, the PO line items received at actual price, but the overall discount adjusted.
    Any guidance will be appreciated.
    Regards,
    Vinay

    Hi.
    I'm not sure if the following info help you.
    But how about to set the "Condition is used for
    statistics" flag V_T683S-KSTAT?
    You can set it in your pricing procedure and
    for your condition type.
    As far as I know, the header condition is not reflected to
    the net price.(Though reflected to the "effective price".)
    When GR, GR/IR will be from net price.
    Best regards.
    Keiichiro

  • Navigation from multi line block

    I am using multi line item at key_next_item trigger cursor is moving to next line
    that is ok but with some fuctional key mapping or some other trigger I want to move cursor to next block.
    How to do it?

    Hi,
    use a key trigger and call go_block() built_in
    Frank

  • Passing value of multi line container element to send mail step?

    Hi ,
    I am using send mail step type to send mail . in this mail i want to send data of multi line container element but it is writing only one line item even though my container element is holding tow line items. so how to process all line items of multi container  element in a mail. please suggest me......
    do i need to use loop until step ?
    Thanks,
    Rahul

    Hi Chindanand ,
    i tried with the same now but in the mail it is not showing me any value instead it si giving me <po_items > not found.
    po_items is the name of my multiline container element and i am simply using these po_item in mail.
    please tell me what to do......as its urgent.....
    Thanks,
    Rahul

  • New lines created in excel when displaying multi-line text item value

    Hi all,
    I put the value of a multi-line text-item into a csv file :
    DECLARE
    file_filter VARCHAR2(256) := 'Export Files (*.csv)/*.csv/All Files (*.*)/*.*/';
    fExp VARCHAR2(256);
    in_file Text_IO.File_Type;
    linebuf VARCHAR2(4000);
    BEGIN
    fExp := get_file_name ( directory_name, file_name, file_filter, NULL, SAVE_FILE, TRUE);
    IF fExp IS NOT NULL
    THEN
    set_application_property(cursor_style,'BUSY');
    in_file := Text_IO.Fopen( fExp, 'W');
    linebuf := NVL(:com_bnc_possibles.LIBEL_TRAITE,'') || ';' ||
    NVL(:com_bnc_possibles.NUM_ANFR_ID,'') || ';' ||
                             NVL(:com_bnc_possibles.ver_fiche,'') || ';' ||
                             NVL(:com_bnc_possibles.titre,'') || ';' ||
    NVL(to_char(:com_bnc_possibles.date_creat, 'dd/mm/yyyy'),'') || ';' ||
    NVL(to_char(:com_bnc_possibles.date_valide, 'dd/mm/yyyy'),'') || ';' ||
    NVL(:com_bnc_possibles.LIBEL_STATUT,'') || ';' ||
    NVL(:com_bnc_possibles.label_reg,'') || ';' ||
    NVL(:com_bnc_possibles.nom,'') || ';' ||
    NVL(:com_bnc_possibles.prenom,'') || ';' ||
    NVL(:com_bnc_possibles.nom_societe,'') || ';' ||
    NVL(:com_bnc_possibles.comp_bnc,'') || ';' ||
    NVL(:com_bnc_possibles.motifs,'') || ';' ;
    Text_IO.Put_Line( in_file, linebuf);
    Text_IO.Fclose( in_file);
    set_application_property(cursor_style,'DEFAULT');
    END IF;
    END;
    And when I opened the csv file then the remaining lines , that is from the second line , of the column "motifs" are displayed through the column A of excel. The "motifs" multi-line text-item has 500 as its Maximum Length property value, and has a Char Data Type property value.
    So how to display all the motifs' lines through the same column M without displaying the remaining lines in column A ?
    Or are there tips to remove CHR(13) characters from a multi-line text-item ?
    Thank you very much indeed.
    Message was edited by:
    andrianiaina

    Hi,
    I tried to do it in different way. What i did is I have created a item of type formattted text and set its text like:--
    <html>User authentication failed. <br*> Cause: Invalid password.</html> --remove *
    So I am able to see the prompt like :-
    User authentication failed.
    Cause: Invalid password.
    Hope this helps you...
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Disable e-mail  field  when line item created by copying another line item

    Hi All,
    I need your help. Actually our user wants to create a line item by copying existing line item in shopping cart. While doing so the requirement is the e-mail address field remains disable after the line item is copied. Please guide me how to do it. Please feel free to ask me any further questions.
    Regards
    Praveen Ghosh

    Hi Zaid,
    Thank you for your response.  Assets are not my area so I’m not sure if I missed a transaction or step in the process.   I tested this out by doing the following steps:
    Created AUC Asset class with line item checked
    Assigned PM Order type as non-investment with no investment profile and created order number
    Created a main asset number 
    Created an AUC sub asset number to step 3
    Created settlement rule to sub asset number on order
    Posted costs to order
    Settled from order to AUC with transaction KO88
    Created distribution rules for asset with transaction AIAB
    Settled from sub asset to main asset number with transaction AIBU
    When I settled from the sub to the main asset number in step 9, I found I lost the line item detail.  Is there another configuration setting I need to make to allow me to see the line item detail when I use AIBU?
    Thank you,

Maybe you are looking for

  • Jump target RRI from BW report to CRM Portal

    Hello Experts, Need to create a Jump target from the BW query to CRM Portal Tcode CRMD_ORDER. I am passing the transaction number ( similar to sales order in R/3) to this tcode CRMD_ORDER in CRM Step1) create the receiver Type: Transaction. Defined t

  • TS1717 Im new to itunes so this might be a simple answer but...

    Im new to itunes so this might be a simple answer but...I downloaded 20 songs a few days ago and the last 45-60 second ds of more than half didn't download. When playing the song it will kirt move to the next song. How can I get it to download again

  • A very annoying froms issue

    Hi Guys I have set up a fresh Oracle R12 installation on RHEL 5.5. As soon as I start the applications (./adstrtal.sh) everything starts up without any errors except for the jtffmctl.sh. You are running jtffmctl.sh version 120.3 .end std out. /u01/or

  • StageOrientationEvent strange behaviour

    Hate to bring this up again but I've been tearing my hair out trying to get to the bottom of this. We are developing a game that needs to be submitted to the apple app store, so we also need to support the two possible landscape modes. I've been usin

  • So few HD movies to buy???

    Hello, I just bought an AppleTV today and I have some questions. Why are there so few HD movies available to buy when you can rent a HD version of so many? Are all iTunes Extras movies (and Extras) in HD, and can AppleTV play iTunes Extras content or