Smart form inserting a new line

hi,
    i want to insert a newline ie horizontal line above and below a particuler row.ie for displaying item details like "s.no product mrp netcost"so for this i want to insert a line above and below the row.how can i do it.pls help..

Hi,
As per my understanding, put the desired field into a Template with 3 rows, use your field to be displayed in the centre row and keep the remaining row balnk, or fill them color to display and horizontal Line.
Hope this Helps
Anirban

Similar Messages

  • How to insert a new line item in VA01/VA02 by using ABAP code?

    Hi Gurus
    i have a very tough requirement. the customer wants to insert a free goods after an item has been populated in VA01/VA02 automatically according to some certain rules. the input material may be a main material of a sales BOM.
    for example. let's suppose there is a material A who has two sub-material B and C which is maintained in a sales BOM via CS01/CS02. when the material A has been input in the line item in VA01/VA02, its quantity input and after the ENTER key has been clicked, another material D may be displayed in a new line as a gift if the condition met.  the condition relates to customer/material/quanity and these information are stored in a Z-table.
    on the other hand, if the material A is only a single material(not a BOM), the gift(material D) will also be filled automatically if the condition met.
    i have already enhance the FM cs_bom_explosion to filfill the requirment for BOM materials. whereas it is very hard to find the enhanment point for the single material.
    so my question is where is the correct place for me to insert the ABAP code, which decides whether the gift should be given or not and furthermore inserts the new line item into XVBAP. i tried to use MV45AFZZ, whereas the data is always inconsistant if a new line has been inserted. it is very strange that there is no temperary internal table storing line item data input in the table controal of VA01/VA02. system reads the line item data , line by line, via a system kernal function call.
    any hints are welcome. thanks

    HI Stephen,
    I have the same prolem. I modified the 5 global tables, but I don't see the new line in the screen.
    Can you help me with some details?
    Thx!
    Mihaela

  • How to insert a new line in MC1H(maintaining formula)

    How to insert a new line in MC1H(maintaining formula)
    Can anybody help me with  the steps

    Hi,
    1.run transaction SCC4 -> press Ctrl+F4 or the button for change ->double click one the row for your client -> on the field Cross Client Object Changes select Changes to the Repository and cross-client Customizing allowed -> SAVE
    2. run MC1H and now you will have access to insert new line in the table
    Regards Vassko!
    Edited by: Vasil Pavlov on Sep 16, 2008 9:51 AM

  • Inserting a new line after each tag of an xml

    Hi,
    I am having a requirement where i need to insert a newline after each tag<> of an xml. I am sending an xml to target system using JMS adapter and the target system has UNIX as OS.
    In unix system if we see the output xml, it will be in a single string as shown
    <?xml version="1.0" encoding="ISO-8859-1"?><messages><Field1\><Field2\>.........................</messages>
    But the desired output should be in the below format
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <messages>
    <Field1\>
    <Field2\>
    </messages>
    And there should not be any indentation for the xml. It should be in the above format it self.

    Hi,
    I believe this can be achieved through XSLT or JAVA Mapping.
    Please refer to the following link:
    XSLT Mapping:
    Inserting a new line after each tag of an xml
    JAVA Mapping:
    In Java Mapping ,all you have to do is to make a code that does a search and replace.
    Hope this helps,

  • Insert a new line - editText _ windows XP

    hi,all.
    When I push only "Enter" key, I want to insert a new line.
    I am using Windows.so, I have to push "Ctrl + Enter" key to the editText field by default.
    It is troublesome...
    So,I thought about the following script.
    But when I push "Enter" key , the cursor returns to the head.
    Will you have something to offer?
        var w = new Window('dialog',"Label",undefined);
        w.minimumSize.height = 250;
        w.minimumSize.width = 250;
        w.myText = w.add('edittext',undefined,"type!", {multiline:true, scrollable:true});
        w.myText.minimumSize.width = 240;
        w.myText.minimumSize.height = 240;
        w.myText.shortcutKey = "Enter";
        w.myText.onShortcutKey = function(){
            w.myText.text+="\r\n";
        w.show();
    Thanks.
    nakamori

    HI,
    You can achieve this by inserting Input query in a Workbook and Creating 2 Buttons for SAVE and EDIT.
    Assign normal Workbook functions to the buttons.
    When Edit button is clicked a new line is displayed.
    Regards,
    Ravi

  • How to Insert a new line in a clob

    hi,
    i want to create reports as multi-line clob data using PL/SQL procedures.
    is there any standard way of inserting a new line when iam generating
    this clob data based on the data i fetch from a different table.
    i short my question is "How to insert a new line in a clob?"
    i tried using the character '\n', but that was of no use.
    thanks in advance
    ramesh

    You could always do a:
    newLine := '
    Since PL/SQL allows a tring to span multiple lines.

  • Insert of new lines using BDC

    I am trying to insert/default some values from custom transaction using BDC into standard SAP transaction tab as a  new line .
    it works fine when there are NO previous existing lines.
    need to know how to get index of the current line ..& add logic in BDC FM to add new line after that.
    thanks in advance

    If all of your form fields have the same name then it will
    create a comma
    delimited list, which you can loop through. I have some CF
    code to do
    exactly what you want, but not where I am at present. Send me
    an email to
    [email protected] and I will mail it to you.
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "Simonbullen" <[email protected]> wrote in
    message
    news:e3piv5$9s2$[email protected]..
    > Hi, I have a form with rows of text fields for data
    insertion, is it
    > possible
    > to insert records into my db, but creating a new row for
    each row in my
    > form...?
    > I know I can buy packages to do this, but is there a
    free extension or
    > coding
    > solution please?
    >
    > many thanks in advance, using DMx2004, SQL, CF7
    >

  • Using dbms_lob append to insert text how do you insert a new line inbetween

    DBMS_LOB.APPEND (P_TEXT,'* Operator Phone,');
    ---- inbetween I need to insert new I am using DBMS_LOB.APPEND (P_TEXT,CHR(10)); IS there amy better method?
    DBMS_LOB.APPEND (P_TEXT,'* Operator Email Address,');

    Sorry if the question was not clear ---
    Lets say in the folowing example every write append needs to start on a new line followed by text. How do we do that?
    Do we add another writeappend(cvar,22, chr(10)); inbetween?
    dbms_lob.writeappend(cvar, 19, '<root><book><title>');
    dbms_lob.writeappend(cvar, length(r.title), r.title);
    dbms_lob.writeappend(cvar, 14, '</title><desc>');
    dbms_lob.writeappend(cvar, length(r.description), r.description);
    dbms_lob.writeappend(cvar, 27, '</desc></book><author_name>');
    dbms_lob.writeappend(cvar, length(r.author_name), r.author_name);
    dbms_lob.writeappend(cvar, 21, '</author_name></root>');
    Edited by: user521218 on May 7, 2009 12:34 PM

  • Text Area Dialog Could not insert a new line?

    Hi,
    I've just downloaded a new Oracle SQL Developer (formerly known as project raptor) and have tested-drive this software. I found some dissappointed thing there:
    - I would like to insert a long string (several paragraphs) in the data grid editor directly and after I commit the connection, sqldeveloper stripped all my new line (\n)! Is this normal or I've done a mistake here? The datatype of my column is varchar2. I've also tried if the datatype is clob, but the result is the same.
    - I dream someday sqldeveloper's data grid editor can show calendar dialog if the column type is DATE just like sqldetective does.
    thanks for any suggestion
    regrads,
    fox

    - I would like to insert a long string (several
    paragraphs) in the data grid editor directly and
    after I commit the connection, sqldeveloper stripped
    all my new line (\n)! Is this normal or I've done a
    mistake here? The datatype of my column is varchar2.
    I've also tried if the datatype is clob, but the
    result is the same.Yes, that's a bug. The fix would come soon with the first patch release.
    - I dream someday sqldeveloper's data grid editor
    can show calendar dialog if the column type is DATE
    just like sqldetective does.Sure.

  • How to insert a new line character inside CDATA tag in the source xml data file?

    values for form fields in the xml data file is contained inside CDATA tags which is an Unparsed Format.
    Eg: [CDATA[IBM-01 ~ DSHFSJDSJ ~ FGFGFJ, ~ VA 665665]] delimited by "~" char
    Actual o/p:-
    IBM-01 ~ DSHFSJDSJ ~ FGFGFJ, ~ VA 665665
    Expected o/p is like :-
    IBM-01
    DSHFSJDSJ
    FGFGFJ,
    VA 665665
    live cycle product does not interpret ~ as a newline character. Please suggest which character should be used instead inside CDATA section or if there is any other way to fix this?

    I do not have any problem while using IE's XML parser
    for XML+XSLT merging.That is because IE's parser does not implement XML correctly.
    But when I use JAXP's Transformer object, it does not
    preserve the new lines inside attribute values and
    converts those into white spaces.That is exactly what the XML specifications say should happen.
    >
    ----If you have text that contains newlines, you
    should put it in an element, not in
    ----an attribute.
    That would be my last solution. But I'd really hate
    to change my logic just 'coz JAXP is not capable of
    handling new lines inside attribute values. I may be
    wrong... but If IE can keep those then there has to
    be a way to do the same from server side merging....Sure. Write your own parser with the same bug in it. But you don't have any right to demand that other people supply you with parsers that work incorrectly.

  • Inserting a new line character

    Hi,
    In a validation routine returning a text message, I want to display all errors found separated by new line characters in the message displayed to the user. I have tried concatenating '\n' and chr(10) at the end of each message, but they do not work.
    Any suggestions, please.
    thanks,
    Peter

    Vikas,
    I tried what you suggested, but it did not have any effect. I put the region in Region Position 1 and also tried Page template Body 1. I looked at the source generated by your example screen after the error and found this:
    <tr>
    <td valign="top" class="t10ContentBody"><table border="0" cellpadding="0" cellspacing="0" summary="">
    <tr><td valign="top"><div class="t10messages"><div class="t10notification">1 error has occurred<ul class="htmldbUlErr"><li>Value must be specified.</li></ul></div></div><table cellpadding="0" cellspacing="0" summary=""><tr>
    <td valign="top"><script type="text/javascript">
    var d=getElementsByClass('t10notification');
    d[0].childNodes[0].nodeValue="";
    </script>
    <BR><BR><BR>The segment generated in my screen looked like:
    <tr>
    <td class="t3PageBody"><div class="t3Messages" align="center"><div class="t3Notification">1 error has occurred<ul class="htmldbUlErr"><li>Line 3 Resolution Date
    is missing<br></li></ul></div> </div><script type="text/javascript">
    var d=getElementsByClass('t3notification');
    d[0].childNodes[0].nodeValue="";</script>
    So it looks similar but the effect is not the same. Unfortunately, I am not an html/javascript expert so the solution is not obvious to me.
    thanks,
    Peter

  • File Adapter Write Operation inserts a new line at the end

    Hi,
    I am using the write operation in the File Adapter from BPEL Process. The data is written successfully to the file and file is also created in the location specified in the adapter wsdl. But in the file created, it creates a new line at the end of the file. This new line has to be avoided when writing data to a file.
    Has anyone faced this and solved this ?
    I am SOA 10.1.3.4.
    Cheers,
    - AR

    It is a bug in 10g and will be resolved in one of the versions of 11g.
    Cheers,
    -AR

  • How to Insert the new line items in Billing

    Hi Friends,
    I have an issue in Billing process.
    When the user is creating the billing document from Delivery document, then based on some conditions, I have to split the line item into 2 different line items(We have to change the Quantity and value).
    Please let me know what are all the possible options.
    Regards
    Elini.P

    Many times, there is no new line (unless there is some sort of list in the paragraph). Since Word (actually most editors now) word wraps automatically, the paragraph is usually (essentially) one long line that the editor wraps for you.
    But, to tell you the truth, I don't see anywhere in that code where you are even attempting to find newline characters. What, exactly, are you trying to accomplish. I.e. what is your desired result (not the process you are envisioning to get there).

  • How to insert a new line in a jlabel???

    hi everyone
    i have a panel that have a jlabel... my problem is that i can make this label show line feeds even though im adding the "\n" escape character...
    please help
    thanks in advance
    this is my code
    <code>
    import java.awt.FlowLayout;
    import javax.swing.BoxLayout;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JPanel;
    public class Test extends JFrame{
    private String message = "This tool is used to set the database path\n" +
    "If the database is on the local machine, you should use \"localhost\" or \"127.0.0.1\"\n" +
    "If the database is on a networked machine, you should use the IP address of that machine\n";
    private JLabel help = new JLabel(message);
    private JPanel mPanel = new JPanel();
    private JPanel hPanel = new JPanel(new FlowLayout(FlowLayout.LEFT));
    public Test() {
    setTitle("Database Path Updater");
    setDefaultCloseOperation(DISPOSE_ON_CLOSE);
    setSize(450,350);
    setLocation(100,100);
    setResizable(false);
    setupComponents();
    initializeGUI();
    private void setupComponents() {
    mPanel.setLayout(new BoxLayout(mPanel, BoxLayout.Y_AXIS));
    private void initializeGUI() {
    add(mPanel);
    hPanel.add(help);
    mPanel.add(hPanel);
    public static void main(String[] args){
    new Test().setVisible(true);
    </code>

    bif_f wrote:
    thank you...that was really helpful but i just wanna know if using HTML tags is the only way to accomplish this task ????I think it's the only way because "\n" doesn't work and that's what I have learned a long
    time ago in this forum.
    another not related question: do you have any idea where the CODE tags are in this new forum???? i cant find them and i think you have noticed that i have inserted source code that are not CODE formatted....The forum has been updated you should notice that when you replied
    I don't know what's on there mind but they remove the code tags.
    you have to put it manually.
    e.g.
    [code]
    your code
    [[b]code]

  • How to insert a new line in table control created in screen painter

    hai,
    i am stuck up in the place where i need to insert a row of data in the table in screen developed in screen painter..cud some one help me out...

    You can try the following statement:
    MODIFY <DBtable> from table <itab>.
    Of course, you would need to append the user-entered data (from the screen) into the internal table first.
    Hope this helps.
    Sudha

Maybe you are looking for

  • How do I removing a specific item from an Array?

    Hi there. I am having an array of movieclips and when my circle(controlled with the keyboard) hitTests true with one of the movieclips inside that array i want to remove that movieclip from the array so when i hitTest it again it returns false (I hit

  • How are you handling your business listing on maps?

    Did you have to add it to Apple Maps or was it added by one of the Data Providers? Have you ever had a problem with information on it being changed?

  • Tiny printing with Snow Leopard and HP Photosmart C4280

    Since I have gotten Snow Leopard on my MacBook, my HP Photosmart C4280 printer only prints reduced size. The HP test page prints fine. I have uninstalled the HP driver and installed the Apple software driver. Nothing helps. Ideas?

  • Is it possible to recover a foler that was replaced?

    A problem has occurred and I was wondering if anyone might know how to fix it. This is what happened. -A folder with the same name existed on a computer and an external HD. These folders had different contents though (all image files). -The folder fr

  • Exporting file to oracle financial analyzer using Excel "Express Add In ?

    i want to export database oracle using "Excel Add-in Express",at present i have to convert the database to PRN/TXT.FILE first before loading it to oracle financial analyzer (via Loading Menu) .Can I use the Excel Express Add In facility to export fil