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

Similar Messages

  • How to create Text Variables in BEx Query Designer

    How  can i create Text Variables in Bex Q.D.
    I am able to create characteristic variables
    but i can't find option to create text variables.
    What's the requirement to create Text variables in Bex Q.D.
    When i try to create Text variable for 0calDay.. the variable type is characteristic by Default and disabled.
    How can i create text variables related to 0CalDay with which i need to work in Customer Exit.

    Hi,
    You have to create characteristic variable processing by Customer Exit by considering 0CalDay as a Reference Characteristic
    After creation of the above variable, you restrict your KF with the above created variable.
    Now you can create a Text variable for the description of your KF. This way it works...........
    Regards,
    Suman

  • How to use the bex broadcasting to send emails

    Hi Gurus,
    i made a web report, in this report , i have to send an email to some directions based in what characteristic get the value = 1,
    example:
           KF
    x=    1        send email to   pp@....
    y=    1        send email to   gg@....
    The web report is ready, now how can i use the bex broadcasting to do this funtion, please step by step, i'll really appreciate it! thanks !

    Hi Jorge,
    I am not a guru still would like to answer your query...
    You selected Broadcast by E-Mail as the distribution type when you created the broadcast setting then need to send to your systems administrator, he is the one who is responsibile to make this if and then functions coordinate with him-> Various settings need to be made in system administration in order to use information broadcasting. Furthermore, there are a number of broadcast functions that can be made by business experts and in system administration.
    If you want to guide him then.. when you make the precalculations for setting the broadcast there in Variable Assignment you can mention this as a formula
    Variable Assignment: You can create values for the BI objectu2019s input-ready variables (Query, Query View, Report, or Web Application). The BI object is precalculated using these variable values. These variable values are set whenever an online link is opened.
    Take from Variant: You can select from a variant for the BI object (Query, Query View, Report, or Web Application). The BI object is precalculated with the values of the variant. These variable values are set in accordance with the variant whenever an online link is opened
    To be honest I think Basis should help you trace where exactly to mention such request...

  • How to create Text variable

    Hi Gurus,
    May i know the step by step procedure to create text variable? Is there any Transaction code?
    Thanks & Regards,
    Prabha

    Hi Prabha
    Text Variable promts u to display the Header with our own uploaded Desire Data.
    of course the following liks will explain u clearly the creation steps..
    <a href="http://www.sd-solutions.com/documents/SDS_BW_Replacement%20Path%20Variables.html">Text Variable SDS</a>
    Text variables represent a text and can be used in descriptions of queries,
    calculated key figures and structural components
    Just Go to the Columns panel right click on it selct creat new selction type & it will
    give the text variable creation option
    Here is the HELP LINK from SAP
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/c1/759b3c4d4d8d15e10000000a114084/frameset.htm">TEXT VARIABLE FROM SAP HELP</a>
    Hope itz helps a little..!
    Cheers
    Kishore M Reddy
    ***Assigning pointz is the only way of saying thanx in SDN ***
    **Learning the thingz is never end process if u stop it will Be a devil if u continue it will be a divine***
    > Hi Gurus,
    >
    > May i know the step by step procedure to create text
    > variable? Is there any Transaction code?
    >
    > Thanks & Regards,
    > Prabha

  • User created text variables don't work anymore...What's going on?  Help!  Captivate 4.

    Captivate 4 issue.
    Okay, I use Captivate 4 almost every day for eLearning development, so I know the program pretty well.
    As our LMS is horribly difficult to use, I typically create a certificate at the end of the course I am working on that will display the user's name on it that they can print and give to their supervisor.
    On the first page of the course, I put a text entry box in where they key in their name, and I capture that in a user variable (typically called staff_name) that I then drop into a text caption on the certificate.
    This has worked successfully numerous times.
    Now, for some reason, it doesn't.  One of two things happen:
    1.  The entire text caption with the variable in it does not display....it's just a blank space where that caption should be, and that includes any other text in the caption.
    2.  The caption appears with all of the other words...just not the variable. 
    Is there anything that I might have overlooked?  Some strange captivate bug where user created text variables disappear over time.
    Oh yea, that reminds me...system variables don't work either.  I put the date string on the certificate as well, and that wasn't showing up either.
    It's like all of a sudden, the ability of Captivate 4 to drop a variable into a text caption just doesn't work anymore.
    Ideas?
    Thanks so much.
    Rob

    Hi Lilybiri.
    It's been awhile since this post...I ended up just re-installing Captivate onto my system, and that cleared up the problem.
    It has since, however, reared its ugly head again. 
    I had a lesson set up that had a page counter at the bottom.  Simply said "Page 1 of 25" then "2 of 25" etc. on each page using the current slide info and slide count variables.
    It worked perfectly up until today when a reviewer suggested changing the caption text to simply "2/25"
    So, I edited the caption with the variable, and the exact same symptoms described above came to pass again....any text captions with variables in it will not show up in the running .swf file.  I tried deleting the .dat file, and that didn't help.  In addition, the variable length is not 0. 
    As I work remotely and re-installing captivate would take hours upon hours (or a trip to the office) I don't see re-installing it as a viable option at this point.
    Anyway, it's pretty frustrating, and an obvious bug.  I wish my company would just upgrade to 6 already...
    Other ideas, though?
    Rob

  • Creating text variable, urgent plz

    Hi friends,
               I would like to create a text variable on fiscalyear/period. the requirement is
    when user enters 001.2007   it has to display jan2007
                               002.2007   it has to display feb2007 so on.
       but when I am trying to create on fiscalyear/period it is not allowing me to create text variable. can any one suggest me please, it is an urgent requirement,
    I appreciate your help very much.....
    Ravi.

    Hi ravi
    we can do this with the text with replacement path and the var which u have created u to put display as text thats it...
    take a selection in the rows and create a variable in the text heading and give replacement fron the user entry default variable which the user enters.
    Assign points if it helps
    Khaja

  • 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

  • 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

  • Error in creating Text Variable

    Hi  Gurus,
    I have one requirement to create a text variable for the user & the user wants to put the description as input to the variable.
    But when i am creating the variable,the variable type "characteristic Value"  is by default selected and i am also unable to change the variable type to text variable.
    Please any body have the solution to resolve the error.
    Regards
    Debasish

    Hi,
    Just select a particular key figure and on the right side you will see its properties..
    Now just besides the description of the key figure you will find a symbol for create variables, just click on that.. It will create a text variable...
    Edited by: mansi dandavate on Aug 31, 2009 11:12 AM

  • Text Variable Where-used?

    Hi, Can't seem to figure out how to do a where-used on a text variable?  Anyone?
    Thanks!

    Kenneth,
    First go to table RSZGLOBV and find your variable by the VNAM field.  Get the ID of your variable and run the Function Module RRM_SV_VAR_WHERE_USED_LIST_GET.  This will give you a list of queries that use the variable. 
    Thanks,
    Jeff

  • Can't create text with PHP using imagettftext [SOLVED]

    I think that after the upgrade of PHP to the modular one I can't create text using TTF fonts. Before I file a bug report could someone confirm if it works or not for them? I might just have screwed something in my box.
    This code should create a text image and display it in the browser (it assumes you have DejaVu fonts in the default directory):
    <?php
    // Set the content-type
    header("Content-type: image/png");
    // Create the image
    $im = imagecreatetruecolor(400, 30);
    // Create some colors
    $white = imagecolorallocate($im, 255, 255, 255);
    $grey = imagecolorallocate($im, 128, 128, 128);
    $black = imagecolorallocate($im, 0, 0, 0);
    imagefilledrectangle($im, 0, 0, 399, 29, $white);
    // The text to draw
    $text = 'Testing...';
    // Replace path by your own font path
    $font = '/usr/share/fonts/TTF/DejaVuSans.ttf';
    // Add some shadow to the text
    imagettftext($im, 20, 0, 11, 21, $grey, $font, $text);
    // Add the text
    imagettftext($im, 20, 0, 10, 20, $black, $font, $text);
    // Using imagepng() results in clearer text compared with imagejpeg()
    imagepng($im);
    imagedestroy($im);
    ?>
    Could someone with an up to date php with GD enabled tell me if it works or him/her?
    Thanks.
    EDIT: Ok, I solved it. The error reporting is turned off by default now, so I was not getting any error. After turning it on I found out it was related to the open_basedir directive being enabled now in php.ini. Turning it off allowed me to access the TTF for drawing text.
    Last edited by Bogart (2007-11-01 00:43:33)

    Aha!  I figured it out.  I used File...Open As to open it as a Camera RAW file.  In the ACR editor, it was showing as 16-bit depth.  Changed it to 8-bit and saved it.  Now the Text tool works!
    Ken

  • Text Variables - possible use metadata of the document itself?

    When using text variables, is it possible to pull the metadata from the document itself (as opposed to a placed image, etc.)?
    Thanks,
    Kristin.

    If the title of the document was the same as the file name, you could use variables:
    A second way is more manual. You could use the Section Marker field in Numbering & Section Options. You'd have to enter the title in the field. Then on the Master Page, place a text frame, and choose Type > Insert Special Character > Markers > Section Marker.
    Best,
    Steve

  • Is it possible to create a Text Variable that uses text from a structure?

    The question is this -
    I have created structure which consists of 4 high-level nodes. Each level one node contains a different number of level 2 nodes. Is it possible to use the text from these nodes in replacement path variables? 
    Example, my structure levels are:
    GS
    SA
    OOI
    COGS
    If a user drills into COGS, I'd like to display the text "COGS" in the header but I have not found a way to capture it. From what I can tell, the variable editor only allows Characteristics and their text/key or user input text. I don't see an option for Structure level/node text.
    Anyone know if this is even possible?
    Thanks!

    HI!,
    I think you should separate programming for AS3 and for FLEX,
    this is beacuse they both use different class packages. If you want
    your classes to be FLEX compatible you need to extend them from
    Flex Objects and not from AS3 Objects.
    In sum, if you want your class to be processed by let's say
    the application object then you need to extend it from
    mx.core.UIObject.
    This is because there are lots of methods that FLEX uses to
    place your class on the screen that are not used by normal AS3
    applications.

  • How do I create a variable that uses Previous() and references itself.

    I am trying to create a crosstab with a number of meaures in it. I have a variable called opening stock and another called closing stock. The opening stock for day 2 is the closing stock for day 1 and is a variable [LV Opening Stock] defined as =Previous([closing stock];Row).  This works fine. But, the closing stock for day 2 is the opening stock plus production minus sales. So my variable has to reference the previous days closing stock.
    When it is defined as =[LV Opening Stock]+[Planned Production Qty]-[Forecast Daily Qty] it validates but when I try to save it I get the following message :  The formula for variable [LV Opening Stock] contains a reference to a variable with the same short name. You must use the fully-qualified variable name in the formula to remove this ambiguity. (Error: WIS 10040)
    How do I solve this? What is the fully-qualified name? Is it because it's effectively referencing itself?
    I'm using XI R2 sp4
    Thanks
    John

    Hi. I'm having the same issue. Please share with us if you find a solution.
    Many thanks.

  • 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

Maybe you are looking for