Calling 2 different layout by clicking radiobutton

Hi ,
In my program there are 3 radiobutton . 1- Open item 2- Closed Item 3- Both
In all the 3 layout file format is same .
I am getting my first layout (Open). Is there is any sample program or Logic where i can get the 2nd & 3rd output by clicking the 2nd & 3rd radio button.
Pls anyone give me the sample prog or logic how to do this.
Thanks
Kiro

Hi this is vague question.
Are you using sap script or smartForm?
Is this Finance module or SD or what?

Similar Messages

  • Calling two different layouts in  a script

    Hi all,
            I have one requirement. I have created a form for Medruck and assigned it in nace tcode for purchase order.  My requirement is if version number is ' 0 ' one page should be called and if version number is not zero another page layout should be called. I have created 2 different page layouts in my SAP Script i.e. one page named first layout and second named other layout. if version number is 0 first layout should be called and version number ne 0 other layout page should be called. Is it possible to do it?  if so, how shall i do this... 
    Kindly help me...
    Thanks and regards,
    subbu.

    Hi,
    Can you tell us for what is version concept for.For which program we have to check the version .
    For example see the below scenario.
    -> we have to call the different pages for different company codes . Do as follows.
    sort itab by bukrs.
    call function 'OPEN_FORM'.
    loop at itab.
    at new bukrs .
      if itab-bukrs = '01'.
         call function 'START_FORM'.
          expoting
                page = 'FIRST'.
      else.
         call function 'START_FORM'.
          expoting
                page = 'SECOND'.
      endif.
    endat.
          call function 'WRITE_FORM'.
    AT END of bukrs.
          call function 'END_FORM'.
    endat.
    Endloop.
       call function 'CLOSE_FORM'.
    Thanks,
    NN.

  • REUSE ALV - different layouts

    Hi Gurus,
    iam having an ALV report with an ALV display. Form this ALV on click of a button i will navigate to another ALV display.(both ALV's are called within the same program).
    Now my problem is with Layout functionalities:
    If a layout is saved in the first ALV, then if i go to second ALV and go for the Layout selection, all the layouts saved in the first ALV are coming in the second ALV.
    If the user selects a layout of the first alv, obvoiusly, no data will be displayed in the second ALV.
    So is there anywy i can go for fresh set of layout's for the two ALV's separately..
    (as per my knowledge, the layouts are stored based on the Program name in the database, so if i go to layout option in both the ALV,s... so the common alv's are coming in both displays's.)
    the above  issue is causing problems to the user...
    iam passing the below data for the ALV..
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program       = sy-repid
          i_callback_pf_status_set = pfstatus
          i_callback_user_command  = c_usercomm1
          i_callback_top_of_page   = l_v_top
          i_grid_title             = text-064
          is_layout                = fp_wa_layout
          it_fieldcat              = fp_i_fieldcat1
          i_default                = c_x
          i_save                   = 'A'
        TABLES
          t_outtab                 = fp_i_item1
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 1.
    so can anyone of you give me a suggestion for different layouts for different ALV's.
    one more point: in the selection screen... iam using
    SELECTION-SCREEN ULINE.  
    which is displaying a black line between the select options.
    Now can this color of the black line be changes to grey or white.
    Also can a Line can be drawn between two selection fields without wasting the space between the fields(as there are many fields in the selection). the above command is consuming one row. i dont want to waste that space.. so can anyone give code for the same...
    Thanks & regards..
    Chaitanya..

    Hello,
    U can populate the below fields of the two layouts  variant structures;
    U can find GROUP and HANDLE fields , Just give different names so that u can have different layouts based on u r variants as the above field values distinguish between the alyuts.
    Check this link
    Re: Change layout button in ALV Grids
    Regards
    Edited by: shishupalreddy ramreddy on Jun 26, 2009 3:55 AM

  • Dynamic Headers in ALV Based on Different layouts

    Hi Experts,
    I Have a requirement in an ALV Report wherein After the report run as the user chooses different layouts from saved ones the ALV header should change accordingly.
    I'm using Function modules to write the ALV.
    First of all , is it possible? and if yes how?
    Thanks,
    Sachin Soni

    hi rohit ,
    thanks for replying but i think ppl have not understood it clearly.
    I'm not asking about the variants which the user saves before calling the report but rather the layout which after the report run user creates based on what columns he wishes to see at that moment.
    thanks
    sachin soni

  • How can I create multiple pages, with different layouts to the others, in DW fluid grid layouts?

    Hi everyone,  : )
    I am creating a website using FGL in DW CS6, v12.0 build 5808.  I do not have Creative Cloud (do you have to pay to use this service?).
    I have created one layout for my home page.
    I would like to create several more pages, but I want them to use different layouts (as well as different content).
    I tried to do something similar before using 'save as' (this was with a non-FGL), but whenever I changed the original page that I had 'save as'd' from, the layout in all the other pages would change too!
    I found a possibility from someone else online suggesting using a template, but have not tried it yet: http://www.linkedin.com/groups/Adding-second-fluid-page-in-119937.S.192422240
    I'm a bit scared of breaking everything, as I am new to web design and have had to restart the whole process a few times due to messing up the fluid.css etc and other issues, so I am taking baby steps.
    Happy to try whatever's suggested and, while I wait for (I hope) your responses, I think I will try the template thing, but from the reply the person who asked the question gave, it sounds like his subsequent pages changed too, as I mentioned above?  *scared*  ; )
    If anyone can help me with this query I would be very grateful.  Thank you!  : )

    Thanks David.
    I tried using different IDs for the other pages, but eventually one of the divs seems to 'break' - it overlaps other divs, or cannot be moved or resized (you can select the outline and it goes blue, but no 'move up a row' or down a row or 'lock to grid' etc icons appear and it can't be drag-re-sized), plus the green overlay disappears (just from that div.  I'm aware of how to turn visual aids on and off), so it seems broken.  This often seems to happen if you rename a div once it's been created; it does not rename in the layout.css on the right side panel (CSS Styles) in DW and the 'broken' behaviour above is exhibited.  Do you know anything about this?  Is this the 'edit this doc at your peril' stuff that most tutorials seem to mention?  Am I doing something wrong?
    I also tried making an FGL and saving out the original boilerplate.css, layout.css and respond.js.  Then created multiple new FGLs and each time it created new versions of layout.css (called 'untitled-1', 2 etc.).  Once I had created all the FGLs, I deleted all the new boilerplates and untitled.css files.  Then restored the original ones and changed the link at the top of each page's html to refer to the same filename (the original layout.css), rather than untitled.css.  I thought this might work and it seemed to for a while, but then as I had to add new div names for the sections on each page, it eventually broke (as above).
    Anyway, I think you have a good point about different layouts and it occurred to me also while I was exploring and waiting for replies here.  I think I will make one layout for all pages and go with that.  I have a couple of questions about that though:
    1. I think the max number of divs I want for one of the pages is 10, but some pages need less divs.  If I only fill e.g. 8 divs on one page, will the other ones be sat there empty?  I think they will actually...I guess I'm asking because I have not tried it yet (will do after this) and it takes so long to do this trial and error.
    2. If the amount of content in each div is different, e.g.  let's say Page 1 has 6 lines of content in div1, but page 2 may have an unlimited amount of content (I will want to add to it in the future).  Will this result in the div on page 1 being a huge block of empty space after its 6 lines?
    Thanks so much for your help!

  • Calling a word document on click of a tab

    Hi All,
             I need to call a word document which has some layout , on click of a button in bsp and populate some values into it. Where should i define the layout of this word document? In the layout itself ? but that will open in a browser right?
    Please give some inputs on it.
    Regards,
    Ruby.

    Hi,
    Since Word understands HTML, you can generate HTML in a BSP page (preferable with .doc as extension. Add the end of the layout, you put
           runtime->server->response->set_header_field( name = 'Content-Type'
                                                     value = 'application/msword' ).
    You can also have a look at web components of MS. Check
    /people/thomas.jung3/blog/2005/02/14/bsp-and-microsoft-excel--learning-to-live-together
    /people/thomas.jung3/blog/2005/02/23/bsp-and-microsoft-excel--learning-to-live-together-part-2
    for details
    Eddy
    PS. Which type of S(D)N Ubergeek are <a href="/people/eddy.declercq/blog/2007/05/14/which-type-of-sdn-ubergeekbpx-suit-are-you">you</a>?

  • Use different Layouts for Summary and Details in Drill down report

    Hi All,
    I have a 2 level drill down report in ALV.
    The summary report has certain fields and the Detail report has different fields. Now my problem is that when i use a default layout (with all fields of summary report) for the summary report, and drill down to the detail report i'm missing the fields on detail that are not in Summary. And if i save the default layout as default (with all fields of Detail) and go back to sumary, I'm missing the some other fields on summary (which are not on detail report).
    Is there a way to make different default layouts for each of those summary and detail reports:
    Also as the layouts are choosen by the user, i cannot hardcode any particular layout;
    So if the user chooses a layout for detail; it has to stay the same layout for the detail report if he goes to summary and then back to detail; unless the user changes the layout again.
    I'm using two different Layout types for each report. but i still cannot get the desired effect.
    Data:
          gt_layout_s             type slis_layout_alv,
          gt_layout_d             type slis_layout_alv,
      call function 'REUSE_ALV_GRID_DISPLAY'
        exporting
          i_callback_program       = g_repid
          is_layout                = <b>gt_layout_s</b>
          i_callback_top_of_page   = g_top_of_page
          i_callback_user_command  = g_user_command
          i_callback_pf_status_set = g_status
          i_save                   = g_save
          is_variant               = gs_variant
          it_fieldcat              = gt_fieldcat[]
          it_events                = gt_events[]
        importing
          es_exit_caused_by_user   = gs_exit_caused_by_user
        tables
          t_outtab                 = it_summary.
      call function 'REUSE_ALV_GRID_DISPLAY'
        exporting
          i_callback_program       = g_repid
          is_layout                = <b>gt_layout_d</b>
          i_callback_top_of_page   = g_top_of_page
          i_callback_user_command  = g_user_command
          i_callback_pf_status_set = g_status
          i_save                   = g_save
          is_variant               = gs_variant
          it_fieldcat              = gt_fieldcat[]
          it_events                = gt_events[]
        importing
          es_exit_caused_by_user   = gs_exit_caused_by_user
        tables
          t_outtab                 = it_detail_disp.

    Here is how you differentiate between the layout of two different grids. There is the parameter, IS_VARIANT in the function. You usually leave it empty or pass only the report name and username. <b>What you need to do is to pass unique string for each grids to the HANDLE field of the parameter IS_VARIANT.</b> You can probably hard code it as HEADER and DETAILS in your case. Once that is done, system identified that these two different layout for different grids.
    Regards,
    Ravi
    Note : Please mark all the helpful answers<u></u>

  • Link to another portlet  with a different layout

    Hello
    Can somebody point me how to create a link in one portlet which opens
    another portlet with a different layout.
    I have portlet one in a 3 column layout, I want to open portlet 2 in a
    single column layout.
    TIA
    Gowtham.

    Do you sync to the same computer which has both your and her purchases on ? If you do then she should be able to sync them to her phone from it.
    If you use different computers then you could copy them from your computer to her computer (if they are not on your computer then you could re-download them on it). You can find where they are stored on your computer by right-clicking (control-click on a Mac) one of them in the Apps part of your iTunes library and selecting 'show in explorer' ('finder' on a Mac). You can then copy them to, for example, a flashdrive and then add them (you will need to authorise your account via the Store > Authorise This Computer menu option) to her computer's iTunes via File > Add To Library and she can then sync them.
    If you log into your account on her phone or her computer and re-download those apps on it then you risk tying the phone or computer to your account for 90 days : http://support.apple.com/kb/HT4627

  • Print adobe form in ME9A giving different layout

    Hi all,
    In ME9A to print the Request for Quotation, I seems to get different layout when I click the following:
    Check the which form to print-> Output Message (a popup box asking to print) ->OK (still giving me old version from layout)
    Using another method,
    Check which form to print-> Display Message ( the form being previewed here) ->click print (give me the layout I wanted)
    What is wrong with clicking the Output Message to print? Any idea? Thanks in advance. (Note: Some users used this option to print so thats why I am asking here).

    Hi Siong,
    It sounds like your config is not correct. I would check the following:
    spro -> MM -> Purchasing -> Messages -> Forms (Layout Sets) for Messages -> Assign form and output program for RFQ.
    also check:
    spro -> MM -> Purchasing -> Messages -> Output Control -> Message Types -> Define Message Types for RFQ.
    Hope that helps.
    Glen.

  • Ultra wireless keyboard has a different layout when installed as to the one shown on the keyboard

    I'm hoping someone here can help me: the ultra wireless slim keyboard from lenovo (comes with mouse), when installed, has a different layout then the one you can see on the keyboard.  Which is annoying the crap out of me because when i need a character i don't need much i basically am stuck with just trying out all keys untill i find it.  
    the layout it has is the same as the one on my notebook itself (thinkpad yoga), which does help a bit as i can find most keys, but since the wireless has more keys it's not entirely helpfull.  does anybody know how i can get the correct layout?

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Show a different view when called from different app.

    Hi,
    I have the requirement of showing a different view in the same window when called from different apps (urls).
    I have created different start-up inbound plugs and assigned them to the different apps but I can't figure out how to code the view switch.
    Any idea?
    thanks in advance,
    David R.

    hi,
    It is possible.
    Click on the Properties tab of application.In that screen click on the seach help option against Interface view.It will show all views you have created. Select the desired view to which the application has to point.
    Don't forget to give the  plug name which is under that interface view
    Now the application invokes the new view which u have pointed.
    If you have doubts in this please inform me.
    Regards,
    Ramanan
    Edited by: Ramanan Panchabakesan on Sep 3, 2008 1:50 PM
    Edited by: Ramanan Panchabakesan on Sep 3, 2008 1:51 PM

  • Different Layout within a webflow for one Portal Page

    Hi All,
    Can I set different layouts within one portal page journey depending on the hyperlink
    I click on one of the portal page with in a webflow.
    My requirements is such that if user clicks on one of the link on one of the portlet,
    I want to show them the next page with different content in a different layout
    with in same portal page journey.
    Can anyone post the sample code to achieve this.
    Thanks
    Nitin

    1 - you can not change the photo frame size if that is what you are asking
    2 - you can enlarge the photo within the frame by selecting it and using the slider above the frame
    3 - you can use a different page layout -- or even theme -- see Liz Castro's web site for examples of all available layouts for each theme -- http://www.lizcastro.com/iphotobookthemes/
    LN

  • How do I use different Layouts?

    I am trying to make a program that runs in a window like this:
    http://www.exyt-web.com/Window.gif
    The problem I'm having is with the layout.
    How do I have more than one layout ?
    For example - as you can see in the image (hyperlink above) I wish to have a border layout with a JFrame at the North position and then in the South position I want to have buttons laid out in a FlowLayout.
    Also with my radio buttons I want these in a GridLayout(3, 0) layout.
    I made up some example code to test using different layouts - but it seems one layout always overrides the other...
    import java.awt.*;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    public class LayoutTest extends JFrame
        public LayoutTest()
            setTitle("Hello World");
            Container contents = getContentPane();
            Container contents2 = getContentPane();
            contents.setLayout(new FlowLayout());
            contents.add(new JLabel("<FILTER [Type a th|    ]>"));
            contents.add(contents2);
            contents.add(new JLabel("< Filter Button >"));
            contents.add(new JLabel("<  Add Button   >"));
            contents2.setLayout(new GridLayout());
            contents2.add(new JLabel("< Button 1 >"));
            contents2.add(new JLabel("< Button 2 >"));
            contents2.add(new JLabel("< Button 3 >"));
            contents2.add(new JLabel("< Button 4 >"));
            setDefaultCloseOperation(EXIT_ON_CLOSE);
            pack();
        } // HelloWorld
        public static void main(String [] args)
            LayoutTest theLayoutTest = new LayoutTest();
            theLayoutTest.show();
        } // main
    } // class HelloWorldI know this obviously doesn't work but I hoped it would show what I was trying to do.
    I also tried creating a new 'contents2' and then adding it into 'contents'
    e.g. contents.add(contents2); My current code for the window I'm trying to create so far is:
    import java.awt.*;
    import javax.swing.*;
    public class Menus extends JFrame
        public static void Menus()
            // Creates a new JFrame, with the title specified in quotation marks.
            JFrame frame = new JFrame("Film Database");
            // Sets the default close operation of the frame.
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            // Creates a new menu bar for the frame.
            JMenuBar menuBar = new JMenuBar();
            // Creates a new menu for the menu bar.
            JMenu menu = new JMenu("File");
            addFrameContents(frame, menuBar, menu);
            // Sets the new menu bar on the frame
            frame.setJMenuBar(menuBar);
            frame.pack();
            frame.setVisible(true);
        } // HelloWorld
        public static void addFrameContents(JFrame frame, JMenuBar menuBar, JMenu menu)
            // Adds the menu to the menu bar.
            menuBar.add(menu);
            // Creates a new item for the menu with a small icon.
            JMenuItem menuLoad = new JMenuItem("Load", new ImageIcon("C:/load.gif"));
            // Adds the new item to the menu.
            menu.add(menuLoad);
            JMenuItem menuSave = new JMenuItem("Save", new ImageIcon("C:/save.gif"));
            menu.add(menuSave);
            JMenuItem menuQuit = new JMenuItem("Quit", new ImageIcon("C:/quit.gif"));
            menu.add(menuQuit);
            // Creates a new container.
            Container contents = frame.getContentPane();
            // Sets a new layout for contents, in this case FlowLayout.
            contents.setLayout(new GridLayout(2, 0));
            // Adds new JLabels to the container.
            contents.add(new JLabel("< JLabel 1 >"));
            contents.add(new JLabel("< JLabel 2 >"));
            contents.add(new JLabel("< JLabel 3 >"));
            contents.add(new JLabel("< JLabel 4 >"));
            JLabel thisLabel = new JLabel("Hello");
            thisLabel.setLayout(new FlowLayout());
            JLabel thisLabel2 = new JLabel("Hello2");
            thisLabel2.setLayout(new FlowLayout());
            contents.add(thisLabel);
            contents.add(thisLabel2);
        public static void main(String [] args)
            Menus();
        } // main
    } // class HelloWorldAny help on how I can use two separate layouts in the same frame would be great!
    Regards,
    Tom

    doing this:
    Container contents = getContentPane();
    Container contents2 = getContentPane();
    does not create 2 different containers. It's just creating 2 variables that refer to the same container. There is only 1 content pane in a window/frame. A container can only have 1 layout.
    If you want to have 2 layouts, you create 2 panels with separate layouts and put what you want in each panel, and put both panels in the content page.

  • How to call two different servlet-url in the same application

    Hi,
    I want to call, consecutively these methods in my application.
    response.sendRedirect(servlet-url1)
    reponse.sendRedirect(servlet-url2)
    but the second method dont answer,
    I think, the first method redirect s with response ,
    but how to call two different servlet ?
    thanks

    if you call the first redirect, the servlet is getting aborted, so you can redirect to the first servlet, working the stuff in it, and then in the second servlet you can redirect to the third servlet

  • How do I create a automatic second page with different layout settings?

    Hi there,
    I want to create a business letter template with a different second page. I already managed to create a different layout on page nr two, but
    whenever I write a letter with this template and I reach the end of page one, pages creates a thrid page in between my page nr one and nr two with a mixture of the layout of template page nr two and the footer of page nr one.
    I want pages to take my template page nr two (with different header and footer) as second page instead of creating one itself.
    If I don't need a second page - because my letter is to short - I should not have to delete a second page. It simply should not be there...
    Thanks for Help!
    G4's and 12" PB   Mac OS X (10.4.6)  

    Hello Stefan,
    you achieve this with a little trick. Create your letter and set the layout for the first and the second page by inserting a placeholder text. This placeholder text should fill the first page and the top of the second page, so both pages are build in one section. When the entire letter is layouted well, select the placeholder text and than save the letter as a template.
    Now every time you open this template, you only have to insert the main text (replace the placeholder text with real content), and the second page disappears until the main text overflows the borders of the first page. Than you will get the second page again with the layout you have created for it.
    I hope this will work for you like it works fine for me.

