Regarding problem with new line feed for DME file generation

Hello Experts,
I m facing a problem in the DME file generation.
we want each record in the DME file should be in new line. for that we have add the new line feed character in the each row end. So in the SAP output it looks ok, But if we download that file the carriage return field is coming in the end of every row.
can any one tell how to solve this issue.
Please refer the below line code which i m using for new line
DATA: GM_newline TYPE c VALUE cl_abap_char_utilities=>CR_LF
You reply is valuable..
Thanks,
Suresh

DATA: GM_newline TYPE c VALUE cl_abap_char_utilities=>newline.

Similar Messages

  • New-line Character for a file opened in BINARY mode for O/P

    Can anybody please tell me how to put a new-line charcter for each record in a file opened in Binary mode for O/p. I cant use text mode  for other reasons in my scenario.
    DATA: l_outdata TYPE xstring.
    OPEN DATASET file FOR OUTPUT IN BINARY MODE.
    Application logic to populate l_outdata
    TRANSFER l_outdata TO file.
    Any help, or attempt towards it will be duely rewarded,
    Thanks in advance,
    Sujit.

    hi sujit,
    1. how to put a new-line charcter for each record
    but how will you decide, at which POSITION,
    to put the new line character, if u have opened the file in binary  mode.
    2. However, if u know the exact positions(s),
      u can use  CL_ABAP_CHAR_UTILITIES=>CR_LF
      to insert the new line character,
    regards,
    amit m.

  • Problem with new-line-character and java.io.LineNumberReader under AIX

    Hi folks,
    I got the following problem: I wrote a little parser that reads in a plain-text, tabulator-separated, line-formatted logfile (and later on safes the data to a 2-dimensional Vector). This logfile was originally generated by an AIX ksh script, however, I copied it on my Windows machine to work with it (for I'm using a Java editor that runs under Win Systems).
    For any reason, Windows, and what is worse Java too, seems not to recognize correctly the new-line character (in the API it is written that this should be a newline '\n' or a carriage-return '\r' or one followed by the other) that marks the end of a line in the logfile.
    Also, when I'm opening the logfile with the "Notepad"-editor, this special character does not seem to be recognized, every line is inserted right after the other.
    On the other side, when I open the logfile with the built-in editor in the CMD-Shell ("Dos-shell"), the newline chars seem to be recognized correctly.
    But when start my parser on the AIX-machine the newline does not seem to be recognized correctly again.
    I tried to read in the logfile with MS-Excel and safe it as a plain-text, tabulator-separated, line-formatted logfile again, with such files my parser works fine both on the AIX as it does on Windows.
    Any ideas? Anybody got over the same problem already?
    Greetz FK

    Under windows, text files' lines are usually delimited by \r\n,
    under Unix/Linux/AIX etc. \n
    and under Mac \r.
    I recommend to use the following editors, which are capable to handle files with Unix and Windows-styled line-delimiters or convert between these types:
    Programmer's File Editor (PFE; available on Windows)
    The Nirvana Editor (http://www.nedit.org/; available on Unix, MAcOS, Windows)
    (BTW good old vim can handle that too. Transferring text files to windows in order to edit them, even using Excel for this purpose means your being a UNIX newbie, (I mean no offense by writing this) so vim is probably beyond your reach for the moment.)
    Java normally assumes the platform's line delimiters where it is running, so if you transferred the file from Unix to Windows might be distrurbing.

  • Problem with new line

    Hi,
    I'm trying to write a note for a contact.I have written following code
    contact.addString(Contact.NOTE, contact.ATTR_NONE, "bla bla bla");it works, but when i write
    contact.addString(Contact.NOTE, contact.ATTR_NONE, "bla \n bla \n bla");it doesn't work. What's wrong with newline
    Can anybody help me to fix it.??

    I'm still working on emulator.
    If I write
    contact.addString(Contact.NOTE, contact.ATTR_NONE, "bla \n bla \n bla");actually it's still working but the "\n" is ignored. The output is
    >>bla  bla  blanot
    >>bla
    bla
    bla but if I write (without space after new line)
    contact.addString(Contact.NOTE, contact.ATTR_NONE, "bla \nbla \nbla");it's not working and doesn't have any output. Is "\n" really not supported or it's a bug .??
    Thx

  • Problem with new lines

    I have defined a form in Dreamweaver  to be used in conjuction with my SQL database (I am using the PHP/SQL).  One of the fileds in my form is of type TEXT (as opposed to VAR CHAR). Now, eventhough the text I am entering for that TEXT field has a number of paragraphs, when I read back the TEXT  field from the database (via sql SELECT),  the data for the TEXT field comes out continuously without paragraps. I don't understand why the paragraph or newline markings are not working when TEXT type data is retrieved from the database.  Can someone help me please.  Thanks!

    This is because HTML ignores new lines. The solution is to use the PHP function nl2br(). Depending on which version of Dreamweaver you're using, you can apply this function through the Bindings panel like this:
    This is certainly available in CS4, and maybe in CS3 too; but not earlier versions.
    If you're using an earlier version of PHP, wrap the dynamic text in nl2br() like this:
    <?php echo nl2br($row_recordsetName['fieldName']); ?>

  • Problems with new fields added for tc MASS for material master data.

    Hello to all.
    We created new fields in MARA table and added to the process of the tc MASS. We made the following steps and it almost works correctly:
    1-Add new fields to the object ZBUS1001, copy of bus BUS1001.
    2-Add new fields to table T130F
    3-Add new field to structure E1MARAM.
    4-Add new fields to structure CL_MMH1.
    5-Add new fields to structure MARA_TMP.
    6-Created a function module to control that the new fields not filled in MASS have a "/" value.
    If we run the mass for our objetct ZBUS1001 and put a new value or modify the value of new fields, the tc MASS works correctly.If we want to delete a value leaving the value empty,click to the carry out a mass change button and save the change, the system don´t delete the value and keep the first value.
    Do you know what the problem is , and what step we didn´t make it.
    Thanks in advance.
    Edited by: tonnetti pablo on Feb 6, 2008 7:45 PM

    Hi,
    Check ZTERMDT is checked under Attribute list as below.
    Hope it helps..
    regards,
    Raju

  • Problems with the RSS feed for my podcast

    Hi, am very new to this so apologies if this requires a simple solution.
    I was told that to find the RSS for my podcast, I hover my cursor over the subscribe button and this will be it. When I do this I get:
    itpc://www.jilt.org.uk/publichtml/publichtml/Podcast/rss.xml
    I have tried this with itunes and it has been rejected as not working.
    Other information that might be useful for anyone trying to help is that my url is www.jilt.org.uk.
    I have entered "jilt" as the sitename on Iweb but this doesn't seem to come up anywhere.
    Am very confused by it all and would hugely appreciate any advice.

    You seem to be uploading to a server that uses a public_html folder as the root folder.
    Inside this you have a copy of the public_html folder and, inside this is a copy of your website.
    You also appear to have your files uploaded to the public_html folder because your podcast is available here....
    http://www.jilt.org.uk/Podcast/Podcast.html
    So that you don't break the RSS feed what you need to do is this:
    Publish the site to a local folder and you should get an index.html file and a folder named "jilt".
    Upload these to the top level public_html folder. Now open the site in the browser and hover over the "Subscribe" button to get the feed's URL.

  • Problem with new computer booting for xp install.

    I just built a new K8N Neo today with a 3000+. The computer POSTs fine and I can start the install of xp. Setup will copy the files over and then reboot. When the computer reboots, I get the error "cannot load operating system". Ive tried all kinds of things, new cables, change jumpers around, 1 hard drive, 2 hard drives but I always still get the same message. I dont know what else I can do. Theyre just regular ATA100 drives and I have them on IDE1 while the DVDRW is one IDE2.
    I tried resetting the CMOS also. Does anyone know how to fix this?

    Ecerything is still a bo go. I dont understand this at all. The bios detects the hard drives because I can read their specs within the bios. Tried to fix the MBR and that didnt work. Im really at a loss here. This is my first MSI board and im not too happy with it so far.

  • Removal of Line feed from EDI file in IDOC to EDI file scenario

    Hi Experts,
    I have one problem related to line feed in EDI file. Currently i am using seeburger mapping to do XML to EDI mapping. After mapping i am using File Adapter(with NFS) to create file in my PI server.
    The line looks like
    UNB+UNOA......
    UNH+1.......
    BGM.........
    but i want my file in without line feed
    UNBUNOA......UNH1......BGM
    Can this be possible without use of Shell script?
    Is anything i can do in Seeburger mapping [i checked BIC mapper in seeburger and see some parameters there]?
    Regards,
    Shradha

    Hi,
    I am explaining my scenario in detail:
    my Current EDI file looks like
    UNAf1f2............'
    UNBf1f2............'
    BGMf1f2............'
    UNHf1f2............'
    now i want my file to be in following format
    UNAf1f2............'UNBf1f2............'BGMf1f2............'UNHf1f2............'
    NOTE: to create my current file i am using File adapter with NFS and seeburger mapping.
    Can you please tell me a way to remove the line feed from the current file ?
    I already tried newline checkbox from seeburger and it is not working. and other parameter i can use from see burger mapping tool which will remove my line feed.
    Regards,
    Shradha

  • I bought new i phone 5 3 days back, after that asked for new update which is 6.1.4, after updating my iphone i am not able to use cellular data services. I called up data provider, they says its the problem with new software update. There is no option add

    I bought new i phone 5 3 days back, after that asked for new update which is 6.1.4, after updating my iphone i am not able to use cellular data services. I called up data provider, they says its the problem with new software update. There is no option add APN. Now when i switch to safari its showing you are not subscribed for cellular data. But I am able to use data on other phone.
    Will you please help me in this regard?
    Another issue, since i bought my new iphone there is dust inside back main camera.
    Your advises are highly appreciated.

    Hey Shaiju isac,
    I'd take a look at the following article, it'll guide you though steps to you troubleshoot cellular data issues on your iPhone:
    iPhone: Troubleshooting a cellular data connection
    http://support.apple.com/kb/ts3780
    Cheers,
    David

  • A space in xml-document is stored in database as New line feed instead of n

    Hello,
    I have got the following problem:
    An xml-document is inserted by an xsql servlet into an object view. First this document is translated by an xsl file. Then an instead of trigger inserts the values into the right tables.
    When a space is present (only one space no further string-value) in the xml-document then this space is inserted into the database as a new line feed.(chr(10))
    When I add the following line to the tag
    <bnr_name xml:space="preserve"> </bnr_name>
    then the space is stored as a space. (chr(32))
    What I want is that this space is inserted as a NULL- value.
    Does anyone know a solution in xml or xsl? (Of course I can solve it on the database side by programming a function around it, but I want to solve it on the xml or xsl side)
    Bye
    jan-Paul Duister

    Few questions which might help to understand the issue.
    1. Is client's data is coming in more than 72 chars per each line? Then you can request client to send the data with max. 72 chars per line. Else dividing the string into 72 chars will loose the readability of text since logic can not be built to divide the text.
    Start reading the text string starting from left for maximum 72 chars . If 72th character is non space then go backwards i.e. read 71, 70, 69... till last character should be a SPACE.
    Eg. string is
    'xxxxxxxxxxx...........This material is created for plant xyz. date of creation is 03.02.2009'.
    x = string72(1) should be a SPACE else take x = string71(1)  and likewise.

  • Problem with "SELECT...FOR UPDATE OF..." and "POST command" combination

    Problem with "SELECT...FOR UPDATE OF..." and "POST command" combination
    Problem in committing transactions in Multiple Forms (Oracle Forms) with POST built-in command:
    Consider that the following statements are written in WHEN-WINDOW-CLOSED trigger of a called form.
    Statements in called form (Form name: FORM_CHILD):
    go_block('display_block') ;
    do_key('execute_query') ;
    -- Data from table_b will be populated in this block, based on the value of COLUMN_1 obtained
    -- from TABLE_A.
    -- Example: If the value of COLUMN_1 is 10, then all the matching records from TABLE_B, which
    -- are inserted with value 10 in TABLE_B.COLUMN_1 will be fetched and shown here.
    if user_choice = 'YES' then
    commit ;
    else
    rollback ;
    end if ;
    Statements in calling forms:
    There are two calling forms having following statements and it is going to call the above said called form.
    CALLING FORM 1
    Statements in KEY-COMMIT trigger:
    post;
    call_form(form_child, no_activate) ;
    Statements in ON-INSERT trigger:
    select column_1
    from table_a
    for update of column_1
    where column_2 = 'X' ;
    update table_a
    set column_1 = column_1 + 1
    where column_2 = 'X' ;
    insert into table_b ...;
    insert into table_b ...; Statements in KEY-COMMIT trigger:
    post;
    call_form(form_child, no_activate) ;
    CALLING FORM 2:
    Statements in ON-INSERT trigger:
    select column_1
    from table_a
    for update of column_1
    where column_2 = 'X' ;
    update table_a
    set column_1 = column_1 + 1
    where column_2 = 'X' ;
    insert into table_b ...;
    insert into table_b ...;
    insert into table_b ...;
    Our understanding:
    Assume that both the forms are running from two different machines/instances, issuing commit at the same time. In this case, forms will start executing the statements written in ON-INSERT trigger, the moment POST command is executed. Though the commit is issued at the same time, according to oracle, only one of the request will be taken for processing first. Assume that calling form 1 is getting processed first.
    So, it fetches the value available in COLUMN_1 of TABLE_A and locks the row from further select, update, etc. as SELECT...FOR UPDATE command is used (note that NOWAIT is not given, hence the lock will be released only when COMMIT or ROLLBACK happens) and proceed executing further INSERT statements. Because of the lock provided by the SELECT...FOR UPDATE command, the statements in calling form 2 will wait for the resource.
    After executing the INSERT statements, the FORM_CHILD is called. The rows inserted in to TABLE_A will be queried and shown. The database changes will be committed when user closes the window (as COMMIT is issued in its WHEN-WINDOW-CLOSED trigger). Then the SELECT...FOR UPDATE lock will be released and calling form 2's statements will be executed.
    Actual happenings or Mis-behavior:
    Calling form 2 starts executing INSERT statements instead of waiting for SELECT...FOR UPDATE lock. Also, the value selected from TABLE_A.COLUMN_1 is same in both the calling forms, which is wrong.
    The rows inserted into TABLE_B are having similar COLUMN_1 values in calling form 2 and they are fetched and shown in the called form FORM_CHILD.
    Note that in calling form 2 also POST only is issued, but the changes posted there are accessible in calling form 1 also, which is wrong.
    Kindly suggest us as to how to fix above problem. It will be much use, if you can send us the information regarding the behavior of Oracle Forms POST built-in also.
    Our mail ID: [email protected]
    Thanks a lot in advance.

    You have several problems:
    1. On-Insert will ONLY run if you have created a new record in a base-table block. If you haven't done that, then the POST command will not cause it to run.
    2. Select for update without a "no wait" will lock records for the first form, but when the second form tries this, it will hit the ORA-00054 exception, and will NOT wait. The only way you could make it wait is to issue an UPDATE sql command, which is not such a good way to go.
    All POST does is issues SQL insert or update commands for any changes the user has made to records in a form's base-table blocks, without following with a Commit command.
    Also understand that Commit is the same as Commit_Form, and Rollback is the same as Clear_Form. You should read up on these in the Forms help topics.

  • Wifi problems with new ipad

    I'm trying to learn how to correct wifi problems with new iPad.  It is the wifi only, 64GB model.  I want to be able to use it at work, where we have a great wifi network.  I can usually connect to our network with no problem, but after an hour or so my iPad loses the network.  When I try to reconnect, I see that the network is showing full strength reception, but I get the error message from the iPad that I am "Unable to join" the network.  My iPhone connects to the same network seamlessly, as do all of the other iPhones of my co-workers and the older generation iPads that some of our staff has.
    At other locations, I typically have no problems (home, apple store, etc.) but I have had the same situation pop up at a coffee shop where I could see that there was a wifi network available, but I could not join it even though it was the shop's free wifi. 
    I have tried turning the iPad off, turning off wifi and turning it back on again, and forgetting the wifi network in question.  I can't think of any other methods that are available to an end user to correct the problem. 
    I have already gone to the Apple store to swap out the unit, and the newer one is having the same symptoms. 
    Can anyone offer any advice here?  This is quite frustrating.

    No problem! Have a read at this most interesting article which has special significance as regards your models!
    http://edition.cnn.com/2012/04/05/tech/gaming-gadgets/ipad-wi-fi-issues/index.ht ml
    However, I attach an extract from another thread for your perusal. You can disregard any suggestions/links you have already explored -
    created by Texas Mac Man in Using iPad - View the full discussion
    Look at iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    Additional things to try.
    Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router &amp; then back On. Now boot your iPad. Hopefully it will see the WiFi.
    Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    If none of the above suggestions work, look at this link.
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
     Cheers, Tom ;)

  • List of Problems with new Web Mail

    List of Problems with NEW Web Mail :
    - At first doesn't open full page message list or retain full page as default setting, have to drag down bar
    - Only shows 20 message lines after “pulling down” the divider, screen partially empty until I scroll down.  It should show at least 26, preferably all available
    - After moving bar, bar moves back up after going back to inbox (not delete message) after reading a message, have to move it down again, and again...
    - Doesn't go to next message when delete message on screen is selected, no setting option for default to do this.
    - There is a drop down to select which folder to move a selected email to.  The initial display shows 7 usable choices, with the usual slider and arrow to show more choices.  The space on the slider clearly shows more choices are present (actually about 20 or so are there), but any attempt to use the slider or arrow to see more choices causes the drop-down to instantly disappear.  I can't move the selected field with arrow keys either.  I can select any of the visible 7 choices, and move an email to only one of the 7.  NOTE: This one works in both IE and Firefox, but if Verizon Webmail was fully web standard (see http://en.wikipedia.org/wiki/Web_standards) compliant it would also work in my preferred browser, Mozilla Seamonkey, the direct descendant of the original Mozilla browser.  Webmail should be FULLY web standard.
    - Occasionally a message will move from inbox to trash, without NO indication or command to move them.
    - Emails occasionally flash an error message and simply disappear - not to trash or other findable place, just disappear.  No time to read the error message either.
    - No way to set a whitelist for supposed spam emails, unless the whitelist for “Blocking” is the same.  Very unclear.
    - How can I switch my service back to the original, basic, email which works ok?  I know it’s still there, since some of my other accounts still access it!!!
    This seems my only way of getting this info direclty to the programming staff.  If it doesn't actually do this, will SOMEONE PLEASE FORWARD THIS MESSAGE TO THEM !?!  
    Thanks!

    vz_ric wrote:
    The majority of websites are set up the same way for all browsers. It's the software manufacturers responsibility to make their software compatible with websites, not the other way around. Otherwise everyone who has a website will have to make 10 different sites to work multiple browsers.
    Contrarily, it is Verizon's, as well as other companies like Verizon whose customer base uses a wide variety of web browsers, web page designers' responsibility to use only standard W3C-recognized code and not to use non-standard non-W3C-recognized code, e.g., Microsoft's Internet Explorer specific code, when designing their web pages. In my opinion based on my observations, Verizon's web page designers are too often guilty of using IE-specific code.

  • RSAU461, problem with activating update rules for cube 0csrv_c01

    Hello,
    I have added new fields to data source 0CRM_SRV_PROCESS_H, then changed transfer rules, added characteristics to ODS 0crm_proh, and reactivated update rules 80crm_proh. But now I have problem with second update rules for this cube named 80crm_cnfh. It is not active and all fields in it have red status, error RSAU461, and I cannot activate it.
    What I should do? Should I change somehow that second source for data to my cube (change infosource, ods, rule?)
    Regards
    Radek

    hi
    As said by the Mti u have just changed the info objects in the ods and u need to map them with the specific info objects from the ods.
    double click on the Update rules of the cube and go to the characteristic tab there map the newly added info objects with the IO in the ods.
    Khaja

Maybe you are looking for

  • Switch and Router Redundant Network

    I am trying to learn as much as possible about networking and cisco. I trying to build the following network to practice redundancy. I set up HSRP on my routers because it the only protocol available on packet tracer. The following setup works but ho

  • HT204266 Where can I buy a refurbished Mac?

    I need a good computer for school and I don't have the money to spend $1000 on a new Mac. Does anyone know where I can get a refurbish Mac for less money.

  • How to fetch dynamically generated text file

    Caveat: I'm actually using CSP, not JSP, but the scripting methods are very similar. A JSP answer will probably apply to CSP as well. Currently, I have a dynamic content page that which I fetch on a submit action using response->getRedirectURL("xxx")

  • MacKeeper (and other sites) keeps opening in new tabs

    HELP!! When browsing, new tabs open when I make selections in Safari. I've installed Sophus anti-virus and have scanned my laptop multiple times. Every time I scan with the anti-virus software, the software diagnoses that there where no issues detect

  • Displaying 2 decimal places in BI Answers column, using SQL_TSI_HOUR

    Hi, Would anyone know why the following code refuses to display 2 decimal places in a BI answers report: ' case when "- Job Detail"."Date Delivered" is null or "- Job Detail"."Date Received" is null then 'Not Available' else cast (ROUND(cast(timestam