Dynamic integration of BPS and BW variables

Hi,
The white paper 'how to ... BPS Variables of Type Exit' gives the way to have the system default its BEx variables values from the values set up in BPS.
This is working great when I set up my BPS values from BPS0, however, when I change my variables from a web application (with a dropdown menu)and then execute the BEx report (thru an hyperlink or directly in my web app screen), the BEx variable values are not updated (even if a refresh is done).
My understanding is that this link between variables should be dynamic as the code includes function module Z_VARIABLE_GET_DETAIL.
Thanks for any help.

Hi David,
Z_VARIABLE_GET_DETAIL does not work in this case since it runs in a different session and therefore picks up only the variable values that are commited to the database.
Instead, create a URL for calling BEx and pass the BPS variables are URL parameters. Or see "How to… Integrate BEx Web Applications into BPS Web Interface" (http://service.sap.com/nw-howtoguides > BI)
Regards
Marc
SAP NetWeaver RIG

Similar Messages

  • How do I store and retrieve variables end user enters in Dynamic Pages ?

    I have 4 dynamic pages, a user enters in variables on first page. At the next 3 dynamic pages I send the user to I have to display the items they entered on the first page in text items.
    How do I pass these variables ????
    thanks!

    ok, so on my page 1 I have the parameter "name", if I use <ORACLE> tags on this first dynamic page they are executed upon entering the form. The user has to enter the data and if the <ORACLE> tags have already executed where do I store the value ?
    So where do I issue the wwsto_api_session.load_session (in the second dynamic page or the first one) ?
    I can see that I'll use the wwsto_api_session.get_attribute_as_varchar2 ('name') in the second dynamic page with the htp.p - is that right ?
    You wouln't have an example you could share with us all do you ? Sure seems like this is confusing to a lot of people. Are there any useful examples of this in the PDK that show how to do this with the HTML included ?
    thanks again

  • Session variable filters in the integration between OBIEE and webcenter

    Hello All,
    I have a customer with the requirement to make sure that reports created in answers and containing sessions variables in filters definition will be correctly filtered once called from webcenter.
    So if an OBI report is diplayed in webcenter and contains the same type of filters (based on session variable), will the results be filtered based on the specified variable?
    In other words can we use session variables in the integration between OBIEE and webcenter?
    Thanks Olayinka

    Have you follow all the steps written here :
    http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e12188/T421739T475591.htm#T480640
    Do you have create the groups ?
    Do you connect as a member of the group XMLP_ADMIN ?
    Cheers
    Nico

  • I want to use system and job variables to make the information dynamic in the Email Subject Line

    Someone could mention the subject line character limitation needs to be expanded. 50 chars is not much to work with! 
    Is it possible to make SUBJECT Line to make , use system and job variables to make the information dynamic , Right now there is a limit for Characters in the Subject line ... is it possible to expand ???  

    I've encountered the same issue and worked around it by using generic variables that would always be the same for a certain email alert. eg =  "System XYZ -source file delay for :"
    So a sample subject would then be: 
    Where ENV = DEV/UAT etc.
    This functionality allows you to use generic alert templates for all filewait jobs, and just filling in the variables.
    A slight problem is that although this works very well, the use of group variables in email / alert actions is (/ wasn't) officially supported by Cisco when I last ran it past then. Cisco, any update in this?

  • Dynamic text box and minus variable?

    I have a text box with dynamic text set to display p variable but when the variable goes < 0 it only displays a '-'.
    im using:
    onClipEvent (enterFrame) {
    p = my_object._x;
    How can I correct this? Also another question with 'my_object._x' it returns the x coord relative to the movie clip it is in. How do I get the position relative to the 0,0 (top left corner)?
    I've been learning Flash for 2 days so sorry if the questions sound simple. I have tried googling these.

    for the textfield question....
    I'm not too sure about that... it could be related to the width of the textfield, or maybe a maxChars setting on the textfield....not really sure sorry. Someone else may have an answer....
    for the other question...
    getRect() gives you the bounding box (without stroke width, use getBounds() if you want bounds outside the stroke width)
    try
    var geometricBounds = my_object.getRect();
    trace(geometricBounds.xMin+","+geometricBounds.yMin)

  • Dynamically change the db and server in execute sql task

    Pkg 2: Moves data from B_STG (Staging DB) to B_Det_STG (Staging DB)  ---- option1
    Pkg 3: Moves data from B_STG (Staging DB) to B_Det (PC DB)   ---- option2
    This part is duplicating in both the packages
    So they want me to merge both of them into in execute sql task and dynamically change between option1 and option2 depending on a pkg level variable.
    So, I create a pkg level variable called ExecutionVariable: 'ANALYSIS' or 'LOADING'
    If 'ANALYSIS' it needs to do option1 else option2.
    So, I ma trying to create a dynamic connection string in execute sql task.
    I change the connection property in execute sql task editor dynamically my giving the expression: @[User::ExecutionVariable] == "ANALYSIS"?  @[User::STAGINGDBConnectionString] :  @[User::PCDBConnectionString]
    which evaluates to : Data Source=AW-ETL-D1;Initial Catalog=Staging;Integrated Security=SSPI;Provider=sqloledb
    But when I run the sql task, its giving me an error: 
    ERROR:
    TITLE: Microsoft Visual Studio
    Nonfatal errors occurred while saving the package:
    Error at PC_DataLoad: The connection "Data Source=AW-ETL-D1;Initial Catalog=Staging;Integrated Security=SSPI;Provider=sqloledb" is not found. This error is thrown by Connections collection when the specific connection element is not found.
    Error at PC_DataLoad: The connection "Data Source=AW-ETL-D1;Initial Catalog=Staging;Integrated Security=SSPI;Provider=sqloledb" is not found. This error is thrown by Connections collection when the specific connection element is not found.
    Can u please help me.

    Hi ,
    Don't try to make the "Execute Sql" task as dynamic.
    Try to make OLEDB connection Manager as "Dynamic".
    Steps:
    1. Create OLE DB Connection pointing to any database then set expression to connection string variables like below.
    Provider=SQLNCLI10.1;Integrated Security=SSPI;Initial Catalog=YourDBname;Data Source=YourServerName.
    2. Make Delayed Validation property to "True".
    3. Set the created dynamic OLE DB connection to your Execute SQL task.
    4. Change the connection string variable accordingly before running the "Execute SQL" task.
    Hope it will help you.
    Regards,
    Nandhu

  • BPS User Exit Variable based on Planning Package Selection

    Hi,
    I'm implementing a SAP BW-BPS planning layout to be integrated into the CRM we user interface.
    Most of the characteristic selections come from the CRM fields that need to be filled by the user when creates a trade promotion.
    The charcteristic selections work (as standard) just if in the planning level I flag "Selection in Package", then in package these selections are dinamically defined from what the user select in the CRM fields at runtime.
    My problem is that I have to build a BPS User Exit variable to filter, in the planning level, the proper Planning Area based on the CRM Sales Organization value.
    The characteristic CRM Sales Organization belongs to whose chararcteristic the value is determined dinamically in the planning package.
    Is it possible for a BPS user exit variable, set in the planning level, to catch the value of a characteristic selection made at planning package?
    Many thanks for your help.
    Alessandro

    Hi Indu,
    Many thanks for your answer.
    I have already took a look at the document posted by you but I didn't find the solution to my problem.
    This because i have to create a user exit variable that need to get the value of the characteristic selection in package.
    I mean in the planning level I will have the user exit variable that restrict the planning area and, his function module, need to read, at runtime, what is the value of the characteristic CRM Sales Organization restricted in package by CRM.
    So I don't have any idea to which BPS internal table I have referred to in my funcion module to catch the value of the CRM Sales Organization dinamically filtered by CRM.
    Many thanks,
    Alessandro

  • Use of Return and Notify_url variables offered by PayPal

    I have been integrating PayPal into my application (ASP NET MVC) where I made some analysis about PayPal (went through their documentation about the integration). Created a PayPal sandbox account and can transfer the amount.What I want to know is about the `return` and `notify_url` variables. I have enabled `auto return` in my account and also enabled `PDT`. My form variable is like this:<input type="hidden" name="notify_url" value="http://localhost:xxx/xx/Notify">
    <input type="hidden" name="return" value="http://localhost:xx/xx/Return">As I have surfed in net, what they state about `Return` and `notify_url` is:> The "return" URL to which PayPal redirects buyers’ browser after they complete their payments. For example, specify a URL on your site that displays a “Thank you for your payment” page. Default is nothing is specified – PayPal redirects the browser to a PayPal webpage. Note, you must have "Auto Return" enabled in your Account Profile settings in order for this variable to work.
    >PayPal returns data back to your site via what they call IPN. Its really just a callback to a URL you specify. You can set this URL via the variable `notify_url` you can send to PayPal.From the above quotes what I understand is that PayPal will post `IPN` variables to `notify action` once the payment done before auto redirecting to the page I set (I mean customer may go the application page or they may close the session).But only return action alone hitting not the `Notify_url`.Correct me if I misunderstood the concept and let me know if it was still Unclear.

    Yes, it's not present in the code I have posted but I have tried this as well.
    It didn't work, as expected, because soap/axis is on top of http and not https and because my proxy uses http as well (or at least that's what I have learned so far).
    In fact, I have tried all combinations between http.\*, https.\*, and Authenticator without success.
    I think the problem is more soap/axis related. The solution for axis2 seems somewhat 'trivial' (and well explained over the web) while it's not for axis1.
    Regards
    Rob
    Edited by: RobR on Nov 29, 2007 4:37 AM
    Edited by: RobR on Nov 29, 2007 9:56 AM

  • How to change JNDI dynamically in DB adapter and FTP adapter

    Hi every one,
    Please any one explain "How to change JNDI dynamically in DB adapter and FTP adapter" with screen shots
    Thanks in advance

    YES, very much possible. Only with CRUD operation on a table is possible.
    Please refer the below URL, where you can see the multiple check box selected under "Perform an operation on a table" under Operation Type.
    http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_db.htm#BDCGADFJ
    *7) Give points - it is good etiquette to reward an answerer points (5 - helpful; 10 - correct) for their post if they answer your question.*
    Going forward, please raise this as a separate thread. So that people will get benefited.
    Thanks,
    Vijay

  • PreparedStatement and bind variable

    We are experiencing some werid performance break downs where database server looks healthy and our java applications are down to their knees.
    I was wondering if someone could help me clarify the comparison between PreparedStatement and bind variable. When I execute a PreparedStatement in java through the JDBC thin driver, would the database consider it a dynamic SQL or is it a SQL using bind variable? If this same statement is executed 100000 times, is it parsed 100000 times? We are using JDK131. How does it work?
    Is there any memory leak in PreparedStatement implementation in JDBC thin driver? Is there any known symptom to this problem? What is the recommended solution?
    Thank you very much!

    If PreparedStatement is parsed and cached, why is there setting to set implicit statement caching and explicit statement caching? Our DBA insists that it is parsed every single time. How would I find out for sure?
    The SQLs have not been changed. This sudden performance degradation started when a new client went live and we experienced higher than usual volumn. We are connecting using JDBC thin client from weblogic server to Oracle 8.1.7. It's been happening everyday since the client went live and the only way to get the performance back is to shutdown and restart the database server.
    I tried to search JDBC related issues. The only complain that I've found so far is that there may be some potential memory leak for a PreparedStatement. However, I have not found anything from Oracle's website that concurs to that.
    What is my best bet?

  • Copy Documents - How to ... Documents in SEM-BPS and BW-BPS

    Hi Gurus,
    i need some assistance with implementing the Copy Documents functions according to How to ... Documents in SEM-BPS and BW-BPS.
    The aim is to copy the documents to a new version. All other document attributes are to remain unchanged.
    I have already implemented the function as described in the How-To using UPF_DOC_COPY_EXIT and UPF_DOC_COPY_INIT. The copy-exit ist called but it doesn't work.
    - The target version is in the selection of the planning level.
    - All characteristics of the info cube are in the planning level.
    - There is no difference in the result using variables for the from / to values or using fixed values
    Are there any hints to considder like:
    characteristic selection in the level
    which characteristics to include in the exit parameters (e.g. all with document attribute = active)
    for characteristics not to be changed, leave the from / to values in the exit parameters blank
    funcition does not work on multi-planning-areas
    Thanks in advance and best regards
    Steffen

    Hello Marc,
    thanks for your answer.
    We are running BW350 with SP19. I checked the notes regarding comments.
    "Note 1028233 - Key figure not taken into account for documents" is not implemented so far - SP20
    Note 893377 - InfoProvider assignment of documents in BPS is not activated
    As we are on SP19 all other comments are supposed to be implemented.
    RSA1 > Documents shows that
    all documents created using the WebInterface are saved to the appropriate value combination (without InfoProvider assignment - as supposed)
    no document is copied at all.
    Best regards
    Steffen

  • Loading External SWF and setting variables

    Hello Everyone.
    I'm sure you are all a where of the FlashVars attribute for
    Flash embeds which holds variables for SWF's when they are
    rendered. I'm attempting to load an External SWF dynamically
    from within my own SWF and need to provide it with the values
    normally stored in the FlashVars. For the example below I
    wait until the External SWF is completely loaded using the
    onLoadInit event from moviecliploader and then i attempt to
    set the required variables that the loaded SWF needs. This works
    great in test and debug mode (ie. Test Movie and Debug Movie
    from the Control menu), but when i publish my FLA to SWF and run
    the SWF the variables will NOT get set in the loaded External SWF.
    From my readings ive people have mentioned that the player is only
    able to access Methods of an External SWF. If this is the case then
    how do they expect people to set the FlashVars of dynamically
    loaded SWFs? I investigated the loadVariables procedure as well and
    had the same results in test mode and was wasn't reliable because
    of timing issues.
    The sample source is below... if anyone has any ideas or has
    come across this issue before, I would really appreciate some
    insight.
    Thank you in advance for your time.
    var loader_mc:MovieClipLoader = new MovieClipLoader();
    var mclListener:Object = new Object();
    loader_mc.addListener(mclListener);
    mclListener.onLoadProgress = function(target_mc:MovieClip,
    numBytesLoaded:Number, numBytesTotal:Number) {
    // DO NOTHING
    mclListener.onLoadComplete = function(target_mc:MovieClip) {
    // DO NOTHING
    mclListener.onLoadInit = function(target_mc:MovieClip) {
    // WORKS IN TEST MODE NOT IN PUBLISH/SWF MODE
    target_mc._root.param1 = "value1";
    // WORKS IN TEST MODE NOT IN PUBLISH/SWF MODE
    _level0.container_mc.param1 = "value1";
    this.createEmptyMovieClip("container_mc",
    this.getNextHighestDepth());
    container_mc._lockroot = true;
    loader_mc.loadClip("somecoolflash.swf", container_mc);

    I've tried that as well and it behaves the same as onLoadInit
    ... Works when i test but doesnt when i publish to a swf. I think
    this is security related and the flash player just cant write to a
    loaded swf and set variables.

  • Reg:Integrating XML Publisher and OA Framework

    I am trying to Integrating XML Publisher and OA Framework, i got
    C:\Framework\Jdeveloper\jdevhome\jdev\myprojects\xxxmlrep\oracle\apps\ak\webui\EmpCO.java
    Error(84,7): class OADBTransactionImpl not found in class xxxmlrep.oracle.apps.ak.webui.EmpCO
    Error(87,7): class OADBTransactionImpl not found in class xxxmlrep.oracle.apps.ak.webui.EmpCO
    Error(88,7): class OADBTransactionImpl not found in class xxxmlrep.oracle.apps.ak.webui.EmpCO
    Error(90,5): variable TemplateHelper not found in class xxxmlrep.oracle.apps.ak.webui.EmpCO
    Error(83,5): variable TemplateHelper not found in class xxxmlrep.oracle.apps.ak.webui.EmpCO
    source code is
    /*===========================================================================+
    | Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
    | All rights reserved. |
    +===========================================================================+
    | HISTORY |
    +===========================================================================*/
    package xxxmlrep.oracle.apps.ak.webui;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServletResponse;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.cabo.ui.data.DataObject;
    import oracle.xml.parser.v2.XMLNode;
    * Controller for ...
    public class EmpCO extends OAControllerImpl
    private static final int DEPTH = 4;
    private static final int APP_ID = 20035;
    private static final String APP_NAME = "AK";
    private static final String TEMPLATE_CODE = "XXEMP_JDEV";
    private static final int BUFFER_SIZE = 32000;
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModuleImpl am= (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    am.invokeMethod("initEmpVO");
    am.invokeMethod("getEmpDataXML");
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    OAApplicationModuleImpl am= (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    String event = pageContext.getParameter("event");
    if("GenerateReport".equals(event))
    DataObject sessionDictionary = (DataObject)pageContext.getNamedDataObject("_SessionParameters");
    HttpServletResponse response = (HttpServletResponse)sessionDictionary.selectValue(null,"HttpServletResponse");
    try {
    ServletOutputStream os = response.getOutputStream();
    String contentDisposition = "attachment;filename=EmpReport.pdf";
    response.setHeader("Content-Disposition",contentDisposition);
    response.setContentType("application/pdf");
    XMLNode xmlNode = (XMLNode) am.invokeMethod("getEmpAM");
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    xmlNode.print(outputStream);
    ByteArrayInputStream inputStream = new ByteArrayInputStream(outputStream.toByteArray());
    ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
    TemplateHelper.processTemplate(
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
    APP_NAME,
    TEMPLATE_CODE,
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
    inputStream,
    TemplateHelper.OUTPUT_TYPE_PDF,
    null,
    pdfFile);
    byte[] b = pdfFile.toByteArray();
    response.setContentLength(b.length);
    os.write(b, 0, b.length);
    os.flush();
    os.close();
    catch(Exception e)
    response.setContentType("text/html");
    throw new OAException(e.getMessage(), OAException.ERROR);
    pageContext.setDocumentRendered(false);
    thank in advance
    }

    User,
    This code snippet may help:
    while (myQuestionIsAboutOAFramework)
        user.askQuestionInProperForum(Constants.OAFrameworkForum);
    public class Constants
       public static string OAFrameworkForum = "http://forums.oracle.com/forums/forum.jspa?forumID=210";
    }John

  • Portal Integration of BPS

    Hi ,
        Does anybody have any tips, documentation or process guidelines demonstrating integration of BPS layouts into the EP environment.? Is it possible to save a layout/folder(would be better) as a local iview in BW and then export it into EP.? Or should we just create the web application beased layouts and attach the link into EP (report center).?
    any documents/methodologies best practises will be very helpful.
    Thanks,

    Sudz,
    first you use the BPS web interface builder. The output will be a BSP application. This BSP application can be easily included in EP.
    Regards
    Marc
    SAP NetWeaver RIG
    PS: If you really have to work for folders, then you can use ITS within the portal.

  • Difference between BPS and BI IP

    Hi,
    Please advise what is the basic diff between the two from the platfrom perspective. I understand that in BI-IP is in BI layer but BPS is an add on. But what does this mean in simple terms? Also why do we call it integrated planning? Is there any direct link to ECC as well?
    Thanks a lot in advance.
    SSC

    Hi,
    BI IP is advanced version we can say. It is related to BI 7.0.
    Where as BPS is with BW 3.5. You can also access BPS through BI 7.0.
    Check below threads for more info:
    /thread/240275 [original link is broken]
    DIfferance between BW-BPS, and BI Integrated Planning
    You can search SDN for more...
    Regards,
    KK.

Maybe you are looking for

  • Table for customer open items

    Hi,what is table name where we can see customer open items BR.AJ

  • Convert live Video from video recording device to a stream

    Hello, I want to convert the captured live video from a Windows phone device to a stream so I can Send it over sockets. Any ideas guys? in other words, I want to send live video data over sockets. Thanks in advance.

  • My Powerbook is dying!

    I have been getting messages that my start up disk is full for the past few weeks. I have cleared up some files and I now have 3 GB space available. However, my computer started to act so weird today (eg. when I click on an icon it goes to a differen

  • No DoF with text CS6

    I'm trying to create this effect and it seems no matter what I do, nothing is working. I have 3 text layers, all 3 have the 3D enabled and are spaced out in Z space. Draft 3D is turned off. I'm using a 35mm one-node camera, Depth of Field turned on a

  • Maximum Server Name Length

    I'm trying to determine if I can have names greater than 15 characters in both Windows server 2012 and AD. To be clear, we are not concerned with backwards compatibility with anything older than Windows 7/2008 R2, so NetBIOS is not a factor that I kn