Passing dynamic parameter to BEx Web from Visual Composer application

Hi Experts,
I have got a table with brand name with hierarchy node,  brand key and when the user selects a row on the table it should display detail data on the BEx Web. To do this, I have done the following;
- Added a button to the Action Toolbar of the Table
- Added an HTML view to the design time as well as a Data Store
- Created a field in the Data Store called u201Cselectionu201D
- Map from the table containing the 'Select' button to both the Data Store and the HTML view
- Used the custom action u201CSelectu201D to write a value u201C3u201D to the u201Cselectionu201D field of the DataStore
- Set the system acion (Event Name) 'select' to set a URL for the HTML view
- Set the URL Assinged Value = 'http://sapbid001:50000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?&QUERY=ZPIP_BACKORD_DETAILS&FILTER_IOBJNM=0CUST_GROUP&FILTER_NODE_IOBJNM=0HIER_NODE&FILTER_VALUE='&@Brand_key&''
It opens the query ZPIP_BACKORD_DETAILS for all brands and it's passing right brand key to it as well. But the dilema is the query is not filtering according to the parameter passed to it.
Could you please suggest me what steps I need to follow in order to resolve the issue?
Thanks.

Hello Bhai,
Could you tell me how did you solve  your issue? because i would like to doing same things.. but filter doesnt work...
Thanks in advance
Rasim

