Repeating textbox value by clicking button

Hi,
My question is very basic as i just started using c#. I had a multiline textbox in my windows application and a button. Now i want that when i click the button the textbox value (which is written by user) repeated 10 times in the same textbox. How can i
do it.
string rep;
rep = txtbxRepeat.text;
This is as far as i can understand what to do after that. Please help

string rep;rep = txtbxRepeat.text;for(int i = 0; i<10; i++)
rep += "\n"; // in order to add line breaks to the string/
}txtbxRepeat.txt = rep;

Similar Messages

  • Error can't Click button when add value to ComboBox

    How can I do ? who know programming C#  ? help me !
    ComboBox displayed value but I can't Click " Exit Button " (btnExit) and Click "Cal button"(btnCal)
    IF I Remove   this  code
    if ((pVal.ItemUID == "CbIncen") && (pVal.Before_Action == true))// && (pVal.EventType == SAPbouiCOM.BoEventTypes.et_GOT_FOCUS))
    or
    remove  * oComBox.ValidValues.Add(value2, value1);  *
    " then OK no error and I can  Click Exit Button and Click Cal button
    private void SBO_Application_ItemEvent(string FormUID, ref SAPbouiCOM.ItemEvent pVal, out bool BubbleEvent)
                BubbleEvent = true;
                 if((pVal.FormUID=="CalculateForm"))
                  if ((pVal.ItemUID == "btnCal") && (pVal.Before_Action == false) && (pVal.EventType == SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED))
                       // return  value when click  "btnCal" button
                      SBO_Application.MessageBox("You click button", 1, "OK", "", "");
                   if ((pVal.ItemUID == "btnExit") && (pVal.Before_Action == false) && (pVal.EventType == SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED))
                       // return  value when click  "btnCal" button
                      SBO_Application.MessageBox("You click Exit", 1, "OK", "", "");
                      oForm = SBO_Application.Forms.Item(pVal.FormUID);
                      oForm.Close();          
                    if ((pVal.ItemUID == "CbIncen") && (pVal.Before_Action == true))// && (pVal.EventType == SAPbouiCOM.BoEventTypes.et_GOT_FOCUS))
                        SBO_Application.MessageBox("click" + Convert.ToString(pVal.Before_Action), 1, "OK", "", "");
                       // BubbleEvent = true;
                        SAPbouiCOM.Form oForm1;
                        SAPbouiCOM.Item oItem1;
                        SAPbouiCOM.ComboBox oComBox;
                        SAPbobsCOM.Recordset oRecordSet;
                        oForm1 = SBO_Application.Forms.Item(pVal.FormUID);
                        ////tra lai gia tri tu combo va dua vao textbox
                        oItem1 = oForm1.Items.Item("CbIncen");
                        oComBox = ((SAPbouiCOM.ComboBox)(oItem1.Specific));
                        //cai nay co nhuoc diem la ban ko the update lien tuc
                        oRecordSet = ((SAPbobsCOM.Recordset)(oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)));
                        string sSQL = "select IncentiveID,IncentiveName from dbo.[T_Incentive]";
                        while (oComBox.ValidValues.Count > 0)
                            oComBox.ValidValues.Remove(0, SAPbouiCOM.BoSearchKey.psk_Index);
                        oForm1.Items.Item("CbIncen").Refresh();
                        //truong khi add vao comboBox ban phai remove combox
                        oRecordSet.DoQuery(sSQL);
                        string value1 ="";
                        string value2 ="";
                        if (oRecordSet.RecordCount > 0)
                            while (!(oRecordSet.EoF == true))
                                value1 = Convert.ToString(oRecordSet.Fields.Item("IncentiveID").Value);
                                value2 = Convert.ToString(oRecordSet.Fields.Item("IncentiveName").Value);
                                oComBox.ValidValues.Add(value2, value1);  // *ComboBox displayed value but I can't Click " Exit Button " (btnExit) and Click "Cal button"(btnCal)*
                                oRecordSet.MoveNext();
                        //BubbleEvent = true;
    thanks you !

    Hi fithou,
    Please post half of your text on a reply under the same post. And put your code between  tags.
    Regards,
    Vítor Vieira

  • How to get sequence value on click of button in OAF Page

    Hi all,
    I have a requirement to get a field called Bankrefernece number populated with sequence value on click of apply button ; i mean inserting new record in database for new transaction.
    Sequence Value should be something like this:
    Example
    No     Transfer Date     Bank Reference Number
    (DDMMYY_999)
    1     24-Oct-2010     241010_001
    2     24-Oct-2010     241010_002
    3     25-Oct-2010     251010_001
    means every day sequence should start with the date initials.
    Kindly give your valuable input.
    Thanks
    Sims
    Edited by: sims on Jan 4, 2011 11:22 PM

    sims wrote:
    Hi Anil,
    Its a standard page & i want it on click of apply button but my question is when i click apply button it navigates to other page..is it possible in such scenario to extend the controller.
    Thnx for ur suggestion
    SimsThat is not an issue, you can extend the controller of that page and get the value of sequence and set it to the VO attribute.
    Thanks
    --Anil
    http://oracleanil.blogspot.com

  • CRviewer do not show anything when click button to show report with VS2013

    First of all I must say, My English language skill is not good but I'll try to communicate as best as possible.
    I am using Visual Studio 2013Ultimate with Update4  on .NetFramework 4.5.1  and Crystal Reports SP13.0.13.1597
    When installed complete. ( Previously i have tried it with my project but CR & CRviewer not working)
    I have tried using CRviewer in a new asp.net page  The following code
    ***-----WebFrom1.aspx-----***
    <body>
        <form id="form1" runat="server">
        <div>
        <asp:RadioButton ID="rdoByAll" runat="server" Text="all" GroupName="rdoChoose" AutoPostBack="True" />
            FromDate :
            <asp:TextBox ID="txtDateFrom1" runat="server" AutoPostBack="True"></asp:TextBox> 
            ToDate :
            <asp:TextBox ID="txtDateTo1" runat="server" AutoPostBack="True"></asp:TextBox>
            <asp:Button ID="btnCallReport1" runat="server" Text="CallReport" />
            <br />
            <br />
            <asp:RadioButton ID="rdoByName" runat="server" Text="ByName" GroupName="rdoChoose" AutoPostBack="True" />
            FromDate :       
            <asp:TextBox ID="txtDateFrom2" runat="server" Height="16px" Width="150px" AutoPostBack="True"></asp:TextBox>
            ToDate :
            <asp:TextBox ID="txtDateTo2" runat="server" Height="16px" Width="150px" AutoPostBack="True"></asp:TextBox>
      <asp:Button ID="btnCallReport2" runat="server" Text="CallReport" />
            <asp:DropDownList ID="ddlNamelist" runat="server" AutoPostBack="True">
            </asp:DropDownList>
            <br />
            <br />
            <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="True" ToolPanelView="None" />
            <br />
        </div>
        </form>
    </body>
    ***-----WebFrom1.aspx.vb-----***
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Imports CrystalDecisions.Web
    Public Class WebForm1
        Inherits System.Web.UI.Page
        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        End Sub
    Protected Sub rdoByAll_CheckedChanged(sender As Object, e As EventArgs) Handles rdoByAll.CheckedChanged
            If rdoByAll.Checked = True Then
                txtDateFrom1.Enabled = True
                txtDateTo1.Enabled = True
                btnCallReport1.Enabled = True
                txtDateFrom2.Enabled = False
                txtDateTo2.Enabled = False
                btnCallReport2.Enabled = False
                ddlNamelist.Enabled = False
            Else
                txtDateFrom1.Enabled = False
                txtDateTo1.Enabled = False
                btnCallReport1.Enabled = False
                txtDateFrom2.Enabled = True
                txtDateTo2.Enabled = True
                btnCallReport2.Enabled = True
                ddlNamelist.Enabled = True
            End If
        End Sub
        Protected Sub rdoByName_CheckedChanged(sender As Object, e As EventArgs) Handles rdoByName.CheckedChanged
            rdoByAll_CheckedChanged(sender, e)
        End Sub
        Protected Sub btnCallReport1_Click(sender As Object, e As EventArgs) Handles btnCallReport1.Click
            Dim rpt As New ReportDocument()
            rpt.Load(Server.MapPath("CrystalReport1.rpt"))
            Me.CrystalReportViewer1.ReportSource = rpt
            Me.CrystalReportViewer1.RefreshReport()
        End Sub
    End Class
    When i press F5 to run project make Code of radiobutton not work(Disable,Enable OtherControl such as textbox)
    And when i try press CallReportButton CRviewer do not show anything.
    When I brought CRviewer leaving the page ,Code of Radiobutton were working fine.
    But can't to show "CrystalReport1.rpt" on CRviewer when i click CallReportButton. i'm not understand.
    Then i have tried to learn from follow this link : CR not working in visual studio 2013
    and Using Crystal Report in ASP.Net website, Report not showing in CrystalReportViewer
    i have to create a new CR ASP NET project and copy the whole C:\inetpub\wwwroot\aspnet_client folder
    into my app folder and then add this to your web.config file, line in bold:  <add key="vs:EnableBrowserLink" value="false"/>
    project is working but not fine  when I try to click button to call report  I get this pop-up .   " popup.JPG"   what is it?
    And project warning!  could not find schema information every element . "Could not find every Element.JPG"
    After that, copy the whole C:\inetpub\wwwroot\aspnet_client folder into my app folder Only!  not add in my web.config
    (In previous project need to use CR)  make to project were working  but i get same pop-up when i click to show report.
    **** buleline in popup.JPG picture  is "The report you requested requires further information"

    I think you're over-complicating things. I'd like you to have a look at a few sample apps, see how they work, then adjust your app. Samples are here:
    Crystal Reports for .NET SDK Samples - Business Intelligence (BusinessObjects) - SCN Wiki
    Also, have a look  at Crystal Reports for Visual Studio 2005 Walkthro... | SCN (- applies to all versions of CR and .NET).
    Finally, the Developer Help files are here:
    SAP Crystal Reports .NET SDK Developer Guide
    SAP Crystal Reports .NET API Guide
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow me on Twitter

  • Dynamic textbox through the Back button

    I have created a dynamic textbox in a JSP using Javascript.
    When I submit the form in this JSP, the data's validated & a confirmation message is displayed.
    On this confirmation message, when the Back button is clicked, I get the original form with the data entered for all the fields except for the dynamic textbox, because there is no dynamic textbox!
    The textbox is to be displayed only when a condn is fulfilled. This is coded in a Javascript fn that gets called only when a particular value in the listbox of the form is selected.
    How do I display the textbox when the Back button's clicked?

    Thx for trying to help.
    Here's the source code:
    <script language="JavaScript">
    <!--
    function textBox(areaName, submitted)
    var spanTxtID = document.getElementById('insertTxtSpan');
    var areaNameText=document.createElement('input');
    areaNameText.setAttribute('type', 'text');
    areaNameText.setAttribute('name', 'areaNameText');
    areaNameText.setAttribute('maxLength', 20);
    areaNameText.setAttribute('size', '20');
    //areaNameText.setAttribute('value', 'Khar');
    //alert(areaName.value)
    if(areaName.value=="Other")
    submitted=false;
    while(spanTxtID.hasChildNodes()) spanTxtID.removeChild(spanTxtID.lastChild);
    spanTxtID.appendChild(areaNameText);
    else { submitted=false; while(spanTxtID.hasChildNodes()) spanTxtID.removeChild(spanTxtID.lastChild); }
    -->
    </script>

  • How to create a single line textbox with up-down button?

    Hello,
    I mean for example is a text box for percentage. You can type in the value, or click the up or down button to get the value you desire. I tried attaching a small-sized vertical JScrollBar to a JTextField, but it is getting complicated that I need 2 different listeners(AdjustmentListener & FocusListener) for this.
    If you have done this before, or maybe you have some suggestions, I would appreciate the help. These are some conditions that the percent text box needs:
    - a click on up/down button increase/decrease the value by 1.
    - the user types in a value more than 100 or less than 0 and press one of the button(up/down), setText to 100 or 0.
    - the user types in a value in range, increase/decrease that value when up/down button is clicked.
    Thank you for your time.

    That's called a "spinner". I understand that it's a standard component in SDK 1.4, but I haven't looked at that myself, it's still in its beta stages. If you go to this page:
    http://www.toedter.com/en/jcalendar.html
    you will see an example (JSpinField), and you can download it for your own use.

  • How to get the 'text' property value of a button in coding?

    Hi Experts,
    I'm using 10 buttons all are having common action('click'). when i click a button the 'text' value of the button should pass to a function.So the action is same but the passed value will be the 'text' value of the corresponding button.  I don't know how to get the 'text' property of a button in coding. Kindly help me to solve this problem.
    Thanks and Regards
    Basheer

    Hi,
    My event is like this.
    public void onActionclick(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
         String s =  ?  ; // should get the 'text' property of clicked button
         fillInput(s);     // function to be called
    The called function is,
    public void fillInput( java.lang.String id )
        String str=wdContext.currentContextElement().getNum();
        str = str + id;
        wdContext.currentContextElement().setNum(str);
    How can i get the 'text' property value of the corresponding button. Click action should be common to all buttons.
    Thanks and Regards,
    Basheer

  • The timer clash wif the actionperformed of the clicked button, hw to solve

    // This program demo on the followings:
    // 1. To create a JFrame
    // 2. To create JLabel and JButton.
    // 3. The use of TTimer to automatically update the position of a JLabel
    // every 2 seconds
    // To learn more about Swing, go to this website:
    // http://java.sun.com/docs/books/tutorial/uiswing/index.html
    // There's a lot of demo program in this tutorial:
    // Down the JFC/Swing Trail tutorial from:
    // http://java.sun.com/docs/books/tutorial/information/download.html
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.awt.event.ActionEvent;
    public class TimerDemo3 extends JPanel implements ActionListener
         private static final int origX = 1700; //starting position of the shark
    private int posX; //position of the small picture,
    private int posX3;
    private int posX4;
    private int posX5;
    private int posY; //to be updated every second
         private int posY2;
         private int posY3;
         private int posY4;
         private int posY5;
    JLabel label1; //will be loaded with the hunter picture
    JLabel label2; //will be loaded with the sharks picture
    JLabel label3;
    JLabel label4;
    JLabel label5;
    JButton buttonQuit;
    JLabel label10;
         JLabel label11;
         JTextField name;
         JLabel ans;
         JButton enterButton;
         JLabel label;
    ImageIcon icon1;
    ImageIcon icon2;
    ImageIcon icon3;
    ImageIcon icon4;
    ImageIcon icon5;
    ImageIcon sharkImage;
    Timer timer;
    int delay = 100; // 1000 milliseconds = 1 seconds.
    Timer timer2;
    int delay2 = 300; // 3000 milliseconds = 3 seconds.
    int noKilled = 0;
    int i = 1;
    public TimerDemo3() {
              // Create the 3 icons
    icon1 = new ImageIcon("pic/hunter.jpg");
              icon2 = new ImageIcon("pic/shark2.jpg");
              icon3 = new ImageIcon("pic/shark3.jpg");
              icon4 = new ImageIcon("pic/shark4.jpg");
              icon5 = new ImageIcon("pic/shark2.jpg");
    setLayout(null);
    setBackground(Color.blue);
    //Create and add the 2nd, 3rd .... label.
    label2 = new JLabel(icon2);
              label2.setBounds(origX, 100, 250, 90);
              posX = origX;
              posY = 100;
              add(label2, null);
    label3 = new JLabel(icon3);
              label3.setBounds(origX, 100, 250, 90);
              posX = origX;
              posY = 100;
              add(label3, null);
              label4 = new JLabel(icon4);
              label4.setBounds(origX, 100, 250, 90);
              posX = origX;
              posY = 100;
              add(label4, null);
              label5 = new JLabel(icon5);
              label5.setBounds(origX, 100, 250, 90);
              posX = origX;
              posY = 100;
              add(label5, null);
    //Create and add the first label.
    label1 = new JLabel(icon1);
              label1.setBounds(20,-390, 80, 390);
              posY2 = -390;
              add(label1, null);
              // create and place 1 buttons on the frame's content pane
              enterButton = new JButton ("ENTER");
    enterButton.setBounds (250,675, 80, 30);
    add (enterButton);
              // register this frame as an action listener of the 1 buttons
              enterButton.addActionListener (this);
              // Add label, text field and action listener
              ans = new JLabel ();
              ans.setText ("Please type the word");
              ans.setBounds (85,650,150,25);
              add (ans);
              name = new JTextField();
              name.setBounds (90,680,130,25);
              add (name);
              label10 = new JLabel("Score");
              label10.setBounds(700,650, 100, 30);
              add(label10, null);
              label11 = new JLabel("Mega Harpoon:");
              label11.setBounds(750,650, 100, 30);
              add(label11, null);
    //Create and add the OK button.
              buttonQuit = new JButton("Quit");
              buttonQuit.setBounds(900, 675, 60, 30);
              buttonQuit.setActionCommand("Quit");
    buttonQuit.addActionListener(this);
    //Add button on the panel
              add(buttonQuit, null);
              //Set up a timer that calls this object's action handler.
              //For more info: http://java.sun.com/docs/books/tutorial/uiswing/misc/timer.html
    timer = new Timer(delay, this);
    timer.start();
              //Set up a timer that calls this object's action handler.
              //For more info: http://java.sun.com/docs/books/tutorial/uiswing/misc/timer.html
    timer2 = new Timer (delay2, this);
    timer2.start();
    public void actionPerformed(ActionEvent e)
              // If this action is not activated by the button, but by the timer.
              // It will update the position of the picture
              posX -= 5;//for every 0.1 sec, the shark wil move 5 pixel.
              if (posX < 100)//the boundary that the shark meets
              posX = origX;// the shark return to origX position.
              posY = 100;
              label2.setBounds(posX, posY, 250, 90);
              posX3 -= 5;
              if (posX3 < 100)
              posX3 = 2300;
              posY3 = 500;
              label3.setBounds(posX3, posY3, 250, 90);
              posX4 -= 5;
              if (posX4 < 100)
              posX4 = 2500;
              posY4 = 300;
              label4.setBounds(posX4, posY4, 250, 90);
              posX5 -= 7;//every 0.1s, shark wil move 7 pixel forward
              if (posX5 < 100)// if the shark reach the boundary of 100, it will return
              posX5 = 2100;// return to the position
              posY5 = 400;
              label5.setBounds(posX5, posY5, 250, 90);
              // If this action is not activated by the button, but by the timer.
              // It will update the position of the picture
              if (posY2 < 0)
                   posY2 += 3;//for every 0.1 sec, the hunter wil move 3 pixel.
                   label1.setBounds(20, posY2, 80, 390);
              noKilled ++;
              if (noKilled > 10){
              timer2.setDelay(200);
              else if (noKilled > 20){
              timer2.setDelay(100);
              /*if (e.getSource== buttonQuit){
                   Toolkit.getDefaultToolkit().beep();
                   JButton clickedbutton = (JButton)e.getSource();
                        if (clickedbutton == enterButton)
                                  String nameString = name.getText(); // get textbox value
                                  String ansString = ans.getText(); // get label value
                                  if ((nameString.equals(ansString)) == true)
                                            sharkImage = new ImageIcon("pic/shark2.jpg");
                                            i = i++;
                                            String k = "" + i;
                                            label11.setText(k);
                                  else
                                            label3.setLocation(getX() + 5 , getY());
                                            label.setText("error, please try again ");
    //     EnterButton.addActionListener(new ActionListener(
    //          public void actionPerformed(ActionEvent f)
    //      EnterButton_actionPerformed(f);
         public void EnterButton_actionPerformed(ActionEvent f)
         String name = inputLine.getText(); // get textbox value
         String ans = labelinput.getText(); // get label value
         if (name.equalsTo(ans)) = true
              sharkImage= "deadshark";
              i = i +1;
              harpoon.setText(i);
         } else{
              shark.setLocation(getX() + 5 , getY());
              label.setText("error, please try again ");
         public static void main(String[] args)
                   //Create and set up the window.
              JFrame frame = new JFrame("MAD HUNTER");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.setContentPane(new TimerDemo3());
                   frame.setSize(1024, 768);
                   frame.setLocation(0, 0);
              //Display the window.
              frame.setVisible(true);      

    I'm not a big fan of subclassing components so that you can implement interfaces.
    Here are two reasons why it's a bad idea:
    1. Generally, the types of an object are its surface area, its contract with the world, to mix
    metaphors. If your panel subclass implements ActionListener that means that I'm allowed
    to add it as a listener of some of my buttons, too? I don't think that's your design. That fact that
    you need to implement ActionListeners is purely an implementation detail.
    2. If an object is an ActionListener for different, unrelated reasons, you're forced to do a
    case analysis in the actionPerformed method. I thought Lincoln freed all the slaves and that
    OOP freed us from that kind of case analysis.
    What should you do instead? Write separate classes that implement ActionListener. If
    those classes are reusable or only loosely coupled to the panel, make them top level classes.
    If they are inseparable from your panel, they can be inner classes.

  • To find the "column value"  when clicked on Dynamic datatable

    I ahve done a dynamic table where the first row alone i ahve declared as command link.So when I click on the commadn link I need to get either column name or column count or rowdata.If I Get then I have some logic based on it to do.
    I have placed my dynamic datatable code below.
    public class Datatable2 extends PageCodeBase
    UIData dataTable =new UIData();
    public Datatable2()
    UIColumn col;
    UIOutput out = null;
    ArrayList al=new ArrayList();
    al.add("Item");
    al.add("Creation date");
    al.add("Priority");
    Application app = FacesContext.getCurrentInstance().getApplication();
    int colCount = 3;
    for(int j = 0; j < colCount; ++j) {
    out = new UIOutput();
    col = new UIColumn();
    if(dataTable.getRowIndex()==-1)
    MethodBinding mb = app.createMethodBinding("#{pc_DataTable.item}", null);
    HtmlCommandLink link = (HtmlCommandLink)app.createComponent(HtmlCommandLink.COMPONENT_TYPE);                     link.setActionListener(mb);
    link.setAction(mb);
    link.setId("Command"+j);
    ValueBinding vb1 = app.createValueBinding("#{commands" + j + "}");
    link.setValueBinding("value",vb1);
    link.setRendererType("javax.faces.Link");
    HtmlOutputText O = new HtmlOutputText();
    O.setValue(al.get(j).toString());
    link.getChildren().add(O);
    col.setHeader(link);   
    ValueBinding vb = app.createValueBinding("#{rows["+j+"]}");
    out.setValueBinding("value", vb);
    out.setRendererType("javax.faces.Text");
    col.getChildren().add(out);
    dataTable.getChildren().add(col);
    public UIData getDataTable()
         return dataTable;
    public void setDataTable(UIData dataTable)
    this.dataTable=dataTable;
    public Object[] getTableRows()
    Object[] test = new Object[]{new String[]{"1","2","3"},
    new String[]{"4","5","6"},
    new String[]{"7","8","9"},
    new String[]{"10","11","12"},
    new String[]{"13","14","15"}};
    return test;
    this is my jsp code
    <f:view>
    <P>Place content here.</P>
    <h:form>
    <h:dataTable binding="#{pc_Datatable2.dataTable}" value="#{pc_Datatable2.tableRows}" var= "rows" />
    </h:form>
    </f:view>
    Could please tell how can i figure out my coulmn value when clicked on the command link

    hello,
    u can use two types methods  u can create a dynamic action or by branching using conditional or java script code
    for java script code just call the code when button clicked and in javascript function by using if condition u can redirect.
    Regards,
    Ramana

  • Show Repeated key values in Reports and Export Into Excel

    Hi Experts,
    Currently I am working on the BW3.5 version. Our client requirement to display the repeated key value in web and export same into excel. I have followed the steps in web template which mentioned below to achieve the requirement.
    1) In my web template, add the following line to the Template Properties object tag (the tag at the very top of the web template in HTML mode):<param name="SUPPRESS_REPETITION_TEXTS" value=""/>
    After the change web template change, Myself execute the report in web, Its fine web. But I export into excel, again the key values are suppressed. So I have followed the steps in query. Then its fine. I mean, I can export into excel with repeated key values.
    2) In my query, in Properties and on the Display tab, unchecked "Hide Repeated Key Values".
    But do we have any other option without changing query properties to achieve the requirement.. I am fine with the web template change("SUPPRESS_REPETITION_TEXTS"). But I do not want to change the query properties.
    Please help me to fix the issue. Thanks in advance.
    Thanks,
    RR

    Hi Experts,
    I have come across one of the suggestion in the below location. Could you plz help me to implement it.
    http://www.sapfans.com/forums/viewtopic.php?f=16&t=118185
    Suggestion:
    You can do exactly what you want, but it will take either a button changing the properties of the web item or a javascript function added to the context menu getting the properties of the table item and changing it to "X" or "". These are just two examples, there are other ways to do this. This is the actual code that sets the suppression for the repeated texts. Hope this helps.
    SAP_BW_URL item=âu20ACu2122TABLE_1âu20ACu2122 SUPPRESS_REPETITION_TEXTS=âu20ACu2122Xâu20ACu2122
    Thanks,
    RR

  • How to deselect query property 'suppress repeated key values'

    hj gurus,
    In BEx analyser there is a query property 'suppress repeated key values' which can be de-selected.
    regards,
    Preety

    Hello preety.
    Is simple.
    In BEx query designer push the button designated by "query properties" (the 13 button from left to right).
    Go to the tab "Display" and mark the second option "Hide Repeated Key Values"
    And there you go.
    Please assign points.
    Diogo.

  • Suppress Repeated Key Values in EP

    Hi Experts,
    In BEx, i am able to "Suppress Repeated Key Values" via Query Properties > Display Options.
    However, when i execute the same report in EP, and in the context menu (right click) of the query, choose Enhanced Menu > Query Property, there is no option for "Suppress Repeated Key Values". Why is this so? Is there a way for such?
    My client is requiring it, but their access is limited to EP.
    Kindly, provide assistance.
    Thank you very much.
    julius

    Hi Julius
    In the WAD, if you use the properties pane web item and set data binding to the analysis web item, when you run the report on the portal you should see the settings of the analysis (table), under Data Specific setting you can toggle the "Display Repeated Texts" option, this functionality is also available in the setting link in the 0ANALYSIS_PATTERN default web template.
    Hope this helps
    Josh

  • Need to fetch function code value of push button into BUS

    He expert,
                       I have created one custom screen in standard transaction IQ02.where I am populating some values into screen and one push button is there.I want to trigger the workflow only when user press this push button.I am using BUS DEVICE for that.
    Is it possible to fetch function code value of push button into the BUS object by creating custom attributes.So i can put the function code value as a condition before triggering workflow.or is there any other way to  to implement the above functionality.
    Please suggest.

    Hi,
    I'd say you need to delegate the std DEVICE object to your own ZDEVICE, where you define a custom event. Then generate the DEVICE.CUSTOMEVENT event when the user clicks on your pushbutton (eg. with SAP_WAPI... function module).
    In your workflow remove the standard triggering event and use your custom event instead.
    Cheers,
    Patrick

  • How to set value for radio button in sap crm survey suite

    Hi ,
    I created a survey in CRM Service, in which I added a question with answer as '10 Selection Button Group ('radio button'). And answer has 11 answer options (which means 11 radio buttions). Now when we test the survey, the value for the radio buttons is appearing like 'id_0050569b03091ee480a29d8ee61e953c'. But i want to set a specific value for each radion button (from 1 to 11). So, how to set value for radio button in sap crm survey suite???.
    Thanks & Regards,
    Seshu

    Hi,
    I found solution myself. Click on Goto -> Editing Mode -> Expert Mode. Now you can set value for radio button.
    Regards,
    Seshu

  • Error -Suppress repeated key values

    Hi All,
      After executing query in bex , I am doing filter on Fiscal year .I want to show repeated key values.
    When I go to query properties-display options -Supress Repeated key values is checked.
    I unchecked it and pressed Ok button , It says program error in class SAPMSSY1 method.system error in program CL_RSR_REQUEST and form CHANM_SETTINGS_SET.
    Please suggest .
    Thanks in advance.
    Regards
    Nilesh

    Hi,
    Did you manage to get anywhere with this we have the same issue when trying to suppress zeros on a workbook, interestingly (or not ) The error doesn't occur if I run the query the workbook is based on?
    Thanks in Advance for any help
    Peter

Maybe you are looking for

  • How can i transfer my songs from my ipod to my mac itunes?

    i have music on an ipod from a windows pc that is no longer available. How can i get these songs from the ipod to my new macbook air?

  • IDOC 62 Error

    Hi , I am using LSMW using BAPI for BAPI_ACC_DOCUMENT_POST and in the last step I am getting a IDOC status 62 = IDOC passed to application where in i have to get 53. I have checked each and every field but still the staus is 62. Could anybody tell wh

  • Another Project File is Missing error

    To make a long story short... after importing video clips into iMovie and then pulling the .dv files out of the project file and reimporting the files into another movie, now when I try to open the movie, I get the error "A Project File is Missing" a

  • Hi, my iphone5 fehlt Down. Screen Defekt. What to do to repair (cheap)?

    Hi, my iphone5 fehlt down. Screen defect. What to do to repair (cheap)? Ort Wehre in Germany? Danke für Hilfe!

  • H264 sequence preset

    Hi... I had this H264 / 640x480 / 29 fps clips recorded from the Photo Booth app (Mac inside camera)... any way... I tried to load them to a common Final Cut 7.0.3 sequence (previously adjusted settings to match the clips) or wait till the pup up set