2 fields with text on the same line

Hi everyone,
Could anyone let me know how I can get 2 fields with their text values in the same line. For eg:
weight ______         unit of weight _____
i need both of the fields and text to be visible.
Thanks/
Message was edited by:
        Raj Kali

Hi,
You can use SELECTION-SCREEN BEGIN OF LINE and SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(10) INPUT1.
PARAMETERS P1 TYPE I.
SELECTION-SCREEN COMMENT 40(10) INPUT2.
PARAMETERS P2 TYPE I.
SELECTION-SCREEN END OF LINE.
INITIALIZATION.
INPUT1 = 'FIELD1'.
INPUT2 = 'FIELD2'.
Regards,
Ferry Lianto

Similar Messages

  • SAPScript: How to combine two text in the same line?

    Dear Gurus,
    I have a case to combine hard code text and long text in the same line.
    For example, i need to display following line:
    'Project name:' <long_text>
    How to do it in SAPScript?
    Can we do it with following code?
    /: 'Project name: ' INCLUDE Z_TEST OBJECT TEXT ID ST LANGUAGE &NAST-SPRAS&
    Thanks & Regards,
    Ari

    Hi,
        You can achieve that by this method,
    Goto Tcode SO10
    Give the Object Name 'Z_TEST' & Id
    See the Paragraph format for the Text,  you can do it from Menu
    Format>Line . If it is /: change it to =.  Save
    Now in the SAPScript Text editor in which you want to print
    P1 'Project Name :'
    /: INCLUDE Z_TEST OBJECT TEXT ID ST LANGUAGE &NAST-SPRAS&
    the output will be
    Project name : Abc xyz
    Regards
    Bala Krishna.
    Edited by: Bala Krishna on Oct 17, 2008 7:11 PM

  • How to get the Hardcoded text and the Standard text in the same line

    Hi,
    I have an SAP Layout. In that, it should show the Consignee name as below.
         Consignee: SAP LABS
    In this, the text 'Consignee: ' should be hardcoded in the layout itself. and the customer has requested to create a standard text for 'SAP LABS' sothat if they want to change the value in future, they would go and change the Standard text. I have created the Standard Text for SAP LABS. I am not able to get both these texts on the same line. I wrote in the layout like below and AS is the Paragraph format.
    AS     Consignee:
    /:        INCLUDE ZVRU_CONSIGNEE OBJECT TEXT ID ST LANGUAGE EN PARAGRAPH 'AS'
    But, both are coming in dofferent lines. As /: is a command line, it is coming in the next line. Is there any way of getting these two texts in the same line..? While Inserting the Standard Texts, will there be any option/command to print it in the same line..?
    Please share your thoughts. Thanks in advance.
    Thanks & Regards,
    Paddu.

    Hi Paddu,
    I have had a similar requirement. I did not use any FM or anything, simply did the following:
    In  SO10, for your standard text where u have used the text SAP LABS.
    Instead of P1/ default para, change it to =. And then Save ur Standrd text.
    Now in the SAPScript Text editor in which you want to print
    P1 'Consignee :'
    /: INCLUDE TEST OBJECT TEXT ID ST LANGUAGE EN
    the output will be
    Consignee : SAP LABS
    I have tried and tested this method. It will surely work.
    With regards,
    Niharika.

  • How to align output formatted and output text in the same line?

    Hi All,
    I want an output formatted label and a text on the same line,. I've surrounded these components wth a panel form layout and they automatically align one below the other. how do I kepe them in the same line?
    Thanks.

    Try as per the code snippet below:
    <af:document title="TestPage.jspx" id="d1">
    <af:messages id="m1" inline="true"/>
    <af:form id="f1">
    *<af:panelGroupLayout id="pgl1" layout="horizontal">*
    *<af:outputFormatted value="outputFormatted1" id="of1"/>*
    *<h:outputText value="outputText1" id="ot1"/>*
    *</af:panelGroupLayout>*
    </af:form>
    </af:document>
    Thanks,
    Navaneeth

  • Grid Layout - Getting two or more fields to display on the same line/row.

    I am using version 4.2.
    I have a form with a number of items.
    I wish to control the display of the items so that some fields are beside each other (on the same line or row).
    I have set the grid layout as follows:
    :PX_ITEM1
    Start New Row: Yes     
    Column: Automatic               
    Column Span: Automatic     
    :PX_ITEM2
    Start New Row: No     
    Column: Automatic     
    New Column: Yes          
    Column Span: Automatic     
    When I do this the items are not displayed on the same row.
    I can see when you change the "Start New Row" from No to Yes, the item fields ARE moved into the same <Div> that controls the row, but they just aren't displaying how I would like them.
    Has anyone got this working?
    Amanda.

    Hi Amanda,
    I believe I have discovered the cause of the issue you are facing.
    The problem is with the "Alert Region" region template and that it does not have any display points specified so indicate the number of grids that can fit in its region body. Without having any display points, the grid layout system attempts to use all columns available to its container. However, because the Alert Region has additional padding within, the columns will not fit and wrap to the next line.
    To fix this issue, you will have to modify the "Alert Region" region template, go to "Display Points" and click Add Row. You will need to enter the following fields:
    Name: Region Body
    Template Substitution: BODY
    Grid Support: Checked
    Maximum Fixed Grid Columns: -1
    This will fix the issue for you. I've logged a bug within our bug system to track this so we can fix it in a future release of APEX.
    Best,
    Shakeeb

  • How do I put text on the same line in CSS?

    Ok, I am placed three images on the page, and I like to have before, during, after underneath each images, and on the same line, I did the text-align:right and all that, but it keeps on putting the text on line below. Here is my CSS and html.Thanks!
    #small-box-container #bottom1{
        width: 600px;
        height: 130px;
        background-image:  url(../../../graphic%20design/website_sijiewang1/sijie/images/deck_before_sm.jpg);
        background-repeat: no-repeat;
        margin-top: 90px;
        margin-left: 50px;
    #textbox 1 {
        font-size: 14px;
        font-family: Arial, Helvetica, sans-serif;
        width: 200px;
        height: 100px;
    #small-box-container #bottom2{
        width: 439px;
        height: 130px;
        background-image: url(../../../graphic%20design/website_sijiewang1/sijie/images/deck_during_sm.jpg);
        background-repeat: no-repeat;
        margin-left: 180px;
    #small-box-container #bottom3{
        width: 439px;
        height: 130px;
        background-image: url(../../../graphic%20design/website_sijiewang1/sijie/images/deck_after_sm.jpg);
        background-repeat: no-repeat;
        margin-left: 180px;
    <div id="bottom1">
                     <div id="bottom2"> 
                    <div id="bottom3"></div>
                    <div id="textbox1"div style="clear: both;"></div>
                    <p style="text-align:left">Before</p>
                      <p style="text-align:center">During</p>
                      <p style="text-align:right">After</p> </div>
    </div>

    I might have mis-read this but do you want the three images in a row, next to one another? Then the text lined up under each image?
    If so the code below will do this. Just one point the images are wide 600px plus 2 x 439px.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    <style type="text/css">
    #small-box-container {
    width: 1478px;
    #small-box-container p {
    margin: 0;
    padding: 135px 0 0 0;
    #small-box-container #bottom1{
    float: left;
        width: 600px;
        height: 130px;
        background-image:  url(../../../graphic%20design/website_sijiewang1/sijie/images/deck_be fore_sm.jpg);
        background-repeat: no-repeat;
    #small-box-container #bottom2{
    float: left;
        width: 439px;
        height: 130px;
        background-image: url(../../../graphic%20design/website_sijiewang1/sijie/images/deck_du ring_sm.jpg);
        background-repeat: no-repeat;
    #small-box-container #bottom3{
    float: left;
        width: 439px;
        height: 130px;
        background-image: url(../../../graphic%20design/website_sijiewang1/sijie/images/deck_af ter_sm.jpg);
        background-repeat: no-repeat;
    }</style>
    </head>
    <body>
    <div id="small-box-container">
    <div id="bottom1">
    <p>Before</p>
    </div>
    <div id="bottom2">
    <p>During</p>
    </div>
    <div id="bottom3">
    <p>After</p>
    </div>
    </div> <!-- end small-box-container -->
    </body>
    </html>

  • How to composed a messege writen in hebrew with english in the same line

    I am trying to composed a messege started in Hebrew ,the English word jump to the start line.
    I have Thunderbird version 31.1.2 without addons.
    oprating systm :windows 7 ,internet explorer 11.
    thanks for advise
    meir

    perhaps the BiDi add-on would help https://addons.mozilla.org/en-US/thunderbird/addon/bidi-mail-ui/?src=search

  • ALV report -  fields do not print on same line

    I am working on an ALV report now. And I was trying to download the report using the buttons.
    When I download the file (Local File Button)  and then try to view it, all the fields are not on the same line.
    Say for example, if i have 75 fields, half appear on the first line and the other half appear on the second line.
    But when I try to view the file in excel format using ctrlshiftF7, it looks perfectly fine (All the 75 fields lie on the same line).
    And also when I right click on the report and save as .mhtml, it looks good (All the 75 fields lie on the same line).
    How can this issue be fixed? Is it something to do with the code?
    Please let me know, if anybody else had a similar issue and as to how it was resolved.
    I would greatly appreciate your help. Thank You.

    I am not very clear about your problem.
    What i understood is that you are downloading the file (I beleive as unconverted) and than opening it in NOTEPAD and you are getting one record in 2 lines. If yes than try to uncheck the Format-> word wrap in the menu in Notepad.

  • How to place two text fields on the same line in adobe

    I am trying to create a form on adobe and I would like to have two unique text fields on the same line. Is this posible? 

    If you are using FormsCentral it is, the fields can be placed "side by side" in a row.  There is a "+" sign on the right side of the field that brings up a toolbar to add a field adjacent.  You can also right click on a field and select "Insert beside", or you can "drag and drop" fields next to one another or to a new row.
    Thanks,
    Josh
    PS - One note, if you are using the "desktop" application of FormsCentral that comes with Acroat Pro XI make sure the application is up to date by either using the "Help" - "Check for updates" menu item or by signing into the application so that you have the latest features including the side by side layout.

  • Two fields on the same line in sreen programming

    Hi All,
    I need to create a selection screen which would have two fields (their texts and their irespective input fields) in the same line, on the screen.
    I was able to achieve this by using code--
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(31) text-a04.
    PARAMETERS: sch_begd LIKE qppnp-begda.
    SELECTION-SCREEN COMMENT 52(22) text-a05.
    PARAMETERS: sch_endd LIKE qppnp-endda.
    SELECTION-SCREEN END OF LINE.
    This could allign the fields - start date (text-a04) and end date (text-a05) in the same line along with their input fields.
    But I am facing two issues with this code-
    1. I am not able to get the underline same as we get when we create selection screen using 'select-options' and 'parameters'.
    2. This is causing accessibility issues, as the field text and the input field are no more linked (since I am using text element to display the field text, like for start date), it cannot find the text to be read for the input field and hence the checkman errors.
    Please suggest how to achieve the same.
    Thanks and Regards,
    Arpita.

    Hi Arpita,
    Are you trying to have select-option field in your screen in dialog programming?
    If yes than you can use the following approach else ignore this.
    Create one screen (100) and create subscreen area on this screen and call this subscreen in PAI and PBO of screen
    Using call subscreen check F1 help for calling subscreen in PAI and PBO.
    Now you should create your selection screen on the subscreen use selection screen begin of screen (100) option of defining
    selection screen and then add your selection options here.
    Regards,
    Pawan

  • How do I create a text field that automatically enters the same info on proceeding pages

    I know this is a basic question for Acrobat Pro, but I'm a newbie at it.  Basically, I work with pdf forms in education and I would like to figure out a way where if I enter for example someone's birthdate in page 1, and it automatically enters it in pages 2, 3, 4 and so on of the same document.
    Also, along the same lines, is there an easy way to be able to edit multiple pages of a document at once. Example: A lot of the people at my office that use the copy and paste feature in the pdf documents, and often overlook changing the "he" to a "she" and "his" to a "her" and as a result we end up with filled forms that use the incorrect sex.
    I apologize in advance if I'm not being very clear, but is the best way I can describe my problem.
    Thanks

    1. You can duplicate the field. Right-click it using the Select Object Tool and select Duplicate. You can then select the page range.
    Otherwise, you can copy&paste it, or create a new field and give it the same name as the original.
    2. No.

  • Print different text elements on the same line

    Hi all,
    1.
    Is it possible to print different text elements on the same line ? with multiple write_form
    CALL FUNCTION 'WRITE_FORM'
         EXPORTING
             element       = 'TITLE1'
             WINDOW        = 'INFO'
         EXCEPTIONS
              ELEMENT       = 1.
    CALL FUNCTION 'WRITE_FORM'
         EXPORTING
             element       = 'TITLE2'
             function      = 'APPEND'
             WINDOW        = 'INFO'
         EXCEPTIONS
              ELEMENT       = 1.
    How to print TITLE1 and TITLE2 on the same line ?
    TITLE2 in bold.
    2. How to print 2 text elements on the same line with include statement ?
    /: include test1 ...
    /: include test2
    Thanks
    Edited by: Moo Yac on Sep 22, 2008 8:23 AM

    To be more specific :
    I want to print the following
    Text_symbol1:$Var1$      Text_symbol:$Var2$
    on the same line.
    where Text_symbol1 and Text Symbol2 are defined in SO10 for different languages.
    Thanks.

  • How do I add space between lines of text in the same cell on Numbers 3.0.1

    I just updated to Mavericks 10.9. In numbers, I used to be able to uncheck a box in the inspector that would make it so the Return key did not move to the next cell, but instead allowed me to add more space between lines of text in the same cell.
    How can I do this in the new version of numbers?

    HI ilb,
    Numbers 3 is a complete rewrite of the application. This preference option hasn't (yet) been included, but N3 is very much a 'work in progress. A word to Apple via Provide Numbers Feedback asking to have this option included in Numbers 3 might be a useful step. You'll find Provide Numbers Feedback in the Numbers menu in Numbers.
    Regards,
    Barry

  • BEX : report with real and budget on the same line

    Hi everyone,
    I need to create a Bex report showing on the same line :
    - budget WBS element stored in a DSO  (DataSource 0CO_OM_WBS_1)
    - used amount stored in another DSO   (DataSource 0FI_GL_4)
    Data are stored in 2 different DSOs.
    If a create a multiprovided with both DSOs I will get 2 lines in my report as axes are different,no ?
    Thanks for any idea.
    Aussie

    Hi,
    You can make use of infoset.You can also do a lookup from one dso to another ant transport the values in one dso.So by doin this alll your values will be stored in one place and then you can show the values in one line in report.
    Please also give me the idea of keyfields of both dso's.
    You can also use constant selection in report if you are using multiprovider through this to some extenet you can solve the problem of values in coming in two lines.
    Also check out the below PDF for Displaying Result Row in One Line While Reporting On Multiproviderer.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70dcd7b5-6a3d-2d10-c984-e835e37071a2?quicklink=index&overridelayout=true
    Hope it helps.
    Regards,
    AL
    Edited by: AL1112 on Aug 3, 2011 11:55 AM

  • How can I bind two text view elements in the same line?

    Hi all:
    In my case, it is not allowed that one text view is in the first line and another in the second line. How can I put them always in the same line?
    Thanks.

    Hi,
       as the window resizes the UIcontrols are also resized if wrapping is enabled and they will be in same row.
    as u mentioned they are two containers in root container but appears one by one do as below
    for root container
    set layout -  grid layout
    colcount - 2
    for 1st child container
    set layout -grid layout
    set colspan - 1
    as u requre 3 Ui control in it
    set colcount of child container to 3
    add the UI controls
    set the colspan of UI controls to 1.
    do as same for second container
    Thanks,
    yashpal

Maybe you are looking for

  • Apple's DVI to Video adapter broken in Mavericks

    Good Day, I've been monitoring this community forum as a guest only, because IMHO registering with anything over the Internet is equivalent to giving up a piece of your soul, but I could not find anything that would help my unique situation since upg

  • Ageing report-Days range as an I/p

    Based on posting date we designed an Ageing report 0  30  60  90  120  .... now users want day range as an i/p means => user will i/p day range say 40 then report will be executed for 0  40  80  120 ..... if i/p for day range is 60 then 0  60  120  1

  • Can I open dock folders in tabs instead of new windows?

    Hey, guys! I'm using OX 10.9 and in Finder Preferences I have "open folders in new tab instead of new window" box checked. However, when I click on "open in FInder" in a folder I have in my Dock, such as Dwonloads or Documents, it pops up in a new Fi

  • Can I get a trial version that runs on OSX 10.6.8 32 bit

    Can I get a trial version that runs on OSX 10.6.8 32 bit?  If so where?   If not what should I do?

  • Using Address Book with Word

    Does anyone know of a way to use Address Book with Word? I've looked here and other places and can't seem to find an answer. My guess is know, but I thought I'd ask anyway. Thanks!