Similar Messages

  • Passing dynamic parameter to stored procedure from CR formula?

    Dear all,
    I need to insert in some textboxes the right string based on the desired Language Code.
    I crated a stored procedure in my db.
    CREATE PROCEDURE MY_GET_TRANSLATION
         @TextID nvarchar(8),
         @LangCode int
    This parameters are used as keys to get the Trans field.
    I created a workshop formula: GetTranslation
    Please, can someone suggest the correct statement to call my MY_GET_TRANSLATION  stored procedure passing parameters?
    I would like to call the GetTranslation formula from all my textboxes, passing the specific TextID value
    and visualized the right translated string.
    For example:
    in my TEXT1 textbox, I would like to call the GetTranslation formula passing the parameters
    TextID = "T000001"
    and
    LangCode = 13    (Italian language)
    How can pass dynamic parameters to a formula?
    How can pass dynamic parameters to a stored procedure from a CR formula?
    Regards
        Emanuele

    Dear Jason,
    I'm trying to modify a SAP B1 CR marketing report.
    This CR marketing document is called by SAP B1 automatically passing the Document Number and Document Type.
    The report uses the right SAP B1 tables to read the information of the header and rows of the document.
    The language of the document is contained in a field of the header table
    {MyMarketingDocTable.LanguageID}
    I created a user table named "MyTranslationTable" where I added some strings in different langiages.
    For example:
    TexiID            TextString              LangID
    T00001          Delivery                          8      
    T00001          Consegna                     13       (Italian translation)
    T00002          Invoice                           8
    T00002          Fattura                         13       (Italian translation)
    In the header of the report I'd like, for example, to visualise the string "Consegna" if my document is a delivery in italian language.
    I'd like to implement this method to translate all the textboxes (header, comments, etc.) based on the languageID of my document.
    For each textboxes, in the CR designer statically I know what TextID I want to visualized but dinamically I need to pass to my stored procedure the right language. I'd like my report automatically gets the language at run-time. I don't want that when I press the Print-preview button in SAP B1, the report asks to prompt the languageID.
    It already read the DocNum and DocType and it already filter the SAP B1 tables basing on the DocNum and DocType of the document. In this way it reads the right row in the SAP B1 table and in this way I can read all the fields of this row (also the languageID of the actual document).
    Regards
        Emanuele
    Edited by: Emanuele Croci on Dec 3, 2010 9:03 AM

  • Passing a range of dates from Visual Composer 7.0 to Bex Analyzer

    Dear Experts,
             I created a button in my Visual Composer model that has the following settings:
    System action:  Hyperlink
    Apply to:  Self
    Hyperlink address:  "...QUERY=BMMSEG_C01_SAS_Q0001&BI_COMMAND_1-BI_COMMAND_TYPE=SET_SELECTION_STATE&BI_COMMAND_1-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF_1=DP_1&BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-CHARACTERISTIC=MBUDAT&BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1-SELECTION_INPUT_STRING=08/22/2006;08/28/2006"
            Basically, what I need is to pass a range of dates from Visual Composer to Bex Analyzer on the characteristic "MBUDAT".  However, it only brings back the data with those specific dates, not the range.  
          I don't think this is the correct syntax to pass in a range value:  08/22/2006;08/28/2006  Please advise how should I do it. 
    Thank you in advance,
    Kevin

    Hi J GOEL,
           Thank you for your quick response.  I created a date range variable ZPSTDAT, and then I passed in the oncatenated value to my Bex query (for this example, let says the From date is 08/22/2006, and the To date is 08/28/2006 ).
          Here's what I passed in into the url:
    ...QUERY= BMMSEG_C01_SAS_Q0001
    &BI_COMMAND_1-BI_COMMAND_TYPE=SET_SELECTION_STATE
    &BI_COMMAND_1-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF_1=DP_1
    &BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-CHARACTERISTIC= ZPSTDAT
    &BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1-SELECTION_INPUT_STRING= 08/22/2006:08/28/2006
       However, it returns all the records, so it seems like it doesn't even accept the range value that I passed into the Bex.  Do you mind to please show me the url you have that pass in the date range.  I just need to see the date range part, not the entire url.
    Thanks,
    Kevin

  • How can we use C# to read dynamic parameter's value list from .rpt?

    I'm using Cystal Report 2008. We know starting from CR XI we can create dynamic parameters, the list of items of this kind of parameter are fetching from database. So in general the SQLs to get the list of values for dynamic parameters are stored in the .rpt.
    In Crystal Report Designer, if I preview a report with dynamic parameters, it will first query the database and then show the input dialog with list of values from database for user to choose. My question is can we implement the same thing by our C# code? I'm planning to use C# code to read this dynamic parameter's value list from .rpt and render them on the web page. Then pass back the user selected values to the .rpt to run the report after user make the choice. I didn't find any APIs can do this. Is it possible?
    Thanks in advance!!

    Hi,
    Can you explain a bit in detail, I have similar scenario. I am using the following code but not getting the Column name for dynamic parameter list.
    foreach (ParameterFieldDefinition prm
                              in reportDocument.DataDefinition.ParameterFields)
                    try
                        string vParameterFieldName;                   
                        *vParameterFieldName = prm.ParameterFieldName.ToString();*
    Shakeel

  • Pass Dynamic Parameter to Agent

    Hi All,
    I am trying to send the report/analyses by mail to my leaders in Oracle Business Intelligence 11.1.1.5.0.
    My report has Dashboard prompt for Region like "North" , "South", "East" and "West".
    I am able to send the report for all region but not able to send 4 reports for each region .
    How can i do it in Oracle Business Intelligence 11.1.1.5.0.?
    Do i need to use OBIEE Publisher for passing dynamic parameter .
    Thanks
    Nawneet

    The following kludge works for me:
    public ActionForward execute(ActionMapping mapping, ActionForm actionForm,
        HttpServletRequest request, HttpServletResponse response )
        throws IOException, ServletException {
        // select the view
        ActionForward actionForward = mapping.findForward("foo.bar");
        ActionForward newActionForward = new ActionForward(actionForward);
        newActionForward.setPath(actionForward.getPath() + "?id=" + id);
        return newActionForward;
      }

  • How can i pass the  parameter for strored procedure from java

    dear all,
    I am very new for stored procedure
    1. I want to write the strored procedure for insert.
    2. How can i pass the parameter for that procedure from java.
    if any material available in internet create procedure and call procedure from java , and passing parameter to procedure from java

    Hi Ram,
    To call the callable statement use the below sample.
    stmt = conn.prepareCall("{call <procedure name>(?,?)}");
    stmt.setString(1,value);//Input parameter
    stmt.registerOutParameter(2,Types.BIGINT);//Output parameter
    stmt.execute();
    seq = (int)stmt.getLong(2);//Getting the result from the procedure.

  • How to read a text file from Visual Composer

    Hi VC Experts,
    Please suggest me how can we read a textfile from  the local machine and pull the data from Visual Composer.
    Regards
    Kiran

    Hy kiran, is not possible to read data from flat file and put it in visual composer but you can :
    1) load this file in BI by ETL, for example on DSO object and then you can create a bex query to retrive the data
    2) if you want display the content of this file , you can use KM.
    Regards,
    Andrea

  • Unable to connect to BI System from Visual Composer

    Hie there,
      I am unable to connect to my BI system from Visual Composer
      The error message which I obtain upon clicking on 'Find Data' and selecting one of the many Systems list are as follows :-
      Error - 30014 Search returned an erro Failed to conect to backend system. Check your system defination and user priveleges.
      Please advice how can I add a BI System to this Visual Composer
    p/s: I`m new to portal environment, hence please excuse my rudimentary question

    Hi John,
    you find some information under:
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/de/9b/3ac52d74cf4c43b1cf3a71725c951f/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/de/9b/3ac52d74cf4c43b1cf3a71725c951f/frameset.htm</a>
    I had a similar question as a comment for my blog here:
    <a href="/people/marcel.salein/blog/2007/02/01/visual-composer-and-abap-rfcbapi-a-powerful-combination-part-i:///people/marcel.salein/blog/2007/02/01/visual-composer-and-abap-rfcbapi-a-powerful-combination-part-i
    You should also look in the VC wiki, there is a section for the connectivity
    <a href="https://wiki.sdn.sap.com/wiki/display/VC/Connectivity">https://wiki.sdn.sap.com/wiki/display/VC/Connectivity</a>
    Hope that helps!
    Best Regards,
    Marcel

  • Unable to consume Enterprise services from Visual Composer

    Hi,
    We have implemented ECC-SE 603 add-on in our ECC 6.0 system.
    We configured to set up a connection between our J2EE engine and the ES Workplace, to consume the Enterprise services from Visual Composer.
    But, we are unable to see the Enterprise Services in the Visual Composer.
    Kindly, let us know how to resolve this issue.

    Hi,
    please refer the following link
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a160392c-0e01-0010-7784-9cc564d871d2
    Regards
    Manohar

  • How export data in Excel From Visual Composer

    Hay everybody,
    I would like to export my data result from Visual Composer to Excel. I've tried with an export data buton, but the exported file has a very bad format in Excel. I've tried an hyperlink buton which contain the Reptname data of the query too, but I can't keep my filters. This second solution can be nice for the format. If anyone knows how I can keep my filters, I would be fine.
    Thanks

    I did not get solution by using BW 3.5 , can we export data to Excel ? I am refering
    [HOW TO EXPORT DATA FROM VISUAL COMPOSER|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/47fe4fef-0d01-0010-6f87-ed8ecb479123?overridelayout=true] following link??

  • Default Value in Numeric Input Field in Visual Composer Application

    Hi All,
    I have developed a visual composer application which has a numeric input field for Hours.
    It is mapped to a backend module.
    We are using portal 7.31
    The problem is that the deafult value of this input field is "0", but the rquirement is to display as "0.0"
    The functionality has been tested with input values in decimals and works fine. The problem is when the screen first populates, that field should show "0.0" .
    Please advise.
    Thanks

    Hi Soumya Chanda,
    I don't know of an agreeable way around it. You could have a textual input, but then it doesn't have the numeric control behavior, plus you need to handle incorrect typing (alphanumeric notes).
    Sorry!

  • Where to get the par file for visual composer application?

    Hi Gurus,
    I have referred few forum postings about transporting VC iview .
    to do that first we have to deploy the par file of the Visual composer application into the target system(QA & Prod) where ever we want to import it........
    Now my query is I went to System admin->support-Portal runtime->Root Folder-->Portal apps........
    where i have seen my Visual composer application name and otpion to download when I downloeded it it has downloded in unknown format............can i deploy this to SDM of the target system?
    Or I need to change the file format into par or par.bak file?
    please tell me how to go about it.........
    higher points will be rewarded for the useful inputs.......
    Thanks in Advance,
    Dharani

    Hi Dharani,
    Tools --> Options --> Compiler --> Check box deploy for par and mention the namespace and vendorname in the PAR prefix name
    Very similar to how its done in NWDS.
    Cheers,
    Rahul.

  • How to deploy Visual composer applications and set up the server

    Hi ,
    I have SAP Netweaver developer studio client installed on my Laptop and I can use it to create VC applications but I cannot visualise the applications since I don't have server.
    Is there a server that  I can install and configure? and what else do I need before I can successfully deploy visual composer applications.
    thanks

    Hi Bhat,
    Please ping server whether it is reachable or not.
    Please enter IP and host name in the host file (Start>>Drivers>>etc>>host file)
    Then enter host and instance number in NWDS. then open server view through open perspective, it will show you whether server is up or not.
    Hope this will helps you.
    Regards
    Arun

  • Can Visual Composer applications only be created and deployed on EP?

    We are working with Visual Composer on our Enterprise Portal box and I like it a lot. However, our company is investigating Microsoft Sharepoint as a possible candidate for Portals. This could mean that we are not going to use EP. I would like to know if it is possible to create and deploy Visual Composer applications if we don't have EP installed.
    As VC is dedicated SAP technology I don't think this can work but I want to be be 100 % sure. Maybe there are other ways to run VC in a sharepoint portal that I don't know off?
    kr
    Angelique Heutinck

    Hi Angelique,
    You need the SAP Enterprise Portal to run Visual Composer.
    In the VC you create pages and iviews that need the enterprise portal services to run.
    "... Visual Composer operates on top of the SAP NetWeaver portal, utilizing the portal’s connector-framework interfaces to enable access to a range of data services, including SAP and third-party enterprise systems. In addition to accessing mySAP ERP systems, users can access SAP Business Warehouse and any open/JDBC stored procedures..."
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/42/ef8270370a1bcae10000000a11466f/frameset.htm
    Best regards,
    José

  • Passing Dynamic Filter values to Web template in VC

    Hi Experts,
    Iam working with a Web Template (which is created using WAD)  in Visual Composer Model
    I have an input screen ( Variables Form )in VC Iview which has Fiscal Year, Quarter, week and other input fields which need to be entered by a user.
    This variables are passed to a couple of queires. Also i have a requirement to pass the same vvariable values to Web template also ( WAD)
    I have created a HTML iview in VC Dashboard.and in URL i gave the below URL which is working fine
    "pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=YWEB_PLANNING_ADLAYOUT_2"
    But i wanted the template to be executed with filter values also
    in the actual template i have 4 filters which user needs to enter after the above URL is displayed..
    In order to make the template execution dynamic i added the following URL which is not working:
    http://Host:port/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=YWEB_PLANNING_ADLAYOUT_2%26FILTER_IOBJNM%3DZFISCYEAR%26FILTER_VALUE%3D2009%26FILTER_IOBJNM%3DZREP_WEEK%26FILTER_VALUE%3D42%26FILTER_IOBJNM%3DZFISCALQTR%26FILTER_VALUE%3D3%26FILTER_IOBJNM%3ZNSPLITREG%26FILTER_VALUE%3DAS%26FILTER_IOBJNM%3DZRSKOPP%26FILTER_VALUE%3DR
    Please let me know how to pass dynamic filter values from "Variables Form" of VC iview to Web template HTML iview
    Thanks
    P.Navakanth

    Hi,
    this is my sample:
    'http://**********/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=TESTE1&DUMMY=0&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING='&DSTR(NOW(),'MMYYYY')&'&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=GLIPM002&BI_COMMAND_2-BI_COMMAND_TYPE=SET_SELECTION_STATE_SIMPLE&BI_COMMAND_2-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF_1=&BI_COMMAND_2-CHARACTERISTIC=GLC000079&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-EQUAL_SELECTION-MEMBER_NAME=****'

Maybe you are looking for