IR-Filter and download CSV

Dear all,
the behaviour of pre-setting IR-filters with apex_util.ir_filter is not really clear to me. Suppose I have the following scenario:
*1)* on page 200 I have an interactive report:
select to_char(hiredate,'yyyy') as hiredate, job, sal from empincluding a before-header process which sets a filter: (in this case hiredate=1981)
begin
  apex_util.ir_filter(200,'HIREDATE','EQ','1981');
end;the output and csv-download work correct.
*2)* on page 201 I have a html region with a link:
f?p=&APP_ID.:200:&APP_SESSION.::::IR_JOB:CLERKIn the link I set an IR filter on JOB=CLERK.
=> if I start page 201 and click on the link, the filters "Hiredate=1981" and Job="Clerk" are shown, which is correct.
Click on download spools 1 row, which is also correct. When I remove the hiredate-filter, the IR-table shows 4 rows, which is correct as well.
But when I click on download again, I receive 1 row instead of 4 rows. It appears, that the hiredate-filter is still in action,
although I don't see it.
The background is, that we have tables with millions of rows. On one page, a user can select a customer and the
interactive report shows the orders of the actual month. With the implementation above, the user can change the
month, sees data of new month, but cannot download it.
Someone can enlight me a little?
Thanks in advance
Christoph

What I found out so far:
<li>Filters, set with apex_util.ir_filter(200,'HIREDATE','EQ','1981'); are static. The IR accepts changes, but not the CSV download.
<br>
<li>Filters, set within a link, i.e. f?p=&APP_ID.:200:&APP_SESSION.::::IR_JOB:CLERK are not static and can be changed by the user => CSV reflects the filter
If you observe the view "apex_application_page_ir_cond":
SELECT condition_column_name,condition_operator,condition_expression,condition_sql,last_updated_on from apex_application_page_ir_cond
where created_by='MY_USER'
and interactive_report_id='3966422848147853'
order by last_updated_on descthe filters are set according to the 2 possibilities mentioned above. If a user changes f.ex. the date (preset with apex_util.ir_filter), the IR shows the correct values.
BUT: when the user clicks on download, the pre-defined date filter appears AGAIN in the view, having 2 filters on the date now. CSV Download is empty.
Bug or feature?

