Two layouts in One form

Hi,
I want to create two layouts in one form. how can we create that.
Thanks in Advance.
Regards,
Ramana

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.

Similar Messages

  • Use two actions in one form

    I want to use two actions in one form in struts,and without using javascript,is it possible?

    I want to use two submit:
    one is for adding message;
    another is for editing message.
    they must be in one form,but i dont know how to use
    two actions in one formHi,
    Hope this helps.
    cheers,
    jeric
    <html>
    <head>
    <title>decision</title>
    </head>
    <body>
    <br><br><br>
    <center><h3><u>Two submits, one form</u></h3></center>
    <%
    String userChoice = request.getParameter("decision");
    if( userChoice != null && userChoice.equals("add") == true)
        // forward to addMessage.jsp, for example, or whatever
    else
    if( userChoice != null && userChoice.equals("edit") == true)
         // forward to EditMessage.jsp, for example, or whatever
    out.println( "<br><center> the value of userChoice after selection is ... " + userChoice + "</center><br>");
    %>
    <center>
    <form method="post" action ="decision.jsp"> <!-- name of this page -->
        <table width = "50%" align="center">
             <tr><td width = "100%"><hr color ="red" ></td></tr>
              <tr><td height = "10"></td></tr>
             <tr><td align = "center">Do you want to <b>add</b> a message or <b>edit</b> a message?</td></tr>
             <tr><td height = "10"></td></tr>
             <tr><td align = "center">
                  <input name = "decision" type = "radio"  value = add checked>?add a message??
                  <input name = "decision" type = "radio" value = edit>?edit a message?
             </td></tr>
        </table>
        <br>
        <input type="submit"  value = " make your selection " >
    </form>
    <hr color ="red" width = "50%">
    </center>
    </body>
    </html>

  • Importing form field layout from one form to another ?

    I often create forms in both English and French. Many are long and complicated and I have to create them all individually. Is there any way I could use the form field layout from one form, for another form? That would be fantastic.

    Sure. To replace the underlying page contents and retain any fields, document-level code, links, etc., select: Document > Replace Pages
    you will likely have some tweaking to do to some field positions.

  • Two layouts in one report

    I have a requirement where I have two queries giving two different outputs, I want these two in one single report with two layouts, I was able to achieve this with Concatenate option and there by build by RTF templates based on the Groups of each query, The problem I found is the performance because everytime view is hit by choosing the required report layout both the queries are running and ther by affecting performance, Is there anyway that when I choose the layout only the query related to that layout is run and other when I choose the other layout?
    Regards

    Hi Srini,
    Thanks for your response!
    I am not using my "back button".
    Clicking the report first time in a session (or viewing the report after modifying it) opens "html" and next time onwards it opens last selected template layout and output format. I am not sure whether this is a bug or intended behavior.
    Thanks,
    Ashok

  • Two buttons in one form?

    hi,
    i wanted to know if i place 2 buttons in one form, the form will submit to the same page either way, is there any way on the second page to detect which button was clicked? suppose the form sends for info on a person but i need to know which button was clicked on the other end to display other data, is it possible to know which one was clicked?
    Thank you.

    If you name the buttons the same, but assign them different values, you could check the value of the parameter with the button's name to determine which button was clicked. Alternatively, you could set up a hidden field called something like "buttonClicked" and prior to submittal of the page, change it's value to that of the button which the user clicked.
    This is more of a JavaScript sol'n, but one that works.

  • Combine two lists in one form (1 to Many relation)

    I have two list instances. I have a custom form on which I would like to show two lists and add more button to let user select to add more child records and save which should save in both the lists. And again when user pull the item from main list it should
    display the child list items as well. Can someone point me good link to achieve this.
    Thanks,
    Alex

    Hi,
    According to your description, my understanding is that you want to display two lists in a form and add item to both lists when clicking a button, also
    you want to display items in child list when searching items from main list.
    If that is the case, there is a possible solution is that you can create a custom web part with two Gridviews bind with the lists data and a button. When
    you click button, you can add list items to both grid in code behind. And, when you search the items from main gridview , you can query the list items value in child list using CAML Query to display the items in child list.
    Here are some detailed code demos for your reference:
    Create a custom web part:
    http://msdn.microsoft.com/en-us/library/ee231519.aspx
    Add or update list items using C#:
    http://msdn.microsoft.com/en-us/library/office/ee539976(v=office.14).aspx
    Query list item using CAML Query:
    http://msdn.microsoft.com/en-us/library/office/ee534956(v=office.14).aspx
    Bind SharePoint list data to GridView:
    http://sharepoint.kerenapura.com/2013/09/display-sharepoint-list-data-gridview/
    Best regards
    Zhengyu Guo
    TechNet Community Support

  • How to print two layouts in one take

    Hi, we are printing our employee cards with custom layouts created in the human resources module. We created 2 layouts, one for the front of the card and one for the back. Right now, we print one side and then we need to change the default layout to print the back side.. Is there an easier way to do this? Maybe configure it so automatically prints the back side layout after the front side?
    Thanks!
    Jose.

    Jose,
    From what I know I don't think triggering print of a PLD is possible even using SDK as this is not exposed. you might want to check this in the SDK forum to be sure.
    Suda

  • How to Print two layouts into one page

    Hi,
    I have developed a report by blocked ALV.In this report i have created two blocks.
    But when i give print out the two blocks are not printing continuously.It is displaying one block in one page and another block in anther page.
    And i need page number at end of each page.
    Please provide me solution for this.
    Thanks & Regards
    Venkatrami Reddy B

    OOPS – OO ABAP
    http://esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    http://esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    http://esnips.com/doc/92be4457-1b6e-4061-92e5-8e4b3a6e3239/Object-Oriented-ABAP.ppt
    http://esnips.com/doc/448e8302-68b1-4046-9fef-8fa8808caee0/abap-objects-by-helen.pdf
    http://esnips.com/doc/39fdc647-1aed-4b40-a476-4d3042b6ec28/class_builder.ppt
    http://www.amazon.com/gp/explorer/0201750805/2/ref=pd_lpo_ase/102-9378020-8749710?ie=UTF8
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    Reports
    http://www.sapgenie.com/abap/reports.htm
    http://www.allsaplinks.com/material.html
    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm
    http://www.sapfans.com/forums/viewtopic.php?t=58286
    http://www.sapfans.com/forums/viewtopic.php?t=76490
    http://www.sapfans.com/forums/viewtopic.php?t=20591
    http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.
    Rewards if useful.........
    Minal

  • Two buttons on one form

    i have a form that currently has one (image) submit buttong and a check box. If you try to press the button to take you to a new page BEFORE the check box is ticked it brings up an alert.
    I want to add another button that will send the check box information to a phpMyAdmin SQL DB.
    Here is what i have so far
    FORM:
    <form action="eLease.php?userid=<?php echo $row_Recordset1['userid']; ?>" method="post" name="form2" target="_new" id="form2">
          <div align="right"><span id="sprycheckbox2">
            <span class="body-text">Lease Schedule</span><br />
            <input type="submit" name="button" value="confirm" />
            <input type="image" src="../images/smalldownload.png" width="35" height="35" alt="download" value="submit"/>
            </a>
            <input type="checkbox" name="leaseshedule" id="leaseshedule" />
            <br />
          </span></div>
        </form>
    ERROR MESSAGE:
    <div id="ErrorZone1"><span class="checkboxRequiredMsg"><table width="400" border="1" cellspacing="0" cellpadding="0">
            <tr>
              <td><table width="400" border="0" cellspacing="10" cellpadding="0">
                <tr>
                  <td><strong>Electronic Signature Agreement:</strong><br /></td>
                  </tr>
                <tr>
                  <td>this is an error message</td>
                  </tr>
                <tr>
                  <td><strong>Terms and Conditions</strong></td>
                  </tr>
                <tr>
                  <td>Terms go Here</td>
                  </tr>
                <tr>
                  <td>I have read and understand the statement above</td>
                  </tr>
                <tr>
                  <td>Signed:<img src="signatures/<?php echo $row_Recordset1['TenSig']; ?>" alt=""/></td>
                  </tr>
                <tr>
                  <td>Guarantor Signature:<img src="signatures/<?php echo $row_Recordset1['GuSig']; ?>" alt=""/></td>
                  </tr>
                </table>
    So i want to add another button that when submitted send the checkbox "y" to the DB then sends them back to this page, they can then click the other button and log into the eLease.php page
    thanks in advance

    Sorry, I don't understand the logic of what you're trying to do.
    As far as I can see, you want to make sure that the user has selected the check box before being able to proceed. The check box name isn't sent with the form data if the check box hasn't been selected when the form is submitted.
    Let's say your check box is called "agree". You can test to see whether it has been checked like this:
    if (!isset($_POST['agree'])) {
        // return the user to the original form with an error message
    } else {
        // process the form
    Message was edited by: David_Powers to clarify what happens if check box isn't selected.

  • Send two button in one form

    hi...
    i'm using jsp to design and coding in netbeans...
    my problem is....i have 2 button first button i'm using to searching and another button is to update but this 2 button send the parameter using form like this....
    <form action="<%=request.getContextPath()%>/tbcForeigner.do" method="post" name="search">
    and my searching function success....but i have problem to pass update button.....
    how to send this update button....

    The end result of all that "I'm using Netbeans to write a JSP" process is that you produce HTML. So forget about JSP and Netbeans for a minute and design the HTML you want to output.
    Can't do that? You don't know how to do whatever it is you were trying to ask? Okay, fine. Then it's an HTML problem and this isn't an HTML forum. Go and find one. Ask the question about your HTML.
    Or have you decided how your HTML should look and you can't write a JSP that produces that HTML? Then it's a JSP problem. Notice that this is a "Java Programming" forum. You don't have a Java Programming problem, you have a JSP problem. Scroll down the list of forums for a bit and you'll see the JSP forum.
    And if you are having a problem getting Netbeans to do something, then you should find a Netbeans forum to ask about that.

  • How to work with two blocks in one form

    i need help,i moved the control from block(abc) to another block(xyz) using go_block('xyz') and then i insert record to block(abc) but the record is not inserted to the table .
    i used previous_block but it is not working
    how to use it.

    Hi,
    You have written the code in when-window-activated? If yes then as soon as the window of xyz is activated the code starts running and populating the data (i.e. department code and its name) from table to the block, one by one. It seems that the block 'xyz' is like detail block. Am I right? U want the record row by row, isn't it?
    In this case, have you been able to populate your xyz block more than 1 records by the help of the code you have written ? If yes then use commit_form in the when-button-pressed trigger associated with the proposed button.
    I just can't understand how your code populates xyz block when you are writing :
    fetch DEPARTMENT into :DEPARTMENTS.DEP_CODE,:DEPARTMENTS.DEP_NAME;
    instead of fetch DEPARTMENT into :xyz.DEP_CODE,:xyz.DEP_NAME;
    Pls tell me the detail result you r getting.
    Regards,
    Pragati.

  • Two datatables in a form problem. Please help!

    Hi,
    I have two datatables in one form. Every row renders an input which is bound to a Double propery of a list item.
    I fill both tables with some data and in one input i enter a String. I submit the form, the conversion fails and I come back to the same page, but.. the OTHER datatable loses all the changes I made! Is this expected behavior? Please help..

    Ok, I have two lists in a bean:
    List<ValueHolder> list1;
    List<ValueHolder> list2;and a form:
    <h:form>
      <h:commandButton action="#{conversationBean.submit}" value="test"/>
      <h:dataTable  value="#{conversationBean.list1}" var="entry1" id="dt1" >
        <h:column>
          <h:inputText value="#{entry1.value}" id="entryId1" />
        </h:column>
      </h:dataTable>
      <h:dataTable  value="#{conversationBean.list2}" var="entry2" id="dt2" >
        <h:column>
          <h:inputText value="#{entry2.value}" id="entryId2" />
        </h:column>
      </h:dataTable>
    </h:form>Now let's say that first table contains values 1, 1, 1 and the second table 2, 2, 2 at the moment of rendering the page. I enter values 3, 3, 3 in first table and 4, 4, aaa in the second. I sumbit the form, and I'm experiencing postback to the same page because aaa can't be converted to Double. But the state of tables after the postback is: 1, 1, 1 in first table and 4, 4, aaa in the second one. Therefore, I have lost changes I made in the first table.
    Edited by: wilczarz on Oct 24, 2008 3:28 AM

  • I have two Apple IDs - one associated with iPad and iPhone and the other associated with iMac and MacAir. I am going to lose the former e-mail address imminently and would like to associate all devices with just one ID. How do I do this? Thanks

    I have two Apple IDs - one associated with iPad and iPhone and the other associated with iMac and MacAir. I am going to lose the former e-mail address imminently and would like to associate all devices with just one ID. How do I do this? Thanks

    Thanks - I guess it is like there were two of me!
    I bought the iPhone first and it seemed natural to link it to the (work) e-mail address which was in constant use. The iMac for home use came next and it seemed natural to use my home e-mail address, particularly as I knew by then that I would lose the work address after my imminent retirement. The same logic went for the recent puchase of the MacAir. I am not sure what happened with the iPad (also a recent purchase) - iTunes seemed to puch me towards the same ID as the iPhone.
    It is not a huge problem - just makes my persona look schizoid! Otherwise very happy with everything Apple.

  • Two forms on same page..save state of one form while submitting other.

    Hi....
    I have 2 form on same page....
    first is form on table....
    nd another is tabular form.....
    now if I make an entry in both table ,,,,and after entering data in tabular form if click on submit button of tabular for the data of tabular form get submitted,,but the data I have been enter in first form get erased.....
    now my question is how can I save state of my first form even after clicking on submit button...........
    pls,help.

    Hi Shirish,
    in your scenario you can write manual process for one form in your both forms, using this way you can achieve you functionality.
    do the above and for that manual process keep the button name as your second form button means, for two forms saving with only one button.
    i am not sure in this, but you can try something.
    Thanks
    Chandran
    Edited by: Chandran on Nov 28, 2011 2:21 AM

  • Is Apple fixed layout epub supporting two languages in one ebook

    Hi Everyone,
    Is apple fixed layout epub supporting two languages in one epub file?
    Regards,
    Arun

    As long as you don't try to make your main language one of those which the iBookstore does not yet support, I think there is no limit to the number of languages you can include in a book, regardless of format.
    http://m10lmac.blogspot.com/2014/02/languages-not-yet-supported-in.html
    If you are talking about having different language versions of the same text which the reader can select via some sort of button, I do not think that is possible.

Maybe you are looking for

  • All of my contacts are not showing up

    Once I updated my phone to to iCloud, now all of my contacts are not showing up in my contact list but if I type in the number, they show up.  How do I fix this?

  • Account Assignment to CO object

    Dear,         While doing goods receipt  for Purchage oredr, it is showing error Account 800066 requires an assignment to CO object.         Kindly help me out.         I sincerely thanks in advance to responder. Regards AJIT K SINGH Edited by: AJIT

  • Camera Raw preferences greyed out in Bridge CS5 mac

    camera Raw preferences greyed out and Raw's are not visibel in Bridge CS5 mac Imac 10.9.2  CS 5 updated  Camera raw plug in 6.7.1 Ps opens Raw in Camera raw fine but not visilbel in Bridge. help please

  • Getting problem to compile mx:OLAPDatagrid on JBoss 

    Eclipse : 3.2.2 Myeclipse : 5.5.1 Flex plugin version : 3.0 (Beta 3.0) + LCDS 2.5.1 JBoss 4.0.1 Steps: 1. I have created flex project(in which I have used mx:OLAPDatagrid) 2. I have added web-project capabilities to it. 3. after deployment, its showi

  • Thinkpad W530 - PCMark7 Score

    Has anyone received their Thinkpad W530 yet? I would be most interested in the PCMark7 score. I use it for purchasing decisions, since it approximates most closely my usage pattern. (The benchmark can be downloaded free: http://www.pcmark.com/benchma