Broadcasting and Variable Assignment

Dear Experts,
  I want to assign variable in broadcasting dynamically. For example, this variable will be changed every month. I tried to set the variant on BEx Analyzer, and looked into the table TVARV, but I couldn't find my variant in that table. Is there any way to assign variable dynamically?

Hi CSM Reddy,
1. while creating your Broadcasting Settings ... you can use your Variable for OLAP Cache.
    Question1. How and where can I use variable for OLAP Cache in broadcasting. What I just see is variable assignment in the General Precalculation tab
    Question2. Variable for OLAP Cache you said is the same as the variable created in Query Designer, right?
2. then you make sure the variable in Bex is setup with "Ready for input" unchecked
    Question1. I have to allow users to input month to see the report in the month they want, so I think I can't default the value for this variable.
    Question2. What do you mean 't Type variable'?

Similar Messages

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

  • Human tasks, complex types and variable assignment.

    Hi folks,
    I encountered a problem while working with 10.1.3.1 which I haven't managed to solve yet and would be grateful for assistance. I have defined a complex data type (just a sequence of strings) and want to fill that data type by going through a flow of screens, e.g. through several human tasks. I have defined that type as a variable to the BPEL process and have managed to assign simple expressions to the variable and pass that into a Human Task. In the task I see now a simple input form for all attributes of the type.
    Now the problem. After I fill out the form and complete the human task, I have
    The global variable:
    <outputVariable>
         <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
              <MyProcessResponse xmlns="http://xmlns.oracle.com/VacationRequest">
                   <vorname/>
                   <nachname/>
                   <strasse/>
                   <nummer/>
                   <postleitzahl/>
                   <stadt/>
                   <maximaleDauer/>
                   <minimaleDauer/>
              </MyProcessResponse>
         </part>
    </outputVariable>
    and the return value from the human task:
    <task>
         <title>CaptureData</title>-
              <payload>
                   <MyProcessResponse>
                        <vorname>David</vorname>
                        <nachname>Beckham</nachname>
                        <strasse>HighStreet</strasse>
                        <nummer/>
                        <postleitzahl/>
                        <stadt/>
                        <maximaleDauer/>
                        <minimaleDauer/>
                   </MyProcessResponse>
              </payload>
    </task>
    Now the only thing I would like to do is to replace the original values in the variable with the new values that have been returned from the task, this should be performed in an extra assign step. Sounds simple. JDeveloper wouldn't even let me klick through the return value from the HumanTask, so it seems as if I have to do things manually.
    These are my tries:
    Command 1:
    <copy>
         <from variable="CaptureData_1_globalVariable"
    part="payload" query="/task:task/task:payload" />
    <to variable="outputVariable" part="payload"
    query="/ns1:MyProcessResponse"/>
    </copy>
    Result 1:
    <outputVariable>
         <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
              <ns0:MyProcessResponse xmlns="http://xmlns.oracle.com/bpel/workflow/task"     xmlns:ns0="http://xmlns.oracle.com/VacationRequest">
                   <MyProcessResponse xmlns="http://xmlns.oracle.com/VacationRequest">
                        <vorname>David</vorname>
                        <nachname>Beckham</nachname>
                        <strasse>HighStreet</strasse>
                        <nummer/>
                        <postleitzahl/>
                        <stadt/>
                        <maximaleDauer/>
                        <minimaleDauer/>
                   </MyProcessResponse>
              </ns0:MyProcessResponse>
         </part>
    </outputVariable>
    --> There is one MyProcessResponse element too many
    Command 2:
    <copy>
         <from variable="CaptureData_1_globalVariable"
    part="payload" query="/task:task/task:payload"/>
    <to variable="outputVariable" part="payload"
    query="/ns1:MyProcessResponse/ns1:vorname"/>
    </copy>
    Result 2:
    <outputVariable>
         <part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
              <MyProcessResponse xmlns="http://xmlns.oracle.com/VacationRequest">
                   <ns0:vorname xmlns="http://xmlns.oracle.com/bpel/workflow/task"                     xmlns:ns0="http://xmlns.oracle.com/VacationRequest">
                        <MyProcessResponse xmlns="http://xmlns.oracle.com/VacationRequest">
                             <vorname>David</vorname>
                             <nachname>Beckham</nachname>
                             <strasse>HighStreet</strasse>
                             <nummer/>
                             <postleitzahl/>
                             <stadt/>
                             <maximaleDauer/>
                             <minimaleDauer/>
                        </MyProcessResponse>
                   </ns0:vorname>
                   <nachname/>
                   <strasse/>
                   <nummer/>
                   <postleitzahl/>
                   <stadt/>
                   <maximaleDauer/>
                   <minimaleDauer/>
              </MyProcessResponse>
         </part>
    </outputVariable>
    --> This was moreless expected, since I tried to copy the stuff to some wrong place.
    Command 3:
    <copy>
         <from variable="CaptureData_1_globalVariable"
    part="payload" query="/task:task/task:payload/ns0:MyProcessResponse"/>
    <to variable="outputVariable" part="payload"
    query="/ns1:MyProcessResponse"/>
    </copy>
    Result 3:
    --> Task does't return (!!!). In the BPEL Worklist, the task is completed, however in the BPEL console it still apears as "waiting to return from Human task".
    Does anyone have a hint on how to copy the values so that I get exactly the structure that I printed at the very top?
    Thanks for help. Rock On !

    Hello everyone,
    It seems that we are talking about different things, I am afraid. Let me describe the scenario once again:
    - I want to have a BPEL process with more than one role involved
    - This process should be used to gather some complex data.
    - All data gathering should be done through HumanTasks.
    So I defined an xsd complex type, that contains a sequence of fields. This complex type should be part of the process payload.
    Now before HumanTask 1 is called, I copy the contents of this variable into the input for tasks1. This works fine and I see the appropriate values, when opening the Human Task in the BPEL worklist application.
    Now after HumanTask1 is completed, the values I entered inside that tasks are returned as a variable from the HumanTask. My problem is, that I cannot copy the contents of the task back into the main process. With simpleTypes this is relatively ok, since Jdev supports the assembling of the copy operation, however for complex tasks it fails.
    A typical scenario for this would be where e.g. a customer fills a shipping address and afterwards a store staff fills product details in the same order. In Java this could be solved via "pass by reference". Who can provide an example?

  • Bex Broadcasting and variable variant

    Hello,
    I have a workbook with queries using 0CALDAY. I want send by email in Broadcasting, I need get the current day for 0CALDAY but the variant dont have the posibility of D (Dynamics Variable) only the option T is in the match-code. (I cannot put change the query because I need for other proposed)
    Please, What is the way for take the current day in a workbook for broadcasting?
    Thanks in advance,
    Luis Maria Lorente
    PD:  I promise to award the points.......

    Hi Luis.
    Did you get an answer for this?
    Can anyone else help?
    Patrick

  • Variable assignment in BEx Broadcaster

    I'm trying to broadcast a web template directly from the Broadcaster, and want to assign variables. I've tried Determine from Variant, and it works like a charm.
    As I understand it I should be able to enter the variables manually by using Determine Here, but it doesn't seem to work for me.
    I choose VAR_01 from the Name dropdown, and click Create. Then I can enter my variables, and then what? If I click OK the report is generated in the same popup window, and from there I can do nothing but close the window, and the variables are not assigned.
    Can somebody help. Am I doing something wrong, is it a bug or have I simply misunderstood everything?

    Jacob,
    I have the same issue after I applied SP13 but I did not have this problem in SP11.
    Please let me, [email protected], know if you have a solution for this? Thanks.
    Regards,
    Ba

  • Variable Assignment in General Precalculation tab of BI 7.0 broadcaster

    Hi,
      In the broadcast setting, under General precalculation tab variable values can be set up. When we are clicking create variable values, screen with all the variables of the query were coming.
    After entering data in the variables and clicking OK, values are not being transferred to the Broadcast setting. The variable page remains like that with out transferring to the Pre Calculation tab.
    We are on SAPKW70020.Distribution type used is Broadcast email, output fornat is MHTML. I tried with other output types, but same result.
    We are using query as the object type for creating Bex Broadcaster.
    Has anyone ran into this issue before?
    Thanks & Regards,
    Pradeep

    Hi Mohan,
    You have opened up an old post, so many responses might be to answer the initial question.
    However, to answer your question, when you click 'Create' next to the 'VAR01 in Variable assignment, what you see is a popup window with the 'Ready for Input' variable present in your query/ workbook/ template, which is the same variable screen which you get when you execute the same query/ workbook/ template independently. You can then enter values for those variables and click OK, to save it and to be passed to the broadcasting setting. The broadcast would then happen for the same variable values.
    However, if you face the issue mentioned by Pradeep, then after clicking OK, you can cancel the popup window. The values of the variables would still be passed.
    After the popup window closes, you can see the 'Create', you initially saw, replaced with 'Change'. This means the values are saved.
    Hope it helps.
    Thanks,
    Abhishek.

  • Broadcasting - General Precalculation Variable Assignment

    Hi All,
    Just have a query regarding Broadcast settings for a bex Query with variables.
    After creating the broadcast settings under the "General Precalculation"
    Variable Assignment
    > Determine from Variants options
    Can anyone tell me where do we have to create these variants so as to select them from the Broadcast settings window and map it to the query varaibles??
    Thanks
    Rao

    Hi Rao,
    You just need to execute ur query ( either in Bex Analyser or Web analyser ). In the selection screen you can enter the values for ur variable & save as a variant ( ex: VARIANT1 ).
    In broadcasting now click now variant tab there u can see the VARIANT1 which was created during query execution.
    Hope this helps.
    Regards,
    Sheetal

  • Variable Assignment : Workbook broadcast

    Hi gurus,
    We have been broadcasting 31 Inventory workbooks on a weekly basis for the past couple of months. The workbook is based on 1 inventory query which has a Cal Month and Store Location as mandatory variables. Obviously, while broadcasting the same, we should be able to set these variables in the Variable Assignment of the Workbook Precalculation Tab.
    Earlier I was able to see them in the variable assignment assignment for this workbook. We havn't changed the query, no changes in the system, No changes at all. But now I am not able to see a single variable in the variable assignment except for this variable that says Tech.Cont.: Time Frame for which Data is Selected.
    I am not sure where can I see the variants for this workbook. Anyways, we havn't mentioned any variants in the workbook precalculation tab. Please help me with this issue.
    I executed the query and tried broadcasting the corresponding query, Here I am able to see the variable assignment. But not for the corresponding workbook. Creating all the settings right from the scratch for changing from workbook broadcast to query result broadcast would be a very tedious task which I don't want to undertake right now.
    Can anyone please help me with this problem.
    Thanks & rgds,
    Sree

    Hi Murali,
    Thanks for your answer and sorry wasn't able to respond early.
    As I had mentioned, this problem didn't exist earlier. However, all of a sudden, we have started to face this issue. Global variants were never created because we are not using the option of VARIANTS, instead we use Variable Assignments. This has been the practice for the past many months, but all of sudden since last month, we started having this strange issue where we could'nt determine the variable assignment.
    When know I click on the variable assignment create link, there is only one variable that appears in the screen "Tech.Cont.: Time Frame for which Data is Selected", I donot see any other variables. Earlier though, i was able to see all the other variables (Plant, division, etc).
    Please let me know if you have any answer for this issue.
    Thnks & rgds,
    Sree

  • Dynamic variable assignment under general precalc tab of broadcasting

    Is there a way to dynamically assign variable values to the "general precalculation" tab under broadcasting? I am broadcasting a report and I want to change the variable values every month dynamically. I want to write an ABAP program that can fill the variant valus under that general precalculation tab. Is this possible?

    There is a table RSRD_SETT_NODE_a that contains all the broadcast settings. It has the variable values. We wrote an ABAP program to update this value. We can save a variant of this program and run the variant before we run the broadcast. The broadcast setting, variable name we want to update, and the class to pass values to this variable are input parameters to the program. Let me know if you want more details.

  • 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

  • Display Filters and Variable on Excel Broadcast

    Hello,
    How do I show filters and variable used on the excel output format from broadcast? Currently when broadcasting query in excel format only query results show in the excel. How do I make the filters and variable show at the bottom of the excel broadcast output after the results?
    Thank You

    Try with Workbook Display check boxes options. But you won't get them as Footers.

  • Broadcasting - dynamic variables

    Hi,
    I have question on broadcasting while using mandatory variables which need to be dynamically filled. Here is my scenario:
    I am on BI 7.0 and using email bursting.
    Query is having 4 variables : CalDay, Fisc Period, Company code, currency.
    Calday and Fiscper are pre-populated using customer exit. (-step =1). They are current day and current Fiscal Period.
    Currency and company needs to be passed to broadcasting job.
    Now as per my understanding, these needs to be passed thru 'general pre-calculation' tab either thru variable assignment or variant. But issue is in either of this, values for current day and current fisc period gets saved and will not be refreshed when broadcasting runs next time, which we dont want.
    To over come this issue, we need to write abap program to dynamically change these values. Now per my observation, this setting gets stored in table RSRD_SETT_NODE_A.
    Finally here are my questions,
    1) In table RSRD_SETT_NODE_A, i just see variant name but the actual fields and values used for this variant are not stored here. Could you please guide me where the actual values are stored so that if I have to write ABAP program, i can change those values. (I dont see this variant in RSRVARIANT table also.)
    2) Other options to leverage without using above ABAP method.
    Thanks in advance for all your help and time
    S

    HI,
    The variants of the variables will be stored in the table TVARV. May be you can write a custom ABAP program to modify this variant values in this table and see if the broadcast happens accordingly.
    Guess this will help to solve your issue.
    You can have a look at this for more info
    /thread/69150 [original link is broken]
    Regards.
    Shafi.
    Edited by: shafi abdul on Jun 23, 2010 6:28 PM

  • Variable assignment "Create" link opens up BEx Analyzer

    In a portal environment we're testing with, we are running into an unusual issue:
    In BEx Broadcaster, We open up a setting created for a particular query.  In the General Precalculation tab we are trying to create a variable assignment (Select VAR_01 from dropdown menu -->Create "link"), but when we click on the "Create" link, we're getting the BEx Analyzer instead of the variable screen for that query (doesn't work for any query, but for workbook settings, it works fine).  The following has been checked:
    ms/redirect_version is set to 1
    BI Support Desk tool is all GREEN
    Assertion ticket setup is correct (at least I think it is)
    I can also pull up Information Broadcasting directly from the backend system (sap/bw/Bex) and the variable screen comes up okay.
    Any ideas of some setting we're missing in the portal/backend?   Thanks for any help.
    (We're using NW SP 17 with BI-Java 17/23...BI Backend is NW SPS16)

    UPDATE:  fixed by updating support pack to BI JAva 18 (from 17/23).  The solution doesn't make much sense, but we've learned to just accept these sort of things in faith

  • Variable Assignment-Workbook Precalculation

    Hai Guys,
    I have a problem while executing.please,go through it
    Start---BEx Analyzer--
    Create new work book.While executing the work book,it is asking me to enter variable values.Once the variables are given and when start executing it, i am getting the ouput correctly and when i  broadcast the same through email,in work precalculation tab, again it is asking me to enter variable values.I have done that and  executed.  But I am  not able to receive any email.Infact,after taking 3 mnts it showing Timed out error.Kindly,suggest me with a solution to this. Where should I exactly enter variables?
    Kindly,give me a solution for this.
    Thanks,
    Mohan Chand Reddy A

    Hai Shakir,
                    First i thank q for ur reply to my question.But is it correct that we should assign Variables only in the Workbook Precalculation tab?Some one are suggesting like variables can be given both in foreground calculation i.e., while creating a workbook and also we should give the same variables in the workbook  precalculation tab.But in one document, i found there is no variable assignment tab in the Broadcasting settings.It means they might have given variables in the workbook creation itself.
          Please,reply me.It's very urgent.
    Thanks,
    Mohan Chand Reddy A

  • Variable assignment screen in Precalculation server

    Hi Guru's,
    I am not able to get solution for this problem from long time. Can anybody tell me...
    How to setup variable assignment screen in Precalculation server?
    Currently when i click Create Variable assignment in precalculation tab of broadcaster... it gives error that error loading 0ANALYSIS_PATTERN template.
    Plz help. whole points will be assigned.
    Thanks
    Harshal

    I made a copy of 0ANALYSIS_PATTERN, and changed spro settings, wkbks are broadcasting but only problem is i am not able to assign variables, because no popup screen coming for creating variables. i also wrote program for table RSRVARIANT.

Maybe you are looking for

  • Reading file from App. Server - Problem.

    Hi All While Reading a file from Application Server into the Presentation Server, in a Notepad its coming fine(Data is coming in a Multiple lines). Problem:- When we try to open the same file with Word Pad, Its showing in a single line. But I want th

  • Please help me choose a technology to connect !

    Hi, I am a MSc (Software Development) student from University of Huddersfield, UK. I have to submit a final year project proposal by the end of July. My real client is a pharmaceutical company with many offices in many cities. They maintain a central

  • How can I write to a (external)file from a stored procedure

    I want to write some data to a (external) file. I have it working with the function UTL_FILE. My problem is I want to write to a file on a mapped drive (so a drive on a different machine). This is not working. Does anyone know a way to build this. Pl

  • BIOHD-2 error code but starts anyway

    Hi! I've refreshed my HP computer which was working alright with windows 7 before. Now I've installed windows 8.1 N and when Im trying to start up I get to the HP screen, if I try to diagnos the problem it says that I've got a BIOHD-2 error, but afte

  • I want to check the warranty period of my phone, sony xperia simei number - 352900058991311

    i want to check the warranty period of my phone, sony xperia simei number - 352900058991311 Solved! Go to Solution.