Similar Messages

  • Extract data from database tables and download in pdf and csv

    extract data from database tables and download in pdf and csv
    hi how can i re-write my old form procedure in adf java. the procedure used to extract data from diffirent table and dowload the data in pdf and csv.am not downloading image, i what to extract data from diffirent tables in my database and download that data in pdf and csv. i would like to write this in java adf.i just what direction am not asking anyone to do my work this is my learning curve
    the form code is
    function merge_header3 return varchar2 is
    begin
         return '~FACILITY DESCRIPTION~ACCOUNT NO~BRANCH CODE~BANK REF NO.~P/P/ AMOUNT~Postal Address 1~Postal Address 2~Box Postal Code~Dep. Date~Month~BANK NAME~BRANCH NAME~ACCOUNT TYPE~DESCRIPTION~OBJECTIVE DESCRIPTION';
    end;
    procedure download_file (i_pbat integer) is
      dir varchar2(80);
      file_name1 varchar2(80);
      file_name2 varchar2(80);
      appl_code varchar2(80);
      fil1 client_text_io.file_type;
      fil2 client_text_io.file_type;
      dat varchar2(1000);
      DATA VARCHAR2(1000);
      bvspro varchar2(100);
      ssch   varchar2(100);
      bvspro_total number(20,2);
      ssch_total   number(20,2);
      grand_total  number(20,2);
      cnt    integer;
      cursor pbat is
           select *
           from sms_payment_batches
           where id = i_pbat
      cursor pay  (pb_id integer) is
           select *
           from sms_payment_vw
           where pbat_id = pb_id
           order by subsidy ASC,programme,beneficiary_name
      cursor cgref (low varchar2) is
           select *
           from cg_ref_codes
           where rv_domain ='SMS'
           and rv_low_value = low
      success boolean;     
      begin  
           set_application_property(cursor_style,'busy');
           appl_code := sms_global.ref_code('SMS','APP_CODE','SMS',0);
        dir       := sms_global.ref_code('SMS','PAY_DIR','c:\sms\batch_payments',0);
             success := webutil_file.create_directory(dir);
         if webutil_file.file_is_directory(dir) then
             null;
    --         message ('directory exists');
        else
    --                  message ('create directory ');
             success := webutil_file.create_directory(dir);
    --         if success then        message ('directory exists');    end if;
        end if;     
        for c_pbat in pbat loop
             file_name1 := dir ||'\' || appl_code||c_pbat.batch_number||'-'||to_char(c_pbat.batch_dt,'yyyymmdd')||'pay.txt';
             file_name2 := dir ||'\' || appl_code||c_pbat.batch_number||'-'||to_char(c_pbat.batch_dt,'yyyymmdd')||'merge.txt';
    --message('create files ');
    --         fil1  := client_text_io.fopen (file_name1,'W');
    --         fil2  := client_text_io.fopen (file_name2,'W');
        fil1  := client_text_io.fopen (file_name1,'W','');
        fil2  := client_text_io.fopen (file_name2,'W','');
                   dat :=                       'FROM ACCOUNT NUMBER'
                                                                ||'~'||'FROM ACCOUNT DESCRIPTION'
                                                                ||'~'||'MY STATEMENT DESCRIPTION'
                                                                ||'~'||'BENEFICIARY ACCOUNT NUMBER'
                                                                ||'~'||'BENEFICIARY SUB ACCOUNT NUMBER'        
                                                                ||'~'||'BENEFICIARY BRANCH CODE'
                                                                ||'~'||'BENEFICIARY NAME'
                                                                ||'~'||'BENEFICIARY STATEMENT DESCRIPTION'
                                                                ||'~'||'AMOUNT';
             --     client_text_io.put_line(fil1,dat);
             bvspro:= null;
             ssch  := null;
             cnt := 0;     
             dat := '~'||lpad('~',16,'~');
             for c_pay in pay(c_pbat.id) loop
    --message('cpay loop ' || cnt);              
               if bvspro is null then
                     dat := lpad('~',16,'~');
                     dat := utility.put_field(1,c_pay.programme,dat,'~');     
               client_text_io.put_line(fil2,dat);
               dat := utility.put_field(1,c_pay.subsidy,dat,'~');
               client_text_io.put_line(fil2,dat);
               dat := merge_header3;
                     client_text_io.put_line(fil2,dat);
                     bvspro := c_pay.programme;
                     ssch := c_pay.subsidy;
                     grand_total := 0;
                     bvspro_total := 0;
                     ssch_total := 0;
               end if;
               if bvspro <> c_pay.programme then
                     dat := lpad('~',16,'~');
                     dat := utility.put_field(5,ssch_total,dat,'~');
                     dat := lpad('~',16,'~');
                     dat := utility.put_field(5,bvspro_total,dat,'~');
               dat := utility.put_field(1,'Total:' || bvspro,dat,'~');
                     client_text_io.put_line(fil2,dat);
                     dat := lpad('~',16,'~');
               client_text_io.put_line(fil2,dat);
                     dat := utility.put_field(1,c_pay.programme,dat,'~');     
               client_text_io.put_line(fil2,dat);
                     bvspro := c_pay.programme;
               dat := utility.put_field(1,c_pay.subsidy,dat,'~');
               client_text_io.put_line(fil2,dat);
               dat := merge_header3;
                     client_text_io.put_line(fil2,dat);
                     bvspro := c_pay.programme;
                     ssch := c_pay.subsidy;
                     bvspro_total := 0;
                     ssch_total := 0;
                     cnt :=0;
             end if;                           
               if ssch <> c_pay.subsidy then
                     dat := lpad('~',16,'~');
                     dat := utility.put_field(5,ssch_total,dat,'~');
                     dat := lpad('~',16,'~');
               client_text_io.put_line(fil2,dat);
               dat := utility.put_field(1,c_pay.subsidy,dat,'~');
               client_text_io.put_line(fil2,dat);
               dat := merge_header3;
                     client_text_io.put_line(fil2,dat);
                     ssch := c_pay.subsidy;
                     ssch_total := 0;
                     cnt :=0;
             end if;                           
            bvspro_total := bvspro_total + c_pay.amount;
            ssch_total   := ssch_total   + c_pay.amount;              
                  grand_total  := grand_total  + c_pay.amount;              
            cnt := cnt +1;
    --message('bfore write file 2 ' );              
            client_text_io.put_line(fil2
                                   ,cnt
                            ||'~'|| c_pay.beneficiary_name
                                                                ||'~'||c_pay.BENEFICIARY_ACCOUNT_NUMBER ||''            
                                                                ||'~'||c_pay.BRANCH_CODE             ||''           
                                                                ||'~'|| c_pay.BENEFICIARY_STATEMENT_DESC            
                                                                ||'~'|| c_pay.AMOUNT                                
                            ||'~'|| c_pay.address_line1
                            ||'~'|| c_pay.address_line2
                                                    ||'~'|| c_pay.postal_code
                                                    ||'~'|| TO_CHAR(c_pay.deposit_date,'DD-Mon-YYYY')
                                                    ||'~'|| c_pay.month
                                                    ||'~'|| c_pay.bank
                                                    ||'~'|| c_pay.bank_branch
                                                    ||'~'|| c_pay.account_type
                                                    ||'~'|| c_pay.subsidy
                                                    ||'~'|| c_pay.programme)
                  DATA :=                                  c_pay.FROM_ACCOUNT_NUMBER                   
                                                                ||'~'||c_pay.FROM_ACCOUNT_DESCR                    
                                                                ||'~'||c_pay.MY_STATEMENT_DESCR                    
                                                                ||'~'||c_pay.BENEFICIARY_ACCOUNT_NUMBER
                                                                ||'~'
                                                                ||'~'||c_pay.BRANCH_CODE            
                                                                ||'~'||c_pay.BENEFICIARY_NAME                      
                                                                ||'~'||c_pay.BENEFICIARY_STATEMENT_DESC            
                                                                ||'~'||c_pay.AMOUNT;                                
            DATA := REPLACE(DATA, ',' , ' ' );
            DATA := REPLACE(DATA, '~' , ',' );
    --message (cnt ||' ' || data);       
    --message('bfore write file 1 ' );              
                  client_text_io.put_line(fil1, data);
             end loop;
    --message ('end of write');         
                 dat := lpad('~',16,'~');
                 dat := utility.put_field(6,ssch_total,dat,'~');
                 dat := lpad('~',16,'~');
           dat := utility.put_field(1,'Total:' || bvspro,dat,'~');
                 dat := utility.put_field(5,bvspro_total,dat,'~');
              client_text_io.put_line(fil2,dat);
              dat := lpad('~',16,'~');
           client_text_io.put_line(fil2,dat);
           dat := utility.put_field(1,'Grand Total:' ,dat,'~');
                 dat := utility.put_field(5,grand_total,dat,'~');
              client_text_io.put_line(fil2,dat);
             -- close file
    for i in 1..50 loop  
           if substr(i,-1) = 0 then
                 message ('flush ' || i);
           end if;                 
                  client_text_io.put_line(fil1, lpad(' ',2000));
                  client_text_io.put_line(fil2, lpad(' ',2000));
                  client_text_io.put_line(fil1, lpad(' ',2000));
                  client_text_io.put_line(fil2, lpad(' ',2000));
    end loop;
             client_text_io.fclose(fil1);
             client_text_io.fclose(fil2);
        end loop;
       set_application_property(cursor_style,'default');
        exception
             when others then
                  message(sqlcode ||' ' ||sqlerrm);
       end download_file;    i try this but this code onlydownload image not data from database tables
        public void downloadImage(FacesContext facesContext, OutputStream outputStream)
            BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
            // get an ADF attributevalue from the ADF page definitions
            AttributeBinding attr = (AttributeBinding) bindings.getControlBinding("DocumentImage");
            if (attr == null)
                return;
            // the value is a BlobDomain data type
            BlobDomain blob = (BlobDomain) attr.getInputValue();
            try
            {   // copy the data from the BlobDomain to the output stream
                IOUtils.copy(blob.getInputStream(), outputStream);
                // cloase the blob to release the recources
                blob.closeInputStream();
                // flush the output stream
                outputStream.flush();
            catch (IOException e)
                // handle errors
                e.printStackTrace();
                FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, e.getMessage(), "");
                FacesContext.getCurrentInstance().addMessage(null, msg);
            }

    You should ask your forum in the ADF-forum.

  • Using CSA to filter MSN Messenger file upload and download

    How would i go about filtering out the file upload and download functionality in messenger ?
    I've already disallowed the possibility of uploading or saving from Messenger by not allowing the program the read or write files. But when a PC without this policy on it uploads to a CSA protected host. The CSA will download the entire file but then refuse to save the file.
    I'd rather disallow this functionality alltogether ? my guess are that i would hae to do some COM filtering ?
    I'd be greatfull for any hints you might have.
    Best Regards,
    Lasse

    The document Blocking Peer-to-Peer File Sharing Programs with the PIX Firewall has more information on blocking file sharing applications.
    http://www.cisco.com/en/US/tech/tk583/tk372/technologies_tech_note09186a00801e419a.shtml

  • Use wildcard in LDAP search with filter and filter args fails

    Hi,
    I'm writing a function that receives the search filter and the filter arguments and returns the attributes of the found entries but I'm having problems when I pass the wildcard '*' as argument. For example I'm looking for cn=* but instead it looks for cn=\2a (searches for cn containing *).
    I'm using the InitialLdapContext function:
    public NamingEnumeration<SearchResult> search(String name,
    String filterExpr,
    Object[] filterArgs,
    SearchControls cons)
    throws NamingException
    The problem occurs in the class com.sun.jndi.toolkit.dir.SearchFilter format method where it replaces the filter place holders with the filter arguments. There it calls getEncodedStringRep to the arguments and that function returns the wildcard '*' escaped.
    Is it supposed to behave like that? I don't have problems using the search function search(String name, String filterExpr,Object[] filterArgs, SearchControls cons) but I'd like to be able to separate the filter and the filter arguments.

    That's a forum artefact, as the boldface should make obvious.
    My point is that you should specify the wildcard in the filter string, not as an argument. See http://download.oracle.com/javase/6/docs/api/javax/naming/directory/DirContext.html#search(javax.naming.Name,%20java.lang.String, java.lang.Object[],%20javax.naming.directory.SearchControls). (The forum will break that link too.) The argument asterisk is being escaped in accordance with what it says there. Or maybe you can escape it yourself as an argument as \0x2a.

  • Download csv file with strange file name.

    hi, guys:
    We installed Oracle APEX 4.2, and APEX listener 2.0 and Oracle 11g standard edition for our application. But sometimes when user tried to download csv file from an interactive report, the file name was a very strange one, sometimes even no .csv extension. could anyone give me a hint to find documentation about it?
    Thanks.
    Sam

    lxiscas wrote:
    a little more information about it:
    I found the file name is "&P16_DIP_START_DATE NOA", which we expect to generate a file named as " some date NOA.csv", but APEX does not recognize the value of variable. For example, if teh value of P16_DIP_START_DATE is 11/15/2012, we expect the file name as "11/15/2012 NOA.csv", but APEX will give us very strange file name replaceing every "/" with / I appreciate anyone who could help me on this issue. But We did not encounter this [roblem on APEX 4.1, OC4J and Oracle 11g R2 enterprise.
    Thanks.
    I just used to_char to output date without "/" and soleved it. The other way is to set application property-->security-->browser security with basic level. This only applies to APEX 4.2. I am lucky for that I am using Apex 4.2.
    Sam
    Edited by: lxiscas on Jan 14, 2013 10:08 AM
    Edited by: lxiscas on Jan 14, 2013 10:10 AM
    Edited by: lxiscas on Jan 14, 2013 10:20 AM
    Edited by: lxiscas on Jan 14, 2013 1:36 PM
    Edited by: lxiscas on Jan 21, 2013 6:50 AM
    Edited by: lxiscas on Jan 21, 2013 6:52 AM
    I can has editing?Suspect you are trying to explain that "/"s are being rendered as <tt>&amp;#x2F</tt>? If you want to include character entities in forum posts then you have to type the ampersand ("&amp;") as an entity itself, thus: <tt>&amp;amp;#x2F</tt>.Windows or *NIX filenames can't contain "/"s anyway, so you can't use them regardless of how APEX is rendering them. Using a <tt>YYYYMMDD</tt> format is also recommended as it follows date order when using character comparison semantics.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Print Report & Download CSV link missing in Custom SQL Report template

    Hi All,
    In Apex 3.1, I've been using the default templates till some color change issues forced me to create a custom one.
    The problem is my Download CSV and Print (excel,pdf) are gone in the new report. How would I reference them in report template to get those links back? (using # presuming)
    many thanks.
    APEX 3.1
    Edited by: AI on 15/04/2012 22:58

    SOLVED.
    The # thing is called substitution string. To make them show in your custom report use #CSV_LINK# In your Report Template.
    To shove it right, encapsulate it in DIV. <di v align=right>#CSV_LINK#</D IV>
    Edited by: AI on 15/04/2012 23:22

  • Downloading csv file does not ask for where to store file

    Firefox is set to "Always ask me where to save files".
    I have a WebService from which to download a download.csv file via a POST request (must be a POST request and not a GET request due to data issues).
    I'm using jquery.fileDownload.js in the Website to achieve this. When pressing the download button, the screen 'Opening download.csv' opens with the option 'Save File' preset. After pressing OK, an explorer window should occur to be able to choose the file location. But it is NOT shown. Instead nothing more happens.
    What could be the problem?
    P.S.: in other browsers it works fine.

    Hello gnittala,
    thanks for your response.
    1. MIME type is set correctly.
    2. When using this config, the file is downloaded correctly.
    Now I found out, what was the problem:
    the jquery.fileDownload.js plugin was deleting the internally used iframe too early, so that the explorer window could not be displayed. Keeping the iframe longer (at least until explorer window is shown, or easier reuse it in next download call) solves the problem.
    Astridr

  • FLOW_EXCEL_OUTPUT_R error in the downloaded csv file

    Hello,
    I'm trying to use the functionality of the FLOW_EXCEL_OUTPUT_R as follows:
    href="f?p=&APP_ID.:14:&SESSION.:FLOW_EXCEL_OUTPUT_R&P_REGION_ID._en"
    Where the computation for P_REGION_ID is:
    SELECT region_id  FROM apex_application_page_regions
    WHERE        application_id = :app_id
    AND page_id = :app_page_id
    AND region_name = 'CSV export'
    In the downloaded CSV file i get the following:
    - the first row: +<||div id="report_33994800669487811_catch">+
    - the last 2 row: +<||pre>report error:+
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error<||/pre>
    (|| - sign is so I can show the tags in the post)
    The rest of the data is downloaded ok.
    But still how can i get rid of these errors?
    Thanks,
    Adela

    It seems that the problem was caused by the "_en" termination (FLOW_EXCEL_OUTPUT_R&P_REGION_ID.*_en*).
    But is there any way to get rid of the <||div id="report_33994800669487811_catch"> <||/div> tags from the begining, respective the end of the CSV file ?
    Thanks,
    Adela

  • BEA 9.2 Portal issue: downloaded CSV file contains embedded html code

    We have J2EE application using BEA 9.2 Portal framework, and one of the page has feature to generate report( in pop up window) in CSV file format. As per the history from previous developer, BEA 8.1 didn't have this issue but, after mirgration to 9.2, they started having file download error( incomplete contents ..). To overcome this issue they commented out setting content length to HttpServletResponse as attached below, but this, now, causes html page source code of the parent page( where submit button is clicked to generate csv file report) being rendered along with actual report in the downloaded CSV file. Has anyone have this sort of issue? If so, can you please share your thoughts? or any thoughts in general?
    BEA 9.2 with Portal framework, JDK 15, JSP, Beehive NetUI, Sun Microsystem Solaris server
    Here is the source code that avoids setting content length and reasoning behind it..
    private static void setResponseHeadersForCSVFile(HttpServletResponse response, String filename, int contentLength)
    String mimeType = mimeTypes.getContentType(filename);
    response.reset();
    response.setContentType(mimeType);
    // DON'T explicitly set the content length, since the length of the String or StringBuffer that contains
    // the contents of the CSV file will be character encoded when it is actually written to the output stream, based
    // upon the character encoding of this JVM App Server's settings. So let the JVM App Server framework apply the character
    // encoding AND set the final and truly correct content length header at the time the contents of the String or StringBuffer are truly
    // streamed back to the user.
    //response.setContentLength(contentLength);
    response.addHeader("Content-Disposition", "attachment; filename=\"" + filename + "\"; size=" + contentLength);
    }

    1) Yes, the old content.tld is available as part of a web library module as a taglib.tld file. The module is: wlp-services-web-lib.war, which can be found in your bea/weblogic92/portal/lib/modules directory.
    2) The new API is accessible from the ContentManagerFactory class. This provides access to INodeManager, ITypeManager, ISearchManager, etc. The new API is contained within the com.bea.content.federated package. The 8.1.x API in the com.bea.content.manager package including RepositoryManager, NodeOps, SearchOps, etc. has been deprecated with 9.2.
    3) Yes, via the new I*Manager implementations. The entitlement support is for application-scoped visitor roles. Make sure you're using the ISearchManager when performing search operations. This will ensure secure results are returned.

  • Filter AUSST Downloads?

    I am successfully running AUSST 2.0 on one of our servers.  Currently it is pulling in updates for all CS5 and CS6 products for both Mac & PC platforms.  Since we have only CS6 running on PCs, is there a way to filter the downloads so that the update process goes more quickly and so that the update repository doesn't take up room on our server for unnecessary files?
    Thanks in advance!

    Hi,
         There is no option as of now to download only CS6 updates. But once you have downloaded all the updates, you may go for incremental sync to make sure you have latest updates and this will cost you much lesser time compared to a forced sync.
    Thanks,
    Abhishek | [email protected]

  • Can't connect to apps store when I'm trying to update and download apps. What's wrong?

    When I'm trying to update apps and download apps, apps store pops up and said that cannot connect to apps store. Does anyone having the same problem? Thank you.

    Most likely the problem is again with some firewall/privacy filter. Are you running any of Symantec's (Norton) or McAfee's Internet security products or anything similar, or an antivirus/antispyware application? Some such utilities treat an upgrade to iTunes as a new application and can block the application from connecting. So you have to go in and reset the utility to allow iTunes. The same thing can happen if you upgrade the security product (this has particularly been a problem with recent McAfee upgrades).
    Check the settings for your utility. If iTunes is still listed, remove and re-enable the exception for iTunes. Consult your utility's documentation for the appropriate procedure; you can find instructions for Norton on Symantec's web page for iTunes. You may also need to check the built-in Windows firewall as well.
    Hope this helps.

  • Upload or download csv files

    Hi folks,
            How we can upload or download csv(comma separated vale) fles in web dynpro abap.in some forums i seen how we can upload or download files but i need file upload/download csv files

    hi ,
    create an attribute datasource of type xstring...and use the following code
    TYPES :
           BEGIN OF STR_ITAB,
           AP_NUMBER(10) TYPE C,
           SPAN(10) TYPE C,
           TOWER_TYPE(10) TYPE C,
           END OF STR_ITAB.
           DATA : T_TABLE1 TYPE STANDARD TABLE OF STR_ITAB,
             I_DATA TYPE STANDARD TABLE OF STRING,
    *         LO_ND_SFLIGHT TYPE REF TO IF_WD_CONTEXT_NODE,
    *         LO_EL_SFLIGHT TYPE REF TO IF_WD_CONTEXT_ELEMENT,
             L_STRING TYPE STRING,
             FS_TABLE TYPE STR_ITAB,
             L_XSTRING TYPE XSTRING,
             FIELDS TYPE STRING_TABLE,
             LV_FIELD TYPE STRING.
              DATA : T_TABLE TYPE IF_ZWD_KT_TOWERSCHDUL_V=>ELEMENTS_CTX_VN_DATA_TAB,
              CTX_VN_DATA_TABLE TYPE IF_ZWD_KT_TOWERSCHDUL_V=>ELEMENTS_CTX_VN_DATA_TAB.
    * get single attribute
    WD_CONTEXT->GET_ATTRIBUTE( EXPORTING   NAME =  `DATASOURCE`    IMPORTING   VALUE = L_XSTRING ).
      CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
        EXPORTING
          IN_XSTRING = L_XSTRING
        IMPORTING
          OUT_STRING = L_STRING.
      SPLIT L_STRING  AT CL_ABAP_CHAR_UTILITIES=>CR_LF INTO TABLE I_DATA.
    *SPLIT S_CONT AT CL_ABAP_CHAR_UTILITIES=> INTO TABLE S_TABLE.
    FIELD-SYMBOLS: <WA_TABLE> LIKE LINE OF I_DATA.
    REFRESH T_TABLE1.
    CLEAR FS_TABLE.
    DELETE I_DATA INDEX 1.
    LOOP AT I_DATA ASSIGNING <WA_TABLE>.
    *  splits string on basis of tabs
      SPLIT <WA_TABLE> AT ',' INTO
                      FS_TABLE-TOWER_TYPE
                      FS_TABLE-AP_NUMBER
                      FS_TABLE-SPAN.
      APPEND FS_TABLE TO T_TABLE1.
    *                  STR_ITAB-NUMBER_DIGITS.
    *  APPEND STR_ITAB TO ITAB.
    ENDLOOP.
    *       Bind With table Element.
    *      LOOP AT i_data INTO l_string.
    *    SPLIT l_string AT cl_abap_char_utilities=>horizontal_tab INTO TABLE fields.
    *     READ TABLE fields INTO lv_field INDEX 1.
    *    fs_table-AP_NUMBER = lv_field.
    *     READ TABLE fields INTO lv_field INDEX 2.
    *    fs_table-SPAN = lv_field.
    *     APPEND fs_table TO t_table1.
    *  ENDLOOP.
    *  lo_nd_sflight = wd_context->get_child_node( 'CTX_VN_CTX_VN_CTX_VN_CTX_VN_DATA_TAB' ).
    *  lo_nd_sflight->bind_table( t_table1 ).
      DATA LO_ND_CTX_VN_DATA_TAB TYPE REF TO IF_WD_CONTEXT_NODE.
      DATA LO_EL_CTX_VN_DATA_TAB TYPE REF TO IF_WD_CONTEXT_ELEMENT.
      DATA LS_CTX_VN_DATA_TAB TYPE WD_THIS->ELEMENT_CTX_VN_DATA_TAB.
    * navigate from <CONTEXT> to <CTX_VN_CTX_VN_CTX_VN_CTX_VN_DATA_TAB> via lead selection
      LO_ND_CTX_VN_DATA_TAB = WD_CONTEXT->GET_CHILD_NODE( NAME = WD_THIS->WDCTX_CTX_VN_DATA_TAB ).
      LO_ND_CTX_VN_DATA_TAB->BIND_TABLE( T_TABLE1 ).
    thanks and regards,
    sahai.s

  • Two iTunes movies that I purchased and downloaded to my iPhone do not show up when I try to sync to iTunes on my iMac.

    I purchased the X-Men Bundle of 5 movies. I downloaded the first 3 onto my iPhone. Only 1 of the 3 (the first film) shows up as an option to sync to iTunes on my iMac. I do it this way because I have access to free hi-speed wifi at work but not at home.
    I have verified that the other 2 films are actually on the phone and will play on the phone.
    I have tried various settings and restarted both devices but to no avail.

    Thanks Alex! That did the trick! I just saw your reply. I thought no one had replied because I did not get an email alert. I think I had turned that feature off and forgot I had done so. Now it seems so obvious but for some reason I didn't look there. This is a big help. I can download stuff at work but at home I have only cellular data using a mobile wi-fi device and downloading movies, especially HD movies is just not an affordable option. Taking my iMac to the office would be crazy. I downloaded only my MacBook Air and copied the files onto a thumb drive but those were not recognized. I was at my wit's end. Thanks again!

  • I have a problem with wifi in my iphone 4s, i already try everything and download latest version 7.1(11D167) but wifi switch is not working, its my humble request to Apple support team that pls resolve this problem as soon as possible because

    I have a problem with wifi in my iphone 4s, i already try everything and download latest version 7.1(11D167) but wifi switch is not working, its my humble request to Apple support team that pls resolve this problem as soon as possible because its a prestiage of Apple Company.
    Pls inform me how can i resolve the problem of wifi.

    You have to go to autherized iPhone agent.

  • I bought a cd and downloaded it to my itunes account. I want to burn it to keep one in my car but I dont get that option. how can i burn it from my itunes account?

    I bought a cd and downloaded it to my itunes account.  I want to burn one to keep in my car, but dont get that option. how can i burn it from my itunes account?

    Hello lindsey0315,
    I read your post, and I have linked to an article that will instruct you on how to create CDs with iTunes:
    iTunes 11 for Windows: Create your own CDs and DVDs
    http://support.apple.com/kb/PH12348
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

Maybe you are looking for

  • DTW for PO's and Customer payments applied to oldest invoices.

    Hi everyone in this forum, I'm so glad that there is a community like this one so we can request to expert and not so expert SAP users. This thread is made with the intention of request help in the following matter: The company I started recently to

  • Inclusive of excise duty issue

    Hi, We encountered a issue in case of inclusive of excise duty procurement. I will try to explain it here. We have punched a PO with excise duty inclusive and the tax code as per the vendor's terms. The GR based IV is checked. We made GRN with refere

  • Employee Photo not displayed in ESS- Who's Who Services

    Hi All.. My employee photo upload was successful in Quality System . I can also view the photo both in R/3 employee related facsmiles , header of PA20, PA30. and also the same photo's are displayed in ESS - Who's Who services. steps I used- OANR, OAC

  • Droid X accessories

    I have a Droid X and thinking about getting the Droid Bionic , my question is will the bionic fit in the car dock and the home dock ?? thank you in advance for any insight

  • Call to java bean but code not being executed.

    Making a call to my javabean class called ch06_03.java from a jsp program shown below: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Using a java package.</title> </head> <body> <% beans.ch06_03 messager = new b