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

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

  • 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...

  • Variant for Control Query on Bex Broadcaster Filter

    I am trying to create a Bex Broadcaster setting on a query via query designer (query -->Publish --> Bex Broadcaster). In the Filter Navigation Tab, I want include a filter using a control query with variants. My control query has a variable that is set to (single value, mandatory,manual input) and i created a variant for the control query on the web. I am able to create the Bex Broadcaster setting and enter my control query but when I go enter the variant it always gives me "No selections available".
    Another issue that i am having is - when I try to create a filter on a characterisitc in the Bex Broadcaster and give mulitple values in the filter, it ends up generating seperate excel files (distribution type is e-mail) for each value in the filter. Is there any way i can consolidate all these results and get it to generate on single file?

    1st : no wanswer by now.
    2nd : don't filter in the Broadcastsetting, filter in the Broadcastquery to avoid a broadcast for every filter value.
    Edited by: Heinrich Krupp on Apr 16, 2009 11:44 AM
    Edited by: Heinrich Krupp on Apr 16, 2009 11:44 AM

  • Variant Creation in SAP BI To be used information broadcasting

    Dear Friends,
                            I want to create a VARIANT in SAP BI 7.0 Which is to be used in information broadcasting. I found One Document Named as "Variant Creation In SAP BI to be used in Information Broadcasting.pdf",in SDN Forums. I Couldn't able to Understand the Given Steps in it.
      Could any one of You Please send me the Procedure how to create a Variant.I should also see the "Determine from Variants" button in Work book precalculation Tab,which i am not able to see it currently under "Workbook Precalculation".
    Waiting for ur reply.
    Thanks in advance
    Regards
    Singam Bhaskar Reddy

    Hi,
    Even I have gone through the SDN document. It is clearly explained step by step. If you follow the same document thoroughly you will be able to see Determine From Variants radio button properly.
    Try to understand the document.....you will get the solution.
    Regards,
    Suman

  • Can I automate the creation of a cluster in LabView using the data structure created in an autogenerated .CSV, C header, or XML file?

    Can I automate the creation of a cluster in LabView using the data structure created in an auto generated .CSV, C header, or XML file?  I'm trying to take the data structure defined in one or more of those files listed and have LabView automatically create a cluster with identical structure and data types.  (Ideally, I would like to do this with a C header file only.)  Basically, I'm trying to avoid having to create the cluster by hand, as the number of cluster elements could be very large. I've looked into EasyXML and contacted the rep for the add-on.  Unfortunately, this capability has not been created yet.  Has anyone done something like this before? Thanks in advance for the help.  
    Message Edited by PhilipJoeP on 04-29-2009 04:54 PM
    Solved!
    Go to Solution.

    smercurio_fc wrote:
    Is this something you're trying to do at runtime? Clusters are fixed data structures so you can't change them programmatically. Or, are you just trying to create some typedef cluster controls so that you can use them for coding? What would your clusters basically look like? Perhaps another way of holding the information like an array of variants?
    You can try LabVIEW scripting, though be aware that this is not supported by NI. 
     Wow!  Thanks for the quick response!  We would use this cluster as a fixed data structure.  No need to change the structure during runtime.  The cluster would be a cluster of clusters with multiple levels.  There would be not pattern as to how deep these levels would go, or how many elements would be in each.   Here is the application.  I would like to be able to autocode a Simulink model file into a DLL.  The model DLL would accept a Simulink bus object of a certain data structure (bus of buses), pick out which elements of the bus is needed for the model calculation, and then pass the bus object.  I then will take the DLL file and use the DLL VI block to pass a cluster into the DLL block (with identical structure as the bus in Simulink).  To save time, I would like to auto generate the C header file using Simulink to define the bus structure and then have LabView read that header file and create the cluster automatically.   Right now I can do everything but the auto creation of the cluster.  I can manually build the cluster to match the Simulink model bus structure and it runs fine.  But this is only for an example model with a small structure.  Need to make the cluster creation automated so it can handle large structures with minimal brute force. Thanks!  

  • Long Text display in WebI using transient provider

    Hi,
    I need to display the long text (about 5000 characters) in WebI report  in one column. I have created a transient provider and query with 84  (5000/60) InfoObject . when i tried to create the WebI query with all 84 dimensions,  got error
    "Termination message sent  ABEND RSBOLAP (000): Program error in class  CL_RSBOLAP_QV_RESULT_SET
    method : TOO_MANY_DRILL_DOWN_OBJECTS
    MSGV1: CL_RSBOLAP_QV_RESULT_SET  MSGV3: TOO_MANY_DRILL_DOWN_OBJECTS (WIS 00000)"
    I think more than 50 fields can not be fetched and displayed.
    So to over come this I created 2 WebI queries having 42 fields each. I concatenated 42 dimensions from each query in to 2 variables. But when I tried to concatenate these 2 variables system does not allow that it gives #DATASYNC error. Could you please help here, how to archive this?
    Regards,
    Amit

    Hi,
    you can do this by using workbooks.
    Check the below link very useful:
    /people/sap.user72/blog/2006/05/27/long-texts-in-sap-bw-modeling
    last read creation of orkbooks in the above link.
    /people/sap.user72/blog/2006/06/05/long-texts-in-sap-bw-displaying-in-bex-analyzer-introduction-to-excel-workbooks-formatting-part-i
    /people/sap.user72/blog/2006/06/05/long-texts-in-sap-bw-displaying-in-bex-analyzer-introduction-to-excel-workbooks-formatting-part-ii
    Reg
    Pra

  • Help, just got my iphone5 today and it is still not letting me text or phone or use the apps is there a maximum time i need to leave it for before it will be ready to use??

    got my iphone5 today and its not letting me text or phone or use the internet on it. is there an amount of time i am meant to leave it until i will be able to use this as a phone!

    What did your carrier say when you contacted them about the problem?

  • TS4268 I CAN NOT RECEIVE TEXT MESSAGES FROM PEOPLE USING IMESSAGE - I HAVE MY IMESSAGE TURNED OFF BECAUSE I DO NOT WANT TEXTS GOING TO ALL MY ACCOUNTS - HOW DO I RESOLVE THIS PLEASE HELP - MISSING SEVERAL IMPORTANT COMMUNICATIONS...

    I CAN NOT RECEIVE TEXT MESSAGES FROM PEOPLE USING IMESSAGE

    On an iPhone your iMessages will go to your phone number.
    You can select another email to use on iPod or iPad.
    Go to settings
    Messages
    Send and receive
    Check your phone number and uncheck the common Apple ID you share so your messages will not go to other devices.

  • How to find out what text encoding has been used in mp3 tag

    Hello
    I have some foreign songs that I am importing into itunes. When a song called "04.公路 塵埃 北合起." gets imported, it comes up in itunes as "04.§Ω∏Ù π–ÆJ •¶X∞"
    Now I don't know a lot about different text encodings, but from what I've read on the forums is that the problem is that the tags that are encoded on the srcfiles are not unicode. I have tried the java application "UnicodeRewriter" recommended elsewhere in the forums, but both the commone Chinese ecodings, viz Big5 GBK etc.
    Is there a way to cut a world from (eg a chinese glyph) and somehow find out what text encouding has been used?

    Sorry, that question wasn't very well phrased. I'll try it again.
    I have some foreign songs that I am importing into itunes. When a song called "公路 塵埃 北合起" gets imported, it comes up in itunes as "§Ω∏Ù π–ÆJ •¶X∞"
    Now I don't know a lot about different text encodings, but from what I've read on the forums is that the problem is that the tags on the srcfiles are not unicode. I have tried the java application "UnicodeRewriter" recommended elsewhere in the forums, but whatever I sent the source encoding to, eg Big5, GBK, or one of about 9 others, I just get different types of garbage coming through.
    Is there a way I could take the original glyph in the file name (which shows up correctly on my desktop) and paste it into some sort of table. That table will then show me how that glyph will look in all different encodings without the correct conversion. So if I can match my "公" to my "§" I'll be able to see what the src encoding is.
    I know this is a longshot, but any help appreciated.
    Sorry for the rather rubbish explanation earlier.

  • What are the best Voice to Text app's for use in classroom?

    What are the best Voice to Text app's for use in classroom?

    Hi I did download the software you suggested which you mentioned in in our iphone.
    However the This did not happen to my text
    "text it will appear a botton "Talk" and you're going to have a Text-to-Speech."
    I have to hold my finger on the taxt and it says copy and next word is text. so the text needs to behightlighted each time till the end, which is difficult to do. why does the "talk" appear on the bottom?
    What do I need to do for that to appear?
    Thank you in advance for the rplies.

  • What are the best Voice to Text app's for use in business meetings?

    What are the best Voice to Text app's for use in business meetings?

    Hi I did download the software you suggested which you mentioned in in our iphone.
    However the This did not happen to my text
    "text it will appear a botton "Talk" and you're going to have a Text-to-Speech."
    I have to hold my finger on the taxt and it says copy and next word is text. so the text needs to behightlighted each time till the end, which is difficult to do. why does the "talk" appear on the bottom?
    What do I need to do for that to appear?
    Thank you in advance for the rplies.

  • Which type of text field should I use?

    I am having a problem selecting the best object to use to display and control text. If I use a TextArea component, I have problems controling it with code and I hate getting caught up in Hbox and VBox layout issues. Also, I cannot seem to generate a TextArea in ActionScript.However, I can create a listener with a valueCommit event which allows me to respond to changes to its content. Can I create a TextArea with AS?
    On the other hand, I can generate a TextField with AS and then control exactly where it appears, but I cannot find an event that allows me to respond when the contents of the TextField changes. Is there an event that responds when the contents of a TextField changes dynamically?
    Thanks for your time.

    TextField is smaller and faster.  It should dispatch a CHANGE event when the user types, but no event if you programmatically set the text.
    It also depends on whether you need scrollbars or not.  You can certainly create a TextArea in AS3.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • How do I drag an image or text box to the "workspace" off of my working file but where I can still see the image and text box for future use?

    How do I drag an image or text box to the "workspace" off of my working file but where I can still see the image and text box for future use?
    When I drag the item off of the trifold that I am creating, it just disappears but I still want to use it.  I just need to move it out of the way to modify other portions of the document.
    thanks,
    C

    Add another page below the current one to use as a storage area. You can't use the grey area around the page for storing items you want to use later.
    Go to the Pages Menu>Provide Pages Feedback if you would like to request this feature be added in future versions.

  • Setting Font for converting multiple text files into PDF using VB 6.0

    Dear All,
    Am converting multiple text files into PDF using VB6.0. Currently, am unable to control the font face and size for the generated files. Below is the procedure am using for each file;
    Public Sub proc_convert_to_PDF(srcFilename As String, destFilename As String)
    Dim p_AcroApp As CAcroApp
    Dim p_VDoc As CAcroAVDoc
    Dim p_DDoc As CAcroPDDoc
    Dim IsOk As Boolean
    Set p_AcroApp = CreateObject("AcroExch.App")
    Set p_VDoc = CreateObject("AcroExch.AVDoc")
    Call p_VDoc.Open(srcFilename, "")
    Set p_VDoc = p_AcroApp.GetActiveDoc
    If p_VDoc.IsValid Then
    Set p_DDoc = p_VDoc.GetPDDoc
    ' Fill in pdf properties.
    p_DDoc.SetInfo "Title", Format(Date, "dd-mm-yyy")
    p_DDoc.SetInfo "Subject", srcFilename
    If p_DDoc.Save(1 Or 4 Or 32, destFilename) <> True Then
    MsgBox "Failed to save " & srcFilename
    End If
    p_DDoc.Close
    End If
    'Close the PDF
    p_VDoc.Close True
    p_AcroApp.Exit
    'Clear Variables
    Set p_DDoc = Nothing
    Set p_VDoc = Nothing
    Set p_AcroApp = Nothing
    End Sub
    What I need;
    1) to be able to set the font face of the destination file ( destFilename)
    2) to be able to set the font size of the destination file ( destFilename)
    Am using Adobe Acrobat 7.0 Type Library
    Kindly Help.
    Thanks in advance

    We didn't say it doesn't work. We said it isn't supported.
    There are a number of other ways to make a PDF. The one which would
    give the most control is if your application directly printed to GDI,
    controlling the font directly. This could print to Adobe PDF.
    You could look for an application that gives control of font for
    printing.
    You could use a text-to-PostScript system and distill the result. You
    could even look for a non-Adobe text-to-PDF.
    Working in the unsupported and dangerous world you chose, the font
    size for text conversion is set (and this is very bad design from
    Adobe) in the settings for Create PDF > From Web Page. There is no API
    to this.
    Aandi Inston

Maybe you are looking for

  • Dragging files out of portfolio

    By default a user is able to drag a file out of a pdf portfolio onto their desktop or a folder. Permission to drag those items onto another document or program is restricted. I'm wondering if it's possible to grant permission to drag the file out of

  • Clearing of oldest items first in FICA

    Dear Friends, My Utility client is implementing SAP-ISU. Presently their Legacy system uses a "Balance Carryforward" functionality for clearing the open items. The system simply clears the oldest bills outstanding for the Business partner with the Pa

  • Way to Copy Doc,Due and Posting Date from Sale Document to Other Sale Doc

    Hey SAP B1 Community,                               Most of the users facing Problems When they create Sale Order and then want to create Del and Invoice Doc. They have to Change Doc and Del Date, There is solution to avoid to write  dates again. Fir

  • Regarding subtraction of 10 days from the current date

    Need to know how I can get 10 days subtracted from the current date before the report is excuted. This needs to appear in the selection screen before the report is excuted. The select option contains two fields the first field is the date which is 10

  • SWF Control via Standard Control Bar

    We would like to control the playback of SWF movie much like you would a FLV via a standard media control bar. The pre built controls in Flash work well with video FLVs but do not work with SWFs. It is important for our core content files to remain a