Problem filtering using between dates

Hi, I have a Measure in Webi that has to show the Invoicing Quantity between 2 dates. The thing is that i don't know how to do it and I tried many many times. The Dimension that has the date is a date field.
The thing is that i tried to "check" if i'm mispelling something and I added the dates (start date and End DAte) as filters in the execution of the consult and it brings the data without any fail and also the correct quantities.
How can I filter the invoicing quantities between 2 dates using a Measure?
Thanks in advance,
Reynaldo

Hi Stratos, I have created a derived table in order to bring the Invoicing. The Dates aren't prompts fields, there are a Formula that if a launch the report today, it has to bring the invoices between monday and friday of last week, and also the sales of the last 21 days (that's the second column).
The database is Oracle, I think the trouble is how the dates are shown by the DB, because are formated in DD/MM/YYYY HH:MM:SS and I need it only DD/MM/YYYY. I used the function To_date by oracle, but, still brings the HH:MM:SS, when I look for the values of the table.
This problem, I think is going also to Webi and when I try to filter using a Measure doesn't bring data, but If I use the filter used by Webi (the one that modifies the query, brings the data ok)
Can you help me?.
Thanks in advance,
PD: Hope you understand!
Reynaldo

Similar Messages

  • Problem with using between condition

    Hi all,
    In my query I need to pass two dates , so I'm using between/ and condition it suppose return 24 rows but it returning 48 rows. If I use single date then I'm getting result correctly ie. 24 rows. Pls help me correcting my query.
    SELECT sttl_item_nme
    || '|'
    || master_rpt_version_dt_sys
    || '|'
    || LTRIM
    (MAX (SYS_CONNECT_BY_PATH (sttl_item_amt, '|'))KEEP (DENSE_RANK LAST ORDER BY curr),
    '|'
    || '|'
    || SUM (sttl_item_amt)
    || '|' AS total
    FROM (SELECT a.sttl_item_nme, master_rpt_version_dt_sys,
    sttl_pub_cd,
    NVL (b.sttl_item_amt, 0) sttl_item_amt,
    ROW_NUMBER () OVER (PARTITION BY a.sttl_item_nme ORDER BY 1)
    AS curr,
    ROW_NUMBER () OVER (PARTITION BY a.sttl_item_nme ORDER BY 1)
    - 1 AS prev
    FROM nm_sttl_item_dtl_type a,
    nm_sttl_item_dtl b,
    nm_settlement c
    WHERE a.sttl_item_num = b.sttl_item_num
    AND b.sttl_id = c.sttl_id
    --and sttl_item_nme in ('FTR Transaction Amount','DA Asset Energy Amount')
    AND c.sttl_pub_cd = 'S14'
    AND c.ptcpt_cd = 'DEMO'
    --AND c.sttl_type_cd IN ('RTSTTL', 'DASTTL')
    AND c.master_rpt_version_dt_sys between '04/17/2005' and '04/20/2005')
    --AND c.master_rpt_version_dt_sys ='04/18/2005')
    GROUP BY sttl_item_nme, master_rpt_version_dt_sys, sttl_pub_cd
    CONNECT BY prev = PRIOR curr AND sttl_item_nme = PRIOR sttl_item_nme
    START WITH curr = 1
    ORDER BY master_rpt_version_dt_sys, sttl_pub_cd DESC,
    sttl_item_nme
    Thanks & Regards,
    Ramana.

    Hi Ghulam,
    Using to_char function doesn't solve my problem . What actual the query is doing ,when I took multiple dates its concatenating the data from other dates along with the first date also.
    The actual data for individual date is
    18 th data
    DA Loss Rebate on Carve-out GFA|04/18/2005|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|
    19th data
    DA Loss Rebate on Carve-out GFA|04/19/2005|-370.6|-350.2|-353.6|-357|-380.8|-244.8|-207.5|-257.5|-260|-265|-265|-265|-257.5|-250|-217.5|-207.5|-195|-182.5|-187.5|-545|-580|-205|0|-200.6|-6605.1|
    20th data
    DA Loss Rebate on Carve-out GFA|04/20/2005|-448.8|-428.4|-414.8|-442|-472.6|-635.8|0|0|-207.5|-222.5|-222.5|-222.5|-212.5|-212.5|-195|-190|0|0|-170|-495|-535|-345|0|-190.4|-6262.8|
    when I used between '04/18/2005' and '04/20/2005' condition the result is
    18thdata
    DA Loss Rebate on Carve-out GFA|04/18/2005|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|
    19th data
    DA Loss Rebate on Carve-out GFA|04/19/2005|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|-448.8|-428.4|-414.8|-442|-472.6|-635.8|0|0|-207.5|-222.5|-222.5|-222.5|-212.5|-212.5|-195|-190|0|0|-170|-495|-535|-345|0|-190.4|-370.6|-350.2|-353.6|-357|-380.8|-244.8|-207.5|-257.5|-260|-265|-265|-265|-257.5|-250|-217.5|-207.5|-195|-182.5|-187.5|-545|-580|-205|0|-200.6|-6605.1|
    20th data
    DA Loss Rebate on Carve-out GFA|04/20/2005|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|-448.8|-428.4|-414.8|-442|-472.6|-635.8|0|0|-207.5|-222.5|-222.5|-222.5|-212.5|-212.5|-195|-190|0|0|-170|-495|-535|-345|0|-190.4|-6262.8|
    Still I am unable to figure out how to resolve this.Pls help me out from this problem. Your help is greatly appreciated.
    Thanks & Regards,
    ramana.

  • Problem in using CLOB Data from a Data and exporting into File

    Hi,
    UTL_FILE Error Occured while using UTL_FILE with CLOB Data.
    UTL_FILE: A write error occurred.
    The Below Code is for reference:
    DECLARE
    C_AMOUNT CONSTANT BINARY_INTEGER := 32767;
    L_BUFFER VARCHAR2(32767);
    L_CHR10 PLS_INTEGER;
    L_CLOBLEN PLS_INTEGER;
    L_FHANDLER UTL_FILE.FILE_TYPE;
    L_POS PLS_INTEGER := 1;
    BEGIN
         FILE_NAME:=UTL_FILE.FOPEN('EXPORT_DIR','EXPORT_FILE'||'.sql','W');
         FOR C1_EXP IN (SELECT INSERT_STRING FROM EXPORTED_DUMP) LOOP
         L_CLOBLEN := DBMS_LOB.GETLENGTH(C1_EXP.INSERT_STRING);
         DBMS_OUTPUT.PUT_LINE('THE CLOB LEN '||L_CLOBLEN);
         DBMS_OUTPUT.PUT_LINE('THE POSITION '||L_POS);
         WHILE L_POS < L_CLOBLEN LOOP
    L_BUFFER := DBMS_LOB.SUBSTR(C1_EXP.INSERT_STRING, C_AMOUNT, L_POS);
         DBMS_OUTPUT.PUT_LINE('THE BUFFER IS '||L_BUFFER);
    EXIT WHEN L_BUFFER IS NULL;
    UTL_FILE.PUT_LINE(FILE_NAME, C1_EXP.INSERT_STRING);
    L_POS := L_POS + LEAST(LENGTH(L_BUFFER)+1,c_amount);
    END LOOP;
         END LOOP;
    UTL_FILE.FCLOSE(FILE_NAME);
    EXCEPTION
    WHEN UTL_FILE.INTERNAL_ERROR THEN
    DBMS_OUTPUT.PUT_LINE ('UTL_FILE: An internal error occurred.');
    UTL_FILE.FCLOSE_ALL;
    WHEN UTL_FILE.INVALID_FILEHANDLE THEN
    DBMS_OUTPUT.PUT_LINE ('UTL_FILE: The file handle was invalid.');
    UTL_FILE.FCLOSE_ALL;
    WHEN UTL_FILE.INVALID_MODE THEN
    DBMS_OUTPUT.PUT_LINE ('UTL_FILE: An invalid open mode was given.');
    UTL_FILE.FCLOSE_ALL;
    WHEN UTL_FILE.INVALID_OPERATION THEN
    DBMS_OUTPUT.PUT_LINE ('UTL_FILE: An invalid operation was attempted.');
    UTL_FILE.FCLOSE_ALL;
    WHEN UTL_FILE.INVALID_PATH THEN
    DBMS_OUTPUT.PUT_LINE ('UTL_FILE: An invalid path was give for the file.');
    UTL_FILE.FCLOSE_ALL;
    WHEN UTL_FILE.READ_ERROR THEN
    DBMS_OUTPUT.PUT_LINE ('UTL_FILE: A read error occurred.');
    UTL_FILE.FCLOSE_ALL;
    WHEN UTL_FILE.WRITE_ERROR THEN
    DBMS_OUTPUT.PUT_LINE ('UTL_FILE: A write error occurred.');
    UTL_FILE.FCLOSE_ALL;
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE ('Some other error occurred.');
    UTL_FILE.FCLOSE_ALL;
    END;

    Hi user598986!
    OK, I understood that there is a problem with your code. But please would you be so kindly to tell us here what error exactly happens (the errormessage). Mabay after that someone will be able to help you.
    yours sincerely
    Florian W.
    P.S. If you enclose your code into tags it will be shown formated.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • A problem when using a data element in BAPI

    Hi there,
    I build a function module, and want to use it as a BAPI. But when I add the function module as a method of a BAPI object, it gives me the following error: data type xxxxx cannot be used for methods.
    I guess the problem happens because of the type of data element I used for the input parameter of the function module. Thus I tried many other data elements, but I keep getting the same error. I am really out of the game. Could anyone tell me which data element I should use for the input parameter of the function module? The function module has only one input parameter, which should be a string with length less than 100.
    Thank you so much!!
    Sincerely,
    Bing

    The function module has only one input parameter, which should be a string with length less than 256. (I tried many predefined data element like RPLM_STRING, but when I tried to add the function module as a method of BAPI, the SAP always gave me the error: data type xxxxx cannot be used for methods)
    It only has one output parameter: RETURN (associated type: BAPIRETURN)
    I am really not familiar with ABAP program, let alone BAPIs. Any suggestions would be very helpful to me. I sincerely appreciate your help.
    Bing

  • Problem in Using Mass Data Getlist.

    Hi All,
    I am using a "Mass Data" Getlist for Salesorder. there are nearly 8000 records in VBAP table wich I want to bring it in Batches of 1000.
    I have modified my Getlist to the requirement as given in the document
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50fa3a06-8bcb-2c10-1daf-c604a4880361?quicklink=index&overridelayout=true]
    FUNCTION Z_SALES_MASS_GETLIST.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(ME_MASS_REP) LIKE  MEREP_MASS_REP1 STRUCTURE
    *"        MEREP_MASS_REP1 OPTIONAL
    *"  EXPORTING
    *"     VALUE(RETURN) TYPE  BAPIRET2
    *"  TABLES
    *"      IT_ZSALESORDERHEADER STRUCTURE  ZSALESORDERHEADER
    DATA : LDF_VBELN LIKE VBAK-VBELN.
    LDF_VBELN = ME_MASS_REP-ME_KEY_GREATER_THAN.
    select *
    from   VBAK
    INTO   CORRESPONDING FIELDS OF TABLE IT_ZSALESORDERHEADER
      UP TO     ME_MASS_REP-me_number_of_headers ROWS
                       WHERE     VBELN > LDF_VBELN
                       ORDER BY PRIMARY KEY.
    ENDFUNCTION.
    The Problem is that when I call this BAPI  in the DOE using the adapter and trigger the initial download I am not getting in any data into the middlware from the backend.
    Please let me know where do I pass the values of ME_KEY_GREATER_THAN and ME_NUMBER_OF_HEADERS.
    Is it in the backend or through the middleware?
    Is that the reason why I am not getting in the data to the middleware?
    Edited by: krutheeka on May 3, 2011 6:31 AM
    Edited by: krutheeka on May 3, 2011 6:32 AM

    Hi ,
    I have placed a breakpoint as I mentioned previously in the Generated class GET_KEY at the code,
    e_IT_ZSALESORDERHEADER = lt_header.
    I am getting  the data into e_IT_SALESORDERHEADER. I have mentioned that I need data in batches of 1000 so when I
    excecute this method I get the records into the above structure in batch of 1000.
    but I am not able to see any data in the CDS.
    Someone please tell me what the problem might be..
    Thanks,
    Krutheeka.

  • Problems in using Gplus Data Access Component to invoke SAP-RFCs

    Hello integration-gurus!
    We need to make RFCalls out of routing strategies within Genesys Universal Routing Server (URS).
    We learned that we need to install the Gplus Data Access Component (DAC) in order to do so. After copying the rfc32lib.dll into installation directory of DAC the DAC establishes a valid RFC-connection to ourer SAP-CRM 5.0 system. But if the URS requests the definition of the specific remotefunction (the DAC provides this information as a WSDL for URS) it gets a timeout. Now we think that we need special files (perhaps XML-schemata provided by SAP) to transform the DDIC-types provided by the RFC into SOAP-specific datatypes communicated from DAC to URS.
    Where can we get these files?
    Has anyone experiences with such an integration scenario?
    Kind regards
    Michael

    Hello integration-gurus!
    We need to make RFCalls out of routing strategies within Genesys Universal Routing Server (URS).
    We learned that we need to install the Gplus Data Access Component (DAC) in order to do so. After copying the rfc32lib.dll into installation directory of DAC the DAC establishes a valid RFC-connection to ourer SAP-CRM 5.0 system. But if the URS requests the definition of the specific remotefunction (the DAC provides this information as a WSDL for URS) it gets a timeout. Now we think that we need special files (perhaps XML-schemata provided by SAP) to transform the DDIC-types provided by the RFC into SOAP-specific datatypes communicated from DAC to URS.
    Where can we get these files?
    Has anyone experiences with such an integration scenario?
    Kind regards
    Michael

  • How to use a data link file (UDL)

    Hi,
    several times I developed applications using Crystal Reports 2008 which used a data base on my development PC and when I deployed them on a production server I had the problem to change the Data Source Location to reflect the new Server name and SQL Server Instance. Moreover, this had to be done on the server, because CR 2008 check the new data source location when you change it, and because I was not connected to the server I couldn't do it on my development pc.
    I thought that the data link file was the solution to this problem, meaning that CR2008 could use a data link file (UDL file) as a data source location, so when deploying the reports on the server I had only to point the data link file to the new server instance.
    With my surprise, I have seen that when using a data link file to define the data source in CR 2008, it copies the definition found in it, instead of using it at run time. SO when I deploy the reports on the server I still have the same problem to change the data source location for all the reports.
    Perhaps I didn't understand the data link file use. So, how do I solve the problem of using a data source location that can be valid when deploying the reports on a server?
    Thanks

    Hi Antonio,
    Go to our download page above, there you will find samples to test with:
    http://www.sdn.sap.com/irj/boc/samples
    Or to .NET samples: http://www.sdn.sap.com/irj/boc/samples?rid=/webcontent/uuid/80774579-b086-2b10-db91-ed58c4dda375 [original link is broken]
    Find any of them that sets database location/log on.
    Thank you
    Don

  • Problem during extraction using generic data sources

    Hi
    While performing extraction(master data)  using generic data sources I am getting a problem.
    while selecting application component, I am unable to find SD to select it.What should I do?
    I selected CRM as application component and did the extraction , it is successful.
    But what about if we want to select SD? I am guessing it as an installation problem ... Anyone plz help me
    Thank you
    Deepthi

    Hi Deepthi,
    Looks like the RFC connection between source system and BW system is broken..
    Contact your basis team to check the connection what went wrong.
    once the connection is re-established you can gohead ...
    Try out this procedure
    Type Transaction SM59.
    a.) Open the RFC Destinations.
    b.) Find your Source System and double click on it.
    c.) Technical setting should contain information regarding your source
    system
    d.) Logon Information should contain source system client and name &
    password for you remote logon.
    **Suggestion : our remote name for our R/3 was ALEREMOTE. We use
    BWREMOTE so that we can monitor without confusion.
    e.) Execute your 'Test Connection' & 'Remote Logon'. You connection
    should be You should NOT be prompted for a password.
    f.) Repeat above to verify RFCs for other systems
    regards
    KP
    Edited by: KP on Dec 14, 2009 12:11 PM

  • Difference between using history data and do not

    hi,
    I'm Tran, I come from VietNam.
    I've just learned LabView, I dont know the difference between using history data ( propety note of waveform chart ) and do not.
    please help me. And give me an example in labview or give me some document of this problem!!
    Tran
    thanks!!!

    aloalo wrote:
    I dont know the difference between using history data ( propety note of waveform chart ) and do not.
    Your question isn't clear, but I would like to say that, I've many times used this particular property node for clear the data (graph) from the chart.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.
    Attachments:
    Example - Using HISTORY PN [LV 80].vi ‏16 KB

  • Need help to join two tables using three joins, one of which is a (between) date range.

    I am trying to develop a query in MS Access 2010 to join two tables using three joins, one of which is a (between) date range. The tables are contained in Access. The reason
    the tables are contained in access because they are imported from different ODBC warehouses and the data is formatted for uniformity. I believe this cannot be developed using MS Visual Query Designer. I think writing a query in SQL would be suiting this project.
    ABCPART links to XYZPART. ABCSERIAL links to XYZSERIAL. ABCDATE links to (between) XYZDATE1 and ZYZDATE2.
    [ABCTABLE]
    ABCORDER
    ABCPART
    ABCSERIAL
    ABCDATE
    [ZYXTABLE]
    XYZORDER
    XYZPART
    XYZSERIAL
    XYZDATE1
    XYZDATE2

    Thank you for the looking at the post. The actual table names are rather ambiguous. I renamed them so it would make more sense. I will explain more and give the actual names. What I do not have is the actual data in the table. That is something I don't have
    on this computer. There are no "Null" fields in either of the tables. 
    This table has many orders (MSORDER) that need to match one order (GLORDER) in GLORDR. This is based on MSPART joined to GLPART, MSSERIAL joined to GLSERIAL, and MSOPNDATE joined if it falls between GLSTARTDATE and GLENDDATE.
    [MSORDR]
    MSORDER
    MSPART
    MSSERIAL
    MSOPNDATE
    11111111
    4444444
    55555
    2/4/2015
    22222222
    6666666
    11111
    1/6/2015
    33333333
    6666666
    11111
    3/5/2015
    This table has one order for every part number and every serial number.
    [GLORDR]
    GLORDER
    GLPART
    GLSERIAL
    GLSTARTDATE
    GLENDDATE
    ABC11111
    444444
    55555
    1/2/2015
    4/4/2015
    ABC22222
    666666
    11111
    1/5/2015
    4/10/2015
    AAA11111
    555555
    22222
    3/2/2015
    4/10/2015
    Post Query table
    GLORDER
    MSORDER
    GLSTARTDATE
    GLENDDATE
    MSOPNDATE
    ABC11111
    11111111
    1/2/2015
    4/4/2015
    2/4/2015
    ABC22222
    22222222
    1/5/2015
    4/10/2015
    1/6/2015
    ABC22222
    33333333
    1/5/2015
    4/10/2015
    3/5/2015
    This is the SQL minus the between date join.
    SELECT GLORDR.GLORDER, MSORDR.MSORDER, GLORDR.GLSTARTDATE, GLORDR.GLENDDATE, MSORDR.MSOPNDATE
    FROM GLORDR INNER JOIN MSORDR ON (GLORDR.GLSERIAL = MSORDR.MSSERIAL) AND (GLORDR.GLPART = MSORDR.MSPART);

  • How do I apply filters or limit the rows on my report using a Date field in SQL report builder 3.0?

    I have a status of completed and a date field in the dataset. The date field is either empty or contains a date. All 2015 dates are holding dates.
    So how can I limit the report to only pull completed status with an empty date or a holding date?
    I have not been able to set an OR option on a date field filter and if I add two filters on the date column one for empty one for > 12/31/2014 then it treats it as an "and" and pulls nothing from the list I have in sharepoint.
    any help will be appreciated.

    Hi MB,
    In Reporting Services, the relationship of  filters is “And”, and there is no option to change the relationship from “And” to “Or”. While we can use “or” operator within the expression to create one filter to integrated all filters to work around this
    issue.
    We can add a filter as follows in the dataset to limit the rows in your report:
    Expression: =Fields!date.Value is nothing or Fields!date.Value>"12/31/2014"    Type: Boolean
    Operator: =
    Value: true
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • 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

  • Having problems with Verizon iPhone 5 using excessive data. Verizon will not help can anyone give me advice? Have family plan never went over 8gb of data in 6 years, now avg 14 a month and are not using anything different other than having iPhone 5.

    Switched to iPhone 5 on July 31st.  Since then our data usage has doubled.  Verizon will not help find out what the problem could be, they claim they are unaware of a problem.  I told them to look on the customer support page and many have complained about the problem.  Now on the apple site I see it may be an apple problem.  Some one needs to fix this.  Apple you want us to use your products, please do t make it cost us more money just to do what we did prior without problems.  Prior phones were iPhone 4 and we never had issues and never went over 8 gb's for 4 phones.  Now we are doing 14.  Can anyone tell me what is going on.  Getting ready to stop using cell phones all together.

    Well you could Restore it from your backup and see if that helps. If it doesn't Restore it as new and manually add things back until the problem starts again.
    I would also suggest trying a different SIM.
    Without iOS 7 there is no way to isolate what is using the data.

  • Re: Problem with transferring of data to non sap by using FTP funtion modul

    Hi all,
             I am doing program of creating excise invoice details and those are transfering to non sap.and I am successfully passing text file to that non sap by using FTP connection.
    like FTP_CONNECT
    FTP_COMMAND
    FTP_R3_TO_CLIENT
    FTP_DISCONNECT
    But text file details are coming like this
    means even line items are all displaying in one row.means continously all line items are coming just like this.
    0001000264,070914,,,1000,Steel (pune) Plant,
    Retail Outlet 1,0001000265,070914,,,1000,Steel (hyderabad) Plant,Retail Outlet 1
    Actually here problem is text file data is continously coming with ','
    means actually those values has to come as
             0001000264,070914,,,1000,ESSAR Steel (Hazira) Plant,Retail Outlet 1
            0001000264,070914,,,1000,ESSAR Steel (Hazira) Plant,Retail Outlet 1
    How to split those records when sending the text file.
    This is very big issue.I am unable to complete this issue.
    Please if any one knows the solution please guide me.
    please help me.
    Thanks & Regards,
    J.Goud

    Hi all,
             I am doing program of creating excise invoice details and those are transfering to non sap.and I am successfully passing text file to that non sap by using FTP connection.
    like FTP_CONNECT
    FTP_COMMAND
    FTP_R3_TO_CLIENT
    FTP_DISCONNECT
    But text file details are coming like this
    means even line items are all displaying in one row.means continously all line items are coming just like this.
    0001000264,070914,,,1000,Steel (pune) Plant,
    Retail Outlet 1,0001000265,070914,,,1000,Steel (hyderabad) Plant,Retail Outlet 1
    Actually here problem is text file data is continously coming with ','
    means actually those values has to come as
             0001000264,070914,,,1000,ESSAR Steel (Hazira) Plant,Retail Outlet 1
            0001000264,070914,,,1000,ESSAR Steel (Hazira) Plant,Retail Outlet 1
    How to split those records when sending the text file.
    This is very big issue.I am unable to complete this issue.
    Please if any one knows the solution please guide me.
    please help me.
    Thanks & Regards,
    J.Goud

  • Problem with transferring of data to non sap by using FTP funtion modul

    Hi all,
             I am doing program of creating excise invoice details and those are transfering to non sap.and I am successfully passing text file to that non sap by using FTP connection.
    like FTP_CONNECT
    FTP_COMMAND
    FTP_R3_TO_CLIENT
    FTP_DISCONNECT
    But text file details are coming like this
    means even line items are all displaying in one row.means continously all line items are coming just like this.
    0001000264,070914,,,1000,Steel (pune) Plant,
    Retail Outlet 1,0001000265,070914,,,1000,Steel (hyderabad) Plant,Retail Outlet 1
    Actually here problem is text file data is continously coming with ','
    means actually those values has to come as
             0001000264,070914,,,1000,ESSAR Steel (Hazira) Plant,Retail Outlet 1
            0001000264,070914,,,1000,ESSAR Steel (Hazira) Plant,Retail Outlet 1
    How to split those records when sending the text file.
    This is very big issue.I am unable to complete this issue.
    Please if any one knows the solution please guide me.
    please help me.
    Thanks & Regards,
    J.Goud

    Hi,
         Thanks for reply.
    Hi all,
                My problem was solved.But I have used GUI_DOWNLOAD.
        But i want to place the file name with increasing order number.
    Just like suppose 1st i am placing file name as  PO000051.txt
    next time the file name has to be placed with increasing order like PO000052.txt
    I am generating the number in my program actually i am using like this.If i keep file name as
    190.0.18.65\qdls\ITGSAP_P\PO000052.txt means only it will place only that file how to increment that number. i am not getting.
    If i am keeping
    190.0.18.65\qdls\ITGSAP_P\g_file   like this means file is not placing.
    pls help me if any one knows solution.
      CALL FUNCTION 'GUI_DOWNLOAD'
           EXPORTING
              BIN_FILESIZE        = ' '
              CODEPAGE            = ' '
                FILENAME            = '
    190.0.18.65\qdls\ITGSAP_P\g_file'
              FILETYPE            = ' '
              MODE                = ' '
              WK1_N_FORMAT        = ' '
              WK1_N_SIZE          = ' '
              WK1_T_FORMAT        = ' '
              WK1_T_SIZE          = ' '
              COL_SELECT          = ' '
              COL_SELECTMASK      = ' '
          importing
               filelength          =
           TABLES
                DATA_TAB            = ist_file
              FIELDNAMES          =
           EXCEPTIONS
                FILE_OPEN_ERROR     = 1
                FILE_WRITE_ERROR    = 2
                INVALID_FILESIZE    = 3
                INVALID_TABLE_WIDTH = 4
                INVALID_TYPE        = 5
                NO_BATCH            = 6
                UNKNOWN_ERROR       = 7
                OTHERS              = 8.
    Regards,
    j.Goud

Maybe you are looking for