Read data from db and write it into the txt file

hi all
could anyone please help me regarding the following:
i would like to read the data from database using sql query and the write the data into a text file.
I am able to connect the db, run the query, create file...but not knowing how to write the data into the file.
could anyone please help me out.
thanks in advance
regards
sasasa
Edited by: sasasa on Sep 14, 2009 8:57 AM

i would like to read the data from database using sql query and the write the data into a text file.
I am able to connect the db, run the query, create file...but not knowing how to write the data into the file.
There must be something that I am missing.
How is it possible to be able to navigate JDBC, run a query and create a file but not know how to write to it?

Similar Messages

  • Read data from Excel and write into oracle database

    Hi
    I want  to know how can i read data from excel and write into oracle database using java.Kindly help me out to find a solution.
    Thanks and Regards
    Neeta

    Hai,
    I am suggesting the solution.
    I will try out and let u know soon.
    Make a coma separated file from your excel file.
    Assuming that your requirement allows to make a csv file.
    This file may be passed as an file object to be read by java.Using JDBC you must be able to populate the data base.You can also use String Tokenizer if needed.
    You do not want to  go via sql Loader?
    For reading the excel file itself do you want java?

  • How to Extract Data from SAP and Load it into Essbase

    Hi All,
    Can you recommend some ways to extract data from SAP and load it into Essbase?. I have no knowledge about SAP, not sure how I can perform this task. Can I use ODI for this job?
    Thanks

    hi,
    Not sure if this helps but give a try
    you can create connection from EAS to SAP .. using a plug-in .. if you have access to oracle Support go for [ID 968961.1]
    or
    below are steps
    1. In EASPATH\console, open components.xml in a text editor.
    2. Under <PluginList>, enter <Plugin archiveName="SAP" packageName="com.essbase.eas.sap.ui"/> before the closing </PlugIn> tag.
    3. Save and close the file.
    4. In EASPATH\console\bin, open admincon.lax in a text editor.
    5. Search for lax.class.path= and append ;..\lib\sap_client.jar;..\lib \sap_common.jar to the entry. Save and close the file.
    6. In EASPATH\server\bin, open adminsvr.lax in a text editor.
    7. Search for lax.nl.java.option.additional, and append -DRFC_INI=EASPATH\server\saprfc.ini. Save and close the file.
    8. Create a new environment variable, RFC_INI, with a value of EASPATH\server\saprfc.ini
    9. Copy librfc.dll andsapjcorfc.dll to EASPATH\server\bin. You may need to obtain these files from SAP.
    let me know if it works :)

  • Problem with reading data from screen and inserting in table

    hi ther,
    im new to abap-webdyn pro. can anyone suggest how to read data from screen and insert into table when press 'ADD' button.
    i done screen gui , table creation but problems with action. what the content of acton add.
    is ther any link that helps me or tut??
    thankx in advance!
    regards

    Hi,
    Create a context node for the screen fields for which you want to enter the values with cardinality 1.1.....
    Now in the layout of your view bind the screen input fields to that context node(attributes) to the value property of the input fields...
    Now in the action of ADD button....
    --> go the wizard and select the read node button and select the node which you have created it generates the auto code for you.....
    for example if the node is contains aone attribute like MATNR
    reading the node from wizard will generate the code as....
    DATA lo_nd_matnr TYPE REF TO if_wd_context_node.
      DATA lo_el_matnr TYPE REF TO if_wd_context_element.
      DATA ls_matnr TYPE wd_this->element_matnr.
      DATA lv_matnr TYPE wd_this->element_matnr-matnr.
    * navigate from <CONTEXT> to <MATNR> via lead selection
      lo_nd_matnr = wd_context->get_child_node( name = wd_this->wdctx_matnr ).
    * @TODO handle non existant child
    * IF lo_nd_matnr IS INITIAL.
    * ENDIF.
    * get element via lead selection
      lo_el_matnr = lo_nd_matnr->get_element( ).
    * @TODO handle not set lead selection
      IF lo_el_matnr IS INITIAL.
      ENDIF.
    * get single attribute
      lo_el_matnr->get_attribute(
        EXPORTING
          name =  `MATNR`
        IMPORTING
          value = lv_matnr ).
    here the variable lv_matnr will contain the entered value......
    now you can use this value for further process.
    Thanks,
    Shailaja Ainala.

  • How can you pull in pdf's from iBooks and bring them into the Box app?

    How can you pull in pdf's from iBooks and bring them into the Box app?

    That sounds great, but I'm lost.
    I followed these steps:
    1) Open your PDF (in Adobe Acrobat Pro)
    2) Chose print
    The print/printer options pop-up will show.
    3) In the printer section, do not use your normal printer, a printer named Adobe PDF should be an option. Chose it.
    4) Under the "Page handling" section, change the Page Scaling drop-down menu to "Multiple pages per sheet".
    It works fine, but it looses all of the font information and the search no longer works. How can you do it and save the font info, so the search tool continues to operate.
    Am I missing anything?

  • I can't open pages files from USB and iCloud due to : "The necessary file index.xml is missing".

    I can't open pages files from USB and iCloud due to : "The necessary file index.xml is missing". Original file is written on iMac (2014) and saved to an USB stick and then transferred till macBook Pro (2009, Yosemite) for editing. Then I shared the files by iCloud but I am not able to open them on iMac again. Niether can I use the USB stick to transfer the edited files back. I'm running Pages '09 4,1 (923) on the macBook and Pges 5.5.2 (2120) on the iMac.
    Håkan

    Pages 5.5.2 is extremely incompatible with even other Macs let alone the vast majority of PC and MsWord users out there, so not a good idea to leap into the fire with both eyes shut.
    After having done that to the first Pages 5 files, Apple has repeatedly done it to even the most minor point updates. Apple can't even anticipate its own erratic changes let alone what everyone else needs doing.
    Peter

  • Reading the data from 2 files and writing it into the 3rd file?

    Hi,
    I am reading datas from 2 files Say,
    Example1.txt Example2.txt
    Ashok ^data1^data2^data3
    Babu ^data1^data2^data3
    Chenthil ^data1^data2^data3
    Danny ^data1^data2^data3
    I want those data's to be written in a 3rd file. Say,
    Example3.txt
    Ashok^ data1^data2^data3
    Babu^ data1^data2^data3
    Chenthil^ data1^data2^data3
    Danny^ data1^data2^data3
    So that i can tokenize it with a delimeter(^) and get the values. Here how to append the datas in this form in Example3.txt. Eventhough u use FileWriter with append "true" as a parameter how they will apend like the Example3.txt file? Please do provide an answer for this..Since this is very urgent to be delivered...Expecting postive response.
    Thanx,
    JavaCrazyLover

    import java.io.*;
    import java.util.*;
    public class en
    public static void main(String args[]) throws IOException     
    {int data,data1,offset,offset1;
              FileOutputStream fos1=new FileOutputStream("c:/example3.txt");
              FileInputStream fis=new FileInputStream("c:/example1.txt");
              FileInputStream fis1=new FileInputStream("c:/example2.txt");
    while((data=fis.read())!=-1) 
         fos1.write(data);
    while((data=fis1.read())!=-1) 
    fos1.write(data);
    fis.close();
    fis1.close();
    fos1.close();
    }first create those 3 files in c:

  • How do we get information from an MFR reader and write it into a log file?

    We are working on a project using an MFR 4100 reader with a serial port
    to read data from RFID tags into an Excel or text file.  So far,
    when we run our VI, the data from tags shows up fine on the front panel
    but shows up as garbage in the Excel/text file.  It also shows up
    as garbage when we probe the block diagram.  Does anyone have any
    insights on doing this?
    Thanks,
    Team LEAD
    Smith College.
    Attachments:
    write to excel using josh's code.vi ‏81 KB

     Here's a screen shot of our VI in case you can't view it.
    Thanks,
    Team LEAD.
    Attachments:
    screen shot of write to excel vi.JPG ‏91 KB

  • BPEL or OSB for reading data from db and then writing to another db

    Hi All,
    I have a requirement of reading the data from a table in one database and then writing into the table in another databas.I dont need any transformation on the data.
    I understand that i can do this by creating a BPEL process with DB adapters.
    Is there any better way of implementing this.I am new to OSB and If need to use OSB, then how can we do this in OSB and what are the advantages of using OSB over BPEL in implementing this.
    Thanks,
    ashok

    probably it would be much easier to develop everything in JDeveloper using DBAdapter.
    You can run it inside SOA Suite, but you don't even need BPEL, just use Mediator.
    Otherwise you can export all the JCA and WSDL and XSD paraphernalia from JDeveloper and import into OSB, it should run smoothly.
    How do you trigger the transfer? Polling the DB to look for new rows?

  • Cut parts from song and import them into the sampler on ipad

    How do I cut parts of my song in garageband (ipad) and put them into the sampler to fix the pitch on specific parts of my pre-recorded vocals?
    For example, I already have a song I recorded, and I would like to simply cut a few seconds of the vocals, go into the sampler, fix the pitch, and then re-insert the editied piece back into my song.
    Is this possible on the ipad? I know that the "autotune" option isn't available on the ipad, but I simply want to fix the pitch on a few notes and I was wondering if there's any way to do that.
    If there's not, do you have any suggestions or any app reccomendations that might help me achieve this? I can't afford a macbook pro so that's out of the question.
    Sorry if my explination isn't clear! And thanks for any help :]

    Hi,
    you should go to PI 7.1 and not PI 7.0 otherwise it makes not so much sense.
    And yes it's possible to migrate your scenarios. If you have UDFs you have to check them because the java version has changed.
    Regards
    Patrick

  • [b]export data from a table to a csv or .txt file[/b]

    hi plz i need help in how to export data from a table to a csv or .txt file

    If you are using TOAD, then you can execute the statement like SELECT * FROM TABLE1
    Then, you can go to Output Grid and you can say save as and you can save it as you want, excel, tab delimited or whatever.
    Thanx,
    Cheers,

  • How to select the data from DB and write into File?

    Hi Experts,
    Can any one please help me,
    I want to write the data from a table "T1" from Data Base to one file in windows.
    This functionality i need to achive in SSIS package through script component and Execute SQL task if it's passible.
    If any other way is there please help me.

    through script component and Execute SQL task if it's passible
    The easier way is to use a "Data Flow" Task with a "OleDB Data Source" pointing the the SQL Server table / query and a "Flat File Destination" to export to a file.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Read data from .xls and store it in blob

    Hi,
    I am getting the file using CLIENT_GET_FILE_NAME. I need to read the data from the .xsl file and convert it into blob. The file should not be stored in DB.
    Please help me by providing suggestions / solutions.
    Thanks.
    Edited by: tharini on 10-Aug-2010 04:16

    InoL,
    You can use an OLE Container or you can use a database stored procedure to write the file to the BLOB or extract the file from the BLOB. Then, using WebUtil you can serve the file to the the user. Of course, you would use WebUtil to allow the user to upload the document to the server so you can call the stored proc to load the file into the BLOB.
    The file should not be stored in DB.Hence my question:
    Why do you want to store the raw data from the spreadsheet in a BLOB instead of the file in a BLOB?What is the business requirement and how do you plan on using the data once it is stored in the BLOB?
    If it is a hard requirment to not store the file, then tharnini has to figure out how to take the contents read from the .xls file using WebUtil and store this in the BLOB. More importantly, how do you take the contents of the file stored in the BLOB and write it back out to a file in the same format as the original file so the user can view the information.
    I've not done this using the aforementioned method - I've not done using the OLE container either. ;-)
    Craig...
    Edited by: CraigB on Aug 10, 2010 12:49 PM

  • How to extract data from CLOB and insert them into DB?

    Hi PL/SQL Gurus,
    I have no experience in PL/SQL, but I have a requirement now where I have to use it.
    We have a table with 10 columns, one of them is a CLOB and it holds XML data. The XMLs are very huge in size.
    Two new columns are added to the table and the data has to be filled for the existing records from the corresponding XML. The XML has all the data as attributes. I started searching on the internet and tried if I could extract the data out of XML.
    SELECT extractValue(value(x), '/Order/Package/@Code',
    'xmlns:ns0="http://mycompany.com/Order/OrderType.xsd"' )
    FROM ORDER_TABLE A
    , TABLE(
    XMLSequence(
    extract(
    xmltype(A.XML_DATA)
    , '/ns0:Root'
    , 'xmlns:ns0="http://mycompany.com/Order/OrderType.xsd"'
    ) x;
    But this isn't working. Could anyone please provide some ideas.
    I just want to confirm that I am able to extract data. Once this is done I would like to create a procedure so that all the existing records can be updated.
    Thanks in advance.
    Regards,
    Fazzy

    Can this be acheived using a SQL statement.Yes, you can do it with the DML error logging clause.
    Here's a quick example I've just set up :
    Base table
    SQL> create table order_table (
      2   order_id number,
      3   package_code varchar2(30),
      4   package_desc varchar2(100),
      5   xml_data clob
      6  );
    Table created
    SQL> alter table order_table add constraint order_table_pk primary key (order_id);
    Table altered
    Adding data...
    SQL> insert into order_table (order_id, xml_data)
      2  values (1, '<?xml version="1.0" encoding="UTF-8"?>
      3  <ns0:Root xmlns:ns0="http://mycompany.com/Order/OrderType.xsd" BookingDate="2009-06-07">
      4  <ns1:OrderKey xmlns:ns1="http://mycompany.com/Order/OrderKeyTypes.xsd" SystemCode="THOMAS" Id="458402-TM1" Version="1"/>
      5  <ns0:Package Code="0001" Desc="ProductName1"/>
      6  <ns0:PromotionGroup Code="DSP" Name="OrderThomasPortal"/>
      7  <ns0:Promotion Code="TH902" Name="OrderThomasPortal" SellingName="OrderThomasPortal" BackOfficeName="OrderThomasPortal"/>
      8  <ns0:FinancialSupplier Code="HHT" Name="NYOrdSupp"/>
      9  <ns0:SellingCurrency Code="EUR" Name="Euro"/>
    10  <ns0:Owner ClientId="02654144" ClientMandator="T" ClientSystem="ROSY"/>
    11  <ns0:Agent PersonInAgency="5254" AgentCode="000009" CommissionAmount="2.8" CommissionDueDate="2009-07-01+02:00" VatOnCommission="0"/>
    12  </ns0:Root>');
    1 row inserted
    SQL> insert into order_table (order_id, xml_data)
      2  values (2, '<?xml version="1.0" encoding="UTF-8"?>
      3  <ns0:Root xmlns:ns0="http://mycompany.com/Order/OrderType.xsd" BookingDate="2009-06-07">
      4  <ns1:OrderKey xmlns:ns1="http://mycompany.com/Order/OrderKeyTypes.xsd" SystemCode="THOMAS" Id="458402-TM1" Version="1"/>
      5  <ns0:Package Code="0002" Desc="ProductName2/>
      6  <ns0:PromotionGroup Code="DSP" Name="OrderThomasPortal"/>
      7  <ns0:Promotion Code="TH902" Name="OrderThomasPortal" SellingName="OrderThomasPortal" BackOfficeName="OrderThomasPortal"/>
      8  <ns0:FinancialSupplier Code="HHT" Name="NYOrdSupp"/>
      9  <ns0:SellingCurrency Code="EUR" Name="Euro"/>
    10  <ns0:Owner ClientId="02654144" ClientMandator="T" ClientSystem="ROSY"/>
    11  <ns0:Agent PersonInAgency="5254" AgentCode="000009" CommissionAmount="2.8" CommissionDueDate="2009-07-01+02:00" VatOnCommission="0"/>
    12  </ns0:Root>');
    1 row inserted
    SQL> commit;
    Commit complete
    {code}
    Note that the second row inserted contains a not well-formed XML (no closing quote for the /Root/Package/@Desc attribute).
    *Creating the error logging table...*
    {code}
    SQL> create table error_log_table (
      2   ora_err_number$ number,
      3   ora_err_mesg$   varchar2(2000),
      4   ora_err_rowid$  rowid,
      5   ora_err_optyp$  varchar2(2),
      6   ora_err_tag$    varchar2(2000)
      7  );
    Table created
    {code}
    *Updating...*
    {code}
    SQL> update (
      2    select extractvalue(doc, '/ns0:Root/ns0:Package/@Code', 'xmlns:ns0="http://mycompany.com/Order/OrderType.xsd"') as new_package_code
      3         , extractvalue(doc, '/ns0:Root/ns0:Package/@Desc', 'xmlns:ns0="http://mycompany.com/Order/OrderType.xsd"') as new_package_desc
      4         , package_code
      5         , package_desc
      6    from (
      7      select package_code
      8           , package_desc
      9           , xmltype(xml_data) doc
    10      from order_table t
    11    )
    12  )
    13  set package_code = new_package_code
    14    , package_desc = new_package_desc
    15  log errors into error_log_table ('My update process')
    16  reject limit unlimited
    17  ;
    1 row updated
    SQL> select order_id, package_code, package_desc from order_table;
      ORDER_ID PACKAGE_CODE                   PACKAGE_DESC
             1 0001                           ProductName1
             2                               
    {code}
    One row has been updated as expected, the other has been rejected and logged into the error table :
    {code}
    SQL> select * from error_log_table;
    ORA_ERR_NUMBER$ ORA_ERR_MESG$                                                                    ORA_ERR_ROWID$     ORA_ERR_OPTYP$ ORA_ERR_TAG$
              31011 ORA-31011: XML parsing failed                                                    AAAF6PAAEAAAASnAAB U              My update process
                    ORA-19202: Error occurred in XML processing                                                                       
                    LPX-00244: invalid use of less-than ('<') character (use &lt;)                                                    
                    Error at line 5                                                                                                   
                    ORA-06512: at "SYS.XMLTYPE", line 272                                                                             
                    ORA-06512: at line 1                                                                                              
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Reading data from ODS and update current layout?

    Hi,
    when i execute a planning folder, list of materials are displayed into the current layout.
    Now, for each material, I need to bring quantity into the current layout which is (quantity) in an ODS. Initially, Quantity is blank in the infocube. Now, i need to populate Quantity field from ODS into the current layout.
    Infocube Quantity field & ODS Quantity field are different but of the same type.
    I'm wondering if it can be done using a user exit. Can we read ODS data from a function module and send it back to the current layout?
    I appreciate sharing your ideas.
    Message was edited by: hari143

    Hi Hari,
    you could use a routine in the upload rule.
    declaration area
    Tables: /BIC/AODS00.
    data: T_MATERIAL Type hashed table of /BIC/AODS00 with unique
    key /BI0/0MATERIAL with header line.
    Loading of internal Table
      data: n type i.
      describe table T_MATERIAL lines n.
      if n = 0.
        SELECT * FROM /BIC/AODS00 INTO TABLE T_MATERIAL.
      endif.
    finding MATERIAL
      read table T_MATERIAL with table key
        /BI0/0MATERIAL = COMM_STRUCTURE-/BI0/0MATERIAL.
      if sy-subrc = 0.
    Additional necessary Values
    Values from Communication Structure
          RESULT_TABLE-Object1 = COMM_STRUCTURE-Object1.
    RESULT_TABLE-Object2 = COMM_STRUCTURE-Object2.
          RESULT_TABLE-VTYPE = COMM_STRUCTURE-VTYPE.
          RESULT_TABLE-VERSION = COMM_STRUCTURE-VERSION.
          RESULT_TABLE-FISCYEAR = COMM_STRUCTURE-FISCYEAR.
          RESULT_TABLE-FISCVARNT = COMM_STRUCTURE-FISCVARNT.
          RESULT_TABLE-G_CWWCON = COMM_STRUCTURE-G_CWWCON.
          RESULT_TABLE-/BIC/C7_ERGBER = COMM_STRUCTURE-/BIC/C7_ERGBER.
          RESULT_TABLE-CO_AREA = COMM_STRUCTURE-CO_AREA.
          RESULT_TABLE-SOURSYSTEM = COMM_STRUCTURE-SOURSYSTEM.
          RESULT_TABLE-CURTYPE = COMM_STRUCTURE-CURTYPE.
          RESULT_TABLE-CURRENCY = COMM_STRUCTURE-CURRENCY.
          RESULT_TABLE-COUNTRY = COMM_STRUCTURE-COUNTRY.
          RESULT_TABLE-G_CWWTEC = COMM_STRUCTURE-G_CWWTEC.
          RESULT_TABLE-SALES_DIST = COMM_STRUCTURE-SALES_DIST.
    Values from Hyperion Mapping ODS
          RESULT_TABLE-G_CWWPT2 = T_HYP_ACCT-G_CWWPT2.
          RESULT_TABLE-G_CWWPD3 = T_HYP_ACCT-G_CWWPD3.
          RESULT_TABLE-G_CWWPD6 = T_HYP_ACCT-G_CWWPD6.
          RESULT_TABLE-G_CWWNEW = T_HYP_ACCT-G_CWWNEW.
          RESULT_TABLE-CUSTOMER = T_HYP_ACCT-/BIC/C7_DUMMY3.
          RESULT_TABLE-SHIP_TO = T_HYP_ACCT-/BIC/C7_DUMMY3.
    Not assigned Values
          RESULT_TABLE-SALES_GRP = ''.
          RESULT_TABLE-PROFIT_CTR = ''.
          RESULT_TABLE-SALESORG = ''.
          RESULT_TABLE-G_CWWPD1 = ''.
          RESULT_TABLE-G_CWWPD4 = ''.
          RESULT_TABLE-G_CWWPD5 = ''.
          RESULT_TABLE-DISTR_CHAN = ''.
          RESULT_TABLE-DIVISION = ''.
          RESULT_TABLE-BUS_AREA = ''.
          RESULT_TABLE-CUST_GROUP = ''.
          RESULT_TABLE-/BIC/C7_HIE01 = ''.
          RESULT_TABLE-SALESEMPLY = ''.
          RESULT_TABLE-VALUATION = ''.
          RESULT_TABLE-REC_TYPE = ''.
          RESULT_TABLE-VAL_TYPE = ''.
          RESULT_TABLE-G_CWWMRK = ''.
    *Deriving values
          RESULT_TABLE-G_AVVDAA = COMM_STRUCTURE-/BIC/C7_VALUE1.
          CONCATENATE COMM_STRUCTURE-FISCYEAR '001' into
          RESULT_TABLE-FISCPER.
          APPEND RESULT_TABLE.
          RESULT_TABLE-G_AVVDAA = COMM_STRUCTURE-/BIC/C7_VALUE2.
          CONCATENATE COMM_STRUCTURE-FISCYEAR '002' into
          RESULT_TABLE-FISCPER.
          APPEND RESULT_TABLE.
          RESULT_TABLE-G_AVVDAA = COMM_STRUCTURE-/BIC/C7_VALUE3.
          CONCATENATE COMM_STRUCTURE-FISCYEAR '003' into
          RESULT_TABLE-FISCPER.
          APPEND RESULT_TABLE.
          RESULT_TABLE-G_AVVDAA = COMM_STRUCTURE-/BIC/C7_VALUE4.
          CONCATENATE COMM_STRUCTURE-FISCYEAR '004' into
          RESULT_TABLE-FISCPER.
          APPEND RESULT_TABLE.
          RESULT_TABLE-G_AVVDAA = COMM_STRUCTURE-/BIC/C7_VALUE5.
          CONCATENATE COMM_STRUCTURE-FISCYEAR '005' into
          RESULT_TABLE-FISCPER..
          APPEND RESULT_TABLE.
          RESULT_TABLE-G_AVVDAA = COMM_STRUCTURE-/BIC/C7_VALUE6.
          CONCATENATE COMM_STRUCTURE-FISCYEAR '006' into
          RESULT_TABLE-FISCPER.
          APPEND RESULT_TABLE.
          RESULT_TABLE-G_AVVDAA = COMM_STRUCTURE-/BIC/C7_VALUE7.
          CONCATENATE COMM_STRUCTURE-FISCYEAR '007' into
          RESULT_TABLE-FISCPER.
          APPEND RESULT_TABLE.
          RESULT_TABLE-G_AVVDAA = COMM_STRUCTURE-/BIC/C7_VALUE8.
          CONCATENATE COMM_STRUCTURE-FISCYEAR '008' into
          RESULT_TABLE-FISCPER.
          APPEND RESULT_TABLE.
          RESULT_TABLE-G_AVVDAA = COMM_STRUCTURE-/BIC/C7_VALUE9.
          CONCATENATE COMM_STRUCTURE-FISCYEAR '009' into
          RESULT_TABLE-FISCPER.
          APPEND RESULT_TABLE.
          RESULT_TABLE-G_AVVDAA = COMM_STRUCTURE-/BIC/C7_VALU10.
          CONCATENATE COMM_STRUCTURE-FISCYEAR '010' into
          RESULT_TABLE-FISCPER.
          APPEND RESULT_TABLE.
          RESULT_TABLE-G_AVVDAA = COMM_STRUCTURE-/BIC/C7_VALU11.
          CONCATENATE COMM_STRUCTURE-FISCYEAR '011' into
          RESULT_TABLE-FISCPER.
          APPEND RESULT_TABLE.
          RESULT_TABLE-G_AVVDAA = COMM_STRUCTURE-/BIC/C7_VALU12.
          CONCATENATE COMM_STRUCTURE-FISCYEAR '012' into
          RESULT_TABLE-FISCPER.
          APPEND RESULT_TABLE.
          RETURNCODE = 0.
          ABORT = 0.
        Else.
          RETURNCODE = 1.
          ABORT = 0.
        endif.
      ELSE.
        RETURNCODE = 1.
        ABORT = 0.
      ENDIF.

Maybe you are looking for

  • Can I specify the "root package" of the Library?

    Can I specify the "root package" of the  Library (currently seemingly hardwired as "components") so that the  generated code has sensible package names i.e.  "com.adobe.buttons.HelloWorldButton" rather than  "components.HelloWorldButton".

  • Three annoying issues we would like to know how to fix

    Three issues with our new iMac that we would like to know how to fix: 1. Sometime (not always) when we shut it down it restarts instead. 2. Sometimes (not always) the display won't sleep. 3. Time Machine keeps asking us if we want to use an external

  • Disable file deletion confirmation in Lion

    How do I do this?

  • After query clear ADF search form

    I have a adf search form with a date picker. When I push the search button I go to my view object class to change the query String criteria3 = (String)vcr.getAttribute("Datenaiss"); if (attrs.getName()=="Datenaiss"){ if (criteria3 != null) {         

  • ALE distribution error - 0 communication IDOC

    Hello, We are getting 0 communication IDOC generated for message type DOCMAS error for ALE document distribution error. Please advice where to look for the error. Anirudh