Dynamic Subject in Smartforms (CRM)

Hi,
Our requirement is that we want the Dynamic Text in the Subject Line of the mail, whether is it possible ?
I tried with the putting &, but it displays only the Trxn Number.
Example : In Subject line we need Trxn Description, Customer No, Customer Name
Thanks in advance for any solution.
Regards
Pethukumar P

Let me expalin you the complete thing.
In mapping i m using this UDF for dynamic subject.
DateFormat dfCurrentDate = new SimpleDateFormat("yyyy-MM-dd");
DateFormat dfCurrentTime = new SimpleDateFormat("HH:mm:ss.SS");
Date dCurrentDate = new Date();
String strCurrentDate = dfCurrentDate.format(dCurrentDate) + "T" + dfCurrentTime.format(dCurrentDate) + "Z";
String strSubject="Literal"+ "_" + strCurrentDate;
// Dynamic Subject
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey keySubject = DynamicConfigurationKey.create( "http://seeburger.com/xi/common/dtSubject", "DYNSUBJECT");
conf.put(keySubject,strSubject);
return "";
In receiver service I have used "localejbs/Seeburger/AttribMapper" module.
Parameter name  http://seeburger.com/xi/common/dtSubject
Parameter value  @http://seeburger.com/xi/common/dtSubject/DYNSUBJECT
In moni I can see the dynamic configuration tab(neither Tab nor value)
But in RWB comm. channel monitoring I can see in Audit log but not in SOAP document.
Hope i have cleared you..
Thanks
Jaideep

