Problem in getting challan details via  text file in form 16

Hi Experts...
Here i want to display the challan details through text file.
Here i have put all the details through text file and uplaoded the data in tcode pc00_m40_f16.
It is working fine for those employees whose record is only one.If there are more than 1 months details for the employee it is not taking up the values.It is showing up previous values in challan details which were generated by system.The entries which i have put in the text file are not showing up.
What could be the reason.please advice me.
Regards,
V Sai.

Hi Sai,
To get the challan details in FORM16, do the following steps
1) Go to Tcode PC00_M40_F24. In this enter the required information and make sure that Quarter should be selected and the Tick mark for Temse file should be removed.
2) Select the record and click on Challan Details and enter the required challan details and Save
3) Now click on Download e-file save the file.
4) Now execute the tcode PC00_M40_F16. In this enter the required information. Select the file, which was downloaded from Form24 and execute.
5) The challan details will now appear in Page 3 of Form16.
Regards,
Navya

Similar Messages

  • Doubts in entering Challan details thorough text file....

    Hi Experts...
    When im trying to put the data in excel sheet which it has to be imported in f16 ,here im confused with the payroll period.
    The paydate and the date of deduction are showing as 20070526.For this period what is the payroll period.
    Which months cheque number,challan date s should be taken!
    Please advice.
    Regards,
    sai.

    Hi Sai,
    To get the challan details in FORM16, do the following steps
    1) Go to Tcode PC00_M40_F24. In this enter the required information and make sure that Quarter should be selected and the Tick mark for Temse file should be removed.
    2) Select the record and click on Challan Details and enter the required challan details and Save
    3) Now click on Download e-file save the file.
    4) Now execute the tcode PC00_M40_F16. In this enter the required information. Select the file, which was downloaded from Form24 and execute.
    5) The challan details will now appear in Page 3 of Form16.
    Regards,
    Navya

  • How to get data of tabulated text file into internal table

    hi all,
    i want to get data from tabulated text file(notepad) into internal table. i searched in SCN and got lot of post regarding  how to convert excel file into internal table but i didnt get posts regarding text file.
    thanks
    SAchin

    try:
    DATA: BEGIN OF tabulator,
            x(1) TYPE x VALUE '09',
          END OF tabulator.
      READ DATASET file INTO wa.
    split wa at tabulator into table itab.
    A.

  • FM to get the details of the file on presentation server

    hi friends ,
      i need to read the files on the front end in c:\ directory which start with hw.  
    is their any function module to get the details of the files like name of the file .
    as for application server we have "EPS_GET_DIRECTORY_LISTING".
    thank you,
    kat.

    Use method CL_GUI_FRONTEND_SERVICES=>DIRECTORY_LIST_FILES
    CALL METHOD cl_gui_frontend_services=>directory_list_files
      EXPORTING
        directory                   = 'C:\'
        filter                      = 'hw*.*'
      changing
        file_table                  = t_file_table
        count                       = w_count.
    Edited by: Swastik Bharati on Nov 3, 2008 7:53 AM

  • How to display the out put of the sql query in a text file using forms

    I want to display the out put of the sql query in a text file using forms 6.0.Same could be done using spool command in sqlplus but i want it using forms....Fiaz

    Have a look at the text_io package:
    http://www.oracle.com/webapps/online-help/forms/10g/state?navSetId=_&navId=3&vtTopicFile=f1_help/oraini/c_text_io.html&vtTopicId=
    cheers

  • How to get applet to load text file and use it

    The applet is loaded from my site and the short text file is updated by a perl script in my cgi-bin, which is called whenever someone loads the html that loads my applet.
    The text file is just a counter string and I'd like to use it to display #.gif's at a certain place on the applet window (no problem there if I can get the text file into the applet).
    How would I get the applet to load the text file into a string or array?
    It has a running thread and I'd like it to update it periodically.

    I believe you can do that with Class.getResourceAsStream.
    Or you can do it explicitly with java.net.* stuff.

  • Problem reading external HTML format from text file

    I have a text file containing html formatted text which I try to get into a textfield.
    All works fine locally and even on my localhost test server, but when uploading to the real server - I get a blank.
    Anyone have any ideas? THANKS
    The text file :
    &t2=<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Comic Sans MS" SIZE="14" COLOR="#FF0000" LETTERSPACING="0" KERNING="0">Some text here</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Comic Sans MS" SIZE="14" COLOR="#FF0000" LETTERSPACING="0" KERNING="0">One more line</FONT></P></TEXTFORMAT><TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Comic Sans MS" SIZE="14" COLOR="#FF0000" LETTERSPACING="0" KERNING="0">And more text here</FONT></P></TEXTFORMAT>
    and the AS code in the movie:
    viewData.onPress = function() {
         //get text
         loadText()
    var tz
    function loadText() {
    var my_lv:LoadVars = new LoadVars();
    my_lv.onLoad = function(success:Boolean) {
      if (success) {
      //trace(this.toString())
      mytext.htmlText= this.t2;
      } else {
      //trace("Error loading/parsing LoadVars.");
    my_lv.load("myfile.txt");

    Thanks kglad, I did it and it made me find the real problem:
    The text file is generated by PHP script that gets an html formated text from flash (it is an online editing part of an application):
    the AS code to call the php:
    var send_lv:LoadVars = new LoadVars();
    send_lv.t1 = "&t2="+editor.t1.htmlText+"&";
    send_lv.sendAndLoad("write.php", res_lv, "POST");
    the PHP:
    <?php
    $mydata = $_POST["t1"];
    $myFile = "recipe.txt";
    $fh = fopen($myFile, 'w') or die("can't open file");
    fwrite($fh, $mydata);
    fclose($fh);
    print "&done=done";
    ?>
    From some reason the online server adds \ before any " , but WAMP doesn't.
    here is the text generated on localhost (WAMP)
    &t2=<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Comic Sans MS" SIZE="14" COLOR="#FF0000" LETTERSPACING="0" KERNING="0">local text</FONT></P></TEXTFORMAT>&
    online server:
    &t2=<TEXTFORMAT LEADING=\"2\"><P ALIGN=\"LEFT\"><FONT FACE=\"Comic Sans MS\" SIZE=\"14\" COLOR=\"#FF0000\" LETTERSPACING=\"0\" KERNING=\"0\">online text</FONT></P></TEXTFORMAT>&
    I know its not a Flash problem now, but do you have any idea?
    Thanks

  • Getting ParagraphStyles in a text file

    Hi All,
    How to get all the paragraph style names in a text file.
    Thanks in advance
    Learner

    Hi Learner,
    Please use the below JS code, its getting the paragraph styles only. If you need character styles also you can edit simply.
    var Report = new File("~/Desktop/Styles_Report.txt" );
    Report.open("w");
    var Styles = (app.activeDocument.allParagraphStyles);
    var i = Styles.length;
    while (i--){
        Report.writeln(Styles[i].name+"\n")
    Report.close();
    thx,
    csm_phil

  • Problem while retreiving data from a text file

    AOA
    I tried to retreive text from a .txt file.
    By using following code, i get junk box after every character retreived. What may be the reason.
    public void run()
    try
    FileReader reader = new FileReader(uidsFile);
    BufferedReader bin = new BufferedReader(reader);
    while((line = bin.readLine()) != null )
    String uid =line;// line.substring(0,4);
    System.out.println(uid.trim());
    catch(Exception x)
    JOptionPane.showMessageDialog(null ,
    x.getStackTrace(),
    JOptionPane.INFORMATION_MESSAGE);
    }

    The reason would be that that is what your text file looks like (namely UTF-16) while you use a FileReader without specifying any encoding, which means that it will choose your platform default - which is not UTF-16.

  • Would like emails from a particular sender to automatically get exported to a text file or appended to an existing text file on my hard drive

    Emails from a particular sender I would like to get appended to a single or to multiple csv or text files.
    I think I've read that Mozilla can use filters to get all emails from a particular sender put in a particular folder.
    That might be useful but does not get me all the way to goal.
    I've also read about 3rd party plugins that give you export options through additional menu options
    However, I need something that just automatically exports (without me having to be there and does not require any mouse commands) whenever an email from a particular sender shows up. And that exports to a csv or txt file.
    thanks for any time you spend on this question.
    Chris

    ok I answered my own question on this one.
    According to Filtaquilla online documentation:
    ''(Beginning in Filtaquilla version 1.3.0): By default, the message is saved with the default Thunderbird extension .eml The filter will use a different extension if you append to the file spec a | followed by the extension. So for example if the filespec is C:\temp\saveas\ for the default extension type, change this to C:\temp\saveas\|txt and the extension will be “txt”.''
    I was able to verify this works in my test.

  • Text Layers via Text File (ExtendScript)

    It keeps saying Im posting a blank message when I paste my details in..... (grr!)
    So here it is: on pastebin....  http://pastebin.com/EE7wthQ5
    Ill fix it if i can....

    I am totally new at this extendscript stuff, but it will be my 6th coding/scripting language if I can become profficiant in it (This is bassicly Javascript right?). ( after C++, Objective-C, AppleScript, AutoHotKey and Bash... I don't count HTML/CSS)
    So this is script number zero, I need somewhere to start, and I have a project I've been working on that I can't see another way to do it, so since I'm new at this, id like you to help me write this, I honestly have no idea, not even a clue where to start (Time for 'hello world!' eh?).
    Anyway, what I would like help making is a script, that will take the 50 text files I have in a folder [ D:\Code\Examples\HelloWorld\*.txt] and make them all text layers with font: Anonymous Pro, Size 8, Color 0xFFFFFF. Alighted to the top/left at 0,0. I would like the layer name to be the Text-files name before the last period (I say last because one is named Visual Basic .NET.txt)... although first wouldn't be too bad. (So lets just say, until a period)
    The reason I can't do this task by hand is simple, they are all 'Hello World' Examples, they are in 49 different coding languages. Each language has a seperate text file, like Bash.txt, Ada.txt, (Extendscript.txt next? .. make it an even 50 XD)
    So, little help making this? Maybe an example?
    Here is what I have so far (Horrible Code... I know ):
    app.documents.add()
    var docRef = app.documents.add()
    var artLayerRef = app.ActiveDocument.artLayers.add()
    var fileArray = new Array()
        fileArray[1] = "Ada"
    fileArray[2] = "Assembler (gcc)"
    fileArray[3] = "Assembler (nasm)"
    fileArray[4] = "AutoHotKey"
    fileArray[5] = "AWK"
    fileArray[6] = "Bash"
    fileArray[7] = "bc"
    fileArray[8] = "C"
    fileArray[9] = "C#"
    fileArray[10] = "C++"
    fileArray[11] = "C99"
    fileArray[12] = "CLIPS"
    fileArray[13] = "Clojure"
    fileArray[14] = "COBOL"
    fileArray[15] = "COBOL 85"
    fileArray[16] = "D"
    fileArray[17] = "Erlang"
    fileArray[18] = "F#"
    fileArray[19] = "Factor"
    fileArray[20] = "Falcon"
    fileArray[21] = "Forth"
    fileArray[22] = "Fortran"
    fileArray[23] = "Go"
    fileArray[24] = "Groovy"
    fileArray[25] = "Haskell"
    fileArray[26] = "Icon"
    fileArray[27] = "Java"
    fileArray[28] = "JavaScript"
    fileArray[29] = "List"
    fileArray[30] = "Lua"
    fileArray[31] = "Nemerle"
    fileArray[32] = "Nice"
    fileArray[33] = "Nimrod"
    fileArray[34] = "Ocaml"
    fileArray[35] = "Oz"
    fileArray[36] = "Pascal"
    fileArray[37] = "Perl"
    fileArray[38] = "PHP"
    fileArray[39] = "Pike"
    fileArray[40] = "Prolog (gnu)"
    fileArray[41] = "Prolog (swi)"
    fileArray[42] = "Python"
    fileArray[43] = "Python 3"
    fileArray[44] = "Ruby"
    fileArray[45] = "Scala"
    fileArray[46] = "Scheme (guile)"
    fileArray[47] = "Smalltalk"
    fileArray[48] = "Tcl"
    fileArray[49] = "Visual Basic"
    var countDown = 49
    for ( count = 1; count > countDown; count++)
    app.ActiveDocument.artLayers.add()
    currentName = fileArray[count]
    artLayerRef.name = currentName
    artLayerRed.blendMode = BlendMode.NORMAL
    artLayerRef.kind = LayerKind.TEXT
    var currentContents = "D:\Code\Examples" + currentName + ".txt"
    docRef.artLayers[currentName].textItem.contents = currentContents
    Yea I know its probably all wrong... thats why I need help.

  • Problem with alv output export to text file

    hi experts,
    when iam exporting alv output to text file,
    some data is missing in text file.say for example sold-to-party value is 1155027 in alv out put,but in text file it is showeing only 115502 ,
    the last digit is missing,
    can anyone help urgent!!!!!

    and when you export it to excel?
    from here you could save it as text file too...
    A.

  • How to get the content of text file to write in JTextArea?

    Hello,
    I have text area and File chooser..
    i wanna the content of choosed file to be written into text area..
    I have this code:
    import java.awt.Container;
    import java.awt.FlowLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.io.File;
    import javax.swing.JButton;
    import javax.swing.JFileChooser;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.*;
    public class Test_Stemmer extends JFrame {
    public Test_Stemmer() {
    super("Arabic Stemmer..");
    setSize(350, 470);
    setDefaultCloseOperation(EXIT_ON_CLOSE);
    setResizable(false);
    Container c = getContentPane();
    c.setLayout(new FlowLayout());
    JButton openButton = new JButton("Open");
    JButton saveButton = new JButton("Save");
    JButton dirButton = new JButton("Pick Dir");
    JTextArea ta=new JTextArea("File will be written here", 10, 25);
    JTextArea ta2=new JTextArea("Stemmed File will be written here", 10, 25);
    final JLabel statusbar =
                  new JLabel("Output of your selection will go here");
    // Create a file chooser that opens up as an Open dialog
    openButton.addActionListener(new ActionListener() {
       public void actionPerformed(ActionEvent ae) {
         JFileChooser chooser = new JFileChooser();
         chooser.setMultiSelectionEnabled(true);
         int option = chooser.showOpenDialog(Test_Stemmer.this);
         if (option == JFileChooser.APPROVE_OPTION) {
           File[] sf = chooser.getSelectedFiles();
           String filelist = "nothing";
           if (sf.length > 0) filelist = sf[0].getName();
           for (int i = 1; i < sf.length; i++) {
             filelist += ", " + sf.getName();
    statusbar.setText("You chose " + filelist);
    else {
    statusbar.setText("You canceled.");
    // Create a file chooser that opens up as a Save dialog
    saveButton.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent ae) {
    JFileChooser chooser = new JFileChooser();
    int option = chooser.showSaveDialog(Test_Stemmer.this);
    if (option == JFileChooser.APPROVE_OPTION) {
    statusbar.setText("You saved " + ((chooser.getSelectedFile()!=null)?
    chooser.getSelectedFile().getName():"nothing"));
    else {
    statusbar.setText("You canceled.");
    // Create a file chooser that allows you to pick a directory
    // rather than a file
    dirButton.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent ae) {
    JFileChooser chooser = new JFileChooser();
    chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
    int option = chooser.showOpenDialog(Test_Stemmer.this);
    if (option == JFileChooser.APPROVE_OPTION) {
    statusbar.setText("You opened " + ((chooser.getSelectedFile()!=null)?
    chooser.getSelectedFile().getName():"nothing"));
    else {
    statusbar.setText("You canceled.");
    c.add(openButton);
    c.add(saveButton);
    c.add(dirButton);
    c.add(statusbar);
    c.add(ta);
    c.add(ta2);
    public static void main(String args[]) {
    Test_Stemmer sfc = new Test_Stemmer();
    sfc.setVisible(true);
    }could you please help me, and tell me what to add or to modify,,
    Thank you..                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    realahmed8 wrote:
    thanks masijade,
    i have filter the file chooser for only text files,
    but i still don't know how to use FileReader to put text file content to the text area (ta) ..
    please tell me how and where to use it..How? -- See the IO Tutorials on Sun for the FileReader (and I assume you know how to call setText and append in the JTextArea).
    Where? -- In the actionPerformed method (better would be a separate thread that is triggered through the actionPerformed method, but that is probably beyond you at the moment), of course.
    Give it a try.

  • Problem in reading data of a text file

    Hi
    Is there any method for reading a particular word which is there in the middle of the line from a text file.
    Thanks,
    Kiran

    You can do it like this may be it will work for you....
    String str=null;
                   DataInputStream di=new DataInputStream(new FileInputStream("D:\\Test.txt"));
                   while((str=di.readLine())!=null)
                        if(str.contains("Time"))
                             int index=str.indexOf("Time");
                             str=str.substring(index,str.length());
                        System.out.println(str);
                   }

  • Script for access or load of a text file in forms

    Hi all
    In the forms 6i I want to access or load a text file/csv file.
    For that me have created a button on a form and when button pressed trigger.
    But my problem is that for getting the output me not able to get what to write in the script like should be dbms package or print function or any other and where can me get the output.
    can anybody suggest me the script as well.

    Try:
    try {
                BufferedReader in = new BufferedReader(new InputStreamReader(
                                  new FileInputStream(file), encoding));
            textarea.read(in, null);
                in.close();
            catch (Exception ex) {
                System.err.println(ex, "Error reading file " + file);
            }

Maybe you are looking for