Dynamic variable in Bex Broadcaster

We have a mandatory variable as 'Date' in the report. While creating the variant in Bex Broadcaster for sending mails daily - the date gets saved & remains constant. We need the date to be changed dynamically everyday when the mail is sent.
I would like to know how should I achieve this. Thanks. Helpful ans will be appreciated.

Hi,
You would need to create the Date variable as Customer Exit.
Populate the Date variable in CMOD by sy-datum or other logic, if u need. This will fix ur issue.
Steps: 1. Make the Mandatory (existing variable) to Customer Exit
           2. Choose "Variable can be Input-Ready"
           3. Write your code in CMOD for I_STEP = 1 to populate the sy-datum
If you do this, your existing variable will still be Mandatory, except the default value which will be shown in that is Current Date (Sy-datum). This should resolve your probs.
Regards,
Chathia.
Edited by: Chathia_P on Feb 18, 2010 12:05 PM

Similar Messages

  • 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

  • Issue with the variable assignment in th Bex broadcaster

    hi ,
    i am working on Bex broadcaster . while creating a setting for a report, in the variable assignment under the General precalculation tab, the value given is not getting transferred.
    i tried it in development portal its working fine.
    do anyone have any ideas abt this.

    Hi Apurva,
    Find any solution for your problem? We are experiencing a similar issue too.
    Thanks,
    Vivek

  • Variable in BeX version 7.0  to status " not 'dynamically changable'

    How can we change the variable in BeX version 7.0  to status " not
    'dynamically changable' ? I need to do this fullfill some reporting requirements.

    I managed to figure it out myself!
    Instead of VAR_VALUE I need to enter VAR_VALUE_EXT, and it works fine.
    I will mark this thread as "answered".

  • Bex Broadcasting with Variable

    Hello Gurus,
      I  have a BI Report that has calendar date as selection screen which by default displays current date(18.03.2011) .
    After running the Report and scheduling the report to send through email  every day  via Bex Broadcasting tool.  That works fine for today (18.03.2011).
    But tomorrow   when I receive the report through the email . This variable automatically not changing to  tomorrows date ie 19.03.2011 so still shows  the data for 18.03.2011.
    Is there any way to change this date field automatically through Broadcasting .
    Thanks for your resposne.

    You have two options:
    1) If the calendar variable is not ready for input then it will automatically update.
    2) I am assuming you created a variant and the broadcast always shows the data for the day you saved the variant. In BEx 3.5, you can save a variant without saving the value for calendar day. This variant will force the default value every day. If you didnot create a variant and are just setting the variable values in the broadcaster, then you should create a variant as explained above and set the broadcaster to use the variant.
    Vineet

  • Error on Variable Screen of BEx Broadcasting

    Hi guys ....i have a problem.....when i open the variable assignment for execute BEx Broadcasting i got a screen with strange characters, the screen is like a text file in HTML screen without styles and color.....and the problem is that there are some strange characters in some characteristics... and give an error when execute....
    I hope somebody could help me
    Regards

    Hi,
    Try maintaining Text for the InfoObjects on which you are creating variables.
    Say like you have crated variable P on InfoObject company code...then maintain text for that InfoObject.
    Regards
    Ramsunder

  • Dynamic filtering with BEx query variables in WebI 3.1

    Hi experts.
    Can anybody help me ?
    1) I use BEx query variables in WebI 3.1 .  But i can't understand how to order fields of selection screen in WebI reports
    2) How can i use Dynamic filtering with BEx query variables in WebI 3.1 ?
        It's need that  list of second field on selection screen will be accoding to result of selection first field on selection screen and so on .
        Need i use BEx user-exit variables ?
    Thank you

    Hi,
    1)  Variable sequence isn't respected in XI3.1 - and can't be modified in OLAP.unv  (this enhancement exists in 4.0 )
    2)  Dynamic filtering?  Yes, Exit routines are the best way to go for this.
    Regards,
    H

  • Variable string "VAR_01" is not filled - BEX Broadcasting - General precal

    Hello BEX guru,
    When trying to use BEX broadcasting ->General precalculation (trying to precalculate liket the old reporting agent), i am getting this error.  However, once going to the "Variable Values" to create I am getting the "BEX web Analysis" screen with prompt to "new analysis, open, save as...tab".  I've tried using RSRT and create a global variable for one of my query that has the variable prompt but still nothing.  Any help is greatly appreciated.
    Cheers,
    HarryT

    Hi,
    For the webtemplate, create a global variant. This variant you can use it the precalculation.
    Ravi

  • BEx Broadcaster (Wizard) Settings - step 2 Mandatory Variables

    Hi all,
    when trying to broadcast a query by using the BEx Broadcaster Wizard I stumbled upon something where i need some help from you guys.
    At step 2 'Specify Variable Assignment' it says that ' mandatory variables exist' and that I must specify 'how these variables must be filled during precalculation'. After selecting the first variable in the drop down menu e.g. VAR_01 it says 'Variable Values Create' . Clicking on create just brings me to another window where i can run the analyzer again... and I don't really know what to do next, because it seems i can't really create or select something to create the necessary value for step 2.
    Thanks in advance,
    Steven

    Hi,
    When you are doing precalculation of query , the variable should be filled automatically ,this you can achieve by writing customer exit variable..
    Also check the below link..
    http://help.sap.com/saphelp_nw04s/helpdata/en/3a/0e044017355c0ce10000000a1550b0/frameset.htm
    Regards,
    Siva.

  • Bex Broadcaster can't click past OK in variable assignement

    Hi All,
    Form the portal Broadcast settings in general precalculation settings when I try to change variable values selection from that actual screen I can't click past ok after selecting the variable.
    we are BW 7.02 and on IE8
    from reading some posts on SDN i have already tried and I have turned of SmartScreen Filter off/ Phising filter off and also looked at note
    1498753 - Variable screen not closed in Bex Broadcaster, but this has not resolved our issue.
    has anyone else faced a similar issue
    Thanks
    Forhad

    Thank you for your suggestion. I want to make sure I understand you correctly so I have a few questions.
    Is this transparent table that you are using in your BW system or in your ECC system? Our BW and ECC systems are on different machines using different databases. Do you load the data from this table into your BW system for this to work? I think I understand that you are creating a way to create the missing master data so the BEX 7 query does not give the error message allowing the user to input their range of values.
    If I understand you correctly I would create my Z table in our ECC system with the fields you mentioned, create a DSO or something simple in our BW system and load the data each time a user wants to use a new range of values for the field so that the field's master data would exist.
    Am I understanding you correctly?
    I don't think this solution, if I am understanding it correctly, will work for us because I don't think I can just add new Vendor Numbers like you were able to do with a date field. The Vendor is tied to a lot of other things, master data, ...
    Thanks,
    Jeri
    Edited by: Jeri McNeany on May 17, 2011 4:55 PM
    Edited by: Jeri McNeany on May 17, 2011 8:16 PM

  • BEx broadcaster precalculation variable value shows BEx web analyser iview

    Hi Experts,
    I'm getting this very weird problem on BEx Broadcaster in BI production portal. In BEx Broadcaster, the general precalculation tab, variable value create /change link when clicked show BEx Web Analyser iview instead of variable entry screen.
    This was working fine until two days back when this problem started showing up.
    Users are not able to create new broadcast settings in the production environment nor able to change variables of existing setting which is casuing lot of problem.
    If anyone has faced this issue before please let me know how can this be resolved? Also it will be greatly appreciated if someone can explain how the link is calling the variable entry screen.
    Thanks & Regards,
    Seema Rane

    Hi Experts,
    Can anyone please guide?? We are facing this issue on Production portal and affecting the functaionality.
    Any inputs are appreciated.
    Regards,
    Seema Rane

  • BEx Broadcaster and Variable popup on General precalculation setting

    Hy expert's , i have this serious problem: on bex broadcaster, when i use the Create link to configure a variable assignment of the broadcasting settings, a window popup appear and it don't contain variable screen but the Web Analyzer.
    Could you help me?
    Than'ks a lot.
    Sincerely yours
    Andrea Maraviglia

    Hi,
    Did anyone find a solution to this? I'm facing the same issue on production portal.
    Its disturing the broadcasting functionality.
    Appreciate if you can provide a solution.
    Regards,
    Seema Rane.

  • Creation of text variants to be used in bex broadcasting

    Hello
    Can someone tell me the process of creating new text variants which can be used in the subject and content fields in the bex broadcaster Wizard. I can see some standard text variants there but need to create my own.
    Thanks

    Hi Tinkugeo,
    I tried with the following code and it is working for me :
    DATA: loc_var_range LIKE rrrangeexit.
    DATA:  l_s_range     TYPE rsr_s_rangesid.
    Data: NEWDATE type sy-datum.
    IF i_vnam EQ <variable name> 
    if i_step EQ 2.
    CLEAR l_s_range.
    NEWDATE = sy-datum.
    month = NEWDATE+4(2).
    year = NEWDATE+0(4).
    day = NEWDATE+6(2).
    l_s_range-low+0(2) = day.
    l_s_range-low+2(1) = '/'.
    l_s_range-low+3(2) = month.
    l_s_range-low+5(1) ='/'.
    l_s_range-low+6(4) = year.
    APPEND l_s_range TO e_t_range.
    endif.
    Check that the variable you have made is of type customer exit.
    Best Wishes,
    Mayank

  • Portal: how to define new text variables for information broadcasting

    Hello everybody,
    I hope the post here is placed on the right position. If not, please try to advise me, where to ask to get answer on following question:
    -> In BI Portal -> tab Business Intelligence -> Bex Broadcaster -> it is possible to create PDF and post it somewhere into Portal or any other network drive. That's fact. I'm searching for possible enhancement of the F4 help next to the field "data name". There are available only following few variables <OBJECT_ID> <SETTING_ID> <OWNER_ID> <PROCESSED_BY_ID> <LANGUAGE_ID> <DATE_ID> <TIME_ID> <WEEK_ID> <MONTH_ID> <QUARTER_ID> <YEAR_ID>
    We are facing this issue: generated analysis file is valid for the period from month 01 to month actual-1. So therefore I would like to implement my own variable.
    Do you know guys, where to define this own variable with own logic?
    Could you please give me some hints how to create a new one and fill the logic?
    Thank you very much in advance
    Stan

    Not resolved. Life goes still on.

  • Text valriable in Query Description is not working in Bex Broadcaster

    Hello Experts,
    I am using Bex broadcaster setting to displaying Query Description through text variable availabe as <OBJECT_DESCRIPTION> in subject of boradcasted mail.
    In Query Description I have used text variable at the end to display previous month/year i.e "Report &ZPREV&" .
    Text variable with description is working fine in RSRT/ Analyzer, I am able to see description as "Report 201012" but the same description displays "Report &ZPREV&" in the subject line of broadcasted mail i.e. text variable is not getting assigned with desired value and technical name appears.
    Thanks,

    this problem may arise due to non-assignment of text variable to the any of the characteristics you using the  year so, REFER THE TEXT VARIABLE TO THE FISCAL YEAR . WHICH IS IN  TIME CHARACTERISTICS.
    HAVE YOU CREATED ANY OFFSET VARIABLE,  CREATE A VARIABLE FOR THE FISCAL YEAR  AND CREATE OFFSET TO THE VARIABLE AS -1 THEN  YEAR  WILL YEAR-1   ,   THE TEXT VARIABLE YOU CREATED WILL REFER TO THE FISCAL YEAR SO THE  PREVIOUS YEAR VALUE OF THE TEXT VARIABLE WILL THE YEAR = YEAR - 1.

Maybe you are looking for

  • Date & Time - Can't set, keeps freezing

    Whenever I try and change date and time using System Preferences, the applications stops responding. Here's what I have... - Mini Mac Intel - 10.4.8 - Airport connection to wireless router Can anyone help? Thanks Alan

  • Condition type MWST

    Hi Friends, We set up condition type MWST (output tax) for our European customers. The rate is 17.5%. Our issue is for some customers we won't charge 17.5% at all. (two scenarios could apply to one customer) My question is Is that possible that I am

  • Authorization in Directory

    Hi All, in both ESRepository and Integration Directory we can define more detailed authorization that restrict access to design and configuration objects. [Documentation from SAP|http://help.sap.com/saphelp_nwpi71/helpdata/en/f7/c2953fc405330ee100000

  • IMovie '08 Events folder structure

    I am in the process of importing my old movies into iMovie. These are currently in nice folders by year. This works well as I have quite a few videos and when split by year there are a managable amont. However I am now realising the iMovie just puts

  • Connect BW to another Source System

    Hello Gurus, I have a problem. We have to connect a BW Dev System to R3 Dev System, but I want to do some DEMOS to my client so I need to connect the same BW DEV System to another DEV System (IDES). When I finish the DEMO I should connect this BW DEV