BPS Comment Box  in Web templates

Hi,
We are making use of the document/comment Box within BPS and we would like to be able to jump to these comments when running queries on the web.
I have taken note of a preceeding topic that was more related to authorization issue and the fact that the comment cannot be assigned to a particular Infoprovider.
If we neglect this authorization issue, how can I call these BPS comments when running queries on the web ? I can remember that Marc Bernard was about to publish a "how to" on this respect but I cannot find it anywhere.
Thx for your help
Stéphane Beguin

Have you looked at this :
Print Comments
Hope it helps.
Regards

Similar Messages

  • How to sort (to display the last comment) a comment in a web template

    Hi,
    I need your help regarding how to display the last comment of a report in a web template, comments managed via the content module com.sap.ip.bi.rig.DocumentContent.
    Summary of the customer need :
    the customer wants to manage comments for a report. The customer does not want to comment each line of a report but  comments in a report as a whole, we want to display the last comment (among all comments) in the web template.
    What I have done so far :
    I have implemented the paper "Maintaining and Printing Comment for Each Line in the Report" ( http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a046a839-f000-2d10-67af-b53d73894a75), and I have adjusted it to my needs : now I can enter several comments for a report, I can display them via the context menu.
    BW displays only one comment within a web template via Document Content moduleu201D (com.sap.ip.bi.rig.DocumentContent).
    The documents are created under KM, and I can saw them (as administrator) in the KM repository, under the folder /bw_document/InfoProviderData ... OK.
    What I can't get through :
    I want the web template to display the last comment (not the first)  but the web template stills display the first comment. We think it's a sorting issue or a display option (The web template always display the first comment created)
    We tried to maintain portal and KM customizing without success (in the portal System Admin -> System Config -> KM -> CM -> UI -> Settings -> Collection Renderer Setting for example). We think we can get through by java script coding in the web template, but we don't know how to do it. Maybe we have not reach the right option in KM customizing ?
    have you ideas to resolve this issue ?
    Thanks in advance,
    Laurent

    We have found a work around solution, by managing IP functions in the web template... to force BW to sort the items as we want.

  • Comment Box in Web Dynpro Screen

    Hi Friends,
    We have developed a portal using webdynpro.
    Where we need to bring user comments from ECC, which are provided through java portal.
    Please suggest me in designing comment box(Feedback long text) and displaying the data.
    Which UI_element I need to use.
    Thanks in advance.
    Regards,
    Praveen G.V.S

    Praveen,
    You can use TEXT_EDIT UI element to display long text of more than 255 chars. OR
    Create text using SO10 transaction(SCRIPT text) and then READ_TEXT. u can use the UI Element FormattedTextView.
             data : ls_header type thead,
               lt_lines type standard table of tline,
               lr_fm  type ref to cl_wd_formatted_text.
      call function 'READ_TEXT'
        exporting
          client                  = sy-mandt
          id                      = 'ST'
          language                = 'E'
          name                    = (name of the standard text)
          object                  = 'TEXT'
        importing
          header                  = ls_header
        tables
          lines                   = lt_lines
        exceptions
          id                      = 1
          language                = 2
          name                    = 3
          not_found               = 4
          object                  = 5
          reference_check         = 6
          wrong_access_to_archive = 7
          others                  = 8.
      lr_fm = cl_wd_formatted_text=>create_from_sapscript( sapscript_head = ls_header
                                                           sapscript_lines = lt_lines ).
      WD_context->set_attribute( name = 'FOOTER' value = lr_fm->m_xml_text ). 
    Hope it will resolve your issue.
    Thanks
    Katrice

  • Passing parameters from an URL to a WAD Web Template 7.0

    Hi guys, I need to pass parameters from an URL to a web template created with WAD 7.0. We need to open a template with certain filters starting from a link button located on an Xcelsius Dashboard. Our customer wants a web template to be opened with the filters defined within the Xcelsius
    The idea is to run the template with the filters defined in the URL. I know this was incredibly easy with WAD 3.x, but I didn't find any suitable solutions to use with WAD 7.0.
    What is the easiest way to do this with WAD 7.0?
    Thanks in advance and regards.
    Fabio Cristi

    Hi,
    It is possible in 7.0, but unfortunately it is a lot more complicated than i 3.x. There are quite a few examples here:
    http://help.sap.com/saphelp_nw70/helpdata/en/43/ef05462480025ae10000000a1553f7/content.htm
    I used it in a case where I wanted to embed a Web template in a BPS application and pass characteristic filters from the BPS application to the web template - similar to your requirements. Basically you need the following just to restrict one characteristic :o(
    &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-SELECTIONS-SELECTION_1=SELECTION_INPUT_STRING
    &BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1-SELECTION_INPUT_STRING=PDS06
    &BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-CHARACTERISTIC=0D_PH2
    I could only get it to work with one characteristic and I suspect, that the reason is that the URL simply gets to long (very quickly). You have to repeat the above for every characterstic you want to use :o(
    Hth,
    Jacob

  • Custom parameters in URL with BexWeb (WAD/Web template)

    Hello all,
    I've been reading a lot in this forum, but I haven't been able to do what I want to do.
    I want to insert a custom parameter in the URL as we made with BW 3.5, and then read it.
    I finally think it's something about the command SET_VARIABLES_STATE, but I cannon get it work.
    In the template I have only been able to insert commands under the Web Template element (either before first display and before first rendereing, both with the same results). I've also tried several types of commands.
    The XHTML generated is as follows:
                    <bi:WEB_TEMPLATE_ACTIONS type="COMPOSITE" >
                        <bi:ACTION_BEFORE_FIRST_RENDERING type="COMPOSITE" >
                            <bi:INSTRUCTION >
                                <bi:SET_VARIABLES_STATE >
                                    <bi:VARIABLE_VALUES type="ORDEREDLIST" >
                                        <bi:VARIABLE_VALUE type="COMPOSITE" index="1" >
                                            <bi:VARIABLE value="ZSESION" text="ZSESION"></bi:VARIABLE>
                                            <bi:VARIABLE_TYPE type="CHOICE" value="VARIABLE_INPUT_STRING" >
                                                <bi:VARIABLE_INPUT_STRING value="ZSESION"></bi:VARIABLE_INPUT_STRING>
                                            </bi:VARIABLE_TYPE>
                                        </bi:VARIABLE_VALUE>
                                        <bi:VARIABLE_VALUE type="COMPOSITE" index="2" >
                                            <bi:VARIABLE value="ZSESION2" text="ZSESION2"></bi:VARIABLE>
                                            <bi:VARIABLE_TYPE type="CHOICE" value="VALUE_SET_VARIABLE" >
                                                <bi:VALUE_SET_VARIABLE value="ZSESION2"></bi:VALUE_SET_VARIABLE>
                                            </bi:VARIABLE_TYPE>
                                        </bi:VARIABLE_VALUE>
                                        <bi:VARIABLE_VALUE type="COMPOSITE" index="3" >
                                            <bi:VARIABLE value="ZSESION3" text="ZSESION3"></bi:VARIABLE>
                                            <bi:VARIABLE_TYPE type="CHOICE" value="TEXT_VARIABLE" >
                                                <bi:TEXT_VARIABLE value="ZSESION3"></bi:TEXT_VARIABLE>
                                            </bi:VARIABLE_TYPE>
                                        </bi:VARIABLE_VALUE>
                                    </bi:VARIABLE_VALUES>
                                </bi:SET_VARIABLES_STATE>
                            </bi:INSTRUCTION>
                        </bi:ACTION_BEFORE_FIRST_RENDERING>
                    </bi:WEB_TEMPLATE_ACTIONS>
    I pass it in the URL this way:
    &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=010/2010&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=ZSESION
    Also, I want to read it using the ABAP interface IF_BICS_CONS_WEBITEM_CUST_EXIT, method EXECUTE.
    I wonder if it's possible that, once the command parameter works, that the value of my parameters arrives here in the I_XML in parameter.
    I've also read about standard class CL_RSWR_SERVICES, but I don't really want to debug a std class and even less to enhace it ...
    PD: This variable ZSESION does not exist in any query, and we don't want it to exist, as it's only necessary for integration in the intranet.
    Thanks to all,
    Rafa
    Edited by: Rafael LLabrés Pérez on Sep 28, 2011 3:54 PM

    Hi,
    It is possible in 7.0, but unfortunately it is a lot more complicated than i 3.x. There are quite a few examples here:
    http://help.sap.com/saphelp_nw70/helpdata/en/43/ef05462480025ae10000000a1553f7/content.htm
    I used it in a case where I wanted to embed a Web template in a BPS application and pass characteristic filters from the BPS application to the web template - similar to your requirements. Basically you need the following just to restrict one characteristic :o(
    &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-SELECTIONS-SELECTION_1=SELECTION_INPUT_STRING
    &BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-SELECTIONS-SELECTION_1-SELECTION_INPUT_STRING=PDS06
    &BI_COMMAND_1-CHARACTERISTICS_SELECTIONS-CHARACTERISTIC_SELECTIONS_1-CHARACTERISTIC=0D_PH2
    I could only get it to work with one characteristic and I suspect, that the reason is that the URL simply gets to long (very quickly). You have to repeat the above for every characterstic you want to use :o(
    Hth,
    Jacob

  • Web template - Drop Down Box options - Issue

    <b>Requirement:</b> We need drop downboxes for Fiscal Period and Version in our web template. When the query is run, users will choose one fiscal period and one budget version (there are multiple budget versions - 1. Original Budget, 2. Revised Budget 3. Consensus)
    After the query is run, users should be able to see data for any of the past 6 periods and any of the budget versions. So in the drop down list for fiscal period, he should see previous 6 periods and in the drop down for Budgets, they should see all the budget versions.
    If the read mode is set to "Posted values", then only the values user chooses for the variables  at run time will be shown. If the read mode is set to "Dimension table" it'll show all the available periods from the transactional data, which is unacceptable. We also tried the option "Can be changed during Query Navigation" but it will not work the version drop down box as it'll show all the available versions (actual, plan, forecast along with the different budgets)...
    So, is there any other way of solving this issue? By any Javascript?
    <i>This is what I did for the Fiscal Period drop down, but then the solution is not complete.</i>
    For the Fiscal Period variable, I created a new variable and checked the option "Can be changed during Navigation". Then the drop down will be populated with all the possible values. This is how the Fiscal year/ Period combo will work. We'll have two variables. Fiscal year is fixed and we won't have a drop down box for it. So user can not change the year after the query is run. But he can see data for any of the 12 periods of the year he selected.
    But there is a catch. This is not exactly what we are looking for. For example, if the user initially selects Year 2005 and period 10, then he can see all the previous 9 period of year 2005 (also periods 11 and 12). No problem there. But If the user initially selects year 2005 and Period 1, then he expects to see previous periods. But since year is fixed, when he selects period 12 from the drop down list, it'll show him period 12 of 2005 instead of 2004.
    To avoid that problem, we can also put a drop down box for year, but that will become too complicated, as the all the possible years will show up in the drop down. Still trying to figure out a solution around it. Also same problem arises for Version. We only want to see two versions of the Budget. But it'll show them all the possible versions including forecast, actual etc.
    Any insight is highly appreciated.
    Gova

    Hi.
    I has the same problem working on BID.
    Either you need to save the template with a new name or do it under BIP.
    It worked after for me.
    That's why I only do my templates under BIP now.
    I guess a new support package corrects this error.
    Olivier

  • Is it possible to precalculate web template when we used dropdown boxes

    Hi experts
    1)Is it possibel to precalculate webtemplates when we use dropdowns in WAD?
    When I am doing precalculation it is precalculating only for 1st value in the dropdown and the remaining all values are not visible.
    If any one know how to do this in 3.5 as well as in BI7 please let me know.
    2)If I am using more that one dropdown boxes in template, how to control all of them at the same time.
    Is it possible only with "Submit" button or with out submit button also it is possible?
    Thanks and regards
    kiran.

    I am trying to do something similar but in my case I am trying to calculate something that has radio buttons in it. Were you able to find out if we can precalculate web templates with filtering.
    MM

  • Lint to BPS fro WEb Template

    Dear friends,
    I need a huge helps from you all as based on my requirement.
    Is it possible to give a link from the web template to the BPS dialoge function where the user can enter the values?
    Also from the web template chart when i click on a particular plant will it give the detailed report in the next page of the particular plant automatically?
    I need your helps please.....
    Thanks in advance
    Waiting for the replies
    Regards
    Srini

    Hi,
    for BI7 check this: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b085e86e-2353-2910-0c96-9f6ab693d0e6
    the best way to implement a corporate design for BPS Web Interfaces is to configure a cascading style sheet (CSS) and load the graphics into the MIME repository.
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/0d79ee29ee47edaec7fe6786543ff9/frameset.htm
    Thanks
    @ajy

  • Convert SEM-BPS Web Templates to PDF

    Hi everyone, one of my clients is requesting to convert all his SEM-BPS 3.5 Web Templates to PDF files dynamically.
    I've already make a research on SDN an found several post about converting ABAP objects to PDF format (like <a href="/people/sap.user72/blog/2004/11/10/bsphowto-generate-pdf-output-from-a-bsp).
    The thing is that I'm not an ABAP guy, my expertise is on JAVA.
    I've just want to know if any of you have already found a successful alternative method to convert these web templates on PDF files using any Java techniques available.
    Thanks for your help.

    Hi Wulfrano,
    we do not have this functionality. However, you can easily get a PDF for any HTML page. Check out for example CutePDF: http://www.cutepdf.com/
    Regards,
    Marc
    SAP NetWeaver RIG

  • Link to BPS from  Web Template

    Dear friends,
    Urgent requirement!!!
    I need a huge helps from you all as based on my requirement.
    Is it possible to give a link from the web template to the BPS dialouge function where the user can enter the values?
    When the user clicks the link it has to display the dialouge where the user can enter the values...
    Also from the web template chart when i click on a particular plant will it give the detailed report in the next page of the particular plant automatically
    I need your helps please.....
    Thanks in advance
    Waiting for the replies
    Regards
    Srini

    Hi,
    for BI7 check this: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b085e86e-2353-2910-0c96-9f6ab693d0e6
    the best way to implement a corporate design for BPS Web Interfaces is to configure a cascading style sheet (CSS) and load the graphics into the MIME repository.
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/0d79ee29ee47edaec7fe6786543ff9/frameset.htm
    Thanks
    @ajy

  • Hai(web template in bps)

    Hai,
                     can any one please send me the link to pdf(to load data from bps web template to bps cubes by using some abap codes)
    please
      Thanks
      prasad

    SORRY NOT WEB TEMPLATES WEB LAYOUTS.
       Thanks
       prasad

  • WAD: Design request for web template with re-occuring table object

    Hi all,
    I'm trying to create a web template design in WAD (WAS 6.20) using javascript that would loop and re-use the same table web item object displaying different sales employee data. The challenges I'm facing is that the number of employees to report on might be different for the reporting period and the report should have a sales employee specific header preceeding each table. And also the customer is looking at receiving a canned (precalculated) report generated weekly.
    I'm thinking that I could try looping through the 0salesemply characteristic values as displayed from a dropdown box object and pass the individual value as the table object's filter value and hopefully re-generate and render the same table with different filter values until the end of sales employee list of names is reached. Within that same loop, a second table pointing to a different data provider can also display selective data specific to that sales employee.
    My question is would such a design render the same table item multiple times based on the number of 0salesemply values and on a single web page. Would such a design work or would I need to look at designing a BSP application querying the ODS table directly.
    If anyone has any comments on how else I can achieve this or can provide examples of similar design it would be very much appreciated.
    Thank you all.
    Frank
    Message was edited by:
            Frank Goneau
    Message was edited by:
            Frank Goneau

    Hi all,
    I'm trying to create a web template design in WAD (WAS 6.20) using javascript that would loop and re-use the same table web item object displaying different sales employee data. The challenges I'm facing is that the number of employees to report on might be different for the reporting period and the report should have a sales employee specific header preceeding each table. And also the customer is looking at receiving a canned (precalculated) report generated weekly.
    I'm thinking that I could try looping through the 0salesemply characteristic values as displayed from a dropdown box object and pass the individual value as the table object's filter value and hopefully re-generate and render the same table with different filter values until the end of sales employee list of names is reached. Within that same loop, a second table pointing to a different data provider can also display selective data specific to that sales employee.
    My question is would such a design render the same table item multiple times based on the number of 0salesemply values and on a single web page. Would such a design work or would I need to look at designing a BSP application querying the ODS table directly.
    If anyone has any comments on how else I can achieve this or can provide examples of similar design it would be very much appreciated.
    Thank you all.
    Frank
    Message was edited by:
            Frank Goneau
    Message was edited by:
            Frank Goneau

  • SAP BW Web Report : Web Template

    Hi,
    I have created a SAP Query view and a web template.  Then i have created the web report using the below URL.
    http://port/sap/bw/Pub?sap-language=EN&cmd=ldoc&TEMPLATE_ID=TEMPLATE1
    Later i added filter condition sin the web template and created the URL which filter values for that particular Cost Center.
    http://port/sap/bw/PUB?SAP-LANGUAGE=EN&CMD=LDOC&FILTER_VALUE=7&TEMPLATE_ID=TEMPLATE1&FILTER_IOBJNM_1=COSTCENTERA&FILTER_VALUE_1=7046
    I face issues with the below points.
    1.     Now the Title of the web report has to be changed.  Where can i change this ? ( HTML code / web template ) 
    2.     The Title of the report is selected from a Region Value from the .css file.  Is there any relation between this fiel and ABAP code at the backend.
    3.     The Cost center has hierarchy values at the back end.  Even if I do not enable the hierarchy for Cost center, I get values for that parent node.  But the child nodes show extra projects if hierarchy is enabled.  Should that be enabled ?
    4.     In the view I am getting both the fileds Cost centerA and Costcenter B.  But  in the report for filter COSTCENTERA=7046, I get only COSTCENTERB and vise-versa.  What could be the reason ? What should I do to get both the fileds in the Web report.
    Appreciating your valuable suggestions on the above points.
    Please help me in resolving these issues. 
    Many thanks
    Eswari.B

    Hi Vlad,
    I revised the code as below and now Iam able to sucessfully execute the report in BPS layout, however the BPS variable value is not passing to the BI Report; any ideas... Thanks Again...
    <iframe id="BPSREPOR"
    name="BPS Report"
    src="/sap/bi/mime/bex/icons/pixel.gif"
    width="1000" height="600"></iframe>
    <script language="JavaScript" type="text/javascript">
    var frame = document.getElementById( 'BPSREPOR' );
    var url = 'http://wbvmburpr10.warnerbros.com:50100/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=';
    var filter = '&FILTER_IOBJNM=0COMP_CODE&FILTER_COLLAPS=&FILTER_VALUE_EXT=';
    // Example using fiscal year 2004 and variant K4: K4/2004 => comp = #K4/#
    var comp = '';
    var appl = 'BPSREPOR';
    var varvl = '<%descr(BPS_VARIABLE/value)%>';
    // Option: Adjust the 'SELECT' to your local language
    if (varvl != "" && varvl != "-- SELECT --"){
    // expected formatting of variable selector: Text(Key) or Key
    var convert = /((.*))/;
    convert.exec(varvl);
    // If there is value in brackets it is the key
    if ( RegExp.$1 != "") varvl = RegExp.$1;
    // create URL
    url = url + appl + filter + varvl;
    alert (url);
    // remove possible white spaces
    url = url.replace(/ /,"");
    // set source attribute of iframe to new URL
    frame.src = url;
    </script>

  • Pass variable value to different Web Templates??

    Hi BI gurus,
    The scenario is: we have 2 web templates, and at the top of template A, there is Menu Item for the users to switch to template B. Time Variable: Fiscal_Qtr (a custom exit variable which by default set the value as Current Quarter) is being used in both templates. And, there is drop down box of Fiscal_Qtr in the layouts for the users to change when they do the planning.
    The requirement is to keep the last value of the Fiscal Quarter when the users switch to different templates.
    The difficulty is how to read the fiscal quarter from the buffer and pass the value when launch another template, because it is a totally new session. The new session always set to the default value.
    Please share your thoughts if you have any experience about similar case.
    Thanks a lot!
    Eunice

    I dont think you an read from the buffer when you use javascript. The value is shown as request_1 in the url or something like that. This is with reference to WAD 3.x... you could customize the context menu and see if you can do an RRI instead...

  • How to embed multiple queries in one web template

    Hi,
    I've a requirement wherein I need to embed two queries in one web template. The first query displays order quantity from a particular customer and the second query displays other information for that customer. Most of my web templates i've contains only one query which i've created using 0ADHOC template saving this as diff template and modifying it. But this is the first time I have got this type of requirement wherein the user drills down on a particular customer for order quantity and then goes for other information from other query.
    Does anyone out there has any idea or suggestion as to how to do this ? One more thing I need to pass the values from one query to another which is akin to RRI concept while staying in the same web template.
    Your suggestions/advices are highly appreciated.
    Thanks in Advance,
    Rash.

    Hi Rash,
    You can do this by including 2 table web items in your template and assiging the 2 different queries as different dataproviders to each. You can try to create a drop down box to filter the customer and in its properties set DataProvider1 and DataProvider2 as the affected data targets.
    Hope this helps...

Maybe you are looking for

  • Can i use a charger from a pre-2011 macbook pro on my 2012 macbook pro?

    left my charger out of state, it's being shipped but in the meantime i need to charge my laptop! a friend has a charger that i think is from a 2011-2010 macbook pro.  will this work? is it bad for my computer?

  • Add soap header in SALT

    Hi everyone! I want to send a soap header(an UUID) using SALT, and honestly, I didn't found a detailed explanation or an example on how to do that. The only thing I know so far is: - Add in the ".wsdf" file: <Property name="mapsoapheader" value="true

  • Cfdiv and jQuery

    Hi All, I have a cfdiv which is bound to a page that displays the results of a query. on the same page as the cfdiv I have a form which get submited using ColdFusion.Ajax.submitForm once the process has been finished I use ColdFusion.navigate to refr

  • Sync failed with user datastore

    Hello, When using ctx_ddl.sync_index in 8.1.7 on a user datastore index, the synchronization is not done (same values in dr$<IDX>$i). If I drop and recreate the index, values in dr$<IDX>$i are correct. ctx_ddl.sync_index works ok with other indexes (

  • Home sharing and Apple TV connection

    I have been trying to connect my Apple TV with my MacBook and it keep on saying my Apple ID or password was incorrect. I have changed the password numerous time and yet I am still unable to connect. Can someone help!! Please!!!