Dynamically the buttons should display as per input no's.

Hi friends,
I have BSP with 1 page .
Input is Enter No
If i enter 3 as input my layout should display 3 buttons with name BUTTON1 BUTTON2  BUTTON3
If i enter 1 as input my layout should display 1 buttons with name BUTTON1
Means dynamically the buttons should display as per input no's.
Suggestion pls.
I am displaying my button like below
<input type=submit name="onInputProcessing(B1)" value=" BUTTON1">
Suggestion pls.
Moosa

Hi,
I have given the entire code here as mentioned the procedure by abinav
Layout
<%@page language="abap" %>
<%@extension name="htmlb" prefix="htmlb" %>
<htmlb:content>
  <htmlb:page>
    <htmlb:form>
      <htmlb:inputField id            = "t1"
                        value         = "<%= value1  %>"
                        submitOnEnter = "X" />
      <%
        if value1 is not initial.
        data: text type string,
              no type n value '1'.
         do value1 times.
         concatenate 'BUTTON' no into text.
      %>
      <htmlb:button id     = "<%= sy-tabix   %>"
                    text   = "<%= text  %>"
                    design = "small" />
      <%
        no = no + 1.
        enddo.
        endif.
      %>
    </htmlb:form>
  </htmlb:page>
</htmlb:content>
OninputProcessing
DATA: event TYPE REF TO cl_htmlb_event,
      input TYPE REF TO cl_htmlb_inputfield.
event = cl_htmlb_manager=>get_event( runtime->server->request ).
input ?= cl_htmlb_manager=>get_data( request = runtime->server->request
                                         id = 't1'
                                         name = 'inputfield' ).
IF input IS NOT INITIAL.
  value1 = input->value.
ENDIF.
and define page attribute value1 type n.
I hope it helps you...