Similar Messages

  • How to display dynamic signature in Smartforms?

    Hi,
    Someone could help me in displaying dynamic signatures in SmartForms?. The signature is an attached file to the document. I already have the binary file but I don't know how to display this as an image in the Smartforms.
    Thanks in advance,
    Oliver
    Message was edited by: Oliver Vera
    Message was edited by: Oliver Vera

    Please give me the reply.
    I have an image content in one internal table.I want to display that image in the smartforms.
    plaese please.

  • How to create Dynamic Window in Smartforms

    Hi all,
    Could you please help me out on how to create Dynamic Window in smartforms excluding Main Window.
    Thanks in Advance.
    Vinay.

    hi,
    Hi,
    1.If you are creating the Different windows for the Countries,then In conditions tab of window specify the Condition i.e.
    company -code = '2201'.
    2.Then that window can trigger ofr that condition.
    3.Other wise, if you are using the different layouts ,then write the condition in Print program and call that form .
    reward me if helpful.

  • Dynamic subject in AS2 receiver

    hi experts,
        I have a scenario in which i am sending data to third party using AS2 adapter.
    My scenario is PROXY->XI->AS2. In AS2 receiver adapter I need to use dynamic subject.
    For that I have used adpater module  "localejbs/Seeburger/AttribMapper"
    *PARAMETER NAME:-- http://seeburger.com/xi/common/dtSubject*
    PARAMETER VALUE:--  DYNSUBJECT
    while mapping in IR I am passing one field(strSubject)  as  input data to the below code:-
    DynamicConfiguration conf = (DynamicConfiguration) container.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey keySubject = DynamicConfigurationKey.create( "http://seeburger.com/xi/common/dtSubject", "DYNSUBJECT");
    conf.put(keySubject, strSubject);
    The value of strSubject should be the subject in AS2 message.
    The scenario is working fine but I m getting below error in communication channel:
    Exception caught by adapter framework: AttribMapper:Could not evaluate expresion DYNSUBJECT . Error: Unexpected token <EOT> at position 0. ( expected
    Help will be appreciated
    Thanks
    Jaideep

    Let me expalin you the complete thing.
    In mapping i m using this UDF for dynamic subject.
    DateFormat dfCurrentDate = new SimpleDateFormat("yyyy-MM-dd");
    DateFormat dfCurrentTime = new SimpleDateFormat("HH:mm:ss.SS");
    Date dCurrentDate = new Date();
    String strCurrentDate = dfCurrentDate.format(dCurrentDate) + "T" + dfCurrentTime.format(dCurrentDate) + "Z";
    String strSubject="Literal"+ "_" + strCurrentDate;
    // Dynamic Subject
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey keySubject = DynamicConfigurationKey.create( "http://seeburger.com/xi/common/dtSubject", "DYNSUBJECT");
    conf.put(keySubject,strSubject);
    return "";
    In receiver service I have used "localejbs/Seeburger/AttribMapper" module.
    Parameter name  http://seeburger.com/xi/common/dtSubject
    Parameter value  @http://seeburger.com/xi/common/dtSubject/DYNSUBJECT
    In moni I can see the dynamic configuration tab(neither Tab nor value)
    But in RWB comm. channel monitoring I can see in Audit log but not in SOAP document.
    Hope i have cleared you..
    Thanks
    Jaideep

  • Issue in populating dynamic values in smartform

    Hi Experts,
    I am facing some serious alignment issue while populating dynamic values in smartform.
    Through table, I am populating  dynamic values in smart form. If my internal table contains 20 records , first 10 records are populating in first page and remaining records are populating in next page properly. But here issue is whenever that first 10 records are populated in first page system automatically leaves empty row at the end of page. Ideally it should not happen. please tell me how to solve this issue.
    thanks
    Karthik

    Hi,
    I was wondering how are the bold lines output, if you only have one line type... is the Table node executed multiple times under the loop node, where the bold text is implemented as separate text node..? It should IMO actually not affect the output of the table in any negative way if it's done so - just curious
    With the "protect" I meant this baby:
    You could also try to download and attach only the (upper) node involved in the output of table instead of whole form, if there is something in the form that should not be seen publicly...
    cheers
    Janis

  • Dynamic formating in smartforms

    I'm just curious if there is a possible to create a dynamic formatting in Smartforms. What I mean saying dynamic? Lets imaging that I've a strucure where I've following information;
    LINE_NUMBER
    TEXT
    This structure is used to build a table, where I can assign one or more text to one line.
    So my example data in this table will be:
    LINE_NUMBER | TEXT
    1 | my first item
    1 | first item description
    1 | some other text
    2 | second item
    2 | second item extended name
    2 | second item additional text
    2 | second item summary text
    and so one...
    So I can have varying texts number assigned into one line (max 8).
    Now I want to use paragraph, with 8 prepared tabs.
    Now the problem comes, how to pass this texts into tableline inside smartform and do not prepare separate lines for 1,2,3... elements?
    Any idea? It is possible to prepare data in variable which looks like:
    1,,my first item,,first item description,,some other text
    and display this data in such way, that commas will be recognized as tabs formatting in paragraph instead displaying them?

    hi..try this...
    create table->create a line type as required.
    loop at itab containing ur data.
    in the main area of the table create a row:
    right click on main area->table line
    in the output options of the row assign the line type from the drop down. in the condition of the row give the condition wa-LINE_NUMBER = 1.
    similarly create other rows(table lines) giving the conditions 1 to 8.
    that is you will have 8 table lines with conditions:
    row1 condition -> wa-LINE_NUMBER = 1
    row2 condition -> wa-LINE_NUMBER = 2
    row3 condition -> wa-LINE_NUMBER = 3
    row8 condition -> wa-LINE_NUMBER = 8
    so if line_number = 1 then row 1 will be use..
    if its 8 then row 8 will be used......
    inside the rows u can use different text elements with different para formats...

  • Dynamic Subject Line not appearing in PO mail

    Hi Experts,
    In tcode ME28 when i get the list of POs to be released , I click on the release possible icon against the PO number. On clicking of this, a mail goes to the vendor of the PO.
    My requirement is to change the subject line of this mail.
    I have done all the required settings in NACE i.e. for this output, in the " Mail title & texts" , I have maintained the text and in the General data tab I have mentioned SAPMM06E as the program & TEXT_SYMBOL_REPLACE as the form routine.
    Also in the Mail tab I have done the same : SAPMM06E as the program & TEXT_SYMBOL_REPLACE as the form routine.
    But i am not able to get this dynamic mail text in the PO mail , instead of this text, the correspodnig PO number comes as the mail text.
    In there anything that I have missed out ?
    Please suggest.
    Thanks in advance  .

    Hey ,
    is there a code written which will is responsible for forming and sending this mail ? If so the you need to look inside this code and instead see where are you setting PO number in subject line. In that part of code  you need to a variable which will hold this dynamic text which you want to send as subject line.
    If you can share that code with me , I can help you further.
    Hope this is helpful.
    Regards,
    Uma Dave

  • How to change email subject in smartform?

    Dear experts!
    I have an action wich triggers smartform and sends it via email.
    In smartform (transaction smartforms) I can input some text in field "Description" and this text will be shown as e-mail subject. Also i can use ampersand (&) in this field to input the number of transaction from wich the action was launched.
    But I need to add to the e-mail subject the number of preceeding document, I can get it in the Initialization tab of Global definitions.
    How can I add this number (number of preceeding document) to the e-mail subject?
    Regards,
    Vladimir

    Hi,
      In your print program when you are calling the FM generated by smartform you need to pass some parameters. In that there is one parameter OUTPUT_OPTIONS. In that we have a field called TDTITLE. This field is nothing but your Mail subject. So you can change this parameter in your print program for the mail subject.
       Hope this heps you.
    Regards,
    Lakshmi.Y

  • Problem with dynamic columns in smartforms.

    Dear SDN Experts,
    I have a requirement in smartforms for dynamic columns.
    i have used template with 10 columns, So from these 10 columns,Columns may vary monthly MIN 2 to MAX 10 depending on
    readings with them  for that month.
    i cannot fix column headings also,Because headings also changes dynamically.
    So Problem is if there is no data in columns,Columns is displayng empty.
    For EX: In this month i have 2 columns data remaining all columns is displaying empty boxes.
    Please suggest me a solution  is this posible in smartforms if i use table also.
    <removed by moderator>
    Regrds,
    MNR
    Edited by: Thomas Zloch on Sep 11, 2011 3:50 PM

    Hi friend,
    See the link below it is having the solution of hiding the columns in smart forms
    Hide table columns in smart form?
    Create a table to display your values with 12 col and hide the columns based on the idea provided in the link above.
    I think this will solve your issue if you still have queries please revert back to me i will help you.
    Thanks,
    Sri Hari

  • Dynamic box in smartforms

    hello gurus,
    i have to populate  dynamic boxes this is the scenario  any ideas...i mean how can i put this in smartform way...
    I
    f gift order <> 1
    Determine how many VALUES we have based on ship_charge, subtotal, promotion_amt and order_total.Think the max is 4
    Based on this count this determines the number of boxes
    This count will also determine which values are output
    Need to consider if promotion amount is negative then need to put negative sign before '£' sign
    Else.
    No boxes/prices are shown
    Endif.

    HI ,
    Use tables .
    right Click->create->tabels
    In data tab  , in loop to
    give the name of the internal table  and work area
    as  :  it_ekpo  into   is_ekpo
    In tables tab click details button
    Under line type 1 specify the size for each row of the table.
    The toal size of all the columns should not exceed the total window width .
    In the same line as details u can see the lines  and boxes .  using that u can fill the borders of the cell with lines .  Click on the cell and select the appropriate  line . When u display the line will be displayed as the border of the cell .
    Save chek activate
    Right click on main area and click tabline.
    Under line type specify the line type created in table .
    Then in each cell right click and create text  . and put variable as
    &is_abc-ebeln&.
    Regards

  • Dynamic graphic in smartform

    Hi All,
    I have a requirment of displaying drawing in my smartform.But this drawing will be decided only during runtimme. I have used the third option 'DETERMINE GRAPHIC DYNAMICALLY'.I have used a variable 'bcol 'in form interface and through my driver program i am passing the name of the graphic stored in se78.Now i am passing it in the third option as '&bcol&'.
    I am getting the message that 'GRAPHIC NOT FOUND'.
    Please let me know that i am doing correct or i am missing something.Also is there some other way to call graphic dynamically stored in se78 in smartform.
    Thanks in advance.
    Binod Prakash

    I think you have selected the variable for choosing between BMON and BCOL (monochrome and color graphic).
    According to what you say (3000 graphics), I guess you have made a confusion.
    To select dynamically the graphic name, you must first click the "triangle" button at the right of the NAME field (first line). You may not see immediately this button as it may be hidden by the graphical layout editor. Hide the editor and you will see the button.
    Click this button and enter your graphic variable name (&bcol& is a weird name, instead use a name like &graphic_name&)

  • Variable subject for SmartForms email

    Hi All,
    At my clients SAP system (ECC 5.0), we are using SmartForms for the output of documents.
    In this case I am talking about invoices.
    Customzing is setup to use standard SAP program RLB_INVOICE and an invoice smartform which is copy of SAP invoice, but then adjusted for my clients needs. This works perfect for quite some time now.
    Since recently email was setup so these invoices can be mailed directly to the customers, but we face the problem that when invoices are sent via email, the subject is always the same.
    This makes sence because it is set in the output type (mail title and texts), But we would like to make this a variable text, e.g. Invoice_1234567890 (where 1234567890 is the SAP invoice number)
    Has anyone experience in doing this?
    - Is there a way to insert a variable in the subject of the email?
    - Which veriables can be chosen?
    - Is there a user-exit to overrule the Standard SAP behaviour (I could not find it)
    Of couse a Z program can be created to convert the OTF to PDF and sent your own created email, but I would really like to keep using the standard SAP program.
    Thanks very much.
    Kind regards,
    Dave Verkoelen

    I think OUTPUT_OPTIONS-TDCOVTITLE generate a subject in the Email.
    I have tried to update that field using field symbols in the Smartform but, I was not successful.
    * Modifying in Smartform Main program
    field-symbols: <fs> type SSFCOMPOP.
    assign ('(SAPLSTXBC)SSFPO') to <fs>.
    <fs>-TDCOVTITLE = 'test Title from Smartform'.
    * Modifying in FM's parameter
    field-symbols: <fs1> type SSFCOMPOP.
    assign ('(/1BCDWB/SAPLSF00000166)OUTPUT_OPTIONS') to <fs1>.
    <fs1>-TDCOVTITLE = 'test Title from Smartform'.
    So, I think you need to copy the RLB_INVOICE to Z and than change the title.
    Regards,
    Naimesh Patel

  • Smartforms - CRM - Sending as an email - avoid e-mail read confirmation

    Hi Experts,
    I've got a question concerning the e-mail read confirmation of a Smartform which we send by channel e-mail in crm system...
    I've created a smartfrom which we send with an action in crm as an e-mail, for this I use the standard class
    CL_DOC_PROCESSING_CRM_ORDER with method CRM_ACTIVITY_EXEC_SMART_FORM and processing type "smartforms e-mail".....
    The E-mail will be deliverd successfully, but the e-mail want's a read confirmation. Is it possible to set a variable in the class I mentioned above to avoid the reading confirmation?
    regards
    marc

    Hi Experts,
    I've got a question concerning the e-mail read confirmation of a Smartform which we send by channel e-mail in crm system...
    I've created a smartfrom which we send with an action in crm as an e-mail, for this I use the standard class
    CL_DOC_PROCESSING_CRM_ORDER with method CRM_ACTIVITY_EXEC_SMART_FORM and processing type "smartforms e-mail".....
    The E-mail will be deliverd successfully, but the e-mail want's a read confirmation. Is it possible to set a variable in the class I mentioned above to avoid the reading confirmation?
    regards
    marc

  • SMARTFORM CRM - access to PCAT item - UPDATED

    Hi,
    I need to be able to access some details from the pcat area on a smartform. We are using CRM 5.0.
    I am looking for an example of how you would config the smartform to connect to the pcat area and return a customised description. We need to do this as we are only displaying the TEXT_0002 on the webshop not sales text or material text.
    Basically I need to do the following.
    I run the smartform from the order creation process - the smartform is triggered by an output of the order.
    What I need to do is the following
    1. go to table COMM_PRODUCT and run an ABAP query something like
    select PRODUCT_GUID from COMM_PRODUCT where PRODUCT_ID = ORDERLINE_PRODUCT
    2. Then I need to use the value from above to run the following code from table COMM_PCAT_ITM
    select GUID from COMM_PCAT_ITM where OBJECT = RESULT_FROM_1_ABOVE
    3. Then I need to pass the result of 2 to an RFC called COM_PCAT_ITM_GETDESCRIPTION_0
    return TEXT_0002 where IV_ITEMGUID = RESULT_FROM_2_ABOVE
    would appreciate anybodies thoughts on this as it is puzzling me.
    Cheers, Paul

    going to perform the update from the sales order exits - see other question

  • How to create dynamic windows in smartforms

    Hi All,
    i am creating a smartform wherein i have to print different layout for different company codes,
    like if the company code belongs to an Indian company then i need to display cost center window. so can you please guide me through the procedure to create windows dynamically.
    thanks in advance
    pooja.

    U can create different layouts for different company codes.
    Declare a variable p_bukrs i.e. company code form interface.
    Made u r window as condition like in the condition tab.
    p_bukrs = '1000'.
    Then it will call corresponding to the company code.
    or
    u can create different forms for different company code and u can differentiate in the driver program.
    if p_bukrs = '1000'.
    call function ssf .
    if p_bukrs = '1500'.
    call
    endif.
    with regards,
    Kiran.G

Maybe you are looking for

  • Error in downloading apps?? (help please)

    hey, I just got on my ipod from not using it for like a month (been doing things) and i tried to Dl a App that my freind told me about (it was a free app if it matters) and it didnt work, the little square (the thing you press to go into the app) sho

  • Value Contract vs. Qty Contract

    Hi All, For Value Contract the system asks for Target Value in the header of the Contract. For example, if the target value is 10,000USD and I enter in the Target Value field in the contract and when I goto Item Overview the system's asking for Targe

  • My mac has recognized my iphone for 2 years now all of a sudden it doesn't even have "devices" listed when I bring up my itunes

    My iMac has always recognized my iPhone now, all of a sudden I go to sync it and nothing shows up. "Devices"doesn't even show up in the left hand side of my iTunes. Help?

  • Policy file changes in Flash Player 9

    I have a form that sends mail (smtp) through a socket connection (actionscript), which I picked up here, http://www.bytearray.org/?p=27 Tested and works fine locally, but when posted online and tested, it quietly fails. I am trying to send mail from

  • Inventory management - Label printing - How this will work

    In Material Master under Plant data/Storage location 1 we have Label type and Label Form. How to make use of this? We have in IMG under inventory management> messages> Print control> Label printing. how to configure to get desired number of labels to