Modifying the cell content based on input parameter from variable screen.

I am trying to modify a cell content in the BEX Web Application Report based on the input parameter from the variable screen.
I am already aware of how to change the cell content by creating a new ABAP class and inheriting CL_RSR_WWW_MODIFY_TABLE.
I do not know how to get the input parameter variable from the variable screen in my custom class ZCL_RSR_WWW_MODIFY_TABLE. I am not very familiar with ABAP and would appreciate your help.
Thanks
Sowmini

in the start method
define a work area like line of n_r_data_set->N_SX_VERSION_20A_1-TXT_SYMBOLS
loop at n_r_data_set->N_SX_VERSION_20A_1-TXT_SYMBOLS into <wa> ..
endloop .
This will have all the filter, variable values entered in the selection.
Regards
Raja

Similar Messages

  • Customizing the Cell Content of a Pivot Table

    Hi,
    I have been away from ADF for a few years (since 10g v 1.3.1) and am quite impressed with all the Faces functionality added to the 11g release. The application I wrote relied heavily on pivot tables which back then, I had to use stored procedures in the database and dynamically views to display information. I am very interested in moving this application to 11g and taking advantage of the PivotTable component. One thing the application does is change the style of cells based upon the object being presented. I have been reading:
    Oracle® Fusion Middleware
    Web User Interface Developer's Guide for Oracle Application
    Development Framework
    11g Release 1 (11.1.1)
    B31973-03
    And am very interested in section 26.8 Customizing the Cell Content of a Pivot Table.
    I easily created a pivot table and would like to change the formatting of various cells. I created a backing bean for a test page and added the Example 26–4 Sample Code to Change Style and Text Style in a Pivot Table to the bean.
    public CellFormat getDataFormat(DataCellContext cxt)
    CellFormat cellFormat = new CellFormat(null, null, null);
    QDR qdr = cxt.getQDR();
    //Obtain a reference to the product category column.
    Object productCateg = qdr.getDimMember("ProductCategory");
    //Obtain a reference to the product column.
    Object product = qdr.getDimMember("ProductId");
    if (productCateg != null && productCateg.toString().equals("Sales Total"))
    cellFormat.setTextStyle("font-weight:bold")
    cellFormat.setStyle("background-color:#C0C0C0");
    else if (product != null && product.toString().equals("Sales Total")
    cellFormat.setTextStyle("font-weight:bold");
    cellFormat.setStyle("background-color:#C0C0C0");
    return cellFormat;
    Almost verbatim except changed the literals to select data in my use case domain. My question is: How do I invoke this message from my pivot table? I need to pass it a instance of the DataCellContext. The example is great and illustrates what I am looking to do but does not go into the implementation details required. Is there a sample app available for download that demonstrates these capabilities?
    Thanks,
    Jeff
    Edited by: jcapzz on Jun 9, 2011 3:56 PM

    Hello,
    I haven't fully understood your question.
    Is it: How do I call the getDataFormat() method from my pivot table?
    If so , you need to set the dataFormat attribute of your pivot table.
    ex: <dvt:pivotTable id="pt2" var="cellData" varStatus="cellStatus"
    value="#{bindings.YourView.pivotTableModel}"
    headerFormat="#{viewScope.yourBean.getHeaderFormat}"
    *dataFormat="#{viewScope.yourBean.getDataFormat}"*
    contentDelivery="immediate" pivotEnabled="false"
    columnFetchSize="-1" rowFetchSize="-1"
    />
    I also put the *headerFormat* attribute which allows to customize the headers
    I hope I understood your question ;)
    Jack

  • In BI how to filter the selection options based on inputs on top field

    Hi Friends,
    In BI, How to filter the selection options based on inputs on top field.
    The system should automatically filter the lower level drop downs based on the selection of a higher level.
    For e.g. :
    If a user selects a Country then the States drop down should only display the State's belongs to the Country. Similarly when a State is selected, the District drop down should display only those District's belongs to the State.
    Thanks in Advance.
    Regards
    Jayaram M

    Hi Anil,
    Thanks for reply but I couldn't use Compounding Characteristic here. Need some other solution.
    Regards
    Jayaram M

  • How Do I Open The Excel Spreadshee​t And Modify The Cell Data

    How can I change the cell content in specific excel spreadsheet with ActiveX control? I am using LabVIEW7.1

     you can open the excel file using Active X . The procedur to open the excel file, will get in the examples. There is an ready made Vi. for that.
    Then select the properties Cell in active X, and you can change the cell data by doing some modification in that vi. i hope it will help you.

  • Modify the email contents when adding a colleague in SharePoint My site

    Hi I want to modify the mail that is sent to the person I add as a colleague in mysite.
    I want to modify the mail content.
    Regards
    Vinod

    Hi,
    According to your post, my understanding is that you wanted to modify the email content for adding colleagues alert.
    After some search and research, I have found that It is not
    supported way of modifying text/format of email that goes out when a colleague is added.
    The text/format is hard coded in a private method (Microsoft.Office.Server.UserProfiles.ColleagueManager class) in an assembly that ships with SharePoint.
    For the normal list, we can modify the content by edit the XML file of
    alerttemplates.xml. We can find it in the below path.
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\XML
    http://sharepoint.stackexchange.com/questions/26172/can-the-added-as-colleague-email-text-format-be-changed
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • What is the best way to handle input parameter

    When writing sub-vi's, what is the best way to handle input parameter range checking? On the front panel I can choose to have numeric values coerced to be within range, but this does not affect constants or controls wired to the vi when used as a sub-vi. I can build range checking into the vi, but this can result in a cluttered looking vi. Do you have any suggestions.

    As you discovered, the Range and Coercion properties of controls do not work when used in sub-vis.
    Your best option is to go ahead and build your range checking into your sub-vis. If it�s something you will be doing a lot, just make your range checking a sub-vi and drop it where needed. This will keep the clutter to a minimum. You may end up with more than one range checking VI if you need different functionality, but this will still make less clutter and easier re-use.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • ABAP program to take input parameter from variant, execute KSB1 and export

    Hi Friends,
    My client asking  change request in CO
    The Change request is "ABAP program to take input parameter from variant, execute KSB1 and export the output into an excel sheet and park the document in a designated location"
    Pls let me know  actually i am a FICO consultant what i can do in this change request
    Thanks,
    Santi

    Hi
    First I dont you would need to create a ABAP to generate the report in Excel.
    You can look at this option. Execute the report Go to->Change Layout, Click on the view option, On the Preferred View Select Microsoft Excel, Save the layout, provide a layout name with /XYZ.
    Now when you want to execute KSB1 with excel, just execute KSB1 with /XYZ layout, it would open in Excel, export to which ever location you want.
    Or just simply save the report as Excel using the Excel button on the tool bar.
    Regards,
    Suraj

  • In Which scenario do we use Input parameter and Variable in HANA?

    Hi Every one,
    Can any one let me know in which scenario do we use the Input parameter and Variables in HANA.??
    Do variables does the same functionality as like Input paramater.
    Is there any major differences between these??
    Thanks and regards
    Sanjay

    Hi
    Have a look on this:
    Input Parameters and Variables in SAP HANA Modeling
    Regards,
    Krishna Tangudu

  • Display the part of table tree based on input parameter

    Hi,
    I have the use case where I have to display the tree table based on the input parameter.This input parameter will display the displaying the node of tree which are under the given input node id.
    so If given node id is 10 then we should to display the node which are under 10.rest should not get displayed.
    Can you tell me how it can be achieved using ADF.
    I am using jdev 11.
    Thanks,
    Harsh

    This depends on how you apply the VC to the VO at runtime. Easiest way to accomplish this would be to create a VO in the data model of the application module which you edit in the data model to already having the vc applied to.
    In your region you can then drag the 'executeWithParameters' method onto the task flow and make it the default activity. Here you map the input parameter of hte task flow to the parameter needed for the executeWithParameter.
    For hte method you get a binding like
        <action IterBinding="EmployeesByNameIterator" id="ExecuteWithParams" RequiresUpdateModel="true" Action="executeWithParams">
          <NamedData NDName="bindLastName" NDValue="#{pageFlowScope.pname}" NDType="java.lang.String"/>
        </action>
    NDValue="#{pageFlowScope.pname}"
    is the inputParameter from the region (or task flow).
    Timo

  • Task Flow Based On Input Parameter

    I am using JDev 11.1.1.6.
    I have an app that uses a Task Flow with "ExecuteWithParams" to get the parameter from a URL and display the appropriate records on a page.
    I do this by using a Bind Variable on the VO that corresponds to the InputParameter on the ExecuteWithParams control.
    What I would like to do is flow to a different page, depending on the parameter used in the URL.
    Example:
    If param in URL is "?TEAM=1" then I would go to the TEAM page and display records for TEAM 1.
    If param in URL is "?REGION=3" then I would go to the REGION page and display records for REGION 3.
    Thanks,
    Ray

    This could probably be solved using a router activity or a custom method as the default activity in the Task Flow. Then outcome of the router/method, can easily route to the desired TF activity based on an input parameter. E.g. if parameter is "region" route to executeRegionIteratorWithParams, which in turn will "flow" to displayRegions view activity.

  • Setting font based on input parameter

    I would like to set the font of certain fields within my form based on the language. We have a table created that will store the language code and the font associated with the language. I am passing this value to the form, but I can't get my scripting correct to set the font to the value of the parameter. If I hard code the value, then the font changes as expected (this.font.typeface = "MS P Gothic"). Can someone please help me? Here is a sample of what I've tried:
    FormCalc:
    If (!$record.V_LANGU_FONT.rawValue.isNull) then
    this.font.typeface = $record.V_LANGU_FONT.rawValue
    endif
    JavaScript:
    if (!$record.V_LANGU_FONT.rawValue.isNull) {
    this.font.typeface = $record.V_LANGU_FONT.rawValue;
    Thanks!
    Julie

    Hi Sandy,
    That was a wonderful article! Unfortunately, I'm still having a problem. When I do a print Preview PDF within SFP, I see the error "Argument mismatch in property or function argument". I have added a normal text field to my design page, set the text field to invisible and bound it to my input field of V_LANGU_FONT. I originally had the field defined as CHAR200 (based on the FPFONTREPL-DESTINATION field), but then changed it to STRING based on the article. I then added the scripting to one of the elements that needs to have the font dynamically changed. I've added a screen shot showing the scripting:
    If I hardcode the font name:
    The font for the element gets changed correctly. Can you please tell me what is wrong?
    Thanks!
    Julie

  • Can I modify the data type of a dynamic parameter?

    I am using CR2008 against an Oracle 11 db and have a report with dynamic parameters.
    One of the report sources is a custom view that selects all of the possible 'pay ending dates' where one of the fields from this view is used as the source for the dynamic parameter.
    The view performs a TRUNC on the date field in an effort to eliminate the TIME component.
    The problem is that the parameter definintion defaults to DATE/TIME (vs. just DATE). I'm wondering if there is any way to modify the data type of the parameter to be DATE only.
    I've searched several forumns but have not found anything.
    One solution I can think of is to have the custom view format the date field as a VARCHAR (sans the time component) which I assume would force the dynamic parameter data type to string, and then have the report perform a todate function on the value when applying the criteria.
    Anyone else have an idea? Just seems like CR should allow the developer to specify the data type- especially b/w Date and Date/Time, rather than make an assumption.
    Thank you in advance-
    emaher

    emaher,
    Here's what you can do:
    Leave the existing date column as it is in the view...
    Just add another column to the view that casts the the date as a VarChar data type and formats the date as you would like it to be.
    So now you'll have 2 date columns in the view... 1 that's still a date and another that a character string.
    Now for your parameter, use the date version as the parameter value and the text version as the parameter description.
    Be sure to set the "Prompt with description only" is set to true.
    This way the user sees the LoV in the desired format but there's not need to wrangle it back into a date for data selection.
    HTH,
    Jason

  • How to: all the cell content to show up when printing (or saving to PDF)

    Hello, everyone!
    On my website, I export data to a "CSV" file, but all it does is come up with all the data like this:
    "AAAAA" , "BBBBB" , "CCCCCCCCCCCCCCCCCCCCCCCCCCC" , " "2010-02-01 07:39:13" , "DDDDDDD"
    What I do is select all, and save it into a .csv file, which is fine.
    However, how do I get Numbers to open this .csv file and ORGANIZE it so that when I go to print it and open in Preview, all of the info actually shows up??
    For example, the field "CCCCCCCCC" is for comments, thus can be long. When I open the file on Preview, not all of it shows up. It shows maybe a first line, and the rest is 'hidden'. So, I need numbers to automatically adjust the size of the cells according to the size of the content, so that all the info shows for when I go print it (or even save it as PDF).
    I need this file in print.
    How do I organize/fix this??
    (I'm obviously not very versed in Numbers or Excel)
    Thanks so much for your help!
    Message was edited by: diafiro
    Message was edited by: diafiro
    Message was edited by: diafiro

    Two ways I can think of:
    Select the column (click on the column letter). Up on the toolbar click the "wrap" checkbox. After doing that and while the column is still selected, increase the width of the column to your liking.
    Or select the column then go to the Table Inspector and where it says "column width", click on "fit". This probably is not what you want because it will expand the column so all text fits on one line.
    One other thing you may also want to do is go to Print View and reduce the size of the contents (i.e., your table) so it fits on one page or at least to the width of a page.

  • How do I get the line above the tasks, which allows you to edit the cell contents, without double clicking the cell?

    As title says.
    Normally in Gantt Chart View, above the tasks there's a line which displays the contents of the cell you have selected, and allows you to edit the contents without having to double click the cell.
    In my case, this line is not there, and it is slightly hindering my work.
    So, does anyone know where I should go to re-enable this line?
    Thanks a lot!

    Hi,
    Go to file, then options, then display and check the "entry bar" option.
    http://www.manageprojectsonsharepoint.com/blog/2012/04/02/microsoft-project-quick-tip-entry-bar/
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Modifying the redirect page of an input behavior

    I created a user input behavior for a user registration page.
    I also added a check new username behavior. It all works well. The
    problem isn't really a big problem because it all still works. But,
    it would be nice if I could modify the code that Dreamweaver
    generates and NOT get the red exclamation error next to the
    behavior in the behaviors panel. That way I could still click on
    the behavior and be able to edit it with the dialog box instead of
    hand coding it.
    Here is the deal. In the input behavior, I specified the
    redirect page. The code written by Dreamweaver is:
    MM_editRedirectUrl = "login_confirmation_send.asp"
    Problem is, I want to pass a form value in the query string
    to that redirected page. So, I modified that code to say:
    MM_editRedirectUrl = "login_confirmation_send.asp?email="
    & Request.Form("email")
    When I do that, I get a big red exclaimation next to the
    check new user behavior which says the input behavior has been
    deleted. Eventhough, it still works fine.
    Is there a way to modify the code without getting the
    error?

    MM_editRedirectUrl = "login_confirmation_send.asp?email="
    MM_editRedirectUrl = MM_editRedirectUrl &
    Request.Form("email")
    That might do it. Does ASP have another concatenator besides
    ampersand(&) like the plus sign(+) that you could use? Also,
    I've totally forgotten if you need semicolons(;) at the end of
    lines of ASP code.

Maybe you are looking for

  • HP LaserJet 400 colorMFP M475dw scan to email problems

    Hi all! I'd very much appreciate a solution to my agony. We recently purchased a HP LaserJet 400 colorMFP M475dw multifunction printer. Now I'm trying to set it up (browser administration -> Scan --> Outgoing E-mail Profiles) to send scanworks by ema

  • Links in Apple Discussions update email not working

    Recently the links in emails I receive about discussions I subscribed to do not work. I receive the Server not found message and it also says: Firefox can't find the server at acdiscuss-stage01.corp.apple.com. The two types of links in the emails tha

  • HT4623 apps will not install

    After upgrading to iO6 my apps will not install- they have been stuck  with installing only status showing.

  • Imac 21.5" stand- removable?

    is it possible to remove the stand from a 21.5" imac? i know there's instructions for the VESA display mount for 27" but can't find any info on the 21.5.

  • Pic included. Laptop stuck in gray screen w spinning icon

    Hi, my MacBook is from 2008 and I've only ran into this problem this one time. I shut down my laptop as usual this morning and when I came back home, I turned it on only to have it stuck at the infamous grey screen w the spiraling icon. Here's a link