Export data without commas

Hi!
I've got Oracle 10.2.0.3 and SQLDeveloper 1.5.1.54.40
NLS_LANG = RUSSIAN_CIS.CL8MSWIN1251;
What I did:
CREATE TABLE B
(     ID NUMBER,
     CNT NUMBER
Insert into B (ID,CNT) values (1,1);
Insert into B (ID,CNT) values (1,3);
After that I've made export data (from pop-up menu) ->inserts -> to clipboard.
Paste to SQLDeveloper:
REM INSERTING into B
Insert into B (ID,CNT) values (1 1);
Insert into B (ID,CNT) values (1 3);
Execute statement (F9) ->
ORA-00917 - missing comma.
Thanks for reading

Have a look at Export problem - SQL Developer 1.5.1 BUG!! for what I would guess to be your problem (using NLS settings instead of hard-coding ,).
theFurryOne

Similar Messages

  • How to upload the exported report without data to BO ?

    Hi all,
    The version is BO XI3
    As captioned, there is data in the exported report. while upload the report to BO in java program, even  setKeepSavedData(false) , but the uploaded report still has data.
    IReport boReport = (IReport) reports.get(0);
    IFiles boReportFiles = boReport.getFiles();
    IRemoteFile boReportFile = (IRemoteFile) boReportFiles.get(0);
    boReportFile.overwrite(localFileName);
    boReportFile.commit();
    boReport.setKeepSavedData(false);
    boReport.refreshProperties();
    infoStore.commit(reports);
    How to upload the exported report ( which has data) without data to BO in java program ?
    Thanks
    Forest

    Exported report will always have data. Simply copy ther eport from the FRS server to where ever. Un-clear why you would want to do this.

  • "CSAP_MAT_BOM_MAINTAIN" can read material which is created without commit?

    hi:
      i want to create a material first with "BAPI_MATERIAL_SAVEDATA",then i want to add this material as a component
      to a existing BOM with "CSAP_MAT_BOM_MAINTAIN".
      1 I create the material using "BAPI_MATERIAL_SAVEDATA" without "BAPI_TRANSACTION_COMMIT".
      2 I use "CSAP_MAT_BOM_MAINTAIN" to add the material to a existing BOM.
      Before this test,i think "CSAP_MAT_BOM_MAINTAIN" will raise an exception:
      "The material XXX does not exist or is not activated"
      But the result is:Material is created successfully and the BOM is added a component with a commit implicitly.
      How can "CSAP_MAT_BOM_MAINTAIN" read the material which is not committed to the DB?
      BTW:Even if "CSAP_MAT_BOM_MAINTAIN" raise a exception,i can use "BAPI_TRANSACTION_COMMIT" to rollback both the
      created material and the changed BOM.
      I am confused!!
      Following is the sample code of this case:
    *& Report  Z_TESTYM23
    REPORT  z_testym23.
    DATA mat LIKE bapimathead-material VALUE '000000000000002814'.   "created material no
    DATA bom LIKE csap_mbom-matnr VALUE '000000000000002794'.
    DATA change_no LIKE aenrb-aennr.
    create ECN in sap
    PERFORM ecn_create.
    create material without commit
    PERFORM mat_create.
    *-- maintain BOM
    PERFORM maintain_bom.
    *&      Form  MAT_CREATE
          CREATE MATERIAL
    FORM mat_create .
      DATA headdata LIKE bapimathead.
      DATA clientdata LIKE bapi_mara.
      DATA clientdatax LIKE bapi_marax.
      DATA itab_makt LIKE TABLE OF bapi_makt.
      DATA wa_makt LIKE bapi_makt.
      DATA return LIKE bapiret2.
      headdata-material = mat.
      headdata-ind_sector = 'A'.
      headdata-matl_type = 'ROH'.
      headdata-basic_view = 'X'.
      clientdata-base_uom = '2X'.
      clientdatax-base_uom = 'X'.
      wa_makt-langu = sy-langu.
      wa_makt-matl_desc = 'TEST'.
      APPEND wa_makt TO itab_makt.
      CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
        EXPORTING
          headdata            = headdata
          clientdata          = clientdata
          clientdatax         = clientdatax
        IMPORTING
          return              = return
        TABLES
          materialdescription = itab_makt.
      CHECK return-type <> 'S'.
      CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
      MESSAGE  return-message TYPE 'E'.
    ENDFORM.                    " MAT_CREATE
    *&      Form  MAINTAIN_BOM
          Maintain BOM
    FORM maintain_bom .
      DATA i_datum(10).
      DATA i_stko TYPE stko_api01.
      DATA t_stpo LIKE TABLE OF stpo_api03.
      DATA w_stpo LIKE stpo_api03..
      WRITE  sy-datum TO i_datum.
      w_stpo-item_categ = 'L'.
      w_stpo-component = mat.
      w_stpo-comp_qty = '2'.
      APPEND w_stpo TO t_stpo.
      CALL FUNCTION 'CSAP_MAT_BOM_MAINTAIN'
        EXPORTING
          material    = bom
          bom_usage   = '1'
          valid_from  = i_datum
          change_no   = change_no   "correct no:'500000000053';incorrect no:'500000000153'
          i_stko      = i_stko
          fl_complete = 'X'
        TABLES
          t_stpo      = t_stpo
        EXCEPTIONS
          error       = 1
          OTHERS      = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.   "Rollback BOM and material
      ELSE.
        CALL FUNCTION 'BUFFER_REFRESH_ALL'.          "Remained process of function:BAPI_TRANSACTION_COMMIT
        WRITE: / 'Everything is OK',
               / 'CHANGE_NO: ',change_no,
               / 'MATERIAL NO: ',mat,
               / 'BOM: ', bom.
      ENDIF.
    ENDFORM.                    " MAINTAIN_BOM
    *&      Form  ECN_CREATE
          Create ECN
    FORM ecn_create .
      DATA change_header LIKE aenr_api01.
      DATA object_bom LIKE aenv_api01.
      change_header-status = '01'.
      change_header-valid_from = '2007/06/01'.
      change_header-descript = 'test'.
      object_bom-active = 'X'.
      CALL FUNCTION 'CCAP_ECN_CREATE'
        EXPORTING
          change_header            = change_header
          object_bom               = object_bom
          FL_COMMIT_AND_WAIT        = 'X'
         FL_NO_COMMIT_WORK        = 'X'
        IMPORTING
          change_no                = change_no
        EXCEPTIONS
          change_no_already_exists = 1
          error                    = 2
          OTHERS                   = 3.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE 'E' NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " ECN_CREATE 
      Regards
      Ming

    I did another test as following:
    *& Report  Z_TESTYM23
    REPORT  z_testym23.
    DATA mat LIKE bapimathead-material VALUE '000000000000002816'.   "created material no
    create material without commit
    PERFORM mat_create.
    *&      Form  MAT_CREATE
          CREATE MATERIAL
    FORM mat_create .
      DATA headdata LIKE bapimathead.
      DATA clientdata LIKE bapi_mara.
      DATA clientdatax LIKE bapi_marax.
      DATA itab_makt LIKE TABLE OF bapi_makt.
      DATA wa_makt LIKE bapi_makt.
      DATA return LIKE bapiret2.
      headdata-material = mat.
      headdata-ind_sector = 'A'.
      headdata-matl_type = 'ROH'.
      headdata-basic_view = 'X'.
      clientdata-base_uom = '2X'.
      clientdatax-base_uom = 'X'.
      wa_makt-langu = sy-langu.
      wa_makt-matl_desc = 'TEST'.
      APPEND wa_makt TO itab_makt.
      CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
        EXPORTING
          headdata            = headdata
          clientdata          = clientdata
          clientdatax         = clientdatax
        IMPORTING
          return              = return
        TABLES
          materialdescription = itab_makt.
    CALL FUNCTION 'MARA_SINGLE_READ'
       EXPORTING
        KZRFB                   = ''
        MAXTZ                   = 0
         matnr                   = mat
        SPERRMODUS              = ' '
        STD_SPERRMODUS          = ' '
        OUTPUT_NO_MESSAGE       =
      EXCEPTIONS
        lock_on_material        = 1
        lock_system_error       = 2
        wrong_call              = 3
        not_found               = 4
        OTHERS                  = 5.
    IF sy-subrc <> 0.
       CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
       MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
      SELECT COUNT(*) FROM MARA WHERE MATNR = MAT.
      WRITE SY-DBCNT.
      CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
      WRITE return-message.
    ENDFORM.                    " MAT_CREATE
    SY-DBCNT = 1 and i can alse rollback the material

  • SQLDeveloper 1.5.1 (Build MAIN-5440) does not correctly export data.

    At export of the data the script of the data insert is incorrectly generated. For example at export from "Tools"-->"Database Export" menu it generates following script:
    Insert into "DIC_StructBlockType" (ID,"Name","Code") values ('[B@124e231' 'Center' '1');
    instead of
      Insert into "DIC_StructBlockType" (ID,"Name","Code") values ('30100000000111000000000000000100', 'Center', '1');
    (where ID is RAW(16) or GUID)
    I.e. wrong conversion of RAW(16) format and absence of commas in values section taking place
    At export from data view of table i have
      Insert into "DIC_StructBlockType" (ID,"Name","Code") values ('30100000000111000000000000000100' 'Center' '1');
    without commas in values section instead of script above.
    I know than in SQLDeveloper 1.5.0.52 (Build MAIN-52.03) insert script generation from table data view works normally (but not works in Database Export tool).
    Whether there is a patch for this bug (in 1.5.1)?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    The first issue seems like a previously unreported bug.
    The second bug is because the values are (wrongfully) separated by the Preferences - Database - NLS Settings - Group Separator. Just change that to comma, and the Decimal Separator to something else.
    Regards,
    K.

  • Exporting data from a materialized view in Oracle 10g

    Can anybody tell me how to export data to a remote server and import data in that remote server without using ftp utility. Actually I want to export the data from a materialized view to the remote server and import the same in the remote server.
    If everything works well, I'll put the exporting and importing in a cronjob.
    Please let me know how can I do that if that's possible .
    Any reply would be appreciated.
    Thanks.

    Here is what I'm trying to do.
    I created materialized views using multiple base tables in my local server and the base tables got populated using a long process.
    Now I want to copy those data alone to some remote server since it doesn't have any base tables in it. For now, the remote server should depends on the localserver's data. I'm going to use the remote server's data for some testing purposes.
    I know it is easy to create mat.views in the remote server but it doesn't have I don't want to do that now. I just want to copy the snapshots from my local server to the remote server.
    Please let me know how to do that.
    Thanks.

  • How to export video without modification

    So it appears that the new iPhoto 9.5 modifies video files when exporting, even when you choose "original." I like to backup my original files without any modification. Images don't seem to be modified, but videos are; the timestamp changes and the size is smaller. Has anyone figured out an easy way to export/backup without modifying the original video files?
    I've tried going into the iPhoto library and just backing up manually from there, but Apple has once again modified the file structure of the library so it's hard to figure out if you're getting all the files, or even what date you're getting. It seems to separate it by month and date of import, but not the date the actual image/video was taken.
    I liked the old version where you just select a range of images/videos in iPhoto and export the originals to a backup drive without any modification.
    Here's a screenshot of how it organizes the files in the library. Kind of a mess.

    With past versions, when you exported as "original," it wasn't actually exporting a new file; it was copying the original file to a new location. So you were getting a bit-for-bit copy of the original. It appears to still do that with images—the copied file has the same datestamp and size as the original. By "datestamp" I mean the date you see on the file in Finder, not the embedded Exif info.
    But with videos, the new version is modifying the original, making it a smaller file size, and changing the file's datestamp. If I choose "original," I should be getting a direct copy of the original, but I'm not. Instead I'm getting a modified version of it. And given the filesize change, I'm assuming it's a compressed version.
    I know direct access to the library isn't supported. It's the Apple way to keep stuff like that hidden. But in the past, if I wanted to, I could view package contents and get to files I needed much more easily than the new version allows.
    I'm just trying to find an easy way to back up the original video file, not a modified version of it.

  • Issues in exporting data from SAP tables in SE16 to excel

    1.How can I save an sap table (displayed through SE16) in ECC6 into a pivot table in excel. [ I have seen this option in R/3 4.7, but do not see it in ECC.]
    2.How can I copy all the rows of a 3000 row SAP table in SE16 and paste the values into excel. I need to do this in one shot and not page by page.
    3.What option do I need to select inorder to preserve the formating of the values while saving as a local file in a spreadsheet format. All the values with leading zeros,like company codes gets saved with only their numeric portion when I save a SAP table as a local file. for eg company code 0001 gets saved in excel as just 1,company code 0056 gets saved as 56 etc. How do I prevent this? What option do I need to set in SAP in order for the values to be downloaded as is, without any truncation of leading zeros.

    1.  I don't know.  How about creating a pivot after exporting data
    2. System->List->Save->local file->clipboard
    Then paste whole lot in Excel
    3. This is a problem with Excel, not SAP.  SAP exports with leading zeroes.
    You could export as flat file & import into Excel into a spreadsheet with an appropriate numbering format.

  • How can I see changes in table with insertrow();postchanges()without commit

    Hi friends;
    I use jdeveloper 10.1.3.1 with jheadstart 10.1.3.1.
    I create two view object.In the first page I create table with one view object.
    In the second page I create table (with tableselectmany) with other view.
    I select many rows in second page and in the managed bean,
    I insert selectted rows atributes to first pages tables attributes.
    I use this code.
    public String commandbuttonaction(){
    CoreTable table = this.getTable1();
    Set rowSet = table.getSelectionState().getKeySet();
    Iterator rowSetIter = rowSet.iterator();
    BindingContainer bindings = getBindings();
    DCIteratorBinding pr_dcib = (DCIteratorBinding)
    bindings.get("DeptIterator");
    int i=206;
    while (rowSetIter.hasNext()){
    Key key = (Key) rowSetIter.next();
    pr_dcib.setCurrentRowWithKey(key.toStringFormat(true));
    RowImpl prRow = (RowImpl) pr_dcib.getCurrentRow();
    String AM="model.AppModule";
    String CF="AppModuleLocal";
    ApplicationModule empSvc = Configuration.createRootApplicationModule(AM, CF);
    ViewObject emps = empSvc.findViewObject("EmpsView1");
    Row newEmp = emps.createRow();
    newEmp.setAttribute("Manager",new Number(1));
    newEmp.setAttribute("Department",new Number(1));
    newEmp.setAttribute("Depno",new Number(3));
    emps.insertRow(newEmp);
    try {
    newEmp.validate();
    catch (Exception ex) {
    System.out.println("validate catch");
    try {
    empSvc.getTransaction().postChanges();
    catch (Exception ex) {
    System.out.println("post catch");
    Configuration.releaseRootApplicationModule(empSvc,true);
    i=i+1;
    In this code I only postchanges() in first view and dont want to commit.
    But I cant see changes row in the page .If I press save I see transaction completed succesfully message.
    But in database not insertted any rows.
    If I write commit() after postchanges() code I see rows in the table .But I dont want to commit.Only post
    my changes and if necessary I press save button in page.
    How can I see changes in the page without commit???Thanks for all....

    You should NEVER use statements like this in managed beans:
    ApplicationModule empSvc = Configuration.createRootApplicationModule(AM, CF);
    This will create a separate application module instance, not shared by the the web pages. That's why you do not see the changes.
    Instead, you can use the following code:
    ApplicationModule am = (ApplicationModule)JsfUtils.getExpressionValue("#{data.MyAppModuleDataControl.dataProvider}");
    where MyAppModuleDataControl shoud be replaced with the name of your am data control.
    Steven Davelaar,
    JHeadstart Team.

  • Problem exporting data in Acrobat Pro 9.0 from secured response form

    Hello,
    I made a form in Livecycle 9.0 and am distributing it through Acrobat Pro 9.0 - using Acrobat.com's form distribution application - in several cycles to see how varying the levels of security of the form will affect users (the folks who will be filling out the forms), once they get the forms.  I want to see how many passwords they have to enter, what they can do, what they cannot do with the form..  I've been sending unsecured and secured forms out, to test.
    The problem I have now is, when I receive my permissions protected, secured forms back, I cannot EXPORT the data.  Both  the "Export" and "Archived" buttons are greyed out, and even when I remove the security settings from File--> Portfolio Properties, nothing changes.
    I'm locked out of the collected data!
    It's easy to export data from unsecured response forms (without permissions protection), but I would prefer to limit the amount of manipulation users can do to the forms (aside from commenting, filling them out, and signing them).
    The secured forms perform great on the Acrobat Reader - user (form-filler) end, restricting printing, modifying text, etc,  but they return to me in Acrobat Pro inert.  I'm completely stumped to how I can get data out of them. I would sure appreciate any help!
    Thanks,
    Chenster

    Please post in the LiveCycle Designer forum
    http://forums.adobe.com/community/livecycle/livecycle_es/livecycle_designer_es

  • How to create the Export Data and Import Data using flat file interface

    Hi,
    Request to let me know based on the requirement below on how to export and import data using flat file interface.....
    Please provide the steps involved for the same.......
    BW/BI - Recovery Process for SNP data. 
    For each SNP InfoProvider,
    create:
    1) Export Data:
    1.a)  Create an export data source, InfoPackage, comm structure, etc. necessary to create an ASCII fixed length flat file on the XI
    ctnhsappdata\iface\SCPI063\Out folder for each SNP InfoProvider. 
    1.b)  All fields in each InfoProvider should be exported and included in the flat file. 
    1.c)  A process chain should be created for each InfoProvider with a start event. 
    1.d)  If the file exists on the target drive it should be overwritten. 
    1.e)  The exported data file name should include the InfoProvider technical name.
    1.f)  Include APO Planning Version, Date of Planning Run, APO Location, Calendar Year/Month, Material and BW Plant as selection criteria.
    2) Import Data:
    2.a) Create a flat file source system InfoPackage, comm structure, etc. necessary to import ASCII fixed length flat files from the XI
    ctnhsappdata\iface\SCPI063\Out folder for each SNP InfoProvider.
    2.b)  All fields for each InfoProvider should be mapped and imported from the flat file.
    2.c)  A process chain should be created for each InfoProvider with a start event. 
    2.d)  The file should be archived in the
    ctnhsappdata\iface\SCPI063\Archive directory.  Each file name should have the date appended in YYYYMMDD format.  Each file should be deleted from the \Out directory after it is archived. 
    Thanks in advance.
    Tyson

    Here's some info on working with plists:
    http://developer.apple.com/documentation/Cocoa/Conceptual/PropertyLists/Introduc tion/chapter1_section1.html
    They can be edited with any text editor. Xcode provides a graphical editor for them - make sure to use the .plist extension so Xcode will recognize it.

  • How to export Date book and Address book from Palm Desktop to Apple iCal and Address Book?

    I have my calendar information and addresses stored in Palm Desktop date book and address book, respectively. I am running Palm Desktop 4.2.1. Everytime I try to export the date book or address book to my desktop using the vCal format, the Palm desktop crashes. My goal is to export all my data from Palm Desktop to iCal and Address Book on the Apple OS (10.6.1). Does anyone have any advice as to how I can do this or do I just have to start from scratch and manually enter the data from Palm Desktop to Apple iCal and Address Book? I looked at the Missing Sync software, but I don't think this will do the trick. The Genius Bar at the Apple Store didn't offer any solutions either. Any advice would be greatly appreciated. Thanks.
    Post relates to: Palm V

    Hello tay8000m and welcome to the Palm forums.
     Have you tried running the "Repair Disk Permissions" command in Apple's Disk Utility application yet?  Launch Disk Utility, select "Macintosh HD" from the left side of the window, and then click the "Repair Disk Permissions" button.
     After the utility has run, try launching Palm Desktop again and then exporting your data as vCard or iCal files.  If the exports aren't working for you, you can always export the data as comma separated values (.csv) file and then import that into the Apple apps you want to use.
    Alan G

  • Exporting Data for a single set of books from Oracle Financials

    I have a multiorg set-up with multiple set of books in an Oracle instance. I want to be able to export data for a single set of books into a new Oracle instance.
    Any insight into how this can be done (without going through each of the tables and referential integrity constraints) will be of great help
    thanks
    anoop

    It is a bit unclear what you are sending these POs to the other system for? Is it for matching to invoices there? Is it for receiving into inventory there?
    Are these two entities belong to the same parent but on two different oracle apps databases?
    In essence what do they do with the PO that you are sending to them?
    Why do you think there will be intercompany invoicing?
    Thanks
    Nagamohan

  • Best method for exporting data???

    Howdy!I am exporting data from my production Essbase databases every day. I have chosen to export "ALL" data, but have not been exporting it in column format. Would someone please comment on the pro's & con's of archiving data this way?TIAJR

    Pros of exporting all data in column format:1. You can reaload a database quickly without calculation2. Using column format, you can use a load rule to load parts of the data3. If some of your data is created by unique calcs, you can recover it easier in case of a crashCons:1.You can end up with very large files(actually a lot of 2 gig files)2. It can take a long time depending on the size of your databases3. Exports prevent you from doing other things to the cube while exporting. Glenn [email protected]

  • Export data to Excel

    Hello All,
                I am trying to export data to Excel from a report output. Its a simple report. I have tried the below FM
    CALL FUNCTION 'RH_START_EXCEL_WITH_DATA'
    EXPORTING
      DATA_FILENAME             =
      DATA_PATH_FLAG            = 'W'
      DATA_ENVIRONMENT          =
      DATA_TABLE                =
      MACRO_FILENAME            =
      MACRO_PATH_FLAG           = 'E'
      MACRO_ENVIRONMENT         =
      WAIT                      = 'X'
      DELETE_FILE               = 'X'
    EXCEPTIONS
      NO_BATCH                  = 1
      EXCEL_NOT_INSTALLED       = 2
      INTERNAL_ERROR            = 3
      CANCELLED                 = 4
      DOWNLOAD_ERROR            = 5
      NO_AUTHORITY              = 6
      FILE_NOT_DELETED          = 7
      OTHERS                    = 8
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    This FM when executed without passing any data is able to open an empty excel sheet but when I try to pass an internal table to DATA_TABLE  its giving a dump. The run time error is CALL_FUNCTION_CONFLICT_TYPE.
    Error:
    **"The function module interface allows you to specify only fields      
    of a particular type under "TABNAME". The field "ITAB1" specified here
    has a different field type."**
    Please let me know if Im missing something.
    Thanks in advance.

    Hi SAP,
    Simply List -> Save -> File -> spreadsheet -> file.xls
    Or check this weblog..
    <a href="/people/dennis.vandenbroek/blog/2007/02/14/simple-function-module-to-export-any-internal-table-to-ms-excel:///people/dennis.vandenbroek/blog/2007/02/14/simple-function-module-to-export-any-internal-table-to-ms-excel
    or
    try this code..
    DATA : file_name TYPE ibipparms-path,
    lc_filename TYPE string.
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
    PROGRAM_NAME = SYST-CPROG
    DYNPRO_NUMBER = SYST-DYNNR
    FIELD_NAME = ' '
    IMPORTING
    file_name = file_name .
    lc_filename = file_name.
    CALL FUNCTION 'GUI_DOWNLOAD'
    EXPORTING
    BIN_FILESIZE =
    filename = lc_filename
    filetype = 'DAT'
    TABLES
    data_tab = gt_itab.
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Revert back for more help
    Reward points if helpful
    Regards
    Naresh

  • Exporting data into text file

    Hi!
    I use this process in apex to export data from table into txt files with fixed length, so without any delimeter
    >
    declare
    v_file_name VARCHAR2 (2000) := 'test.txt';
    id varchar2(9);
    worker varchar2(30);
    address varchar2(26);
    begin
    OWA_UTIL.mime_header ('application/txt', FALSE);
    htp.p('Content-Disposition:attachment;filename="'|| v_file_name|| '"');
    OWA_UTIL.http_header_close;
    FOR x in (select id id from workers where col00 like '1000')
    LOOP
    select col01,col02,col03 into id, worker, addressfrom un_web_prenosi where id = x.id;
    htp.p(id||worker||address);
    END LOOP;
    apex_application.g_unrecoverable_error:=true;
    exception when others then
    null;
    end;
    and I have problem, because if I open file with notepad is everything in one line, but if I open file in notepad++ or I copy content of file in word then I see contents just like it should be (each record in one line). Do you know how can I solve this problem?

    I solved my problem. I forget to put chr(13) into htp.p(id||worker||address); so this line must be like htp.p(id||worker||address||chr(13));

Maybe you are looking for

  • Photo stream sharing in iPhoto 9.3.2

    Maybe I'm just confused ... But isn't Mountain Lion and this iPhoto update supposed to support Photo Stream Sharing? Photo Stream seems to work the same as it always has, i.e. just as a 30 day distribution channel to all of my devices. Anybody know h

  • SQL Developer, UTF8 Oracle DB, extended ascii characters appear as blocks

    I have this value stored on the database: (Gestion Económica o Facturaci Notice the second word has an extended ascii character in it. When I use SQL Developer on my windows machine to view the data, I get a box in place of the o, kinda like this: (G

  • Delivery confirmation -- line item

    Hello Everyone I have a strange issue, I created a TO based on a delivery and I confirmed the TO but somehow the delivery line item still shows as 'Partially Processed'.  Is there any function module that I can run to make the picking as completely p

  • MSS PCR Confirmation Page link error

    We are getting an error when a standard PCR is submitted by the manager in MSS. Error : "Service key not existing in the backend - no parameters can be added to the service key link! " Service link HCM_MSS_PCR is maintained. Notification #s are getti

  • Anyone know where Chris Cox is these days?

    Chris hasn't posted in the forums all year long, it seems. :/