Control Query for broadcaster

Hi al,
I need to send a report by mail in PDF format to a user which is a filtered report of a general report.
Meaning: I have a general report of sales (A) and I need to send by e-mail report A filtered by sales group and by current month (B).
In order to do this I have created a control query which filters the sales group and the month, and when broadcasting the report I choose the control query.
When I execute the broadcaster I get 2 PDF files: one is filtered as my request and the other is filtered only by the sales group but not by the month so I get a report with all months since the begining of the year.
The second report is unnecessary - How can I get rid of it?
Thanks,
Hagit

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

Similar Messages

  • How to retrieve dynamic filter value submitted from control query to .....

    How to retrieve dynamic filter value submitted from control query to broadcast query.....
    I'm trying to change the hierarchy version determined by a userexit variable in the broadcast query.
    The Hierarchy Version should be dependent on the input filter delivered by the bursting query.
    But how do I catch the dynamic filter value which has been submitted by the bursting query,
    with other words:  where does the bursting query store it's out put while sequentially starting the broadcast query value by value?
    BTW: the filter value from the bursting query appears under "dynamic filter values" in the information of the broadcast query...
    Any thoughts are welcome!
    Edited by: Heinrich Krupp on Jun 24, 2009 1:25 PM

    Further information,
    Report is used via webi only, not Xcelsius or Dashboard.
    Report is consuming BI Web Services.
    Although we can pass in prompt values to BI Services, I couldn't find if we could pass a variable or dimension object into this field. Anyone knows?

  • 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

  • How to Broadcast Control Query based on User Exit Variable

    Hi Gurus,
    How to Broadcast dashboard based on Control Query based on User Exit
    Variable to different users via mail in BW 3.5 version. Any document or
    steps to achieve this will be very helpful.
    Regards
    Vishwanath

    Hi Surendra,
    Thanks for the reply and your suggestion. It will be great if you can help me to answer the below:
    1) What exactly we mean by Control Query - Any example will be very helpful
    2) As you mentioned, yes the user exist to be written will be for user-exit variable for dynamic period selection - An Example on how to create this will be helpful
    3) Once the above variable is created, what are the steps to include this variable in the Bex Query?
    4) Once all the queries to be used in dashboard are implemented with the exit variable, how to create a variant to be used in Broadcasting?
    5) How and where to configure the email recipients (to whom this dashboard will be sent via mail)?
    6) How to set up the BW broadcaster in BW 3.5 using the control query ?( My question is though we have to send the dashboard to the users, which has multiple queries, how a single control query with variant will help us).
    Awaiting your reply.
    Thanks and Regards
    Vishwanath

  • How to disable Query for single controls in a Form Applet?

    Hi All,
    this should be so simple, but seems like I don't get it at the moment.
    I have a Form Applet in HI Mode and want to disable the possibility to Query on certain fields. these are Calculated fields and querying will most likely crash the application due to heavy performance impact. They should be for displaying only. How to do that? I have searched for Applet Control User Properties and such stuff but couldn't find one.
    Thx

    Hi Siebelade thanks for your reply,
    in the meantime I managed to do it using a BusComp Field User Property called "DisableSearch". If you set this to "TRUE" for the desired fields, the user will receive an error message when trying to query for these fields.
    Benny

  • Using Broadcaster to run a query for sequential Variable Values

    Hi SDN Community
    I came across a powerpoint slide regarding broadcasting which i hope to use in one of our reports.
    We are on SAP BW 35.
    Broadcaster has been used
    Your opinion would be greatly valued in regards to the direction i should proceed for our particular purpose.
    We basically have a report which is a web report.  This contains much html and javascript enhancements.
    But it essentially has queries with a series of variables.
    The customer would like the Queries to be cached for each variable value for performance reasons, on a daily basis.
    eg. Run the same query for Variable value BMABRM, then BMASRM, etc...
    In a loop fashion.
    Do not need to set a process chain to trigger broadcaster, or rather simply to schedule the broadcaster to run daily.
    I would basically then want to run this (cache) query in an iterative fashion, ie. rerun it for all the sites.
    Can you please make a recommendation to which is the best approach, whether a process chain should be set up, and any experience you may have had setting up a query to rerun for different variable values.  We would of course want the query to run successfully before rerunning it for the next variable to avoid locks, etc.
    Thank you in advance.
    Simon

    Hi Rahul,
    i have been trying to use the process chain functionality to do this but unsure how to do it.
    Which objects do you use in the process chain:
    Trigger Event Data Change (for Broadcaster)
    or Execute APD Model
    or Precalculation of Web Templates
    i am unsure how to incorporate the queries into the process chain.
    If you have any steps , it would be much appreciated.
    Thank you.
    Simon

  • Recipient determination characteristic not in control query RDRD 525

    I am trying to create a Broadcast Setting in BEX Analyzer based on a workbook using Broadcast by E-Mail (bursting).  I want to use a control query to determine the recipients of the broadcast.  When I select the query that I want to use I get the following error:
    Recipient determination: Characteristic 0VENDOR is not in control query X_Z7_ZPUR_M03_Q0002_PRESEL
    The message number is RSRD 525. 
    The characteristic that I am using for recipient determination is 0VENDOR and it DOES exist in my query.  I can get the broadcast to work if I manually enter a list of vendors that I want to receive the broadcast but that is not practical.  The recipient determination is based on whether the vendor has open items which causes them to be in the output of the preselection query. 
    Does anyone know how to resolve this?
    Thank you for your help

    Hi, everybody.
    I already solved this problem. Thanks a lot.
    For this I selected the controls in a exit variable that should be selected in from table time-dependent  from infoobject. This solution ran just for BWD and BWQ, because there was a lot of data in BWP.
    Then I made a first query that has selected the controls. After that, in the original query I defined the substitution path relating with the first query.
    Thanks again,
    Elisabeth

  • Error while executing a sql query for select

    HI All,
    ORA-01652: unable to extend temp segment by 128 in tablespace PSTEMP i'm getting this error while i'm executing the sql query for selecting the data.

    I am having 44GB of temp space, while executing the below query my temp space is getting full, Expert please let us know how the issue can be resolved..
    1. I dont want to increase the temp space
    2. I need to tune the query, please provide your recomendations.
    insert /*+APPEND*/ into CST_DSA.HIERARCHY_MISMATCHES
    (REPORT_NUM,REPORT_TYPE,REPORT_DESC,GAP,CARRIED_ITEMS,CARRIED_ITEM_TYPE,NO_OF_ROUTE_OF_CARRIED_ITEM,CARRIED_ITEM_ROUTE_NO,CARRIER_ITEMS,CARRIER_ITEM_TYPE,CARRIED_ITEM_PROTECTION_TYPE,SOURCE_SYSTEM)
    select
    REPORTNUMBER,REPORTTYPE,REPORTDESCRIPTION ,NULL,
    carried_items,carried_item_type,no_of_route_of_carried_item,carried_item_route_no,carrier_items,
    carrier_item_type,carried_item_protection_type,'PACS'
    from
    (select distinct
    c.REPORTNUMBER,c.REPORTTYPE,c.REPORTDESCRIPTION ,NULL,
    a.carried_items,a.carried_item_type,a.no_of_route_of_carried_item,a.carried_item_route_no,a.carrier_items,
    a.carrier_item_type,a.carried_item_protection_type,'PACS'
    from CST_ASIR.HIERARCHY_asir a,CST_DSA.M_PB_CIRCUIT_ROUTING b ,CST_DSA.REPORT_METADATA c
    where a.carrier_item_type in('Connection') and a.carried_item_type in('Service')
    AND a.carrier_items=b.mux
    and c.REPORTNUMBER=(case
    when a.carrier_item_type in ('ServicePackage','Service','Connection') then 10
    else 20
    end)
    and a.carrier_items not in (select carried_items from CST_ASIR.HIERARCHY_asir where carried_item_type in('Connection') ))A
    where not exists
    (select *
    from CST_DSA.HIERARCHY_MISMATCHES B where
    A.REPORTNUMBER=B.REPORT_NUM and
    A.REPORTTYPE=B.REPORT_TYPE and
    A.REPORTDESCRIPTION=B.REPORT_DESC and
    A.CARRIED_ITEMS=B.CARRIED_ITEMS and
    A.CARRIED_ITEM_TYPE=B.CARRIED_ITEM_TYPE and
    A.NO_OF_ROUTE_OF_CARRIED_ITEM=B.NO_OF_ROUTE_OF_CARRIED_ITEM and
    A.CARRIED_ITEM_ROUTE_NO=B.CARRIED_ITEM_ROUTE_NO and
    A.CARRIER_ITEMS=B.CARRIER_ITEMS and
    A.CARRIER_ITEM_TYPE=B.CARRIER_ITEM_TYPE and
    A.CARRIED_ITEM_PROTECTION_TYPE=B.CARRIED_ITEM_PROTECTION_TYPE
    AND B.SOURCE_SYSTEM='PACS'
    Explain Plan
    ==========
    Plan
    INSERT STATEMENT ALL_ROWSCost: 129 Bytes: 1,103 Cardinality: 1                                                        
         20 LOAD AS SELECT CST_DSA.HIERARCHY_MISMATCHES                                                   
              19 PX COORDINATOR                                              
                   18 PX SEND QC (RANDOM) PARALLEL_TO_SERIAL SYS.:TQ10002 :Q1002Cost: 129 Bytes: 1,103 Cardinality: 1                                         
                        17 NESTED LOOPS PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 129 Bytes: 1,103 Cardinality: 1                                    
                             15 HASH JOIN RIGHT ANTI NA PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 129 Bytes: 1,098 Cardinality: 1                               
                                  4 PX RECEIVE PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 63 Bytes: 359,283 Cardinality: 15,621                          
                                       3 PX SEND BROADCAST PARALLEL_TO_PARALLEL SYS.:TQ10001 :Q1001Cost: 63 Bytes: 359,283 Cardinality: 15,621                     
                                            2 PX BLOCK ITERATOR PARALLEL_COMBINED_WITH_CHILD :Q1001Cost: 63 Bytes: 359,283 Cardinality: 15,621                
                                                 1 MAT_VIEW ACCESS FULL MAT_VIEW PARALLEL_COMBINED_WITH_PARENT CST_ASIR.HIERARCHY :Q1001Cost: 63 Bytes: 359,283 Cardinality: 15,621           
                                  14 NESTED LOOPS ANTI PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 65 Bytes: 40,256,600 Cardinality: 37,448                          
                                       11 HASH JOIN PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 65 Bytes: 6,366,160 Cardinality: 37,448                     
                                            8 BUFFER SORT PARALLEL_COMBINED_WITH_CHILD :Q1002               
                                                 7 PX RECEIVE PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 1 Bytes: 214 Cardinality: 2           
                                                      6 PX SEND BROADCAST PARALLEL_FROM_SERIAL SYS.:TQ10000 Cost: 1 Bytes: 214 Cardinality: 2      
                                                           5 INDEX FULL SCAN INDEX CST_DSA.IDX$$_06EF0005 Cost: 1 Bytes: 214 Cardinality: 2
                                            10 PX BLOCK ITERATOR PARALLEL_COMBINED_WITH_CHILD :Q1002Cost: 63 Bytes: 2,359,224 Cardinality: 37,448                
                                                 9 MAT_VIEW ACCESS FULL MAT_VIEW PARALLEL_COMBINED_WITH_PARENT CST_ASIR.HIERARCHY :Q1002Cost: 63 Bytes: 2,359,224 Cardinality: 37,448           
                                       13 TABLE ACCESS BY INDEX ROWID TABLE PARALLEL_COMBINED_WITH_PARENT CST_DSA.HIERARCHY_MISMATCHES :Q1002Cost: 0 Bytes: 905 Cardinality: 1                     
                                            12 INDEX RANGE SCAN INDEX PARALLEL_COMBINED_WITH_PARENT SYS.HIERARCHY_MISMATCHES_IDX3 :Q1002Cost: 0 Cardinality: 1                
                             16 INDEX RANGE SCAN INDEX PARALLEL_COMBINED_WITH_PARENT CST_DSA.IDX$$_06EF0001 :Q1002Cost: 1 Bytes: 5 Cardinality: 1

  • Microsoft Query for Office 2013 Home and Business

    Where can I get Microsoft Query for Office 2013 Home and Business version?  I have used it for years on my old XP machine with Office 2003.
    Thank you, Sue

    Hi,
    You seem got an error like "Microsoft query could not be started because it isn’t installed" when you used it. 
    It may be not installed yet. We can go to "Control Panel\All Control Panel Items\Programs and Features\Office 2013 Home and Business\change\Microsoft tools\MS query" and check if it is installed/enabled.
    If it is not installed, please use the Install CD/ full installation copy to reinstall it.
    http://social.technet.microsoft.com/Forums/office/en-US/eb7bfe7d-8fa4-4faf-8563-13ae8b04346d/microsoft-query-could-not-be-started-because-it-isnt-installed?forum=excel (It
    also applies to Excel 2013)
    Regards,
    George Zhao
    TechNet Community Support

  • How Can I use a Variable  in Data Controls query. Frank Kindly check...

    Hii,
    I am using JDeveloper 11g ADF BC.
    My Requirement is that I hv a login screen which is taken from [http://blogs.oracle.com/shay/simpleJSFDBlogin.zip].
    I hv attached BC in this application. I want to use the login usercode in the next pages after login screen. Next screen contains 3 list items which will be populating based on the user. So I created <af:selectOneChoice> using the BC( Just drag & dropped the column into the page from the data controls). But in the data control i want to use this usercode for passing the condition. Now Data is coming without any condition.
    So How can I use the usercode in the Data controls query.
    When I tried to display the usercode in the next page it is showing by binding the value. its code is follows
    <af:outputText value="#{backing_getUser.uid}"
    The program for checking the username & Password is follows.
    package login.backing;
    import oracle.adf.view.rich.component.rich.RichDocument;
    import oracle.adf.view.rich.component.rich.RichForm;
    import oracle.adf.view.rich.component.rich.input.RichInputText;
    import oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout;
    import oracle.adf.view.rich.component.rich.nav.RichCommandButton;
    import java.sql.*;
    import java.util.List;
    import java.util.Map;
    import oracle.adf.view.rich.component.rich.output.RichMessage;
    import oracle.jdbc.OracleDriver;
    public class GetUser {
    private RichInputText uid;
    private RichInputText pid;
    private RichCommandButton commandButton1;
    private RichInputText inputText1;
    private RichInputText inputText2;
    public void setUid(RichInputText inputText1) {
    this.uid = inputText1;
    public void setPid(RichInputText inputText2) {
    this.pid = inputText2;
    public RichInputText getUid() {
    return uid;
    public RichInputText getPid() {
    return pid;
    public void setCommandButton1(RichCommandButton commandButton1) {
    this.commandButton1 = commandButton1;
    public RichCommandButton getCommandButton1() {
    return commandButton1;
    public String login_action() {
    // Add event code here...
    String user = this.getUid().getValue().toString();
    // String pass = inputText2.getValue().toString();
    String pid = this.getPid().getValue().toString();
    Connection conn;
    conn = getConnection();
    Statement stmt = conn.createStatement();
    ResultSet rset = stmt.executeQuery ("SELECT usercode FROM guser where usercode = '"+user.toUpperCase()+"' and pwd=F_TEST('"+pid.toUpperCase()+"')");
    if (rset.next()) {
    conn.close();
    return "good";
    conn.close();
    } catch (SQLException e) {
    System.out.println(e);
    return "bad";
    public static Connection getConnection() throws SQLException {
    String username = "ACCTS";
    String password = "ACCTS";
    String thinConn = "jdbc:oracle:thin:@SERVER1:1521:G5PS";
    DriverManager.registerDriver(new OracleDriver());
    Connection conn =
    DriverManager.getConnection(thinConn, username, password);
    conn.setAutoCommit(false);
    return conn;
    public void setInputText1(RichInputText inputText1) {
    this.inputText1 = inputText1;
    public RichInputText getInputText1() {
    return inputText1;
    public void setInputText2(RichInputText inputText2) {
    this.inputText2 = inputText2;
    public RichInputText getInputText2() {
    return inputText2;
    -----

    Hi,
    I didn't look at the example, but if you want to secure your application then you should use container managed security. Read this .
    Anyway, you could add this before return "good"; in your login_action()
    FacesContext.getCurrentInstance().getExternalContext().getSessionMap().put("username", user);Then, you can access this from anywhere in the application by using #{sessionScope.username}.
    Pedja

  • Question/issue regarding querying for uncommited objects in Toplink...

    Hi, was hoping to get some insight into this problem we are encoutering…
    We have this scenario were we are creating a folder hierarchy (using Toplink)
    1. a parent folder is created
    2. child elements are created (in the same transaction as step 1),
    3. we need to lookup the parent folder and assign it as the parent
    of these child elements
    4. end the transaction and commit all data
    In our system we control access to objects by appending a filter to the selection criteria, so we end up with SQL like this example
    (The t2 stuff is the authorization lookup part of the query.) ;
    SELECT t0.ID, t0.CLASS_NAME, t0.DESCRIPTION, t0.EDITABLE,
    t0.DATE_MODIFIED, t0.DATE_CREATED,
    t0.MODIFIED_BY, t0.ACL_ID, t0.NAME, t0.CREATED_BY,
    t0.TYPE_ID, t0.WKSP_ID, t1.ID, t1.LINK_SRC_PATH,
    t1.ABSOLUTE_PATH, t1.MIME_TYPE, t1.FSIZE,
    t1.CONTENT_PATH, t1.PARENT_ID
    FROM XDOOBJECT t0, ALL_OBJECT_PRIVILEGES t2,
    ARCHIVEOBJECT t1
    WHERE ((((t1.ABSOLUTE_PATH = '/favorites/twatson2')
    AND ((t1.ID = t2.xdoobject_id)
    AND ((t2.user_id = 'twatson2')
    AND (bitand(t2.privilege, 2) = 2))))
    AND (t1.ID = t0.ID))
    AND (t0.CLASS_NAME = 'oracle.xdo.server.repository.model.Archivable'))
    When creating new objects we also create the authorization lookup record (which is inserted into a different table.) I can see all the objects are registered in the UOW identity map.
    Basically, the issue is that this scenario all occurs in a single transaction and when querying for the newly created parent folder, if the authorization filter is appended to the query, the parent is not found. If I remove the authorization filter then the parent is found correctly. Or if I break this up into separate transactions and commit after each insert, then the parent is found correctly.
    I use the conformResultsInUnitOfWork attribute on the queries.
    This is related to an earlier thread I have in this discussion forum;
    Nested UnitOfWork and reading newly created objects...
    Thanks for any help you can provide,
    -Tim

    Hi Doug, we add the authorization filter directly in the application code as the query is getting set up.
    Here are some code examples; 1) the first is the code to create new object in the system, followed by 2) the code to create a new authorization lookup record (which also uses the first code to do the actual Toplink insert), then 3) an example of a read query where the authorization filter is appended to the Expression and after that 4) several helper methods.
    I hope this is of some use as it's difficult to show the complete flow in a simple example.
    1)
    // create new object example
    public Object DataAccess.createObject(....
    Object result = null;
    boolean inTx = true;
    UnitOfWork uow = null;
    try
    SessionContext sc = mScm.getCurrentSessionContext();
    uow = TLTransactionManager.getActiveTransaction(sc.getUserId());
    if (uow == null)
    Session session = TLSessionFactory.getSession();
    uow = session.acquireUnitOfWork();
    inTx = false;
    Object oclone = (Object) uow.registerObject(object);
    uow.assignSequenceNumbers();
    if (oclone instanceof BaseObject)
    BaseObject boclone = (BaseObject)oclone;
    Date now = new Date();
    boclone.setCreated(now);
    boclone.setModified(now);
    boclone.setModifiedBy(sc.getUserId());
    boclone.setCreatedBy(sc.getUserId());
    uow.printRegisteredObjects();
    uow.validateObjectSpace();
    if (inTx == false) uow.commit();
    //just temp, see above
    if (true == authorizer.requiresCheck(oclone))
    authorizer.grantPrivilege(oclone);
    result = oclone;
    2)
    // Authorizer.grantPrivilege method
    public void grantPrivilege(Object object) throws DataAccessException
    if (requiresCheck(object) == false)
    throw new DataAccessException(
    "Object does not implement Securable interface.");
    Securable so = (Securable)object;
    ModulePrivilege[] privs = so.getDefinedPrivileges();
    BigInteger pmask = new BigInteger("0");
    for (int i = 0; i < privs.length; i++)
    BigInteger pv = PrivilegeManagerFactory.getPrivilegeValue(privs);
    pmask = pmask.add(pv);
    SessionContext sc = mScm.getCurrentSessionContext();
    // the authorization lookup record
    ObjectUserPrivilege oup = new ObjectUserPrivilege();
    oup.setAclId(so.getAclId());
    oup.setPrivileges(pmask);
    oup.setUserId(sc.getUserId());
    oup.setXdoObjectId(so.getId());
    try
    // this recurses back to the code snippet from above
    mDataAccess.createObject(oup, this);
    catch (DataAccessException dae) {
    Object[] args = {dae.getClass().toString(), dae.getMessage()};
    logger.severe(MessageFormat.format(EXCEPTION_MESSAGE, args));
    throw new DataAccessException("Failed to grant object privilege.", dae);
    3)
    // example Query code
    Object object = null;
    ExpressionBuilder eb = new ExpressionBuilder();
    Expression exp = eb.get(queryKeys[0]).equal(keyValues[0]);
    for (int i = 1; i < queryKeys.length; i++)
    exp = exp.and(eb.get(queryKeys[i]).equal(keyValues[i]));
    // check if need to add authorization filter
    if (authorizer.requiresCheck(domainClass) == true)
    // this is where the authorization filter is appended to query
    exp = exp.and(appendReadFilter());
    ReadObjectQuery query = new ReadObjectQuery(domainClass, exp);
    SessionContext sc = mScm.getCurrentSessionContext();
    if (TLTransactionManager.isInTransaction(sc.getUserId()))
    // part of a larger transaction scenario
    query.conformResultsInUnitOfWork();
    else
    // not part of a transaction
    query.refreshIdentityMapResult();
    query.cascadePrivateParts();
    Session session = getSession();
    object = session.executeQuery(query);
    4)
    // builds the authorzation filter
    private Expression appendReadFilter()
    ExpressionBuilder eb = new ExpressionBuilder();
    Expression exp1 = eb.getTable("ALL_OBJECT_PRIVILEGES").getField("xdoobject_id");
    Expression exp2 = eb.getTable("ALL_OBJECT_PRIVILEGES").getField("user_id");
    Expression exp3 = eb.getTable("ALL_OBJECT_PRIVILEGES").getField("privilege");
    Vector args = new Vector();
    args.add(READ_PRIVILEGE_VALUE);
    Expression exp4 =
    exp3.getFunctionWithArguments("bitand",args).equal(READ_PRIVILEGE_VALUE);
    SessionContext sc = mScm.getCurrentSessionContext();
    return eb.get("ID").equal(exp1).and(exp2.equal(sc.getUserId()).and(exp4));
    // helper to get Toplink Session
    private Session getSession() throws DataAccessException
    SessionContext sc = mScm.getCurrentSessionContext();
    Session session = TLTransactionManager.getActiveTransaction(sc.getUserId());
    if (session == null)
    session = TLSessionFactory.getSession();
    return session;
    // method of TLTransactionManager, provides easy access to TLSession
    // which handles Toplink Sessions and is a singleton
    public static UnitOfWork getActiveTransaction(String userId)
    throws DataAccessException
    TLSession tls = TLSession.getInstance();
    return tls.getTransaction(userId);
    // the TLSession method, returns the active transaction (UOW)
    // or null if none
    public UnitOfWork getTransaction(String uid) {
    UnitOfWork uow = null;
    UowWrapper uw = (UowWrapper)mTransactions.get(uid);
    if (uw != null) {
    uow = uw.getUow();
    return uow;
    Thanks!
    -Tim

  • How can I create variant of control query?

    Dear Expert,
    I am using BEx Broadcaster to bradcast query as a report.
    In tab Filter Navigation, I enter the control query, but the variant always gives me "(No Selection Possible)".
    How can I create variant of control query?
    I try to create variant via variable entry page when I excute my query.
    The variable show in table "RSRPARAMETRIZA" but not show in BEx Braodcaster.
    Thank you,
    Zilla

    Hello,
    Please run this control query on the portal and then save variant you require. If you want this variant to be available
    to all users make sure that the user specific flag is unchecked while saving the variant.
    Regards,
    Michael

  • Creating video for broadcast

    I'm about to start making some commercials for the company i work for.
    i've never done anything for broadcast before.
    most of the things i work on are for the web and for dvd.
    i'm using a jvc hd1.
    I guess i'm just asking for any advice that can be given...
    including how to get the best possible quality in every aspect..
    recording, capturing, exporting, etc.
    any help would be appreciated.
    thanks!
    cASEY

    Wow, Michelle. You are very professional in your practice. I wish more people in my market were like you. Although, I would like to modify some of her recommendations, and add some more of my own, too.
    First off, Michelle is right. :30 is not :30;00. It's :29;15, or 29;20 for me. However, with new digital video servers and automated playback units in Master Control rooms, even the big guns like Dodge, Budweiser and so on get away with :29;29. Since switching can be done on the frame level with computer controlled stuff, the margin of error is less. However, don't push it if you don't know what they have in the control room. Stick to :29;15, or :29;20 if you feel lucky.
    Thirty seconds of bars is a must. Record thirty seconds of bars at the beginning of every tape before you shoot. It will help during capturing later. At least :10 of a slate is good. Mine is about :13 (I have a special composited slate with a huge animated countdown that moves to killer rock music). However, with a countdown ending at 2, you can't put 10 seconds of black after that. I only put two seconds. Also, make sure you put at least 10 seconds of black at the end of the spot. Slates should include the client, title, version or revision if necessary, date, length, and names of important people (like editor and producer).
    If you use a cassette to archive your finished spots, put a "dirty" version with all the graphics, and follow it with a "clean" version, which has no graphics, and the music is placed on the left channel and the voice on the right (or vice versa if desired). I archive on hard drive using those rules as well. I also archive my bins, projects and sequences. The edit system I use for commercials is not FCP, so my bins and sequences can be saved outside of the project. This is helpful because you can always recapture your footage and recreate the spot if necessary.
    This brings me to my next point. DO NOT recycle MiniDV tapes. I've found that they fail quickly. Use a new one for each client, and keep all their footage on their own tape (or tapes). Include it in your operating cost, since they're $4 each. Doing this helps you if you have hard drive problems or if you need to change a shot in a commercial you made last year. Keep in mind the tip of recording bars for thrity seconds on each tape. If you need to recapture footage that starts 4 seconds into the tape, the process is a lot harder than if it starts 34 seconds into the tape. The second option is more automatic and it will make you happy. Another good idea is to record bars after your footage for thirty seconds. That way you have a separator between shoots. As long as the timecode remains consistent, capturing will never be an issue.
    That's it for now. I'm sure I'll think of more later.

  • Sbt__rpc_cat_query: Query for piece 1ujb3oqb_1_1 failed

    Hi,
    Currently I'm trying to run Oracle database backup using EM database control and OSB. I have configure library and tape drive in OSB and also created new job in EM to backup the database. But when I run the job it end up with the following error message.
    If anyone encounter the same problem? and you know the solution. Please let me know in detail.
    RMAN-00571:
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS
    RMAN-00571:
    RMAN-03009: failure of backup command on oem_sbt_backup channel at 03/12/2008 19:11:12
    ORA-19506: failed to create sequential file, name="1ujb3oqb_1_1", parms=""
    ORA-27028: skgfqcre: sbtbackup returned error
    ORA-19511: Error received from media manager layer, error text:
    sbt__rpc_cat_query: Query for piece 1ujb3oqb_1_1 failed.
    I really need help from you guy's.
    Thanks,
    Bala

    Thanks. But I don't think that is the issue. I've compared the values on this server with the values on my other servers that are running OSB client successfully and they are comparible.
    Rich
    oracle@vlx1032 /ora01/oracle > grep ^[^#] /etc/sysctl.conf
    net.ipv4.ip_forward = 0
    net.ipv4.conf.default.rp_filter = 1
    net.ipv4.conf.default.accept_source_route = 0
    kernel.sysrq = 0
    kernel.core_uses_pid = 1
    kernel.shmmax = 8589934592
    kernel.shmall = 16777216
    kernel.msgmnb = 65536
    kernel.msgmni = 256
    kernel.sem = 300 32000 100 1024
    fs.file-max = 131072
    net.ipv4.ip_local_port_range = 1024 65000
    net.core.rmem_default = 1048576
    net.core.wmem_default = 1048576
    net.core.rmem_max = 1048576
    net.core.wmem_max = 1048576

  • Best FC settings for broadcast?

    Hello everyone,
    I am relatively new at this, and I am looking for a better workflow and FC/compressor/ settings for our productions, and to solve a sound issue.
    We use a set of Panasonic AG-HMC150P to capture external videos, so the footage is in HD (imported through ProRes)... sometimes we use our older Panasonic DVXs connected to a Tricaster to produce on-location multi-camera programs, and finally we record our studio programs on DV mini-tapes and/or recorded DVDs.
    We need to produce each program in two formats: DVDs, and Mpeg-2 muxed to feed our video server (Cablecast), which in turns feeds a fiber-optic transmitter to the cable company.
    At present what we do is import everything into a preset NTSC DV (3:2) 720x480 sequence (QuickTime Video Settings Compressor set at DV/DVPRO - NTSC) with 48 kHz- 16-bit audio. Then we basically send the finished product to compressor and export it to a standard best-quality 90-min DVD. We use that for our DVD copies of the program. Then what we do is grab the .ac3 and .m2v files created by compressor, and feed them to MPEG-Streamclip, exporting them as an Mpeg with MP2 audio stream; which creates the mpeg-2 file for our cablecast server.
    So the first question is this: is there a better/efficient sequence setting or workflow we should use? Should we use one sequence setting for DVD production and then copy the content onto a different sequence with different settings for broadcast/mpeg-2 encoding?
    The quality of the mpeg file (when played from the server onto our monitor) is quite good, although I am noticing a loss of quality when I watch the program on TV at home (some visual artifacts and occasional pixellations), but my main problem is sound crackling when the program displays lower thirds (occasionally), more pronounced when PPT files converted to jpeg graphics are displayed in the program. I am VERY careful to keep white levels below 90 IRE (or whatever the scopes indicate as being 90%) and apply broadcast safe filters (chroma and brightness). I keep my average sound level at about -12 dBFS with peaks not exceeding -6 dBFS (sound is compressed in SoundPro).
    Any idea what might be causing the crackling? Thank you for any help you can provide...

    I found the custom settings that I'd made from the DVD Best 90 minute preset and pasted them below.  I made these based on a screen shot that my client provided of an MPEG Streamslip settings window.
    Stefan, you should be able to start from any of the DVD presets in the Settings window.  Then click "Duplicate Selected Setting" (just below the Settins tab, 3rd button over) to add a copy to the "Custom" settings folder.  Select the copy, make changes in the Inspector window and then click "Save" (at the bottom right of the Inspector window).
    My settings were for PAL, but the same settings should apply to NTSC minus frame rate and frame size differences.  The key changes that I made were the number of encoding passes (I changed 2-pass to 1-pass) and the bit rate (the average bit rate and the maximum bit rate were increased).  Also, I was encoding from DV source which has the same picture dimensions at its MPEG2 counterpart so there was no need to change the width and height.
    After you've made your custom preset, encode a short test file and send it to the broadcaster to see if it's compliant with what they can broadcast before committing an entire program to it.
    -Warren
    Name: MPEG-2 6.2Mbps 1-pass Custom
    Description: Custom settings based on screen shot provided by client.
    File Extension: m2v
    Estimated size: 9 GB/hour of source
    Type: MPEG-2 video elementary stream
    Usage:generic
    Video Encoder
    Format: M2V
    Width and Height: Automatic
    Pixel aspect ratio: Default
    Crop: None
    Padding: None
    Frame rate: (100% of source)
    Frame Controls: Automatically selected: Off
    Start timecode from source
    Aspect ratio: 4:3
    Field dominance: Automatic
    Average bit rate: 20 (Mbps)
    1 Pass VBR enabled
    Maximum bit rate: 23.5 (Mbps)
    Best motion estimation
    Closed GOP Size: 1/2 second, Structure: IBBP

Maybe you are looking for

  • Unable to change permissions on external drive.

    I have an external Firewire drive attached to my PowerMac G5 running 10.5.5. Until the past few days I have been easily accessing (reading and writing) all areas of this drive from my standard non-admin user account since I have the "Ignore ownership

  • Electronic Cleaning Wipes??

    I have electronic cleaning wipes for the computer screen. They are moist, but not dripping wet. Are they safe for the screen? I'm hesitant to use them-not sure why. I did a search (online) and I couldn't quite figure out the right answer. I figured p

  • Safari 5.0.3 crash

    I get this crash very often How can I get rid of it? Process: Safari [10211] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safari Version: 5.0.3 (6533.19.4) Build Info: WebBrowser-75331904~2 Code Type: X86-64 (Native) Par

  • Search problem with iDS5.1sp1

    Let's say I have an entry uid=anne.clark. With the version 4.16, I had no result returned when I was searching with the filter '(uid=anne.clark\0a)'. Now, with the latest version, the server is returning the anne.clark entry. Is that a bug or there i

  • Image size seen in imessage

    Ipad Air I'm trying to make an image to fit completely within the tiny window that in seen when you text? What size or maybe its a ratio of the image that is key to make an image appear full size within the imessage viewing area? TIA