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
>

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

  • 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.

  • New line in bdc..

    Experts help me in bdc..
    Im currently creating a new line in bdc..it works properly in my recording problem is It didnt work on my codes.
    I do have a coding like this :
    PERFORM add_bdc_screen  USING 'SAPLSZA6' '0300'.
          PERFORM add_bdc_fields USING :
                'BDC_CURSOR'              'ADFAX-FAX_NUMBER(01)'.
                'BDC_OKCODE'              '=NEWL',
                 'GV_PRFCOMM'              'M',
          'Adfax-fax_number(01)'      t_update-fax_number ,
          'Adfax-fax_extens(01)'      t_update-fax_extens ,
          'Adfax-flgdefault(01)'      t_update-flgdefault_fax ,
          'Adfax-flg_nouse(01)'       t_update-flg_nouse_fax ,
    that's my code but it didnt work...

    Experts help me in bdc..
    Im currently creating a new line in bdc..it works properly in my recording problem is It didnt work on my codes.
    I do have a coding like this :
    PERFORM add_bdc_screen  USING 'SAPLSZA6' '0300'.
          PERFORM add_bdc_fields USING :
                'BDC_CURSOR'              'ADFAX-FAX_NUMBER(01)'.
                'BDC_OKCODE'              '=NEWL',
                 'GV_PRFCOMM'              'M',
          'Adfax-fax_number(01)'      t_update-fax_number ,
          'Adfax-fax_extens(01)'      t_update-fax_extens ,
          'Adfax-flgdefault(01)'      t_update-flgdefault_fax ,
          'Adfax-flg_nouse(01)'       t_update-flg_nouse_fax ,
    that's my code but it didnt work...

  • How to print new line using DBMS_OUTPUT package

    Hi,
    I am trying to print a new line using DBMS_OUTPUT package. but it do not print the new line.
    set serveroutput on size 200000
    set feedback on
    BEGIN
    DBMS_OUTPUT.PUT_LINE('First Line');
    DBMS_OUTPUT.PUT_LINE('');
    DBMS_OUTPUT.PUT_LINE('Second Line');
    END;
    I expect following output ...
    First Line
    Second Line
    but i got following output....
    First Line
    Second Line
    why DBMS_OUTPUT.PUT_LINE( '); is not printing a new line ?

    You can try the following:
    SQL> ED
    Wrote file afiedt.buf
      1  BEGIN
      2  DBMS_OUTPUT.PUT('ONE LINE...');
      3  DBMS_OUTPUT.PUT('SECOND LINE...');
      4  DBMS_OUTPUT.NEW_LINE;
      5  DBMS_OUTPUT.PUT_LINE('THIRD LINE WITH NEW LINE...');
      6  DBMS_OUTPUT.PUT('TEST');
      7  DBMS_OUTPUT.NEW_LINE;
      8  DBMS_OUTPUT.PUT_LINE('FOURTH LINE'||CHR(10)||'EXAMPLE');
      9  DBMS_OUTPUT.PUT_LINE(CHR(10));
    10  DBMS_OUTPUT.PUT_LINE('FIFTH LINE');
    11* END;
    SQL> /
    ONE LINE...SECOND LINE...
    THIRD LINE WITH NEW LINE...
    TEST
    FOURTH LINE
    EXAMPLE
    FIFTH LINE
    PL/SQL procedure successfully completed.Documentation:
    http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_output.htm#i1000062

  • 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

  • Cannot Add new line using BI IP query

    Hi All,
    We have created a planning application (BI IP Query) and used it in VC 7.1 model using BI Query Wizard service. Now we are able to customize existing rows ( existing rows are using flat file upload)... we can able to change the existing record values and save it.
    But we are not able to add new line... its going to dump... We are able to add new line using WAD with same query but not in VC 7.1
    This issue is same as below 2 threads...
    Re: How to create new records through a VC form in an input-ready query??
    Re: Cannot add new records through VC form when consuming IP write back query?
    Thanks,
    PradeeP

    Its working now... SAP has given the fix (patch) for this issue when we deployed it, everything is working fine... I think they will release this fix (patch)soon...
    Raise an Sap OSS message for solution

  • 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

  • Insert new line using rule in InfoPath 2010

    Hi All,
    How to insert new line on the multiline textbox using rules. I followed the below article. But it didnt help to resolve the issue.
    http://blogs.msdn.com/b/infopath/archive/2005/03/04/385577.aspx
    Any help would be appreciated.
    Rajasekar A.C

    Hi,
    I followed the above link and it worked for me. Can you please make sure if the formulae is verified by clicking on "Verify" after entering following lines?
    concat(field1, @crlf,
    "Hello, world!")
    You can even try this link
    http://www.sharepointmaestra.com/Blog/Post/4/InfoPath---Appending-Text-in-Multiline-Field-with-Line-Feed
    Thanks,
    Avni Bhatt 
    If this helped you resolve your issue, please mark it Answered

  • Add a new line using an old verizon phone

    want to add a new line to existing contract using a previously purchased Verizon smartphone.

    currently have a newly purchased verizon smart phone that was given to me and i want to know if it is possible to activate this phone with a new line uner my pre exsisting contract so i dont have to buy another phone would just have to pay activation fee and upgrade my plan as well

  • 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.

  • 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 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.

Maybe you are looking for

  • Yosemite upgrade from Mavericks left me with a white screen.

    i dont think the install completed And now my computer won't start up. It shows the apple icon and a progress bar and then just does nothing. I've turned it off and on a few time with the same result. Any ideas?

  • Currency format in the ALV display.

    Hi. Im trying to display values of MBEW-stprs in the ALV report But the problem is the format is different for different countries, for ex; Korea has no decimal places and us dollar has 2 decimals. how can i display the currency with respect to the c

  • Weird problem syncing iPhone 3G with Outlook. Stopped working?

    Hi, I really hope this isn't a repetitive question; I tried searching around the internet and either found no solution that worked, or problems similar but not quite the same as mine. Anyhow, I just got an iPhone 3G last week and I'm running a PC wit

  • Missing index wf_java_deferred?

    I've got a couple of queries of wf_java_deferred "where msg_id = :1" that are generating 1+ billion ( that's a B ) physical IOs per day in an HR instance. It's clear to me that this table needs an index on msg_id, however Oracle support has been unab

  • My 15inch Powerbook G4 will only work on charge

    Hey, my mate gave me his Powerbook G4 as he bought a new mac, It works, but only when its plugged into the AC, and i dont have a charger lol (it caught fire at his house :S) The battery shows that it has 3 L.E.Ds that light up... But it wont start...