Similar Messages

  • Problm with 'notepad' code..image of the buttons not displayed..help.. ;-(

    I have a source code for developing a notepad but the problem is that when i run it the buttons which i've used as shortcuts don't have there photos displayed on them... they just come across as a rectangular button rather than a cut or a copy photo...i've even saved those images in the c drive only where other files like .class file are stored still its not working...plz help...
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.*;
    public class Notepro extends JFrame implements ActionListener
         JMenuBar mbar;
         JMenu file,edit,format,font,font1,font2;
         JMenuItem item1,item2,item3,item4;
         JMenuItem item5,item6,item7,item8,item9,item10;
         JMenuItem fname1,fname2,fname3,fname4;
         JMenuItem fstyle1,fstyle2,fstyle3,fstyle4;
         JMenuItem fsize1,fsize2,fsize3,fsize4;
         JButton button,button1,button2,button3,button4,button5;
         JPanel mainpanel;
         JTextArea text;
         JScrollPane jsp;
         String command=" ";
         String str=" ";
         String str1=" ",str2=" ",str3=" ";
         String str4=" ";
         String str6=" ";
         String str7=" ",str8=" ",str9=" ";
         int len1;
         int i=0;
         int pos1;
         int len;
         public Notepro(String str)
         super(str);
         mainpanel=new JPanel();
         mainpanel=(JPanel)getContentPane();
         mainpanel.setLayout(new FlowLayout());
        MyWindowAdapter adapter=new MyWindowAdapter(this);     
        addWindowListener(adapter);
         mbar=new JMenuBar();
         setJMenuBar(mbar);
         file=new JMenu("File");
         edit=new JMenu("Edit");
         format=new JMenu("Format");
         file.add(item1=new JMenuItem("New..."));
         file.add(item2=new JMenuItem("Open"));
         file.add(item3=new JMenuItem("Save As..."));
         file.add(item4=new JMenuItem("Exit"));
         mbar.add(file);
         edit.add(item5=new JMenuItem("Cut"));
         edit.add(item6=new JMenuItem("Copy"));
         edit.add(item7=new JMenuItem("Paste"));
         edit.add(item8=new JMenuItem("Delete"));
         edit.add(item9=new JMenuItem("Select All"));
         mbar.add(edit);
    format.add(item10=new JMenuItem("Font"));
         mbar.add(format);
            button = new JButton(new ImageIcon("new.gif"));
              mainpanel.add(button);
              button1 = new JButton(new ImageIcon("open.gif"));
              mainpanel.add(button1);
              button2 = new JButton(new ImageIcon("save.gif"));
              mainpanel.add(button2);
              button3 = new JButton(new ImageIcon("copy.gif"));
              mainpanel.add(button3);
              button4 = new JButton(new ImageIcon("cut.gif"));
              mainpanel.add(button4);
              button5 = new JButton(new ImageIcon("paste.gif"));
              mainpanel.add(button5);
         item1.addActionListener(this);
         item2.addActionListener(this);
         item3.addActionListener(this);
         item4.addActionListener(this);
         item5.addActionListener(this);
         item6.addActionListener(this);
         item7.addActionListener(this);
         item8.addActionListener(this);
         item9.addActionListener(this);
         item10.addActionListener(this);
         button.addActionListener(this);
         button1.addActionListener(this);
         button2.addActionListener(this);
         button3.addActionListener(this);
         button4.addActionListener(this);
         button5.addActionListener(this);
         text=new JTextArea(60,80);
         mainpanel.add(text);
    jsp=new JScrollPane(text);
            mainpanel.add(jsp);
           public void actionPerformed(ActionEvent ae)
              if(ae.getSource()==button4)
              str=text.getSelectedText();
              i=text.getText().indexOf(str);
              text.replaceRange(" ",i,i+str.length());
              if(ae.getSource()==button)
              dispose();
              Notepro note1 = new Notepro("Untitled-Notepad");
              note1.setSize(500,500);
              note1.setVisible(true);
              command=(String)ae.getActionCommand();
              if(command.equals("New..."))
              dispose();
              Notepro note1 = new Notepro("Untitled-Notepad");
              note1.setSize(500,500);
              note1.setVisible(true);
              try
              if((command.equals("Open"))||(ae.getSource()==button1))
              str4=" ";
              FileDialog dialog=new FileDialog(this,"Open");
              dialog.setVisible(true);
              str1=dialog.getDirectory();
              str2=dialog.getFile();
              setTitle(str2);
              str3=str1+str2;
              File f=new File(str3);
              FileInputStream fobj=new FileInputStream(f);
              len=(int)f.length();
              for(int j=0;j<len;j++)
                   char str5=(char)fobj.read();
                   str4=str4 + str5;
                text.setText(str4);
              this.text.setText(str4);
              catch(IOException e)
              try
              if((command.equals("Save As..."))||(ae.getSource()==button2))
              FileDialog dialog1=new FileDialog(this,"Save As",FileDialog.SAVE);
              dialog1.setVisible(true);
              str7=dialog1.getDirectory();
              str8=dialog1.getFile();
              str9=str7+str8;
              str6=text.getText();
              len1=str6.length();
              byte buf[]=str6.getBytes();
              File f1=new File(str9);
              FileOutputStream fobj1=new FileOutputStream(f1);
              for(int k=0;k<len1;k++)
              fobj1.write(buf[k]);
              fobj1.close();
              this.setTitle(str8);
              catch(IOException e){}
              if(command.equals("Exit"))
              System.exit(0);
              if((command.equals("Cut"))||(ae.getSource()==button4))
              str=text.getSelectedText();
              i=text.getText().indexOf(str);
              text.replaceRange(" ",i,i+str.length());
              if((command.equals("Copy"))||(ae.getSource()==button3))
              str=text.getSelectedText();
              if((command.equals("Paste"))||(ae.getSource()==button5))
              pos1=text.getCaretPosition();
              text.insert(str,pos1);
              if(command.equals("Delete"))
              String msg=text.getSelectedText();
              i=text.getText().indexOf(msg);
              text.replaceRange(" ",i,i+msg.length());
              if(command.equals("Font"))
              MyFont  m=new MyFont(this);
         public static void main(String args[])
         Notepro note = new Notepro("Untitled-Notepad");
         note.setSize(500,500);
         note.setVisible(true);
    class MyWindowAdapter extends WindowAdapter
    Notepro mynote;
    MyWindowAdapter(Notepro mynote)
      this.mynote=mynote;
    public void windowClosing(WindowEvent we)
      System.exit(0);
    class MyFont extends Dialog implements ActionListener,ItemListener
    GraphicsEnvironment ge;
    java.awt.List l1,l2,l3;
    Button b1,b2;
    Font f1[];
    String f[];
    int i,j;
    Notepro p;
    TextField tf1,tf2,tf3;
    Label ll1,ll2,ll3;
    String fn;
    int fs,fsize;
    public MyFont(Notepro myno)
         super(myno,"Font",true);
      setLayout(null);
    p=myno;
      ge=GraphicsEnvironment.getLocalGraphicsEnvironment();
      l1=new java.awt.List();
      l2=new java.awt.List();
      l3=new java.awt.List();
      b1=new Button("OK");
      b2=new Button("CANCEL");
    tf1=new TextField(10);
    tf2=new TextField(10);
    tf3=new TextField(10);
    ll1=new Label("Font");
    ll2=new Label("Font Style");
    ll3=new Label("Size");
         ll1.setBounds(20,60,100,20);
         add(ll1);
         tf1.setBounds(20,80,100,20);
         add(tf1);
            l1.setBounds(20,100,100,150);
            add(l1);
         ll2.setBounds(140,60,100,20);
         add(ll2);
         tf2.setBounds(140,80,100,20);
         add(tf2);
       l2.setBounds(140,100,100,150);
      add(l2);
         ll3.setBounds(260,60,100,20);
         add(ll3);
         tf3.setBounds(260,80,100,20);
         add(tf3);
           l3.setBounds(260,100,100,150);     
      add(l3);
         b1.setBounds(380,70,80,20);
      add(b1);
         b2.setBounds(380,95,80,20);
      add(b2);
      f=ge.getAvailableFontFamilyNames();
      for(i=0;i<f.length;i++)
       l1.add(f);
    l2.add("Regular");
    l2.add("Bold");
    l2.add("Italic");
    l2.add("BoldItalic");
    for(i=8;i<=72;i+=2)
         l3.add(String.valueOf(i));
    b2.addActionListener(this);
    b1.addActionListener(this);
    l1.addItemListener(this);
    l2.addItemListener(this);
    l3.addItemListener(this);
    setSize(480,280);
    setResizable(false);     
    setVisible(true);
    public void actionPerformed(ActionEvent fe)
    if(fe.getSource()==b2)
    dispose();
    if(fe.getSource()==b1)
         p.text.setFont(new Font(fn,fs,fsize));
         dispose();
    public void itemStateChanged(ItemEvent ie)
         if(ie.getSource()==l1)
    tf1.setText(l1.getSelectedItem());
         fn=tf1.getText();
         if(ie.getSource()==l2)
    tf2.setText(l2.getSelectedItem());
         if(tf2.getText().equals("Bold"))
              fs=Font.BOLD;
         else
    if(tf2.getText().equals("Italic"))
              fs=Font.ITALIC;
         else
              if(tf2.getText().equals("BoldItalic"))
              fs=Font.BOLD+Font.ITALIC;
         else
              fs=Font.PLAIN;     
         if(tf2.getText()=="")
         tf2.setText("Regular");
         fs=Font.PLAIN;
         if(ie.getSource()==l3)
         tf3.setText(l3.getSelectedItem());
         fsize=Integer.parseInt(tf3.getText());
    if(tf3.getText()=="")
                   fsize=8;

    swatschiks wrote:
    i checked it again but the files were in c drive only...nwaz is my link "open.gif" ok? maybe the problem lies in the links? Can u suggest me smthng? M a newbee..so plz if u can b more specific...i wud b gr8ful...need d help urgentlyOne word of unasked for advice: Please avoid unnecessary abbreviations in your posts here. I recommend this for several reasons:
    1) Programming is an exercise in precision. When you communicate here (or anywhere) about programming issues and questions, you want this communication to be as clear as possible to avoid any chance for ambiguity. I'd say at least half the answers here are requests for clarification. Let's avoid that.
    2) For many here, English is not their first (or second or third) language. It's hard enough for them to understand what people are posting here much less if it's couched in obscure and non-standard abbreviations.
    3) Extra letters don't cost anything here, so you might as well use them.
    4) It makes the poster seem a bit immature and thus for some not worthy of help.
    That being said, what are the full paths of: your image files, your class files, and what package is your program in?
    In that same package, what happens if you compile and run this program?
    import java.io.File;
    public class WhereAreMyFiles
      public static void main(String[] args)
        File myFile = new File("Fubar.txt");
        System.out.println(myFile.getAbsolutePath());
    }Notice the output very closely because that's where Java is looking to find your image files.

  • Action buttons to display orders per specific period - Agentry

    Hi;
    I am working on SAP Work Manager 6.0 customizing using Agentry 6.1.3. I have these two toolbar buttons that I have created, that is, "Previous Week" and "Next Week". I would like to say, when the use clicks on "Previous week", only Orders for the previous week should be displayed and when they click on "Next Week", only orders of next week should be displayed. By default the current week should be displayed on the device. Would I have to do 3 different fetches to implement this, that is, by default, fetch the current week orders, when the user clicks the "Previous Week" button, do another fetch for that previous week and when they click "Next Week", do the fetch of the orders for next week?!
    Please kindly advise as to how best I could implement this?!
    Much appreciated!!;
    Sizo Ndlovu

    Hi Stephen, Jason;
    Thanks for all the help! Currently the date field that I have coming from the back-end is only a DATE field with no time, would it work to compare this date to the Agentry Epoch time or would I need to bring in a timestamp? Please kindly see my Include rule below:
    Note that the WeekEnd and WeekStart properties are of "DATE and TIME" property and the DATE property is of property type "DATE".
    I have created 3 transactions, 1 that stamps the date and time to both WeekStart and WeekEnd, another one that adds 604800 to each property, that is, WeekStart and WeekEnd and finally another one that subtracts 604800 from both properties as well. The Initial Value rule I uses is as follows:
    The first transaction that stamps the weekstart and weekend properties, with the javascript:
    Is my Javascript rule in order?
    The 2nd transaction for Adding one week :
    I made use of an edit transaction, is this appropriate or I would need an add transaction?
    The 3rd transaction that subtracts one week:
    And then finally, on the actions sitting on the "Previous Week" and "Next Week" buttons, I put the 1st action step as the transaction for determining the current weekstart and weekend, followed by an applystep and then the 4th step is the transaction that subtracts/adds, followed by an apply.
    Currently, when I click on these buttons, the tile list is cleared, I'm thinking it possibly could be my javascript rule or the comparison between the DATE and epoch time.
    Please advise?!
    Much appreciated!
    Sizo Ndlovu

  • Can the iMac 24 display support 2 inputs i.e. can I conncet my Mini?

    My PC is getting old and I'm thinking of switching to an iMac 24". I also have a PowerPC base mini currently shares the display with my Dell using a digital KVM. Is it possible to connect my Mini directly to the iMac 24 and switch the display between the 2 computers?
    thanks.

    As there is no video input on the iMac, you cannot use the iMac as a display for the mini, but check out the program Steve mentions. I use Microsoft's Remote Desktop to control my PCs from my Mac and CotVNC is supposed to be even better.

  • How to display the content once the button is clicked

    Hello!  Just joined today, and my apologize for my huge noobness.
    I'm still learning how to use Flash... and am still struggling on one thing.  It may seem simple to the most of you -- how exactly do you have the content displayed once you click the button?  I'm attempting to have the content for each navigation link button to show up each time it's clicked.  Still a failure.
    Thank you in advance!

    The four frames of a button are related to the button's interactivity and have nothing to do with using the button to display anything beyond itself.   The first three frames ((Up, Over, Down) are used to depict how the button appears for the three possible states of interaction (None, Hover, Press). The "Hit" frame of a button is used to define the interactive area of a button but does nothig as far as contributing to the visual elements of the button.
    As far as getting step-by-step instruction goes, you should try visiting a site like Lynda.com to get some training in using Flash.  You can also try searching Google to find tutorials that others have already written.

  • Futureproof and dynamically created button

    I have been looking solution how to make buttons dynamically so that I can fetch dynamically values for buttons:
    - value,onclick,class,type,request
    This excellent page has very closely what I am looking: http://www.laureston.ca/2012/04/20/simple-workflow-implementation-in-apex/
    but I have challenges getting the escaped special characters to work especially for the apex.submit - part.
    Maybe that is just because 'copy-pasting' the plsql-region code from www-page didn't work out of the box
    Application Express 4.2.3.00.08
    Because dealing with the escape chars make the page easily break and there are now the new dynamic actions, I need to check what would be futureproof way of dynamically creating the buttons.
    If this is anyway the most practical way to proceed, then where I should look for further information about htp.p(....) button creation examples with rich escapes?
    Made small test page, where you can see one of my trials trying to get the escapes right.
    user test
    pass test
    http://apex.oracle.com/pls/apex/f?p=1403:2
    rgrds paavo
    --below the code for dynamic plsql region -- very likely the escape chars are not copypasted and shown correctly:
    DECLARE
    --PL/SQL Dynamic Region
    --thisworks too??
      v_showme varchar2(3000);
    BEGIN
      for c in (select sysdate||'asdasd;asdasas'  as button_label
                , 'PIMREQUEST'  as button_request
                , 'button-gray' as button_class
                , 'button'      as button_type
                , 'P38_XPIMPOM' as button_setme
                , 'JUUSTOA'     as button_setme_value
                from dual) loop
    htp.p('<button value='''||c.button_label||''' onclick=\"apex.submit('''||c.button_request||''');'' class='''||c.button_class||''' type='''||c.button_type||'''>
    <span>'||c.button_label||'</span>
    </button>');
      end loop;
    END;

    Hi Paavo,
    Your right about the button_id. It's value comes from an input parameter. The button won't show up in the "When button pressed"-list_of_values. This is not only because you write the id yourself, but more because the entire button is created on the fly. The button isn't stored internal in an apex table, that's why it won't show up in a list of values.
    If you want to trigger a dynamic action with the button, you can use a jQuery selector as triggering element. Here you can refer to the button_id using the '#' as jQuery marker for ID, e.g. '#myButton'.
    What the button that you render does, depends on what you put in the p_link parameter. A normal save button would submit the page with condition 'SAVE', you can do that by setting p_link to 'apex.submit("SAVE")'. If the button should do a page redirect, you set p_link to 'http://www.page2go.com', or whatever url you wish to redirect to.
    The text you put in the button attributes is added as HTML element definition, so if you set p_attrs to 'alt="alternate text"', that will be added to the html of your button.
    An example for a conditional button call could be:
          if p_order_id is null
          then
            create_button
              ( p_id        => 'newOrder'
              , p_link    => 'javascript:apex.submit("CREATE"');'
              , p_label     => 'New Order'
              , p_css       => 'customButton'
          else
            create_button
              ( p_id        => 'updateOrder'
              , p_link    => 'javascript:apex.submit("SAVE"');'
              , p_label     => 'Update Order'
              , p_css       => 'customButton'
          end if;     
    This would create a 'CREATE' button for a new order (p_order_id is null), or a 'SAVE' button for an existing order.
    Regarding your ps: if you mean can you conditionaly create a button using dynamic actions? Then the answer would be yes. Yes you can use the create_button procedure in a dynamic action, however by writing it as stored procedure in the database, or in a database package, you can easily reuse your code and still have only one version of your procedure that you need to maintain.
    Regards,
    Vincent
    http://vincentdeelen.blogspot.com

  • I have to buttons that I cant remove. The button is on the left side of tabs and on the right side of the tabs. These arent back and forward buttons. When I go to customise they arent shown. How to remove it?

    I have two buttons that I cant remove. The button < is located on the left of the tabs and > is located on the right of the tabs. These aren't back and forward buttons. How can I remove them?
    [https://picasaweb.google.com/dookeybre/DropBox?authkey=Gv1sRgCLyTs7iUlqXE2QE#5594570123175636338 photo of the problem]

    Those buttons are used to scroll through the tabs if you have too many to display. If all of the tabs that you have open are visible, the buttons should not be displayed. If they are displayed all of the time there may be a problem with the theme that you are using.

  • Enabling and disabling the button in the multi record block

    hi all,
    i am using
    Forms [32 Bit] Version 6.0.8.24.1 (Production)
    Oracle Database 10g Release 10.2.0.1.0 - Production
    i have a multi record block each block contains a button(button is to approve the record in terms of changing the status)
    i have the items like date,remarks and button
    the button should be enabled if the remarks is not null otherwise it should be disabled.
    for this in pre-record trigger i have written
    if :record is null then
       set_item_property('button',enabled,property_false);
    else
          set_item_property('button',enabled,property_false);
    end if;what problem is enable and disable is impacting on all the buttons in the block. in other words if first record's remarks is null then all the records button is disabled. if first record's remarks column is not null then all the records of the button column is enabled.
    i have to make enable and disable the button for the corresponding record.that means if first record's remarks column is not null then only first records button should be enabled others should be disabled.
    Thanks..

    You need to set the No. of items displayed to 1 as Ammad had said, additionally you can set the X and Y Position (Just Y will do and having fixed X) of the button depending upon the current record.
    can u explain this part alone bit more (setting the position of x and y)You need to calculate the variable Y_POS depending upon the current position of the cursor that is the current record.
    You can find the current record Y_POS using combination of
    V_CURRENT_RECORD := :SYSTEM.CURSOR_RECORD;
    V_TOP_RECORD := GET_BLOCK_PROPERTY ('BLOCK_NAME', TOP_RECORD);
    V_ITEM_Y_POS := GET_ITEM_PROPERTY ('ITEM_NAME', Y_POS);
    -- Also needs to add the Y_POS of the relative other items in the muti-record block
    V_HEIGHT := GET_ITEM_PROPERTY ('BUTTON_NAME', HEIGHT);
    -- Note :- TOP_RECORD  Returns the record number of the topmost visible record in the given block.
    V_Y_POS := V_ITEM_Y_POS + ((V_CURRENT_RECORD - V_TOP_RECORD) * V_HEIGHT);
    -- You will need to add Distance between Items in records if anyThen you can Set the current Y_POS of the button.
    SET_ITEM_PROPERTY ('BUTTON_NAME', Y_POS, V_Y_POS);
    [/code[
    Hope this helps
    Best Regards
    Arif Khadas
    Edited by: Arif Khadas on Feb 24, 2011 4:58 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Change the button(SAVE) name in Bank information in ESS

    Dear experts,
    I want to change the button name in Bank information in ESS like SAVE to SUBMIT.
    This where i can do it in NWDS? In the message pool i'm able to change ROAD MAP text, but i'm unable to change the text button under labels in bank information in ESS.
    We are into ERP 2004 so personalization editor won't come, additionally we have to do it through NWDS.
    So in NWDS where can i change this button text?
    Regards,
    Devi.

    Hi Devi,
    In ESS applications, the buttons are present in the DC ess/per. The Text of 'Save' button is mapped to context attribute Text.ReviewButton. The node 'Text' present in FcPersInfoInterface can be mapped to the view and the text of button can be changed as
    wdContext.currentTextElement().setReviewButton("Submit");
    The text 'Submit' should appear only while creating or editing records. 
    While deleting a record, the text of the button should be 'Delete'.
    Regards,
    Anushree

  • InDesign 6 Buttons Not Displaying Correctly in Acrobat X

    Forgive me if this has been asked. When I create interactive buttons in InDesign 6, their display is erratic in Acrobat X. Sometimes they display correctly. Sometimes, their display is erratic and sometimes they do not display at all. I have noticed that in Acrobat X, the cursor changes to the hand over the correct area, but nothing happens when I click. Oddly enough, the buttons always display correctly in Reader. This is fine for my users but makes my job in doing the final prep very difficult. As further information, with small book files, the display is fine, but as pages are added, button display goes haywire.

    Lori,
    Thanks for your response. This is an incredibly painful bug. I hope Adobe is a little more attentive than they usually are in fixing this. I have more than 100 interactive books which I must convert and maintain (they're our equipment manuals). Not having full functionality, especially given the cost of the software, is a serious issue. Any suggestions as to who needs to be contacted for follow up?

  • InDesign 6 Interactive Buttons Not Displaying Correctly in Acrobat X

    Forgive me if this has been asked. When I create interactive buttons in InDesign 6, their display is erratic in Acrobat X. Sometimes they display correctly. Sometimes, their display is erratic and sometimes they do not display at all. I have noticed that in Acrobat X, the cursor changes to the hand over the correct area, but nothing happens when I click. Oddly enough, the buttons always display correctly in Reader. This is fine for my users but makes my job in doing the final prep very difficult.

    I’ve seen this reported in this past. It’s not an InDesign issue or the files wouldn’t work in Reader.
    If you get any answers in the Acrobat forum, please come back and share them.
    Bob

  • I updated AVG, and now Firefox's Restore Previous Session is not working properly. I've restarted my computer a few times, and still no restore previous session. I have the button, but it looks different and does not open up the previous session. Help!

    I updated AVG and after that the restore session button for Firefox has not worked. Each time I close and that option becomes available, I am able to click, but it does nothing but blink. Also, it appears different from before.

    Had this trouble myself, just did some research and solved it!
    Go to the '''Help''' menu, go to "'''Troubleshooting Information'''"
    On the new window, click "'''Open Containing folder'''" next to ''Profile Directory'' (This opens the folder on your PC where Mozilla stores some settings, like a tab history)
    In the new Windows Explorer window, Find the file "'''chromeappsstore.sqlite'''"
    You'll want to close Firefox and then '''delete''' that file (don't worry, Firefox will create a new one, and you won't even lose the open tabs)
    Start Firefox again and the button should work!
    (For completeness's sake, the profile folder for windows7 is: C:\Users\Tiberion\AppData\Roaming\Mozilla\Firefox\Profiles\c6xu23fh.default\
    where you replace Tiberion with your own username, and the random characters in the final folder will be different.)

  • How to populate data in MPP through F4 search help(the field should get filtered as per key)

    Dear Experts.
    I am new to ABAP and hence trying jmy hands on various ways of peforming a task.
    I have a requirement. I want to maintain a database tables through MPP :  ZLT_Auftrag (Refer Screen Shot 1: Doubt MPP1) and ZLT_Kunde (Refer Screen Shot2: Doubt MPP2)
    The fields of ZLT_Kunde are: K1, K2, K3
    The fields of ZLT_Auftrag are: A1, A2, A3, A4, P1 P2 and P3 are related as per the key field "A3"   (Here A3 = K2)
    I want the User to be able to Maintain this table through the Screen that I had created using MPP. (Plz refer the attached Screen Shot3:Doubt MPP3  of the SCREEN in MPP)
    When I populate the Kunde name(K1) in the SCREEN (Can be done by F4 Search help), then on hitting the pushbutton "Get Kunde" the  kunde Code (K2) appears . Now from here it can be deleted or even a new Kunde name and code can be saved dirctly to the database table : ZLT_Kunde. (Refer Screen Shoot4: Doubt MPP4)
    For Example for Kunde (K1)= BASF, Kunde Code (K2) = BSF, the Auftrag should be all those values from ZLT_Auftrag (where A3 = BSF)
    When I try to populate the Auftrag value on the SCREEN then on hitting F4 (already created for table ZLT_Auftrag in se11) then I get all the values of Auftrag (A1) from the table ZLT_Auftrag. (Ply refer Screen Shot 5: Doubt MPP5)
    MY REQUIREMENT: Here I want that either through F4 help or through drop down ONLY those values of Auftrag-A1 should appear on the SCREEN which satisfies the condition: A3 = K2
    I am unbale to get how to do that.
    I need your valuable suggstions.
    Regards
    Chandan

    And the  code of the MPP is:
    *& Module Pool       SAPMZDEMO_MPOOL_03
    PROGRAM  SAPMZDEMO_MPOOL_03.
    TABLES:  ZLT_MITA, ZLT_Kunde, ZLT_Auftrag, Zlt_Stdsatz.
    DATA: flg_lock  TYPE c,
    *      indx  TYPE i,
    *      indxk TYPE i,
    *      indxa TYPE i,
    *      TCNT TYPE sy-tabix,
          lv_msgv1  TYPE  sy-msgv1.
    *DATA: it_mita    TYPE TABLE OF ZLT_mita,
    *      it_kunde   TYPE TABLE OF ZLT_KUNDE,
    *      it_auftrag TYPE TABLE OF ZLT_AUFTRAG.
    *&      Module  STATUS_9000  OUTPUT
    *       text
    module STATUS_9000 output.
      SET PF-STATUS 'ZSTATUS01'.
    *  SET TITLEBAR 'xxx'.
      If flg_lock is Not initial.
        LOOP at Screen.
      If screen-group1 = 'G1'.
      Screen-input = 0.
      MODIFY SCREEN.
           Endif.
        ENDLOOP.
          MESSAGE s000(8i) WITH 'Mitarbeiter already locked by user' lv_msgv1.
      ENDIF.
    endmodule.                 " STATUS_9000  OUTPUT
    *&      Module  USER_COMMAND_9000  INPUT
    *       text
    module USER_COMMAND_9000 input.
    *To Populate Data into Mitarbeiter through Pushbuttons
      CASE sy-ucomm.
        When 'OK_GET'.
          Clear : flg_lock.
            IF ZLT_MITA-M1 is NOT INITIAL.
                SELECT SINGLE *
                FROM  ZLT_MITA
                Where M1 = ZLT_MITA-M1.
    *To create a Lock Object so that when two or more employees are accessing the same data
    * at the same time then for the new user the data gets locked and only can been seen in
    *display mode
            IF sy-subrc = 0.
            CALL FUNCTION 'ENQUEUE_EZLT_MITALOCK'
             EXPORTING
               MODE_ZLT_MITA        = 'E'
               MANDT                = SY-MANDT
               M1                   = ZLT_MITA-M1
    *           X_M1                 = ' '
    *           _SCOPE               = '2'
    *           _WAIT                = ' '
    *           _COLLECT             = ' '
             EXCEPTIONS
               FOREIGN_LOCK         = 1
               SYSTEM_FAILURE       = 2
               OTHERS               = 3
            IF sy-subrc <> 0.
              flg_lock = 'X'.
              lv_msgv1 = sy-msgv1.
            ENDIF.
            ENDIF.
            ELSE.
                MESSAGE S000(8i) With 'Enter Mitarbeiter Name'.
            ENDIF.
        When 'OK_SAVE'.
           Modify ZLT_MITA.
           IF sy-subrc = 0.
             MESSAGE s000(8i) With 'Data Saved'.
           ENDIF.
        When 'OK_DELETE'.
            IF ZLT_MITA-M1 is NOT INITIAL.
                DELETE
                FROM  ZLT_MITA
                Where M1 = ZLT_MITA-M1.
              IF sy-subrc = 0.
                MESSAGE S000(8i) With 'Data deleted'.
              ENDIF.
            ENDIF.
    *     When 'OK_FIRST'.
    *           indx = 1.
    *     When 'OK_NEXT'.
    *           indx = indx + 1.
    *     When 'OK_PREV'.
    *           indx = indx - 1.
    *     When 'OK_LAST'.
    *           Describe Table it_mita lines indx.
    *To Populate Data into Kunde through Pushbuttons
        When 'OK_GETK'.
            IF ZLT_Kunde-K1 is NOT INITIAL.
                SELECT SINGLE *
                FROM  ZLT_Kunde
                Where K1 = ZLT_KUNDE-K1.
            ELSE.
                MESSAGE S000(8i) With 'Enter Kunde Name'.
            ENDIF.
        When 'OK_SAVEK'.
           Modify ZLT_Kunde.
           IF sy-subrc = 0.
             MESSAGE s000(8i) With 'Data Saved'.
           ENDIF.
        When 'OK_DELETEK'.
            IF ZLT_KUNDE-K1 is NOT INITIAL.
                DELETE
                FROM  ZLT_KUNDE
                Where K1 = ZLT_KUNDE-K1.
              IF sy-subrc = 0.
                MESSAGE S000(8i) With 'Data deleted'.
              ENDIF.
            ENDIF.
    *To Populate Data into Auftrag Through Pushbuttons
        When 'OK_GETA'.
            IF ZLT_KUnde-K2 is NOT INITIAL.
                SELECT SINGLE *
                FROM  ZLT_Auftrag
                Where A3 = ZLT_Kunde-K2.
            ELSE.
                MESSAGE S000(8i) With 'Enter Kunde Name'.
            ENDIF.
        When 'OK_SAVEA'.
           Modify ZLT_Auftrag.
           IF sy-subrc = 0.
             MESSAGE s000(8i) With 'Data Saved'.
           ENDIF.
        When 'OK_DELETEA'.
            IF ZLT_Auftrag-A1 is NOT INITIAL.
                DELETE
                FROM  ZLT_Auftrag
                Where A1 = ZLT_Auftrag-A1.
              IF sy-subrc = 0.
                MESSAGE S000(8i) With 'Data deleted'.
              ENDIF.
            ENDIF.
    *To Populate Data into Position Thorugh Pushbuttons
        When 'OK_GETP'.
            IF ZLT_Auftrag-A2 is NOT INITIAL.
                SELECT SINGLE *
                FROM  ZLT_Auftrag
                Where A3 = ZLT_Kunde-K2.
            ELSE.
                MESSAGE S000(8i) With 'Enter Kunde Name'.
            ENDIF.
        When 'OK_SAVEP'.
           Modify ZLT_Auftrag.
           IF sy-subrc = 0.
             MESSAGE s000(8i) With 'Data Saved'.
           ENDIF.
        When 'OK_DELETEP'.
            IF ZLT_Auftrag-A1 is NOT INITIAL.
                DELETE
                FROM  ZLT_Auftrag
                Where A1 = ZLT_Auftrag-A1.
              IF sy-subrc = 0.
                MESSAGE S000(8i) With 'Data deleted'.
              ENDIF.
            ENDIF.
        When 'OK_EXIT'.
           Leave Program.
        When 'OK_CLEAR'.
          Clear : ZLT_MITA, ZLT_KUNDE, ZLT_AUFTRAG.
    *              it_mita, it_kunde, it_auftrag,
          CALL FUNCTION 'DEQUEUE_EZLT_MITALOCK'
           EXPORTING
             MODE_ZLT_MITA       = 'E'
             MANDT               = SY-MANDT
             M1                  =  ZLT_MITA-M1
    *         X_M1                = ' '
    *         _SCOPE              = '3'
    *         _SYNCHRON           = ' '
    *         _COLLECT            = ' '
    ENDCASE.
    endmodule.                 " USER_COMMAND_9000  INPUT
    *&      Module  user_cmd_9000  INPUT
    *       text
    module user_cmd_9000 input.
      If sy-ucomm = 'OK_CANCEL'.
      LEAVE PROGRAM.
      ENDIF.
      IF sy-ucomm = 'OK_EXIT'.
          LEAVE PROGRAM.
      ENDIF.
    endmodule.                 " user_cmd_9000  INPUT

  • Saving a document in the server and display on a button clcik

    Hi,
      I have a requirement, we ahve many Z reports which we have created as per our requirement, for each report we have user manual  which gives the details of how to use that transaction and from which table , by which logic this report gives the output the document is in PDF  now we want to save this document along with program  and on the selection screen when user click the button the corresponding document should get open,  so can you give any  link  to save the document in server  along with the transaction or program name.
    regards,
    zafar

    Hi,
    Yes the end user can also view that,because it will display on selection screen (after running the transaction).
    Regards,
    Lavanya.
    Edited by: lavanyaMadhu on Jul 19, 2011 11:52 AM

  • How to call the column names into the prompt and display values dynamically

    Hi,
    i have a typical requirement where I have to call 3 columns into the AGE Prompt (I know we can use the Column Selector to call the columns) .Below is the Screen Shot.
    !http://i46.tinypic.com/2qjfukh.jpg!
    2nd Requirement)
    The three columns I have are order Date, Ship Date and Entry Date.
    Whenever I click on Orderdate from the Prompt, It should dynamically show its values in the report.
    and When I click on the Ship Date from the Prompt, it should display the corresponding values in the report.
    and so on with the Entry Date.
    Can anybody help me how to acheive this.
    Thanks a ton.

    Ok so then you can use a fake column prompt. Here's one quick approach (nicer and cleaner with LOV tables but I don't if you have any of those).
    - Create a fresh prompt using any column you want.
    - Open the column formula using the fx button and replace the formula with 'abc'.
    - Use "SqL Results" as the "Show" option.
    - SQL:
    select case when 1=0 the Markets.Region else 'Order Date' from Paint.Markets UNION ALL
    select case when 1=0 the Markets.Region else 'Ship Date' from Paint.Markets UNION ALL
    select case when 1=0 the Markets.Region else 'Entry Date' from Paint.Markets
    - Set Variable = Presentation Variable = @{vPresVarSelectedDate}{Order Date}
    - Label = Date
    Then in the request, you change the column formula for the date. I'm going to make it short and just assume you called your time dimension alias(es) like the lowest grain:
    "@{vPresVarSelectedDate}{Order Date}"."@{vPresVarSelectedDate}{Order Date}"
    Cheers,
    C.

Maybe you are looking for

  • IPhone 4 stop working with ios 6.1

    iPhone 4 stopped working with ios 6.1, visited apple first time, restored phone and worked, less than 24 hours later stopped working again, back to the store, I told iPhone is out of warranty and they'll replace for $150. iPhone worked fine with prev

  • Nu ipod dloaded itunes, went to by tunes, had to dload 7.02 still can't buy

    Sony   Windows XP   Sony   Windows XP  

  • Enter Condition in SM30

    Hi All, I have a requirement wherein I am creating an custom table with table maintenance generator with 1 screen but client want that before going into the single screen view of the table maintenance generator a dialog box should come where we have

  • CMDTUX_CAT:4382: ERROR: You do not have a valid SDK license.

    Today, I installed the Tuxedo 10.0 64-bit file on a Solaris 9 box, and got error "You do not have a valid SDK license" when used buildserver after setup. The license key file which was downloaded from this site (http://commerce.bea.com/showproduct.js

  • Teddy's q&a

    Hi again guys... I thought it'd be pretty stupid of me that whenever I would run into a problem I would make a new thread about it. Hence, this is the only thread I am ever going to post in regarding my own questions. I would like to start off with a