Broadcast email Custom Text Variables

Hi Gurus,
Is it possible to introduce in Subject or Content of the mail a custom Text Variable ?
My idea is to introduce in the Subject of the mail a Text Variable representing the value of the Company for which i have scheduled the query, like in the standard BEx reporting.
Thank you in advance.
Ciao.
Riccardo.

Hi,
I know this was posted a while ago, but I'm working on a similar problem so I thought i'd include my comments.
Write an abap program which updates the settings as described in the thread.
Run the broadcasting from a process chain and include the update of the settings before the broadcast step by executing the abap in the chain.
In my scenario I have a range of settings broadcasting reports to depot managers and operating company managers. The managers email addresses are held in a custom table with their respective broadcast setting.
I use the abap to update the broadcast setting text subject - Reporting for OpCo <OPERATING COMPANY> and Depot <DEPOT> and the body text with the run date and more information.
If the email address has changed I update the RSRD_SETT_NODE_A record accordingly.
Then the chain executes the broadcast for the revised setting.
Simple.
Hope it helps.

Similar Messages

  • Text variables are missing after making a custom variable with no files open????

    I made a customer text variable with no files open hoping to make it available to ALL my files. Well, that backfired... when I open an existing file I can't see any variables unless I go and make a new one.
    The text variables only show up when I make a new file.
    Any way to fix this?

    That is how any preference, including variables, work. All new files inherit these items, existing files are left alone. If you need those variables in existing files, you can import them from an existing file that has them...which would be any new file that would contain them.
    For the above, go to Type, Text Variables, Define, then load, navigate to any document that has them, make sure the variables you want to include into the existing/former document are checked. If there will be a clash, you can choose what to do.
    Mike

  • In the filter the value of text variable is not shown, only technical name.

    Hi All,
    We have some odd behavior of text variables in the filter screen of key-figures.
    After entering values in the variable screen, the report is executed.
    Within the report all text variables are filled, with the values entered in the variable screen.
    I say all, because we use both sap standard variables &0T_FPER& as customer specific &ZFSCYR&.
    When i want to change the key figures showned, i press the filter icon for key-figures (BW 3.5)
    In the list shown: existing filtervalues, the textvariables of SAP standard are filled with the value entered in the variable screen. However the customer specific is shown with the technical name (&ZFSCYR&) and not the value.
    Has anyone experience with this behavior or even better a solution to prevent this?
    As allways, each usefull answer points assigned!
    Regards,
    René

    Hi Rene,
    If ur custom text variable is not getting populated then you need to check out the code that u have written in there in CMOD for this and ofcourse if ur using this text variable after report execution then it will definately be in i_step 2.
    So best way is to debug your code and check that using code RSRT.
    Thanks
    Dipika

  • Crashing when copying text variables

    Hi,
    Since when I installed ID CS5, I've had crashes most of the times I copy a custom text variable from my document. I select it, copy it, and as soon as I move the cursor with the arrows or the mouse, ID crashes.
    I sent several reports to Adobe, but it seems this is not yet fixed. Does someone has the same problem and has a workaround? As it is, I cannot simply consider the Text Variable function as existing (and this was one of the main reasons for switching from FrameMaker, where I make heavy use of variables).
    Paolo

    Ok, this is a typical custom variable of mines. The others all look like this one.
    Since it is rather short, I'll also copy the crash report for the thread that seems to have crashed:
    Exception Type:  EXC_BAD_ACCESS (SIGBUS)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
    Crashed Thread:  0
    Thread 0 Crashed:
    0   ???                           0xa05420d8 _XHNDL_trapback_instruction + 0
    1   ...adobe.InDesign.SangamExport 0x243b800c 0x24392000 + 155660
    2   com.adobe.Writer for Text     0x2bfc1f94 ResetWriterInstance() + 820
    3   com.adobe.Writer for Text     0x2bfbe81e 0x2bfbb000 + 14366
    4   com.adobe.Writer for Text     0x2bfbe884 0x2bfbb000 + 14468
    5   com.adobe.Writer for Text     0x2bfc2ad7 SMTerminateConnection + 471
    6   com.adobe.Writer for Text     0x2bfbcaae 0x2bfbb000 + 6830
    7   com.adobe.Writer for Text     0x2bfbc0dc 0x2bfbb000 + 4316
    8   com.adobe.Writer for Text     0x2bfbc1f8 0x2bfbb000 + 4600
    9   com.adobe.Writer for Text     0x2bfbc876 0x2bfbb000 + 6262
    10  com.adobe.Writer for Text     0x2bfc18f8 0x2bfbb000 + 26872
    11  com.adobe.Writer for Text     0x2bfc0d40 0x2bfbb000 + 23872
    12  ...adobe.InDesign.SangamExport 0x243c75b4 GetPlugIn + 26756
    13  ...adobe.InDesign.SangamExport 0x2439e417 0x24392000 + 50199
    14  ...adobe.InDesign.SangamExport 0x2439d82c 0x24392000 + 47148
    15  ...adobe.InDesign.SangamExport 0x243c2189 GetPlugIn + 5209
    16  ...adobe.InDesign.SangamExport 0x243c2827 GetPlugIn + 6903
    17  ...adobe.InDesign.SangamExport 0x243c1c17 GetPlugIn + 3815
    18  com.adobe.InDesign.Text       0x1e07e4da GetPlugIn + 1040922
    19  PublicLib.dylib               0x014f0a54 CDataExchangeHandler_Extensible::Externalize(IPMDataObject*, unsigned long, IPMStream*) + 148
    20  ...adobe.InDesign.AppFramework 0x197306d1 GetPlugIn + 669857
    21  ...adobe.InDesign.AppFramework 0x1972e766 GetPlugIn + 661814
    22  ...adobe.InDesign.AppFramework 0x1972e713 GetPlugIn + 661731
    23  com.apple.HIToolbox           0x93445260 PasteboardPromiseKeeper(OpaquePasteboardRef*, void*, __CFString const*, void*) + 170
    24  com.apple.HIServices          0x9137700e PasteboardCopyDataProc(void*, __CFPasteboard*, long, long, __CFString const*) + 460
    25  com.apple.CoreFoundation      0x935a1bfc __CFPasteboardClientCallBack + 508
    26  com.apple.CoreFoundation      0x935918c1 __CFMessagePortPerform + 193
    27  com.apple.CoreFoundation      0x935b36b8 CFRunLoopRunSpecific + 3896
    28  com.apple.CoreFoundation      0x935b3aa8 CFRunLoopRunInMode + 88
    29  com.apple.HIToolbox           0x932232ac RunCurrentEventLoopInMode + 283
    30  com.apple.HIToolbox           0x932230c5 ReceiveNextEventCommon + 374
    31  com.apple.HIToolbox           0x93366377 ReceiveNextEvent + 58
    32  ...adobe.InDesign.AppFramework 0x1966ad8e 0x19668000 + 11662
    33  ...adobe.InDesign.AppFramework 0x196905fa GetPlugIn + 14282
    34  com.adobe.InDesign            0x000028ab main + 187
    35  com.adobe.InDesign            0x000027c6 start + 54
    Paolo

  • Text variable & character style

    Is it possible to make a character style part of the definition of a text variable?

    I see the problem, can't think of anything off-hand... Your idea
    Find/Change could be used to search for a variable
    has its own set of limitation. Other than you'd expect, Find/Change cannot search for any variable of choice -- rather, you can only distinguish between the different types of variables. If your product name is a Custom Text variable, the Find/Change will work but it will pick up all custom text vars.
    Yes, still plenty room for improvements

  • Information Broadcast by E-Mail (Bursting) - Use of Text Variables

    Hello Experts.
    This time we have a project to distribute customer data using the Information Broadcast by E-Mail (Bursting).
    So far it works with Queries and Web Templates, but the functions to create the text for the mail body are not enough.
    The "Text Variables" do not contain information about the content of the Query, for example:
    "Dear Ladies and Gentlemen" is not enough for us to post the E-Mail to the customers we have to do it dynamically like "Dear Mr. ".
    Furthermore we have to send the E-Mail as a copy to the corresponding account manager and there is no "CC" field while bursting.
    Is it possible to "extend" the functionality with u201Cself madeu201D Text Variables or customer exits or anything else?
    Thank You.
    Stefan Müller

    HI,
    have you find an answer to your question ? Because we have the same issue, and I wonder if we can create variable or user exit ...
    Thanks for your answer.
    Mike

  • Creating Text Variables to use in BEx Broadcaster

    Creating Text Variables to use in BEx Broadcaster OR How to Broadcast reports (Excel output format) and dynamically generate each Excel file name
    Hello,
    I'm new into posting to this forum, but I always come here when I need some answers and I find them almost everytime.
    But now I couldn't find a solution for my problem so I decided that maybe you can help me.
    I'm using BEx Broadcaster (I'm working on a SAP BW 7.0, SP17) to broadcast to SAP Portal some Excel files generated from a query.
    I use Filter Navigation, because the query provides me with information regarding Sales Orders from all my customers and I need to broadcast an Excel file per customer. This is working perfectly, meaning, with this query I put the Broadcaster generating an Excel file per Customer.
    The problem is that I needed that each Excel file had a different name on it.
    For example, for Customer1 the Excel file name should be something like Customer1_SalesOrder.xls, for Customer2 it should be Customer2_SalesOrder.xls and so on.
    At the present, the Broadcaster generates each Excel file using the technical name of the Query that originated the file. You can use some stardard text variables that broadcaster has available, but these standard text variables don't solve my problem. I needed to create my own Text Variables so I could have the Customer ID on the file name.
    Can someone give me a light on this?
    Points are obviously awarded.
    Thanks,
    Cristina

    Hi All,
    I have a similar requirement, where I publish my reports on to the SAP PORTAL  KM folders.
    In my broacast setting for the web templates, I have the fisrt tab called
    TARGET in PORTAL
    File Name : ReportXX MONTHLY_<MONTH_ID>  (F4) List
    Currently I use the sys variable <MONTH_ID> which gives me the curr month;
    My requirement is
    If the report is run in the first week of the month, I want to generate a filename_PREVIOUS MONTH (label) and
    if the report is run between 7th-30th of the month then to generate a filename_CURRENT MONTH (label)..
    On BI.7 POTAL is it possible using some exit variables instead of the system variable which are given in the F4 List.
    If so where do I create the exit variable in BW backend or the PORTAL itself so that I can access it from the F4list of of the filename column.
    Thanking you in advance for you time.
    Rao

  • Urgent: Custom Text in Variable Selection Screen

    Hi Experts,
    I know that it is not recommended by SAP to customise the variable screen, I am sorry but that is ridiculous coz there are no alternatives provided for even simple editing. I''ve searched every where in SDN to find a way to simply add a custom text element in this bizarre screen.
    I need to do that because I have to group variables that look similar in a container and add some instructions to users on how to base their selections.
    I am also not sure what exactly the web item whcih is behind this selection screen or perhaps if it is another web template that is being invoked by the standard template ""0analysis_pattern"" and if any what is that web item invoking it.
    If you have any clues of how i can achieve this please adivce as soon as you possibly can.
    Points will be assigned.
    Cheers,
    Jad
    Edited by: Jad on Apr 30, 2008 8:27 AM

    Hello,
    To customize your variable screen you should neeed developer access key..you can see whether you have got or not in table Devaccess..
    Personalisation of variables is for saving all inputs for future use. ( In your case save without any pre determined values )
    Below PDF link will surely answer your doubts.
    http://www.ies.state.pa.us/imaginepa/lib/imaginepa/mso2.pdf
    The personalization option can be activated in the system (using the program RS_PERS_ACTIVATE or the IMG guide (BW Customizing Implementation Guide -> Business Information Warehouse -> Reporting-Relevant Settings -> General Reporting Settings -> Activate personalization in the BEx).
    You can manage your personalization variable through BEX Analyzer "Change Variable Values" menu option "Business Explorer --> change query --> change variable values.
    [variables|http://help.sap.com/saphelp_nw04s/helpdata/en/f1/0a56a7e09411d2acb90000e829fbfe/frameset.htm]
    Go through this link for making cange in Variable selection screen..
    Re: No Text displayed in the Input help in WEB
    For creating the Web Template..
    Go the web application designer, create a new web template in the template
    in the left hand side you will find web items , from there drag and drop table , navigation block for your navigation attributes and in the table you have to assign the data provider
    for that first you have to do
    <object>
    <param name="OWNER" value="SAP_BW"/>
    <param name="CMD" value="SET_DATA_PROVIDER"/>
    <param name="NAME" value="DATAPROVIDER_1"/>
    <param name="QUERY" value="your query name"/>
    <param name="INFOCUBE" value="your cube or multiprovider name "/>
    DATA_PROVIDER: DATAPROVIDER_1
    </object>
    now you can asssign the data provider 1 to the table.
    you can all the neccessary things you want , like check box, radio button group, charts etc.
    while saving this save it in a role.
    If you want to do this for a workbook, which has been created in the BEx Analyzer, do the following:
    After embedding the query in the workbook, right click -> choose 'properties' in the context menu -> click the 'interaction' tab -> check the 'save and reuse variable values' option.
    After doing this, once the workbook or query is refreshed, the already entered variable values are taken.
    Also see
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a5529e09411d2acb90000e829fbfe/frameset.htm
    Hope it helps you,Revert me back if you have any queries
    Assign points if helpful
    Regards
    Bala
    http://help.sap.com/saphelp_nw04/helpdata/en/00/e8d13f7fb44c21e10000000a1550b0/frameset.htm

  • Text Variable(Customer Exit) displays variable name instead of its value.

    Hi Gurus,
    My requirement is to display the year(from variable) as the field name i.e Year end salary 2009.
    I was using the fields name as hardcoded values like 2009 but as per my requirement i need to display it from the variable.
    I tried using Text Variable using customer exit, but I'm getting variable name(zvariable) instead of value(2009).
    Please help me out, many thanks in advance.
    Regards,
    Ankur

    Hi,
    Actually I tried to create a Text Variable with Replacement Path.
    But here the problem is that we have a Characteristic Variable (Customer Exit) which is not listing in the selection box of Replacement Path.
    Hence we tried to create another Text Variable (Customer Exit) and refering to the same Customer Exit code.
    Regards,
    Ankur

  • Prob in text variable with customer exit

    Hi to all
    I am working in PA module in HR ,In my Report i have to count total number of trainee and lateral in given Date range that From date to To Date , Before that i have to calculate a Total Employee Strength before one day of From date , suppose user enter a 1st of April 2007 to 1st of jun 2007 , so Employee strength should be calculated on the 31march 2007, for that i have written custome exit , now i am getting a value also , for Display that date have a created a text variable with customer exit , but i am not able to get that date , it should be display strength as on 31march2007 , instead of it is displaying Strength as on 00.00.0000.I am giving a cod also
    ls_range-sign ='I'.
    ls_range-opt = 'EQ'.
    ls_range-low = 'EB1A'.
    append LS_Range to e_t_range.
    WHEN 'ZPA_DATE'.
    if i_step = 3.
    READ TABLE I_T_VAR_RANGE INTO L_S_VAR_RANGE WITH KEY VNAM = 'ZPA_DATE'.
    IF SY-SUBRC = 0.
    ZTEST = L_S_VAR_RANGE-LOW.
    ztest1 = ZTEST - 1.
    export p = ztest1 to MEMORY ID 'VALUE'.
    ENDIF.
    endif.
    WHEN 'ZFRMDAT'.
    if i_step = 3.
    ls_range-sign ='I'.
    ls_range-opt = 'EQ'.
    ls_range-low = ztest.
    append LS_Range to e_t_range.
    endif.
    when 'ZPA_CDAT'.
    if i_step = 3.
    ztest1 = ztest - 1.
    ls_range-sign ='I'.
    ls_range-opt = 'EQ'.
    ls_range-low = ztest1.
    append LS_Range to e_t_range.
    endif.
    when 'ZPA_VAR3'.
    if i_step = 3.
    ztest1 = ztest - 1.
    import p = ztest1 from memory id 'VALUE'.
    concatenate ztest16(2) ztest14(2) ztest1+0(4) into date separated by '.'.
    move date to temp.
    move 'Hello' to temp.
    ls_range-sign ='I'.
    ls_range-opt = 'EQ'.
    ls_range-low = temp.
    append LS_Range to e_t_range.
    endif.
    Please help me to come out
    Thanks

    Hi Stefania,
    to me it looks like your local variable num_mese is not defined with the correct data type.
    Try to change
    if num_mese = 09 to if num_mese = <b>'</b>09<b>'</b>,
    same for 10 -> '10', 11 -> '11'.
    If that does not help please let me know your coding where you define the type of num_mese (DATA statement).
    Regards
    Stephan

  • Text Variable through Customer Exit  using FM MONTH_NAMES_GET

    Hi Friends,
    I have a query which runs through a variable Key date(ZPDATE). (Key date may also be changed by the user).
    I have another customer exit variable(ZVNDATE1) where it reads  from the Keydate variable and it represents one month less than the key date and it holds two dates first day of month and last day of month.
    Let say: Key date(ZPDATE) = 12.03.2008
                 ZVNDATE1 = 01.02.2008 and 28.02.2008
    I have created  RKF Overdues-1 ristricted with ZVNDATE1.
    My requirement is I wan to represent this RKF Overdues-1 as Feb 2008 . In order to do that I want to create a Text variable(ZTEXT1) using customer exit .
    As I am not very good in ABAP please can anybody provide me the code for text variable:
    I am writing in the below.. but I dont know how to represent FM..etc..
    WHEN 'ZTEXT1'.
            READ TABLE i_t_var_range INTO w_var_range WITH KEY vnam = 'ZVNDATE1'.
            IF SY-SUBRC = 0.
              CLEAR l_s_range.
              l_date = w_var_range-low.
                       CALL FUNCTION MONTH_NAMES_GET'
    Please can you provide me the remaing code..
    Thanks
    Sudhakar..

    Hi Sudhakar,
    Instead what you can do is, add few more lines of code instead of calling fm.
    case 'month'.
    If month = '1'.
      desc = 'jan'.
    elseif month = '2'.
      desC = 'feb'.
    endcase.
    concatenate desc year into w_v_range-low.
    Hope that helps.
    Thanks

  • Customer Broadcasting - EMail Bursting Broadcast with hierarchy

    Hi,
    At the moment I broadcast with the broadcast function email bursting to our customer. (single customer)
    I maintained a mail adress for each customer.
    Now we have a special demand.
    I should broadcast to customer groups.
    Customer Group is a special hierarchy level in our customer structure.
    For example one customer group have 10 single customer.
    So for example the customer from hierarchy level 2 should get a report with all customers in hierarchy level 3
    Is it possible to work with hierarchies in the email bursting function ?
    Thanks
    thomas

    Hi Thomas,
    Im not sure by hierachy group but you could so it by role.  So all customers who you assign a certain role will get a certain report.
    Nick.

  • Customer Exit to derive formula variable to text variable (BW 3.5)

    Hi gurus,
    I have created a formula variable in a BEX report (BW 3.5) that is fill by the user during runtime.  This formula variable is used in conditions and other key figures in the query.
    What I need now is to use the value given by the user in this formula variable and expose it in a text variable.
    The variable properties are as follows:
    VARIABLE 1: 'MONTOANA'
    Type of variable: formula
    Processing by: user entry
    Variable entry is: mandatory
    Ready for input?  YES
    Dimension ID: Price  (currency: Argentine pesos / Unit: per mil)
    VARIABLE 2: 'TXMONANA'
    Type of variable: text
    Processing by: customer exit
    Variable entry is: mandatory
    Ready for input?  NO
    Dimension ID: Price  (currency: Argentine pesos / Unit: per mil)
    I pretend tu use the value of 'MONTOANA' in the variable 'TXMONANA', so I wrote the following code in transaction CMOD (enhancment EXIT_SAPLRRS0_001, include ZXRSRU01):
    CASE i_vnam.
    WHEN `TXMONANA`.
        IF i_step = 2. "after the popup
          LOOP AT i_t_var_range INTO loc_var_range
            WHERE vnam = 'MONTOANA'.
            CLEAR l_s_range.
            l_s_range-opt = 'EQ'.
            l_s_range-sign = 'I'.
            l_s_range-low = loc_var_range-low.
            APPEND l_s_range TO e_t_range.
            EXIT.
          ENDLOOP.
        ENDIF.
    ENDCASE.
    I'm not getting any result for the text variable.  Could you kindly help me?
    Thanks to all in advance!!!
    LL

    We found the solution with members of our ABAP team.  In the end the issue was due to the type of the field.  The field loc_var_range-low is CHAR 60 so I had to extract the first characters on the right to get the value I wanted to deliver into the text variable.
    Thanks anyway for your help.  Regards, Leticia

  • Text Variable replace with Customer Exit Variable

    Dear Experts,
    I created a text variable based on replacementh path (instead of customer exit). The reference characteristic is same that as my customer exit Variable and replace it by Key.
    I want to replace it with already Existing Customer Exit Variable but it is not displaying in the List Box even though existing variable option is mandatory.
    Can any one Suggest me the answer for this.
    Regards
    Supraja.K

    I do not think you can select Customer Exit variable, if you see the type is selected to Char Value Variables and it is not editable.
    It would be suggested to go for Customer Exit procesing type for your text variable.
    Cheers,
    Neel.

  • Text Variable With Customer Exit Logic/ABAP Code

    Hi Experts,
    Could you please help me with the Logic/Code that i need to use in Calculacting The TEXT Variable Using CUSTOMER EXIT
    I had a rolling report in which there are 14 Calculacted Keyfigures  (Not Restricted KF),Which are
    M-1,M-2,M-3,M-4,M-5........M-14
    In MAY2009
    M-1 represents (Current Month -1)  APR2009
    M-2 represents (Current Month -2)  MAR2009
    M-3 represents (Current Month -3)  FEB2009
    M-4 represents (Current Month -4)  JAN2009
    M-5 represents (Current Month -5)  DEC2008
    M-6 represents (Current Month -6)  NOV2008
    M-7 represents (Current Month -7)  OCT2008
    M-13 represents (Current Month -13)  APR2008
    M-14 represents (Current Month -14)  MAR2008
    In JUNE2009
    M-1 represents (Current Month -1)  MAY2009
    M-2 represents (Current Month -2)  APR2009
    M-3 represents (Current Month -3)  MAR2009
    M-4 represents (Current Month -4)  FEB2009
    M-5 represents (Current Month -5)  JAN2009
    M-6 represents (Current Month -6)  DEC2008
    M-7 represents (Current Month -7)  NOV2008
    M-13 represents (Current Month -13)  MAY2008
    M-14 represents (Current Month -14)  APR2008
    Currently the Description of CKF is named as M-1,M-2..M-14.My requirment is to develop Text Variables that displays the description as MMMYYYY

    Sample code, NO syntax check...!!
    CASE i_vnam.  " Variablenname
      WHEN 'M-1'. "For Variable <M-1>
       Data: l_peri type E_BUPER, "Declare variable for Period
                l_year type E_GJAHR "Declare variable for year
        IF i_step = 2.
          DATA l_s_range LIKE LINE OF e_t_range.
          CLEAR l_s_range.
          CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' " By providing Date this FM gives period and year
           EXPORTING
             I_DATE           = SY-DATUM "System Date
             I_PERIV         = V3 "Fiscal Variant
          IMPORTING
             E_BUPER       = l_peri "for period is date is today period = 005
             E_GJAHR       = l_year. "for Year = 2009
          l_peri = l_peri - 1. "To reduce 1 from period (005 - 1 = 004)
          IF l_peri = '004'       "Check value of period.
          Concatenate 'APR' l_year into l_s_range-low. "concatenate 'APR' & Year into Low.
          l_s_range-sign   = 'I'.
          l_s_range-opt    = 'EQ'.
                APPEND l_s_range TO e_t_range.
        ENDIF.
    For M-2 subtract 2 and repeate same.

Maybe you are looking for