Maybe you are looking for

  • Start order between WTC server and EJBs provides exported services

    Using WLS 10.3.0 and Tuxedo 11.1.1.2.0 (32-bit) with WTC as the communication bus between the 2 platforms.... Running load balancing/failover inside Tuxedo using the cluster setup as described by: http://docs.oracle.com/cd/E13222_01/wls/docs81/wtc_ad

  • How can you tell what week you have and if it's refurbished?

    Hello. I just did a phone swap and it was a white box. I'm wondering if there's any way to tell if it's a refurb? The genius said it's new, but I'm just curious. Also, I've heard that the first 5 digits are the week? Like mine is 82832 - that means f

  • Dell Dimesnion 4600 Power Supply Help

    I have an older Dell Dimension 4600 purchased from Best Buy. The power supply cord for the motherboard (20 pin) has the pin reversal where wires are in the opposite direction than usual. Is there to use an adapter or some other method to convert this

  • Important - Training question on BO

    Hi, I have been worknig SAP Basis for  10 years. We are looking for migration to business objects. What are the trainings available from the SAP Basis perspective. I went to www.sap.com/useducation but there were too many for this and got little conf

  • WRTU54G-TM as a bridge?

    I want to set up the wrtu54g-tm as a bridge for the wrt54g v2.2. any idea on how to do this? WRTU54G-TM WRTU54G-TM WRTU54G-TM