Pipe Delimited

Hi,
I am creating a report to generate S/Ns items been sold to customers on a particular time frame. The report has to be in Pipe delimited format with pipe characters seperate each field. I would like to get some help from anyone who have an idea.
Thank you,
Joel

If your running from InfoView (Crystal Enterprise or BOE), the option is under the Format section of the Schedule Report page.  Select Character Delimited File.  Or, if running from Designer, choose File -> Export -> Export Report -> Separated Values.
This will "print" the report to a pipe-delimited file.  Some formatting might be required to get exactly what you are looking for, but usually not much.  Using this option, the destination of the report will change the formatting based on what you're gonna do with the report, so if someone wants to see the data in a more user-friendly way, they just print the report as usual.  Or, the data can be exported to Excel, etc.  This also makes adding fields or chaging field formatting far easier.
HTH,
Carl

Similar Messages

  • Help needed in extracting pipe delimited fields in a CLOB data type

    hi
    i Had a table with clob field as shown below.
    CREATE TABLE TRANSACTION_INFO
      TRASACTION_ID  CLOB,
      LOG_ID  NUMBER
    Insert into TRANSACTION_INFO
       (TRASACTION_ID, LOG_ID)
    Values
       ('354502002020910|000000610214609663||09/27/09 08:02:37|RNEW|DC25|MOTOROLA|8802939198', 123);
    Insert into TRANSACTION_INFO
       (TRASACTION_ID, LOG_ID)
    Values
       ('354599892020910|000000610214609663||09/27/10 08:12:47|SOLD|DC23||8802939198', 456);
    COMMIT;As you can see Clob field is a pipe delimited data.Now i am able to extract the first two fields using the below querry.But it may be the right solution as
    substring function fails if there is missing character in any on the fields.
    Also when there is a null value in any of the fields,how can i be able to get as null value ? Basically i want to get the values in a delimited manner.
    how can we do this ?
    Select Substr (TRASACTION_ID, 1, Instr (TRASACTION_ID, '|')-1) field1,
            Substr (TRASACTION_ID, 17, Instr (TRASACTION_ID, '|')+2) field2              
      From TRANSACTION_INFO;
    output should be like as shown
       FIELD1          FIELD2          FEILD3                 FEILD4
    354502002020910     000000610214609663                  09/27/09 08:02:37
    354599892020910     000000610214609663                  09/27/10 08:12:47Thanks
    Rede

    hi Michael
    Thanks for the solution and its my bad not mention that there is a possibility of having a null value at the start of the record also which RPLACE function no longer works for this case.
    For example
    with transaction_info (trasaction_id, log_id)
         as (
    select '354502002020910|000000610214609663||09/27/09 08:02:37|RNEW|DC25|MOTOROLA|8802939198', 123 from dual union all
    select '354599892020910|000000610214609663||09/27/10 08:12:47|SOLD|DC23||8802939198', 456 from dual union all
    select '|000000610214609663||09/27/10 08:12:47|SOLD|DC23||8802939198', 456 from dual
    select trim(regexp_substr (trasaction_id, '[^|]+', 1, 1)) f1,
           trim(regexp_substr (trasaction_id, '[^|]+', 1, 2)) f2,
           trim(regexp_substr (trasaction_id, '[^|]+', 1, 3)) f3,
           trim(regexp_substr (trasaction_id, '[^|]+', 1, 4)) f4,
           trim(regexp_substr (trasaction_id, '[^|]+', 1, 5)) f5
      from (select replace (trasaction_id, '||', '| |') trasaction_id from transaction_info)
    F1                   F2                   F3                   F4                   F5                 
    354502002020910      000000610214609663                        09/27/09 08:02:37    RNEW               
    354599892020910      000000610214609663                        09/27/10 08:12:47    SOLD  
    000000610214609663                        09/27/10 08:12:47    SOLD Now the last record is wrongly created....

  • Pipe delimited file on application server.

    Hi , i m creating a text file on application server, i have written below code and file is getting created correctly.  however, i want to create pipe delimited file.  is there any method for this?
    DATA : lv_line(173).
      DATA : l_wa_itab_length(4) TYPE c VALUE '173'.
      IF NOT p_tab[] IS INITIAL.
        SORT p_tab.
        OPEN DATASET p_file FOR OUTPUT IN TEXT MODE ENCODING NON-UNICODE.
        IF sy-subrc NE 0.
          MESSAGE 'Error on output file read' TYPE 'E'.
        ELSE.
          LOOP AT p_tab.
            lv_line = p_tab.
            TRANSFER lv_line TO p_file LENGTH l_wa_itab_length.
            CLEAR p_tab.
            CLEAR lv_line.
          ENDLOOP.
          CLOSE DATASET p_file.
        ENDIF.
      ENDIF.
      REFRESH p_tab.

    i m pasting below my entire code.
    REPORT  zmigration_data_download.
    FIELD-SYMBOLS: <fs_table> TYPE STANDARD TABLE.
    DATA: d_table_ref TYPE REF TO data.
    DATA: d_rfc_db_opt TYPE rfc_db_opt.
    DATA: it_opt LIKE rfc_db_opt OCCURS 0 WITH HEADER LINE.
    DATA: d_file  TYPE string.
    PARAMETERS:     p_tab   TYPE dd02l-tabname OBLIGATORY.
    PARAMETERS:     p_file  LIKE rlgrap-filename OBLIGATORY DEFAULT '/usr/sap/tmp/test.txt'.
    SELECT-OPTIONS: s_opt   FOR  d_rfc_db_opt NO INTERVALS.
    START-OF-SELECTION.
      REFRESH it_opt.
      LOOP AT s_opt WHERE sign = 'I' OR option = 'EQ'.
        it_opt-text = s_opt-low.
        APPEND it_opt.
      ENDLOOP.
      CREATE DATA d_table_ref TYPE TABLE OF (p_tab).
      UNASSIGN <fs_table>.
      ASSIGN d_table_ref->* TO <fs_table>.
      IF <fs_table> IS ASSIGNED.
        CLEAR <fs_table>.
        SELECT * FROM (p_tab) INTO TABLE <fs_table>
        WHERE (it_opt).
        IF sy-subrc EQ 0.
          PERFORM download_file TABLES <fs_table> USING p_file.
          MESSAGE i398(00) WITH 'Upload from SAP Successfull'.
        ENDIF.
      ENDIF.
    *&      Form  download_file
          text
         -->P_<FS_TABLE>  text
         -->P_P_FILE  text
    FORM download_file TABLES p_tab USING p_file.
      DATA : lv_line(173).
      DATA : l_wa_itab_length(4) TYPE c VALUE '173'.
      IF NOT p_tab[] IS INITIAL.
        SORT p_tab.
        OPEN DATASET p_file FOR OUTPUT IN TEXT MODE ENCODING NON-UNICODE.
        IF sy-subrc NE 0.
          MESSAGE 'Error on output file read' TYPE 'E'.
        ELSE.
          LOOP AT p_tab.
            lv_line = p_tab.
            TRANSFER lv_line TO p_file LENGTH l_wa_itab_length.
            CLEAR p_tab.
            CLEAR lv_line.
          ENDLOOP.
          CLOSE DATASET p_file.
        ENDIF.
      ENDIF.
      REFRESH p_tab.
    ENDFORM.                               " download_file

  • Need file on Application server to be pipe delimited

    Hi,
    I want the file in the application server with headings and pipe delimited... I have used
        IF NOT T_OUTPUT[] IS INITIAL.
    Transfer the changed T_INPUTFILE data to application server.
          OPEN DATASET V_FILEPATH FOR OUTPUT IN TEXT MODE ENCODING DEFAULT
                                                  MESSAGE V_MSG.
          IF SY-SUBRC <> 0.
            MESSAGE I008. " File could not be opened.
            EXIT.
          ENDIF.
    Transferring Data
          LOOP AT T_OUTPUT.
            TRANSFER T_OUTPUT TO V_FILEPATH.
          ENDLOOP.
          CLOSE DATASET V_FILEPATH.
        ENDIF.
    But this is not giving me output like below...
    RefDoc.No.
    Text
    Period
    Year
    9
    Dummy Text
    002
    2006
    How do I get a pipe delimited file on the application server ... ??

    Hi,
    Check this..
    DATA: V_STRING TYPE STRING.
    LOOP AT T_OUTPUT.
    DO.
    ASSIGN COMPONENT SY-INDEX OF STRUCTURE T_OUTPUT TO <FS>.
    IF SY-SUBRC <> 0 .EXIT .ENDIF.
    IF SY-INDEX = 1.
       V_STRING = <FS>.
    ELSE.
       CONCATENATE V_STRING '|' <FS> INTO V_STRING.
    ENDIF.
    ENDDO.
    TRANSFER V_STRING TO V_FILEPATH.
    ENDLOOP.
    Thanks,
    Naren

  • Need a pipe delimiter after every field in the file on application server

    Hi ,
    i have to transport data in internal table to a file on application server.
    I have done this successfully. But the problem is i have to put a pipe
    delimiter after every field in the file on application server.
    Could yoe plz help in  this issue.
    Thanks & Regards
    Suresh kumar D

    Hi Should,
              I think the below code should solve your problem as i also had  a similar type of requirement and this was the code i had used in my program.
      FIELD-SYMBOLS: <FS> TYPE ANY.
      DATA: L_FLINE TYPE STRING.
    Open file for output
      M_CHECK_SELSCR_FNMS O1 O.
      LOOP AT I_TARGET.
    Write records to file
        DO.
          ASSIGN COMPONENT SY-INDEX OF STRUCTURE I_TARGET TO <FS>.
          IF SY-SUBRC EQ 0.
            IF SY-INDEX EQ 1.
              MOVE <FS> TO L_FLINE.
            ELSEIF <FS> NE C_PIPE.
              CONCATENATE L_FLINE C_PIPE <FS> INTO L_FLINE.
            ELSE.
              CONCATENATE L_FLINE <FS> INTO L_FLINE.
            ENDIF.
          ELSE.
            TRANSFER L_FLINE TO W_SRVR_NM_O_O1.
            EXIT.
          ENDIF.
        ENDDO.
      ENDLOOP.
    Close file
      CLOSE DATASET W_SRVR_NM_O_O1.
      IF SY-SUBRC EQ 0.
        MESSAGE S208(00) WITH TEXT-M02.
      ENDIF.
    Regards
    Sikha

  • What is the best, most efficient way to read a .xls File and create a pipe-delimited .csv File?

    What is the best and most efficient way to read a .xls File and create a pipe-delimited .csv File?
    Thanks in advance for your review and am hopeful for a reply.
    ITBobbyP85

    You should have no trouble doing this in SSIS. Simply add a data flow with connection managers to an existing .xls file (excel connection manager) and a new .csv file (flat file). Add a source to the xls and destination to the csv, and set the destination
    csv parameter "delay validation" to true. Use an expression to define the name of the new .csv file.
    In the flat file connection manager, set the column delimiter to the pipe character.

  • File content conversion for Pipe delimited file

    Hi
    i have a scenario ( file-xi-proxy) in whch file is coming in a pipe delimited.
    my data type is like
    DT_ XXXXX
    AwardInfo
    Header contains some fileds
    DetailRecord contains some fileds
    trailer contains some fields
    what are content conversion parameters i have to use
    venkat

    Sedamkar,
    Expecting you have one header, multiple details and one trailer then give recordset structure in sender file communication channel as:
    Header,1,DetailRecord ,*,trailer,1
    In content conversion you should give parameters:
    Header.fieldSeparator : |
    Header.endSeparator : 'nl'
    DetailRecord.fieldSeparator : |
    DetailRecord.endSeparator : 'nl'
    trailer.fieldSeparator : |
    trailer.endSeparator : 'nl'
    You may need to change the parameters also according to your strcuture and the file layout. See this SAP help for file content conversion:
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
    Regards,
    ---Satish

  • How to create schema for Header and Footer with pipe delimiter file BPEL11g

    Hi all,
    I have issule creating Schema for Header and Footer with body file .The file format is Pipe delimiter.The following format below like is...
    Softeware Components:File Adapter(Read) 11g,
    1|1211|000|577|5444
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|0000|57|6988|4554|sfdgh|5448|3333|ituu|44445|55546|544|788|7788
    1|4544|000|yted
    I hope get the sollution for this from this Forum..Please help me out..Thankyou.

    You mean how many rows or columns..?
    If coloumns means 5 and rows only one(1).

  • How to create Schema Header and footer with Pipe delimiter file..?

    Hi all,
    I have issue with creating Schema Header and footer with body file ..The file format is Pipe delimiter.. The follwing file below like is...
    Adapters:File Adapter(Read)-11g.
    1|000|2025|SDFG|54787
    1|2055|244|9566|000|000|044|2577|361147|45554|wweqw|52555|564|000|647|464
    1|2027|344|4566|000|000|044|8577|361147|45554|wweqw|82555|564|000|647|844
    1|2024|444|6566|000|000|044|9577|361147|45554|wweqw|12555|564|000|647|544
    1|2023|544|8566|000|000|044|5577|361147|45554|wweqw|52555|564|000|647|442
    1|2022|644|3566|000|000|044|7577|361147|45554|wweqw|02555|564|000|647|448
    1|0000|546|25544|454
    If you have sollution for this, please help me out..Thank you.

    You mean how many rows or columns..?
    If coloumns means 5 and rows only one(1).

  • Extract data from Pipe Delimited file

    Hi everybody,
    Could someone provide me the command to extract data from a pipe delimited file ("|") using Open/Read Data set.
    I mean eliminating the delimiter ("|") and just picking the data.
    Thanks
    M

    Here you go.. this code snippet parses the input file record by using pipe (variable lv_pipe) as separator, for tab separated file you can use lv_tab like wise...
      TYPES: BEGIN OF ts_field,
               field(50) TYPE c,
             END OF ts_field,
             tt_field TYPE TABLE OF ts_field.
       DATA: ls_record TYPE string,
            ls_input_data TYPE ts_input_data,
            lv_tab TYPE x VALUE '09',
            lv_pipe TYPE C VALUE '|',
            ls_field TYPE ts_field,
            lt_field_tab TYPE tt_field,
            lv_field_index TYPE syindex,
            lv_record_no TYPE syindex.
      FIELD-SYMBOLS: <fs_field> TYPE ANY.
      OPEN DATASET fv_file_path IN TEXT MODE FOR INPUT.
      IF sy-subrc = 0.
        DO.
          lv_record_no = lv_record_no + 1.
          READ DATASET fv_file_path INTO ls_record.
          IF sy-subrc NE 0.
            EXIT.
          ELSE.
            SPLIT ls_record  AT lv_pipe INTO TABLE lt_field_tab.
            CLEAR: lv_field_index, ls_input_data.
            LOOP AT lt_field_tab INTO ls_field.
              lv_field_index = lv_field_index + 1.
              ASSIGN COMPONENT lv_field_index OF STRUCTURE
                ls_input_data TO <fs_field>.
              IF sy-subrc = 0.
                <fs_field> = ls_field-field.
              ENDIF.
            ENDLOOP.
            APPEND ls_input_data TO ft_input_data.
          ENDIF.
        ENDDO.
        CLOSE DATASET fv_file_path.

  • READ THE PIPE DELIMITER FILE

    Hi guys,
    I am uploading the data from a file which is in the application server and in pipe delimiter format.
    This file in the format like .... let us take 100 records among those one record is header,  98 data records and one trailer record. These are seperated by the record locater like header with 0, data record with 1 and trailer with 9.
    So what i am doing is uploading that file first of all into one internal table I_ARFILE, then splitting the data at pipe into 3 different internal tables. In the mean time I am doing the validations also for the number of records...
    like there should not be more than one header, and one trailer........
    here I am pasting my code.....
      IF l_subrc = 0.
        LOOP AT I_ARFILE.
        READ TABLE I_ARFILE INTO WA_ARFILE.
          SPLIT WA_ARFILE AT C_PIPE INTO WA_ARHEADER-P_RECTYPE
                                        WA_ARHEADER-P_PRCID
                                        WA_ARHEADER-P_SENDR
                                        WA_ARHEADER-P_CDATE
                                        WA_ARHEADER-P_CTIME
                                        WA_ARHEADER-P_OBTYP
                                        WA_ARHEADER-P_SEQNO
                                        WA_ARHEADER-P_FRTXT.
          IF WA_ARHEADER-P_RECTYPE = 0.
            APPEND WA_ARHEADER TO I_ARHEADER.
            DESCRIBE TABLE I_ARHEADER LINES V_ITABLINES.
    VALIDATION FOR NUMBER OF HEADER RECORDS
            IF V_ITABLINES <> 1.
              MESSAGE 'NUMBER OF LINES READ ARE NOT SAME' TYPE 'E'.
              LEAVE PROGRAM.
            ENDIF.
            CLEAR V_ITABLINES.
          ELSE.
            SPLIT I_ARFILE AT C_PIPE
                                 INTO WA_ARITEM-P_RECTYPE
                                      WA_ARITEM-p_xblnr
                                      WA_ARITEM-p_bldat
                                      WA_ARITEM-p_budat
                                      WA_ARITEM-p_blart
                                      WA_ARITEM-p_awkey
                                      WA_ARITEM-p_kunnr
                                      WA_ARITEM-p_xref1
                                      WA_ARITEM-p_xref2
                                      WA_ARITEM-p_xref3
                                      WA_ARITEM-p_wrbtr
                                      WA_ARITEM-p_zterm
                                      WA_ARITEM-p_zuonr
                                      WA_ARITEM-p_rstgr
                                      WA_ARITEM-p_wskto
                                      WA_ARITEM-p_sgtxt.
            IF WA_ARITEM-P_RECTYPE = 1.
              APPEND WA_ARITEM TO I_ARITEM.
        ENDIF.
    VALIDAITON FOR THE NUMBER OF DATA RECORDS.
              DESCRIBE TABLE I_ARITEM LINES V_ITABLINES.
              DESCRIBE TABLE I_ARFILE LINES V_ITABLINES1.
              V_ITABLINES1 = V_ITABLINES1 - 2.
              IF V_ITABLINES1 <> V_ITABLINES.
                MESSAGE 'NUMBER OF LINES READ ARE NOT SAME' TYPE 'E'.
                LEAVE PROGRAM.
              ENDIF.
            LOOP AT I_ARITEM.
            V_BAL1 = V_BAL1 + I_ARITEM-P_WRBTR.
            V_DIS = V_DIS + I_ARITEM-P_WSKTO.
            ENDLOOP.
    CHECKING THE SUM OF THE BALANCE AMOUNT OF ALL THE RECORDS AND BALANCE AMOUNT IN TRAILER RECORD
            IF V_BAL1 <> WA_ARTRAILER-TOBAL.
               MESSAGE 'TOTAL AMOUNT IS NOT EQUAL TO THE SUM OF ALL THE AMOUNTS' TYPE 'E'.
            ELSE.
    CHECKING THE SUM OF THE DISCOUNT AMOUNT OF ALL THE RECORDS AND BALANCE AMOUNT IN TRAILER RECORD
            IF V_DIS <> WA_ARTRAILER-TODIS.
               MESSAGE 'TOTAL DISCOUNT AMOUNT IS NOT EQUAL TO THE SUM OF ALL THE DISCOUNT AMOUNTS' TYPE 'E'.
            ENDIF.
            CLEAR V_BAL1.
           APPEND WA_ARITEM TO  I_ARITEM.
              CLEAR WA_ARITEM.
           CLEAR WA_ARFILE.
              CLEAR V_ITABLINES.
              CLEAR V_ITABLINES1.
         ENDIF.
       ENDLOOP.
      ENDLOOP.
    ENDIF.
            ELSE.
    READ TABLE I_ARFILE INTO WA_ARFILE INDEX V_ITABLINES.
              SPLIT WA_ARFILE AT C_PIPE INTO WA_ARTRAILER-P_RECTYPE
                                               WA_ARTRAILER-COUNT
                                               WA_ARTRAILER-TOBAL
                                               WA_ARTRAILER-TODIS.
              IF WA_ARTRAILER-P_RECTYPE = 9.
                APPEND WA_ARTRAILER TO I_ARTRAILER.
              ENDIF.
              DESCRIBE TABLE I_ARTRAILER LINES V_ITABLINES.
              IF V_ITABLINES <> 1.
                MESSAGE 'NUMBER OF LINES READ ARE NOT SAME' TYPE 'E'.
                LEAVE PROGRAM.
              ENDIF.
       CLEAR WA_ARFILE.
              CLEAR V_ITABLINES.
            ENDIF.
    *CLEAR WA_ARFILE.
            CLEAR V_ITABLINES.
            CLEAR V_ITABLINES1.
          ENDIF.
        ENDLOOP.
    In this code something wrong like....
    I have to modify this code so that i can split the file based on the record indicator to different internal tables.
    if you see my code I am going wrong after i split the data into header internal table... did the validations then I put the else condition and split the same record again into 2nd internal table. But I have to take the second record once the first one is filled..........
    Can any one guide me how to do that plz...... I am bit confused with this
    SRI

    Hi,
    Please check , first you need to split the file and move header, item, trailer , then using these internal tables do your validations
    DESCRIBE TABLE I_ARFILE LINES V_LIN
    READ TABLE I_ARFILE INTO WA_ARFILE INDEX 1.
    IF SY-SUBRC EQ 0.
    SPLIT WA_ARFILE AT C_PIPE INTO WA_ARHEADER-P_RECTYPE
    WA_ARHEADER-P_PRCID
    WA_ARHEADER-P_SENDR
    WA_ARHEADER-P_CDATE
    WA_ARHEADER-P_CTIME
    WA_ARHEADER-P_OBTYP
    WA_ARHEADER-P_SEQNO
    WA_ARHEADER-P_FRTXT.
    APPEND WA_ARHEADER TO I_HEADER.
    ENDIF.
    READ TABLE I_ARFILE INTO WA_ARFILE INDEX v_LIN.
    IF SY-SUBRC EQ 0.
    SPLIT WA_ARFILE AT C_PIPE INTO WA_ARTRAILER-P_RECTYPE
    WA_ARTRAILER-COUNT
    WA_ARTRAILER-TOBAL
    WA_ARTRAILER-TODIS.
    APPEND WA_ARTRAILER TO I_TRAILER.
    ENDIF.
    * FIRST DELETE TRAILER THEN GO FOR HEADER
    READ TABLE I_ARFILE INTO WA_ARFILE INDEX V_LIN.
    DELETE I_ARFILE INDEX SY-TABIX
    READ TABLE I_ARFILE INTO WA_ARFILE INDEX 1.
    DELETE I_ARFILE INDEX SY-TABIX.
    LOOP AT I_ARFILE INTO WA_ARFILE.
    SPLIT I_ARFILE AT C_PIPE
    INTO WA_ARITEM-P_RECTYPE
    WA_ARITEM-p_xblnr
    WA_ARITEM-p_bldat
    WA_ARITEM-p_budat
    WA_ARITEM-p_blart
    WA_ARITEM-p_awkey
    WA_ARITEM-p_kunnr
    WA_ARITEM-p_xref1
    WA_ARITEM-p_xref2
    WA_ARITEM-p_xref3
    WA_ARITEM-p_wrbtr
    WA_ARITEM-p_zterm
    WA_ARITEM-p_zuonr
    WA_ARITEM-p_rstgr
    WA_ARITEM-p_wskto
    WA_ARITEM-p_sgtxt.
    APPEND WA_ARITEM TO I_ITEM.
    ENDLOOP.
    aRs

  • Multiple flat files with Comma delimiter and Pipe Delimiter in the sub folders.

    Hi,
    I have a directory C:\doc\Outcomes\Health  --(This is the main path). 
    In the path above i have multiple subfolders like 
    A
    B
    C
    D
    Folder A & B have 20 flat files each which are comma separated and pipe delimiter files. 
    Folder C&D have 20 excel files each.
    1) So, In SSIS while looping through the subfolders how do i limit to loop only excel files one time and flat files one time.
    2) In folder A&B, how do i loop only Pipe delimiter files (neglecting comma saperated files). I want to loop only pipe delimiter files while using for each loop container.
    Thanks 

    Both are txt files, but the data inside the files is saperated by ',' and '|'. ( comma and pipe)
    Thats ok 
    If delimiters are not consistent you can use this method
    http://visakhm.blogspot.in/2014/07/ssis-tips-handling-inconsistent-text.html
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Need to place a pipe | delimiter in extract

    I am using Crystal 11, and need to know if there is a way to place a pipe | delimiter between each field.  I am pulling data from one application to another, and the receiving analyst has requested a pipe between each field.  I know I can export the report to .csv however, he has requested a pipe.
    Please advise
    Thanks
    Jack

    You can try exporting to .csv by using pipe symbol as delimeter in the export options.
    Regards,
    Raghavendra

  • How to Identify the count , If multiple parameters are passed using Pipe Delimited string

    Hi,
    We are passing Pipe delimited string to the parameter and I want to know how many values we are passing to the parameter.
    Here is the example
    Parameter.Grant: 24|34|54|67
    I am using below expression, but it is not giving the right values. Please let me know if  I am missing anything or is it possible.
    =iif(parameters!Grant.Count>1,"Multiple value selected",parameters!Grant.Value)

    Hi NaveenCR,
    According to your description, you used pipe delimited multi-value parameter in the report, you want to know how many values passed to the parameter. If that is the case, please refer to the following steps:
    In Design view, click Text Box in the Toolbox.
    On the design surface, click and then drag a box to the desired size of the text box.
    Right-click inside of the text box, then click Expression.
    In Expression text box, type the expression like below:
    =iif(split(Parameters! Grant.Value,"|").Length>1," Multiple value selected",Parameters!Grant.Value)
    The following screenshots are for your reference:
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.
    Wendy Fu
    TechNet Community Support

  • Download data into a pipe delimited file

    I want to download data from an internal table into a pipe delimited file.
    I plan to use FM: SAP_CONVERT_TO_TEX_FORMAT but the system I am working on is BW 3.1.
    This FM does not exists in BW 3.1
    How can I download data from an internal table into a pipe delimited file?
    Please help,
    Thanks,
    CD

    Please use Search before posting, this has been discussed many times already. Not necessarily as "pipe delimited", but delimiter doesn't really matter here. Here is just one of the recent posts:
    Write internal table to file GUI_DOWNLOAD or TRANSFER?
    Note that all GUI functions only work in the foreground. There are also some solutions in "pure ABAP", like looping through the internal table fields and adding a delimiter. Or a quick and dirty solution - define an internal table with the extra fields for delimiters (mainframe legacy!).
    Also questions specific to BW should be posted in the BW forum IMHO, not in ABAP General. Otherwise you'll get a lot of "valuable" suggestions here...

  • XML Column from table extract to Pipe Delimited Text File

    Hi,
    I have an XML column with large data in a Table ( Source SQL server Database).
    I was asked to   extract    XML column to .txt file using SSIS.
    Is it possible to extract xml column with huge data to text file ?
    when I tried,  select XML column from Table in source , I noticed  that Property of column is taken as [DT_NTEXT] . I Converted it to DT_TEXT as Ansi donot support DT_NTEXT.
    Execution method was success but it failed due to trucation. so wondering is there a way to get XML column extracted to Pipe delimited text file?
    Is it advisable to do this ? or IS It Valid to export XML in Pipe Delimited File ?
    Please Kindly advice
    thanks
    kodi

    Are you looking at shredding data within XML nodes and then importing it to text file or are you looking at exporting XML value as is? Also is SSIS a necessity?
    If not, You can simply use T-SQL for this along with bcp for this. just use a query like
    EXEC xp_cmdshell 'bcp "SELECT CAST(XMLColumn AS varchar(max)) AS Column FROM table" queryout <full file path> -c -S <ServerName> -T -t |'
    provided you use trusted connection (windows authentication)
    see
    http://visakhm.blogspot.in/2013/10/bcp-out-custom-format-data-to-flat-file.html
    If you want to shred the data use Xpath functions in the query as below
    http://visakhm.blogspot.in/2012/10/shred-data-as-well-as-metadata-from-xml.html
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Maybe you are looking for

  • I updated my ipod touch from 4.3.5 to IOS 6.1.2 and doesnt want to sync or apply musics

    Doesnt want to sync after i updated it from ios 4.3.5 to ios 6.1.2 and i backed it up nd stuff but now i cant apply music on it!

  • FCE HD 3.x can't find AGP on MacBook Pro

    hi, My Fianl Cut Express HD 3.0X won't launch on my MacBook Pro. It reports a Configuration Error. This software requires a certain hardware or software that is missing. *AGP graphics card Why does FCE think it is running on a PowerMac? How do I fix

  • Missing music - please help

    After losing all my data (but recovered with a backup), I found that I had duplicated all my music. I used a program to delete the duplicates, but twelve songs have gone missing. They are still on my iPod, and I am wondering if there is any way I can

  • What happens if a supscription overlaps another? (...

    "You have already purchased Philippines 120 mins . If you continue to buy Philippines 400 mins then you will be buying a calling subscription that overlaps with your previously purchased subscription." question is will the 120 mins one be cancelled?

  • Synchronize Groupwise calander

    Hi, Is it possible to synchronize groupwise calender with WebCenter spaces events for spaces users? Regards Mustaque