Somebody experience with writing data in Access file?

I want to write my data in a Access file.
Is it true, that I have to create a macro in the Access-file?
I have no experience with macros. Can somebody tell me how I can do that?
Has somebody an example?
Thanks for help.

No, you don't have to write a macro. I guess you're refering to the shipping example that uses DDE. Instead of DDE, you can use ActiveX. There have been several examples posted to the forum that use this to read and write from an Access database. There is also the Database Connectivity Toolkit from NI that uses ODBC/ADO/SQL to talk to any database. For a free utility, check out LabSQL from Jeffrey Travis at http://jeffreytravis.com/lost/download/.

Similar Messages

  • Writing data to a file in Server

    Hi all,
    In my application i would be writing data to a file which is located in the Server.
    when i tried writing data to a file in my local machine using a Java Application it worked fine .
    Now through the webdynpro application and providing the files path (in server ) ,i am getting file not found exception .
    I am using basic File and i/o operations .
    File abc = new File ("
    servernamer
    folder1
    subfolder1
    filename.dat");
    when i try accessing this path from the command prompt its opening fine.
    Could you please through some light on this .
    thanks,
    swetha .

    >
    KalluriVijay wrote:
    > Hi Swetha,
    > Do one think.
    > InputStream text = null;
    >                int temp = 0;
    >                //File file = new File(wdContext.currentContextElement().getResource().getResourceName().toString());
    >                //wdComponentAPI.getMessageManager().reportSuccess("filePath Vijay:::"+file);     
    > //wdComponentAPI.getMessageManager().reportSuccess("filePath Vijay:::");
    >                     try
    >                     {
    >                     String fileName = wdContext.currentContextElement().getResource().getResourceName().toString();               
    >                     if(fileName.equalsIgnoreCase("ASNCRT.dat"))
    >                     {     
    >                     File file = new File(fileName);                         
    >                     FileOutputStream op = new FileOutputStream(file);          
    >                     if (wdContext.currentContextElement().getResource()!= null)
    >                     {
    >                     text = wdContext.currentContextElement().getResource().read(false);
    >                     while((temp=text.read())!= -1)
    >                     {
    >                     op.write(temp);
    >                     }
    >                     }
    >                     op.flush();
    >                     op.close();
    >                     path = file.getAbsolutePath();
    >                     //wdComponentAPI.getMessageManager().reportSuccess(path);
    >                     }
    >                     else
    >                     {
    >                     wdComponentAPI.getMessageManager().raiseException("Please Check the Filename:Filename should be ASNCRT.dat ",true);     
    >                     }
    >                     }
    >                     catch(Exception ex)               
    >                     {
    >                     ex.printStackTrace();
    >                     }
    > By using this code u can put u r file in to Server Path, then u will get the that .dat file from server path and run the command prompt its opening fine
    > How to get the file from the Server Path:
    > Workbook wb = Workbook.getWorkbook(new File(path));     // For get the file from the Server path
    >
    >   Hope this is help full for u
    > Regards
    > Vijay Kalluri
    This won't work. First, like i said, File class is not for accessing remote files, it is only for local files.
    Second, Workbook class is a class from Java Excel API. He is not working with xls. Anyway that wouldn't work either.

  • Problem while writing data on xls file using jxl API

    Hi,
    I am getting problem while writing data on excel file using jxl api.
    When i write data on file and all handles associated to the file are closed, file size increases but when i open the file nothing is written in it and when file is closed manually from excel window, file size decreased to its original that was before writing data.
    here is code:
              FileOutputStream os = new FileOutputStream(this.dirPath + this.fileName, true);
              WritableWorkbook this.workbook = Workbook.createWorkbook(os);
    after writing data following handler are closed:
    this.os.flush();
                        this.workbook.write();
                        this.workbook.close();
                        this.os.close();
                        this.os = null;
    can any body help me.
    Thanks in advance

    Err, I did help you. I did understand your problem; and I solved it for you. What was missing was that you apparently made no effort to understand what you were being told. Or even consider it. You just argued about it, as though you were the one with the solution, instead of the one whose code didn't work.
    And the other thing that was missing was the part where you said 'thank you' to me for solving your problem. Somewhat more appropriate than biting the hand that fed you, frankly. I do this for nothing, on my own gas, and it's extremely irritating when people keep asking about problems I have already solved for them. I am entitled to discourage that. It's part of making them more efficient actually.
    But it happens often enough that it also makes me think I'm just wasting my time. Probably I am.

  • Somebody experience with outlooksoft

    Hi,
    Does somebody has experience with using Outlooksoft for budgetting or forecasting? What are the benefits of it, how can we see the integration with SAP BI IP or SAP in general. Does anyone has good documentation on this topic?
    Is it expensive? How much is the license cost?
    D

    Hey Dries,
    If you haven't looked at the new stats cubes, there are quite a bit of details available around the performance for this transfer of data... Here's a breakout of all the events. Once you isolate which event id the time is being spent on, then let me know as this should provide more detail into the source of the issue.
    Total Time - 0TCTSTATTIM
         -> Total OLAP [2500-2599], [3000-3999]
              -> Cache Time [2500-2599]
                   -> Generation of Cache Entry [2500]
                   -> Read Cache Entries [2505]
                   -> Write Cache Entries [2510]
                   -> Deletion of Cache Entries or Whole Cache [2515]
                   -> Commitment of Cache Entries [2520]
                   -> Counts the Read Accesses to the Cache [2525]
                   -> Counts the Write Accesses to the Cache [2530]
              -> Olap Time [3000-3999]
                   -> Read OLAP Settings [3000]
                   -> OLAP Query Generation [3010]
                   -> OLAP: Transaction Data Access [3100 - 3199]
                        -> OLAP: Read Data [3100]
                        -> OLAP: Data Selection (Check...) [3110]
                        -> Checks whether an Infocube does not have to be read [3120]
                        -> Userexit IF_EX_RSR_OLAP_BAPI [3130]
                   -> OLAP: Data Transfer at Front End [3200]
                   -> Reading master data [3210]
                   -> Quantity Conversion [3310]
                   -> OLAP Initialization [3500]
                   -> OLAP: Read Texts [3900]
                   -> OLAP Other Time [3999]
         -> Time DataManager [9000 - 9999]
              -> Data Manager Event [9000]
              -> External Call of the Data Manger (RSDRI) [9001]
              -> Execution of Delta Cache Test [9002]
              -> Total Number of Transported Records (DBTRANS) [9010]
              -> Total Number of Read Records (DBSEL) [9011]
         -> Time front-end [1000-1999], [10000], [12500-49999]
              -> Front End - Non-Assigned Times [1000]
              -> Remote Call of a Function Module [10000]
              -> Application Step [12500]
              -> BI Consumer Services [13000-13099]
                   -> Build BI Consumer Services Initial View [13001]
                   -> BI Consumer Services View [13002]
                   -> BI Consumer Services Master Data Access [13003]
                   -> Load BI Consumer Services Result Data [13004]
                   -> Load BI Consumer Services Provider Result Data [13040]
                   -> ABAP BICS Time [13050-13059]
                        -> ABAP BICS Provider Initialization [13050]
                        -> Load ABAP BICS Status [13051]
                        -> Set ABAP BICS Status [13052]
                        -> Read ABAP BICS Master Data [13053]
                        -> Read ABAP BICS Result Set [13054]
                        -> Generate ABAP BICS Output Data [13055]
                        -> Set ABAP BICS Hierarchy [13056]
                        -> Read ABAP BICS Hierarchy Master Data [13057]
                        -> ABAP BICS Miscellaneous [13058]
                        -> ABAP BICS New Plan Data [13059]
              -> Total Web Java [12600-12699], [13100-14599]
                   -> Web Java [12600-12699]
                        -> Web Java: Process Request [12600]
                        -> Web Java: Build Whole Page [12601]
                        -> Web Java: Rendering of the Items [12602]
                        -> Web Java: Return Binary Content [12603]
                        -> Web Java: Late Rendering of the Item [12604]
                        -> Web Java: Return Text-Type Content [12605]
                        -> Web Java: Send Event [12606]
                        -> Web Java: Read Local MIME File [12607]
                        -> Web Java: Page: Command Processing [12608]
                        -> Web Java: Page: Reading the Customzing Data [12609]
                   -> Web Java: Data Provider [13100-13199]
                        -> Web Java: Data Provider: Initialize [13100]
                        -> Web Java: Data Provider: Command Processing [13101]
                        -> Web Java: Data Provider: Release [13102]
                        -> Web Java: Data Provider: Send Event [13103]
                        -> Web Java: Data Provider: Set Status [13104]
                        -> Web Java: Data Provider: Save Status [13105]
                   -> Web Java: Data Area Provider [13200-13299]
                        -> Web Java: Data Area Provider: Initialize [13200]
                        -> Web Java: Data Area Provider: Command Processing [13201]
                        -> Web Java: Data Area Provider: Release [13202]
                        -> Web Java: Data Area Provider: Send Event [13203]
                        -> Web Java: Data Area Provider: Set Status [13204]
                        -> Web Java: Data Area Provider: Save Status [13205]
                   -> Read Documents [13300-13399]
                        -> Read InfoProvider Doc. from DB/RM (incl. Cells with Icons) [13300]
                        -> Read Master Data Documents from DB/RM [13310]
                        -> Read Metadata Documents from DB/RM [13320]
                   -> Web Java: Item [14100-14199]
                        -> Web Java: Item: Initialize [14100]
                        -> Web Java: Item: Command Processing [14101]
                        -> Web Java: Item: Release [14102]
                        -> Web Java: Item: Send Event [14103]
                        -> Web Java: Item: Set Status [14104]
                        -> Web Java: Item: Save Status [14105]
                   -> Web Java: Dialog [14500-14599]
                        -> Web Java: Dialog: Initialize [14500]
                        -> Web Java: Dialog: Command Processing [14501]
                        -> Web Java: Dialog: Release [14502]
                        -> Web Java: Dialog: Send Event [14503]
                        -> Web Java: Dialog: Set Status [14504]
                        -> Web Java: Dialog: Save Status [14505]
              -> Broadcasting Time [14600-14699]
                   -> Broadcasting: Execute Setting [14601]
                   -> Broadcasting: Execution of Producer, Distributor, ... [14611]
                   -> Broadcasting: Determine Properties of Base Object [14671]
              -> 2004s BEx Analyzer Excel Time [15000-15999]
                   -> Load Workbook [15001]
                   -> Generate Workbook [15002]
                   -> Read Data [15003]
                   -> Render Item [15004]
                   -> Process Command [15005]
                   -> Draw Symbols [15006]
                   -> Deserialize Metadata [15007]
                   -> Deserialize Result Set [15008]
                   -> Number of Excel Cells [15010]
                   -> Number of Blocks [15011]
                   -> Number of Symbols [15012]
                   -> Process Dialog [15013]
                   -> Serialize Result [15014]
                   -> Serialize Request [15015]
              -> BW 3.x BEx Analyzer Excel Time [19000-19909]
                   -> 3.x Analyzer Server Logic [19900]
                   -> 3.x Analyzer Client Time [19901]
              -> BW 3.x Web Runtime [19910-19999]
                   -> 3.x Web Reporting General [19910]
                   -> 3.x Web Reporting Item Rendering [19911]
                   -> Close Web 3.x [19919]
                   -> 3.x Query View Open [19950]
                   -> 3.x Query View Status Check [19951]
                   -> 3.x Query View Data Access [19952]
                   -> 3.x Alert Monitor Data Access [19970]
                   -> 3.x Batch Printing [19971]
              -> 3rd Party Access [40000-49999]
                   -> OLAP BAPI [40000]
                   -> Create MDC Runtime Object [40001]
                   -> Delete MDX Runtime Object [40002]
                   -> MDX Execution [40010]
                   -> MDX Execution (Initialization) [40011]
                   -> MDX Execution (Axes) [40012]
                   -> MDX Execution (Transaction Data) [40013]
                   -> Read MXS Query Object [40020]
                   -> MDX Axis Data [40030]
                   -> MDX Axis Info [40031]
                   -> MDX Cell Data [40032]
                   -> MDX Flattening [40033]
         -> Time Planning [50000-59999]
                   -> Planning: Writing Delta Records [50000]
                   -> Planning: Enqueue [50001]
                   -> Planning: Characteristic Derivation [50002]
                   -> Planning: Saving Data [50003]
                   -> Planning: Execution of a Planning Function [50010]
                   -> Number of Read Records [50011]
                   -> Number of Changed Records [50012]
                   -> Number of Deleted Records [50013]
                   -> Number of Read Reference Data Records [50014]
         -> Time Other
              -> Global Event for "Non-Assigned" Times [0000]
              -> Wait Time of User [0001]
              -> Authorization Check [4000 - 4999]
                   -> Authorized Values and Intervals [4300]
                   -> Authorized Hierarchy Nodes [4400]
                   -> Authorization Check Selection [4500]
                   -> Authorization Check Selection Old (up to BW 3.5) [4510]
                   -> Filling the Authorization Buffer [4600]
                   -> Filling the Authorization Buffer Old (up to BW 3.5) [4610]
              -> Aggregated Events (No Detailed Info Recorded) [99999]
    Cheers,
    Prakash
    Message was edited by:
            Prakash Darji

  • Vaildating File name with the data in the file using sender file adapter

    Hi,
    Below is the scenario
    1)       Pick up files from a FTP server, the file name is dynamic, how do I put dynamic name in sender file adapter?
    2)       Determine if the user correctly named the file based on data in the file.
    a.       File naming structure that we will be concerned with is <company_code><accounting_time_period>.<extension>
    b.      The company code and the time period in the file name have to match the data in the file.
    i.      For example.  If the file name is 1001_200712.csv and the data in the file is for company code 1005, time period 200712, the file is incorrectly named.  Both values must be correct.
    How do we do this?

    Hi Sachin,
                    As Rightly said by Krishna, You can not put Dynamic name in sender File Adapter .You have to provide the name of the file like "*.txt" in Sender Adapter and at runtime you can access this file name by using following UDF:
    DynamicConfiguration conf  = (DynamicConfiguration) container
      .getTransformationParameters()
      .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String valueOld = conf.get(key);
    return (valueOld);
    As now you have picked up the file name at runtime.
    Now concatenate source file fields Company_code and Accounting_timeperiod using "_" as delimiter in properties.Also concat the extension .Now you have required file name.
    So using EQUALS standard function ,compare it with File Name fetched at runtime using above given UDF, and pass result as you desire to process further or not or to raise Alert to resend the file.
    Thanks & Regards,
    Anurag Garg
    You can validate this file name in Mapping itself.

  • Writing Data to Multiple Files

    Hi,
    I got a problem while writing the data to multiple files.
    Actually my requirement is,
    I want to read the data from multiple files and retrieve the required data from those and save that data into separate files.
    Meaning if i read the data from "D:\kiran\kk\123\kiran.txt" the retrieved data should be saved in "D:\kiran\kk\kiran.txt" the file name should be created with the input file name.
    here is my code,
    //here i am taking the files into loop
    for(int i=0;i<files.length;i++){
    try{                   
    //reading the files
    BufferedReader br=new BufferedReader(new FileReader(files));
    //creating a new file for writing the retrieved data
    pw=new PrintWriter("D:\\Kiran\\kk"+File.separator.concat(str[i]));
    String line=br.readLine();
    while(line!=null){
    line=br.readLine();
    //here i am matching the required data
    Matcher m = Pattern.compile("name(\\s*\\W*\\w*\\W*.\\w*.)|invoice (\\W*(\\d+))|amount(\\W*(\\d+),\\d*)|site(\\s*Rs\\.[\\d]*,[\\d]*/-)", Pattern.CASE_INSENSITIVE).matcher(line);
    while(m.find()){                           
    System.out.println(m.group());
    //here printing the retrieved data to a file
    pw.println(m.group());
    br.close();
    but i am ending up with some issues.
    Data is reading properly from all the files, but when i write that data into individual files the data which is retrieved from last file is only printing into the file which is created last.
    Please help me regarding this,
    Thanks,
    Kiran

    D:\kiran\kk\123\
    In this folder some files are there say,
    kk.txt,kiran.txt,praveen.txt and so on, i can read the entire data from those files and also retrieving the required data like name,data etc. from all the files. Now the retrieved data should be stored in individual files means, if the data is retrieved from kk.txt then that particular data should be stored in the file with the same file name but in different location likewise it should happen for all the files those are in that folder.
    Thanks,
    Kiran

  • Writing Data to a file using TEXT_IO in Forms

    I have a situtation where i have 5 columns and having arabic as well as english data. when i want to write this data to a txt file using TEXT_IO in a specific format, it writes to a file but as soon as it finds an arabic field, it changes the posistion. how can i write to a txt file in the posistion i want???

    vaishnavinatarajan wrote:
    How to write data to a file without leaving any blank lines in the file? How to check if the cursor is placed in the corner of a notepad file using LAB VIEW?
    If you write data to a file, simply don't include any blank lines. We cannot give more specific advice unless you are telling us how you are writing. Are you writing to a new file or appending to an existing file. If the blank lines already exist, you need to read the entire file, remove the undesired lines from the string, and write the data back.
    Notepad files don't have any "corners". Please describe what you are trying to do.
    What is "LAB VIEW"?
    LabVIEW Champion . Do more with less code and in less time .

  • Problem in writing data to flat file

    Hi,
    I have created an interface with table as source and file as target. My interface is running from long time but its not writing data into file. Any clue?
    -Chikk

    Hi,
    Please, take a look if the target file is locked.
    Try to delete it and put the "Truncate" option from IKM to yes.
    Cezar

  • By a sub VI, Writing data countinously to file by a ''Write' button in Main VI??

    Good morning...day  to all !
    I've made a program, where I'm reading data generated by a device connected to a com port. These data are red from the port to an indicator buffer and then, into a file when a button, " write file" are pressed. I've placed the 'WriteDataToFile.VI' in a Sub VI placed in Main VI.
    When my Main Program starts and I switch a start button, a file dialog box opens, so I can choose an existing file or a new file to write data to!
    I want to Make a Button named  " Write file" so when pressed , the Dialog box opens and I can choose a file to write to.
    In that way I can avoid the Self pop up dialog box.
    I've spended the hole weekend  trying doing that, but no succes. The biggist problem by that is:
     To write a continously to a file I  also need to continously read the data from the port, And because of that, I got to write the data to a file as quickly as possible when Red from the port. So I gotta put the WriteDataToFile.VI 'sub', in the ReadData:vi 'Sub'. By that I always get the Dialog box poped up, by each while loop iteration. Just because the Software to the open Dialog Box (Write file), is placed in the ReadDataVI, Sub.
    Please Help me with that Guys , girls, any one, also peoble from Mars To!
    Attachements !!
    Regards
    H.F.Zamzam    
    HFZ
    Attachments:
    ReadDataWriteToFile.vi ‏62 KB

    Hi Zamzam,
    I think the point you should work on is the architecture of your whole application, LabVIEW has very well designed templates.
    If you go to new >> new... >> vi from template >> frameworks >> design pattern >> user interface event handler
    It is a very robust architecture with which you can draw cases for (almost) any kind of event such as a click on a button.
    in your application, you could choose the file to write on the first run, then put the file refnum in a shift register and add an event case handled by the "write to file" button that writes the acquired datas.
    You could even go further and set that "wite fo file" case on other event, for instance new data from the port com.
    wooopps... I tried to be as clear as I could but english is not my natural language , so please tell me you need some more help
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • Writing data in text file..

    1. check the file name in D:\\temp\\test.txt
    2. if it exists, then open file. if there is data, then read data. after the last record, it writes new data.
    3. if it does not exist, create text.txt file and write data into text.txt file.
    so far, I have a code..
    import java.io.*;
    import java.util.*;
    public class Main {
    public static void main(String[] args) {
    String filename="test";
    String format = "%1$-9s%2$-3s%3$-30s%4$-30s%5$-30s\n";
    String arraydata[] = { "John", "F.", "Kennedy", " ", "t", "John2", "F2.", "Kennedy2", " ", "t2"};
    String cnt_id ="2";
    int cnt_orderid = Integer.valueOf(cnt_id);
    try
    PrintStream ps = new PrintStream(new FileOutputStream("D:\\temp\\"+filename+".txt"));
    for (int i=1; i<cnt_orderid; i++)
    ps.println(String.format(format, (Object[])arraydata)); // write in test.txt file
    ps.close();
    catch (Exception e)
    System.out.println(e);
    my question is..
    1. how to check the file exists or not
    2. how to write the data in the new line after the last data in the file.

    1. Use a File object.
    File file = new File("someFile.txt");
    if (file.exists()) { ... }2. Consider using FileWriter; the constructor allows you to append to the end of the file:
    FileWriter fileWriter = new FileWriter(file, true);Michael

  • Help -- Who has experience with ant and build.xml files ?

    Hi,
    I think my build.xml file is missing setting a classpath I need, but I have never played around with a build.xml file. Could someone help ?
    Thank you.
    Grazia

    A lot of people here use ant. But not all of us can read your mind, and those of us that can are sadistic bastards that like to force people to provide details of their problems just for the hell of it.
    So please do the following:
    * Go through an ant tutorial or other introductory docs, doing an example or two if present.
    * Set up your build.xml according to what you've learned.
    * If it still doesn't work, post the relevant portions of it (hopefully you'll have a small, representative sample that reproduces the problem), along with your relevant directory and file structure, the command you're running, and what error messages you're getting.

  • Issue with spooling data to csv file

    Hi,
    I am trying to spool a table data to csv file using spool command in command prompt. and its spooling around thousand records.
    I am able to see all the thousnad records on dos prompt while spooling happening.
    Instwead of that, is there any other way that will stop printing output on dosprompt rather it will spool directly to csv file?
    Please help me...
    Thanks,
    Ravi.

    user10403630 wrote:
    Thanks for all your suggestions...
    I have tried a sample script which does have only set termout off and its working fine...
    but my script is having some thing like below
    SET ESCAPE ON
    SET SERVEROUTPUT ON
    SET ECHO OFF
    SET HEADING ON
    SET COLSEP ','
    SET FEEDBACK OFF
    SET PAGESIZE 0
    SET LINESIZE 5000
    SET TRIMSPOOL OFF
    SET TERMOUT OFF
    This is not working...
    I believe something is trying to overwrite the functionalilty of set termout off in this case
    Please help me,....So go to the SQL*Plus reference manual and read up on each of the SET options you listed above . . .

  • JDBC + SERVLET: inserting text data  to access file from Html form

    Hi everybody !
    I'm trying to insert text data from my html form to access database using servlet and jdbc technologies.
    The problem that I'm that the data is TEXT, but not the English language !!!
    So my access db file gets - ???????? symbols instead the real text.
    This is the form line that sending data to my servlet:
    <form
    method="POST"
    ACTION=http://localhost:8080/servlet/myServlet enctype="text/html">
    And this is servlet line that defines response content:
    res.setContentType( "text/html" );
    What can I do to get in access db file the right text format and not a ???????? symbols.
    Maybe I must to ad some <meta ...> , but where ?

    You're dealing with Unicode, I'd guess, and not ASCII.
    I guess I'd have two questions:
    (1) Is the character encoding on your pages set properly for the language you're trying to use?
    (2) Does Access handle Unicode characters?
    Access isn't exacly a world-class database. (If it was, there'd be no reason for M$ to develop SQL Server.) I'd find out if it supports other character sets. If not, you'll have to switch to a more capable database that does. - MOD

  • Problem with saving data in text file in Application server

    Hello Experts,
    I am trying to save a text file in application server.When I text file have less that 60000 (i.e 59999) records, it saves the file successfully, but if records in text file (saved in application server) is more than 60000 (i.e 60002), it creates a new file at the 60000th record with the continued records.
    Can anyone please advise, why it is creating a new file if records are more that 60000. I tested it with 59000 records in my internal table and it is working fine. I have not given any restriction in my program to create a new file if records are more than 60000.
    The logic I implemented is the following:
    *Open file
      open dataset g_accnt_file for output in text mode encoding utf-8.
      if sy-subrc = 0.
        clear g_header_record.
    *Building header record for Accounting Validation file
        concatenate gc_hdr_desc
                    gc_filetype
                    gc_sequence
                    gc_idntf_refresh
                    gc_cmpny_idntf
                    gc_accnt_id
                    sy-datum
                    sy-uzeit
                    gc_linde_group
                    sy-sysid
                    gc_not_used into g_header_record separated by
                                               gc_deliminator.
        transfer g_header_record to g_accnt_file.
    *Move Cost center data to file to create a detail record for Accounting
    *Validation file
        loop at gt_csks into gs_csks.
    *Remove leading Zeros
          call function 'CONVERSION_EXIT_ALPHA_OUTPUT'
            exporting
              input  = gs_csks-kostl
            importing
              output = gs_csks-kostl.
    *      Overlay gs_csks-kostl with space.
    *      SHIFT gs_csks-kostl RIGHT DELETING TRAILING gc_space.
    *Prepare Cost Centre String
          perform prepare_costcentre_string.
    *Prepare detail record with Company Code & Cost Centre
          perform prepare_detail_record.
          clear:g_detail_record,gs_csks,g_coa.
        endloop.
    *Move Order data to file to create a detail record for Accounting
    *Validation file
        loop at gt_aufk into gs_aufk.
    *Remove leading Zeros
          call function 'CONVERSION_EXIT_ALPHA_OUTPUT'
            exporting
              input  = gs_aufk-aufnr
            importing
              output = gs_aufk-aufnr.
    *      SHIFT gs_aufk-aufnr RIGHT DELETING TRAILING gc_space.
    *Prepare Order String
          perform prepare_order_string.
    *Prepare detail record with Company Code & Order
          perform prepare_detail_record.
          clear:g_detail_record,gs_aufk,g_coa.
        endloop.
    *Move WBS data to file to create a detail record for Accounting
    *Validation file
        loop at gt_prps into gs_prps.
          call function 'CONVERSION_EXIT_ABPSP_OUTPUT'
            exporting
              input  = gs_prps-pspnr
            importing
              output = g_wbs_element.
    *      SHIFT g_wbs_element RIGHT DELETING TRAILING gc_space.
    *Prepare WBS Element String
          perform prepare_wbs_string.
    *Prepare detail record with Company Code & WBS Element
          perform prepare_detail_record.
          clear:g_detail_record,gs_prps,g_coa.
        endloop.
    *Building trailer record for Accounting Validation file which will
    *contain the total number of detail records in file
        concatenate gc_trail_desc
                    g_total_count
                    into g_trailer_record
                    separated by gc_deliminator.
        transfer g_trailer_record to g_accnt_file.
    *Close file
        close dataset g_accnt_file.
        if sy-subrc = 0.
          message s036(/lig/fi).
        endif.
      endif.
    endform.                    " SELECT_DATA
    Edited by: Matt on Sep 30, 2010 11:02 AM - added   tags

    Hi Pankaj,
    Can u check the concatenate statement with one more data. Check the no of lines for a single file.
        concatenate gc_hdr_desc
                    gc_filetype
                    gc_sequence
                    gc_idntf_refresh
                    gc_cmpny_idntf
                    gc_accnt_id
                    sy-datum
                    sy-uzeit
                    gc_linde_group
                    sy-sysid
                    sy-subrc
                    gc_not_used into g_header_record separated by
                                               gc_deliminator.
    Regards,
    Amitava

  • First experiences with LR 5.0: manual file selection and  Adjustment Brush

    I must admit that I have not fiddled too long with LR 5.0. The reason is quite simple: its extreme slowness, even in comparison with 4.4, which is far from being fast. After slightly retouching some 40 images I fell back to 4.4 and finished testing 5.5 for a while. Anyway, in addition to the speed problem I have collected some - also not too promising - experiences:
    After initially retouching the first image I wanted to copy some of its settings into the rest of the photos. Before clicking on the Sync button I had to select all the target files. Probably because of the relatively small number of images, instead of going to the "Edit / Select All" function I used "Shift+Right Arrow" for the selection. LR simply crashed...
    In several cases I was not able to re-open and modify formerly 'adjustment-brushed' areas. When I moved the cursor above the relevant white 'knob-shaped' mark, nothing happened. The cursor did not even change to hand form, so the "Effect" panel remained dark and the formerly set parameters did not come up. As I kept the cursor there for ages and the image was not 'over-adjusted' (as also indicated by the small size of the associated XMP file), this failure was surely not a result of the above-referred slowness.
    Once I selected an already retouched image, with the Adjustment Brush tool open. The existing adjustment mark came up over a formerly brushed area. Then, without doing anything with the open image, I moved to the next picture. To my surprise, the Adjustment Brush marks of both photos appeared on the last opened image - the one, which belonged to the previous picture and another, associated with the second picture. It goes without saying that I was not able to click on any of the Adjustment Brush marks. Closing and re-opening the Adjustment Brush tool did not help, so I had to restart LR.

    I must admit that I have not fiddled too long with LR 5.0. The reason is quite simple: its extreme slowness, even in comparison with 4.4, which is far from being fast. After slightly retouching some 40 images I fell back to 4.4 and finished testing 5.5 for a while. Anyway, in addition to the speed problem I have collected some - also not too promising - experiences:
    After initially retouching the first image I wanted to copy some of its settings into the rest of the photos. Before clicking on the Sync button I had to select all the target files. Probably because of the relatively small number of images, instead of going to the "Edit / Select All" function I used "Shift+Right Arrow" for the selection. LR simply crashed...
    In several cases I was not able to re-open and modify formerly 'adjustment-brushed' areas. When I moved the cursor above the relevant white 'knob-shaped' mark, nothing happened. The cursor did not even change to hand form, so the "Effect" panel remained dark and the formerly set parameters did not come up. As I kept the cursor there for ages and the image was not 'over-adjusted' (as also indicated by the small size of the associated XMP file), this failure was surely not a result of the above-referred slowness.
    Once I selected an already retouched image, with the Adjustment Brush tool open. The existing adjustment mark came up over a formerly brushed area. Then, without doing anything with the open image, I moved to the next picture. To my surprise, the Adjustment Brush marks of both photos appeared on the last opened image - the one, which belonged to the previous picture and another, associated with the second picture. It goes without saying that I was not able to click on any of the Adjustment Brush marks. Closing and re-opening the Adjustment Brush tool did not help, so I had to restart LR.

Maybe you are looking for

  • Problems with iPhone Result of Bad Music???

    In the last few weeks I've been experiencing problems with my iPhone. I did a lot of research online, and figured that it is NOT this "dead strip" that others have been having problems with; however, 75% of the time, the slide bar will not respond fo

  • How do I move text up - Code Included

    Hi, I  have a couple of questions regarding my code. Please copy and paste in a browser to see the formatting etc. 1. First, does the code look correct? 2. How can I get the text in orange to move up closer to the paragraph above it? I don't understa

  • How to create a target for a hyperlink?

    I have a pdf with hyperlinks to urls. if someone views my pdf through a browser and clicks on the hyperlinks, the browser will load the url in the same window. How do I give a hyperlink a specific target, like _blank which would open the url in a new

  • Title window issue

    Hi ....   I want to create title window to menu that is in list but it not visible to me......first I created list ->it contains datagrid -when i click the data in the datagrid it will create the menu ->menu contains five labels when i click a label

  • How to make a 3X3 Slider puzzle game?

    Hey guys, im new here and decided to make an account on here. Im coming to you guys for help. In my grade 12 infotech class, we were assigned a project dealing with 2d arrays but im having a bit of trouble doing this :S. It needs to do the required: