Getting source codn with TEXT file

Hi everyone.
I have a question about to get a source code using some kind of function or class. In case of report program coded in ABAP, I can get using "read report ... " In case of BSP,However, I don't know how. Anyone who knows the method lets me know please.
Regards,
Jongone.

Welcome to SDN.
Check out the following article by Eddy
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap-code-samples/bsp/abap code sample for download of a bsp application.pdf
Regards
Raja

Similar Messages

  • 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.

  • Email with Text File Attachement as Source

    Hi All,
           One of my interfaces needs to listen to incoming mails with an text file attachements.I wish to know how we can convert the text file contents into XML to further process it on the reciever side.

    Hi,
    To perform content conversion of a flat file, check these blogs,
    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    Also, to understand file content conversion better, you can check this link on SAP Help,
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    Regards,
    Bhavesh

  • How to create a mapping with text file as my target

    I need to create a mapping with source as a table and target as a text file.
    I am using OWB 10g R2. with database Oracle10g.
    Any one can help me to create a mapping with a text file as target.

    Hi,
    just create a File-Location and File-definition and use this file-operator as target object inside your mapping.
    Regards jwehner

  • 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.

  • Source directory (xyz. text) file needsto be placed inthe Target directory

    Hi Experts,
    There is a file in the source directory (xyz. text) and I need to place the same file in the
    Target Directory (xyz. text) without any message transformation. How to get it using XI?
    Points will be awarded ...........
    Thanks,
    Manoj

    Hi Manoj,
    You can do it without touching IR. you just need to configure the scenario in ID.
    you need to do the following:
    1. Create service, and two File Communication channels.
    2. reciver determnation, put that service and any interfcae and namespace.
    3. Interface Determination: Put Inbound Interface SAME AS you specified in Receiver Determination.
    After all this you can test your scenario.

  • Domain Value Mapping with Text file

    Hai,
    I have done the Domain value mapping with the xml file to xml file and it is working fine.
    But in the case of Text file to Text file it is not working i.e. If the citiname is the
    first field it is domain value mapping and working fine.
    INPUT:
    Erode, Mahes, 22
    Coimbatore, Veera, 22
    OUTPUT:
    ED, Mahes, 22
    CBE, Veera, 22
    But if I change the Citiname to the second column it is not working the problem is
    it is not working for subsequent columns.
    INPUT:
    Mahes, Erode, 22
    Veera, Coimbatore, 22
    OUTPUT:
    Mahes,, 22
    Veera,, 22
    The input Text files are delimited by "comma" and optionally enclosed by "space".
    Does anyone have attained the DVM in the Text file successfully.
    Please help me.

    Thank you for the reply Abhi
    Text to Text means instead of giving the input file as XML file i am giving the input as a simple .txt file and I also want the output in the .txt format.
    For the text file only it is not working fine in the xml file to xml file it is working fine.
    For your another query I am not providing the correct parameters for "lookup-dvm"
    I am giving the xsl file
    <?xml version="1.0" encoding="UTF-8" ?>
    <?oracle-xsl-mapper
    <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
    <mapSources>
    <source type="WSDL">
    <schema location="TextInput1.wsdl"/>
    <rootElement name="Root-Element" namespace="http://TargetNamespace.com/TextInput1"/>
    </source>
    </mapSources>
    <mapTargets>
    <target type="WSDL">
    <schema location="TextOutput1.wsdl"/>
    <rootElement name="Root-Element" namespace="http://TargetNamespace.com/TextInput1"/>
    </target>
    </mapTargets>
    <!-- GENERATED BY ORACLE XSL MAPPER 10.1.3.3.0(build 070615.0525) AT [TUE JUL 15 15:31:55 IST 2008]. -->
    ?>
    <xsl:stylesheet version="1.0"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:pc="http://xmlns.oracle.com/pcbpel/"
    xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns0="http://www.w3.org/2001/XMLSchema"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:imp1="http://TargetNamespace.com/TextInput1"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/file/TextInput1/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:hdr="http://xmlns.oracle.com/pcbpel/adapter/file/"
    xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/file/TextOutput1/"
    exclude-result-prefixes="xsl plt pc ns0 jca imp1 tns hdr ns1 bpws ehdr hwf xp20 xref ora ids orcl">
    <xsl:template match="/">
    <imp1:Root-Element>
    <xsl:for-each select="/imp1:Root-Element/imp1:Leaf-Element">
    <imp1:Leaf-Element>
    <imp1:C1>
    <xsl:value-of select="imp1:C1"/>
    </imp1:C1>
    <imp1:C2>
    <xsl:value-of select='orcl:lookup-dvm("Citinames","Long",imp1:C2,"Short","")'/>
    </imp1:C2>
    <imp1:C3>
    <xsl:value-of select="imp1:C3"/>
    </imp1:C3>
    </imp1:Leaf-Element>
    </xsl:for-each>
    </imp1:Root-Element>
    </xsl:template>
    </xsl:stylesheet>
    Here I am checking the DVM function for the Second column and it is not working and I have given their Inputs and Outputs in my first message .
    I have another question as you told both import and export of the DVM is always in the XML format only so I have a doubt whether the lookup-dvm will be working for xml files only and not for text files.
    But in my case in text file it is working for the first column but not in the subsequent columns.
    Thanks.

  • Reloading a 3500XL with Text File

    How do I clear the config and reload the switch with a text file? I have the file ready to go but can't figure out how to get it to take. Any help would be appreciated. Thanks.

    Erase startup
    reload
    N Don't do the config!
    enable
    copy and paste the text file
    ATTENTION do NOT paste from a Wordprocessor like MS-WORd, they add all the ugly control codes(especially fun at the password!)

  • Help required with text file handling in GPIB

    Hi attached is my vi for GPIB communication with Aginelt Network Analyzer in Labview 8.
    I'm saving the data of network analyser into text file(appending all the data). I wish to make some changes into it. As can be seen there is a input which asks for number of points/segments. Supposed I give that input as 201 points(it can be 401,801,1601,51,etc.) than after every 201 points data should get appended into a new coloumn and not into 202 row. Seperate coloumn should start for the whole set of 201 points, where as currently what is happening is all the data is getting appended one below the other.
    Can anyone help around,
    Regards
    Attachments:
    finaltemp.vi ‏52 KB

    Here...
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
    Attachments:
    finaltemp(80).vi ‏52 KB

  • 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.

  • Servlet combination with text file ...

    hai dude , i wanna ask some a terrible question
    may be you can help me with this ...
    i made servlet admin for loggin into system , but in this case
    i used text file not database (sql,or else) .
    for example i have admin.txt and contain :
    admin myadmin
    admin refers to username and myadmin refers to password
    can you guys show me a little program servlet that i can learn
    and study about login with servlet !!!!!!

    Should be something like this:
    public class theServlet extends HttpServlet
    private Hashtable namePassword = new Hashtable();
    public void init(ServletConfig config) throws ServletException
    super.init(config);
    try
         BufferedReader br = new BufferedReader(new FileReader("admin.txt"))
         String line = "";
         while ((line=br.readLine())!=null)
              // getting data from the lines
              // every line have to be the form: username password
              StringTokenizer stk = new StringTokenizer(line);
              namePass.put(line.nextToken(),line.nextToken());
         br.close();
    catch (Exception e)
         e.printStackTrace();
    public void doGet( HttpServletRequest req, HttpServletResponse resp )
    throws ServletException, IOException
    resp.setContentType("text/plain");
    PrintWriter out = resp.getWriter();
         // the calling html-page have to have a form with the textfields username and password
         String username = req.getParameter("username");
         String password = req.getParameter("password");
         if (((String)namePassword.get(username)).equals(password))
              out.println("Login OKAY!");
         else
              out.println("Login failed!");
    } // End doGet

  • Java with Text file

    Hi
    I'm new in Java , just start 2 week agao, I want to read data for text file ...
    Argentina | Armenia | Australia | Austria | Azerbaijan |
    Canada | Cape Verde | Central African Republic | Chad | Chile | China |
    I will use " | " to separate a string and to parse this string to array.
    I have seen some the sample use : StringTokenizer but I didn't get about it
    can you give me more information or short code

    Sample code here: http://www.ccs.neu.edu/course/com3118/util2.html
    You could also use String.split()

  • 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

  • Michel: sync gtasks with text files

    I wrote Michel, a gtaks-to-text-file synchronizer. Michel is your friendly mate that helps you managing your todo list. It can push/pull flat text files to google tasks.
    Right now, it features two commands:
    michel pull
    prints the default todo list on the standard output
    michel push <TODO.txt>
    replaces the default todo list with the content of TODO.txt
    Of course you need a gmail account to make it work. It uses oauth, so when you start it the first time, it will give you an url to visit and you'll have to give access to the app, then it will save a token and won't ask next time. If you want to delete the token, it is stored in $XDG_DATA_HOME/michel/oauth.dat.
    The code is on github. As usual comments and patches are welcome...
    Last edited by duquesnc (2011-09-23 21:28:56)

    Oh, I have to add that currently, the package won't build correctly. That is not due to the python2-google-api-python-client package which does not set the rights correctly. A quick and dirty fix is to
    # chmod +r /usr/lib/python2.7/site-packages/google_api_python_client-1.0beta4-py2.7.egg-info/top_level.txt
    I notified the owner of python2-google-api-python-client of the correct change to do.
    Last edited by duquesnc (2011-09-23 21:26:35)

  • Dumping Global ABAP Objects Source Code to Text File

    Hello People, this is my first post and my first time to join the forums.. and also my first time to code in ABAP.
    Anyways, I was wondering if there is a way to dump the source code definition of any class/interface made in SE24 (Object Builder) onto a Text File; all the methods, attributes etc... of a class/interface. I've used SEO_METHOD_GET_SOURCE but it doesn't work.
    Thanks for the help.

    Suhas, 
    I have created some wiki links (may be 3-4 months back) which seems similar to this requirement.
    [Extracting Implementation details of global Interface using class - CL_RECA_RS_CLIF |http://wiki.sdn.sap.com/wiki/display/ABAP/ExtractingImplementationdetailsofglobalInterfaceusingclass-+CL_RECA_RS_CLIF]
    [Information of Class Objects using CL_OO_CLASS |http://wiki.sdn.sap.com/wiki/display/ABAP/InformationofClassObjectsusing+CL_OO_CLASS]
    [Source code Download and Syntax Check using CL_RECA_RS_SERVICES|http://wiki.sdn.sap.com/wiki/display/ABAP/SourcecodeDownloadandSyntaxCheckusing+CL_RECA_RS_SERVICES]
    Expecting your comments.
    Regards
    Vinod Kumar
    Edited by: Vinod Kumar on May 5, 2011 11:33 AM

Maybe you are looking for

  • Acrobat 8 Toolbar Issue

    Acrobat 8 touchup object icon will not appear on the advanced editing toolbar unless all the objects in that toolbar are shown.  If I reset the toolbar the icon appears.  If I remove any Icon then the next time I start Acrobat the icon touchup object

  • How to know the function module for a message type

    hi sd gurus, how can i know the function modules used ( based  on message type can i know it?) in inbound idoc processing. can anyone  let me know where can i find it out and the related transaction codes Thanks&Regards Srini

  • What is best performing approach to report building in my case?

    Hi all, I want to know what is the best performing approach in the case of an overload of the system, understood as large number of concurrent operations. Each operation is a query that, in most cases, returns a large amount of data. I am interested

  • Tabs and hidden chars

    Started trying Dreamweaver CS5.5 and cannot find two options when setting up the editor: I don't want to use tabs but spaces and i'd like hidden characters to be displayed it's possible?

  • Retina MacBook Pro ME294 Mavericks 19.2 "Luggy" effects

    Hello guys my name is Panagiotis i am from Greece and before 3 Days i received my brand new MacBook Pro with Retina Display Late 2013 ME294 With 16GB Of RAM...First of all i see a luggy effect while i scrolling on safari or on any program installed o