Create application for file attachment as in ME22n.

Hi all
I want to develop an application in which I have to attach files and create a file attacment list for
files attached from where i can read them.This type of activity is presented in ME22n-tcode.
Can anyone tell me  the code required for such an application.
Thank You.
Regards.
Abhinandan Kumar

hi,
u can attache file  me22n .goto user profile
path
in me21n
systemuser profile--owndata --
type mm_swc_acitivate
-Regards
Saurabh Goel

Similar Messages

  • Creating DataSources for File Source Systems in csv format in sap bw 7.0

    Hi,
    Please explain how to Create DataSources for File Source Systems in csv format in sap bw 7.0. WITH SCREENSHOTS
    Thanks
    JINI
    Edited by: Jini  Jayan on Jun 11, 2008 11:36 AM

    Step 1. Select Source systems under Modelling in the left panel. In the right panel, right-click Source systems and select Createu2026.
    Step 2. Select the FileSystem, manual meta data, data using file inte option, and then click  to continue.
    Step 3. Enter a name and a description for the source system, and then click  to create the source system.
    Now create an application component
    Step 1. Select InfoSources under Modelling in the left panel. In the right panel, right-click InfoSources and select Create application componentu2026.
    Step 2. Enter a name and a description for the application component, and then click  to continue. (BW automatically adds a prefix of "Z" to the technical names of application components, unlike the naming system used for other BW objects.If u give the name as AC_DEMO it will be saved as ZAC_DEMO in the system.
    Now create infosource
    Step 1.Select InfoSources under Modelling in the left panel. Right-click the newly created Application Component , and then select Create InfoSourceu2026.
    Step 2. Select the option Master data/texts/hierarchies, and then click  to continue.
    Step 3. Enter your infoobject name, and then click  to continue.
    Now you will be asked
    Infosource(name) assigned to Appln component(name)?
    Click continue
    Now go back to workbench and see the Infoobject listed under the Application component name (under Infosource)
    Right click the infoobject name and select Assign Datasource
    Enter the Infoobject name as Infosource name and the source system name and continue
    Now you ll get datasource assignment confirmations for Infosource_ATTR and Infosource_TEXT for master data and text.
    Click yes and continue
    Now you ll be taken to the Infosource(master data) change screen
    Source system name will be given
    Below that u need to give the datasource name u2026.._ATTR
    Click Activate.
    Now Click the tab transfer rules
    Copy the communication str infoobject names to an excel sheet
    For ex if your infoobj are IO_MATNUM and IO_MATNAME (material number and material name) copy and paste as
    IO_MATNUM      IO_MATNAME
    MAT001     TEA
    MAT002     COFFEE
    MAT003     SUGAR
    GIVE YOUR DATA IN THE EXCEL. AND CLICK File Save As CSV(comma delimited) and save to ur system. Give file name as something like infosourcename_ATTR.csv
    Now back to the Infosourcechange screen
    Source system name will be given
    Below that u need to give the datasource name u2026.._TEXT
    And activate
    Now Click the tab transfer rules
    Copy the communication str infoobject names to an excel sheet
    GIVE YOUR DATA IN THE EXCEL. AND CLICK File Save As CSV(comma delimited) and save to ur system. Give file name as something like infosourcename_TEXT.csv
    Now create Infoobject to load data
    Go to Infosourceu2014Appln Componentu2014InfoObju2014SourceSystemu2014rightclick->create Infopackage
    Step 2. Select the DataSource Material number (Master data), enter a description for the InfoPackage, and then click  to continue.
    Give infopackage description as Infopackage:InfoObj_ATTR
    Now take care to select the first item in datasource and click continue
    In the next screen click external data tab
    Click client workstation
    Datafileu2026.file name (browse to give the file u saved in ur system)
    There will be an option to remove header data from file.remove 1 row.
    File typeu2014csv file
    Now click schedule tabu2014start dataload immediatelyu2014start.
    In the same way
    Go to Infosourceu2014Appln Componentu2014InfoObju2014SourceSystemu2014rightclick->create Infopackage
    Step 2. Select the DataSource Material number (text)enter a description for the InfoPackage, and then click  to continue.
    Give infopackage description as Infopackage:InfoObj_TEXT
    Now take care to select the second  item in datasource and click continue
    In the next screen click external data tab
    Click client workstation
    Datafileu2026.file name (browse to give the file u saved in ur system)
    There will be an option to remove header data from file.remove 1 row.
    File typeu2014csv file
    Now click schedule tabu2014start dataload immediatelyu2014start.
    Click the icon below admn workbench to go to monitor and check the load
    Or you go back to Infosourceu2014Appln Componentu2014InfoObju2014right clickmaintain master data
    Click execute
    You can see the data load
    Hope this helps!!!

  • Why does the file Name for file attached with Annotations "Attach File" (paperclip) become Unknown when Comments are Published?

    Our company recently purchased Adobe Acrobat Pro XI for the purpose of using it for shared electronic reviews.  We are using Send for Shared Review created in Adobe Acrobat Pro XI, and all the Comment tools work as expectedexcept the paperclip in Annotations.
    When a Word or Excel or Image(png,jpeg) file is attached using the Annotations paperclip, the initiator can initially see and open it. But after Publish Comments is selected and the review file is closed, the file "Name" changes to "Unknown" (although the Description has the correct file name and extension).  The Modified information is Unknown, as is the Size and Compressed Size.
    When the review file is then re-opened, even the initiator cannot open the file, although:
    The file location is marked with the paperclip within the document.
    The file name is shown in the Comments List with the initiator's name.
    In the Attachments list (the paperclip beneath the Thumbnails and Bookmarks) the Name appears as Unknown, Description shows the file name, Modified is Unknown, Size is Unknown, and Compressed Size is Unknown.
    The file Name cannot be edited, although the file Description can be.
    We have followed the procedure described in the tutorials but cannot figure out how to troubleshoot this situation.  Since this feature was the reason for the purchase of Adobe Acrobat Pro IX, we would any help. Please don't leave out any basics since we are all new users.
    We have several people with Adobe Acrobat Pro XI and the rest have Adobe Reader XI and it is a Windows platform.  Can someone please give us some advice how to get this feature to work as described?

    FYI Rave,
    There are some other forum entries with this exact same issue...:
    Cannot Open Attachments in PDF
    Why does the file Name for file attached with Annotations "Attach File" (paperclip) become Unknown when Comments are Published?
    Can someone help us get the COMMENTS ATTACHMENT TOOL to work as described in Acrobat Pro XI?

  • Control/set a limit for file attachment

    Hello,
    I would like to know if there is a way to control/set a limit for file attachment in Workbench ES. e.g. Assign Task > Attachments & Notes.
    Can you please advise.
    Thanks,
    Han Dao

    No. You would have to customize Workspace to do that.
    Jasmin

  • Wireless application for files exchange between two computers,pls Help

    Hi everyone,
    I need your help,pls.I have to make a wireless application for files exchange between two computers,but I don't know where to start from.I guess that this should be a client/server and after establishing a connection I have to be able to exchange files between each others.Please help me

    the wireless connection does not matter.
    This is a socket (client server as you said) same way.
    look out:
    http://java.sun.com/docs/books/tutorial/networking/index.html
    cya

  • IPhone: Create email with file attachment

    I've been thinking of how to backup application data, and decided I might have my App export data as a .csv file and email it to the user. While I could include the .csv data within the body of the email message, I would like to save the user having to cut/paste, by creating the .csv and attaching it (programmatically) to the email.
    Creating and sending the email, and creating/saving the .csv is no problem,.. but having my App create the email and attach the .csv data file is...
    Anyone know how I could [begin to] accomplish this?

    the iPhone SDK doesn't allow for direct attachments to emails via the built in email URL scheme (for details of the mail URL Scheme see: http://www.ietf.org/rfc/rfc2368.txt ).
    You can choose to embed your own SMTP client inside your app which would let you send an attachment, but then the user would have to enter their mail server information again for your app (because you can't access the keychain with their mail credentials in it).
    rob.

  • Http post from an application with file attachment

    Hi ! I didn't know where else to post this message...
    I'm trying to make a HTTP POST from an application and upload a file with it. I have no problems with the posting, just that I haven't got any ideas how to get the file uploaded as well. I've been reading loads of examples regarding the topic, and searching older posts the forum here, without any help.
    Here's the method i'm using:
                   // open connections
                  URL url = new URL ("TheURL");
                   URLConnection urlConn = url.openConnection();
                              // We do input & output, without caching
                   urlConn.setDoInput (true);
                   urlConn.setDoOutput (true);
                   urlConn.setUseCaches (false);
                              // multipart/form-data because we want to upload a file
                     urlConn.setRequestProperty ("Content-Type", "multipart/form-data");
                  // Open output stream
                     DataOutputStream printout = new DataOutputStream (urlConn.getOutputStream ());
                  // Set the actual content
                     String content = "upfile=" + System.getProperty("user.dir") + "\\file.ext&";
                       content += "other_key-value_pairs";
                  // write the data to stream, and flush it.
                     printout.writeBytes (URLEncoder.encode(content));
                   printout.flush ();
                   printout.close ();
                   // Get the response.
                     DataInputStream input = new DataInputStream (urlConn.getInputStream());
                   FileOutputStream fos=new FileOutputStream("postto.txt");
                   String str;
                     BufferedReader bufr = new BufferedReader(new InputStreamReader(input));
                  // Write response to outputfile
                     while (null != ((str = bufr.readLine()))) {
                         if (str.length() >0) {
                         fos.write(str.getBytes());
                         fos.write(new String("\n").getBytes());
                   input.close ();Now, the response here I get from the url i'm posting to is "Failure, no data-file". I've tried many diff methods of writing the file to the stream, but always get the same result.
    I need to file attached like it would be when using a HTML form's <input type="file">.
    Please help ! This is getting really urgent !

    String content = "upfile=" + System.getProperty("user.dir") + "\\file.ext&";
    content += "other_key-value_pairs";
    printout.writeBytes (URLEncoder.encode(content));
    printout.flush ();
    printout.close ();Actually, what this does is create a request like:
    GET /path/to/file/script.language?upfile=/home/user/file.ext&other=params HTTP/1.1
    Content-Type: multipart/form-data
    -- And other HTTP params --
    The file is not actually appended to the request.
    I really don't know how Java handles the file upload, but you could do it by hand, like so:
    public static void doFileUpload(String url, String filename, Hashtable params) throws IOException {
        // Construct the request
        String boundary = "----------------------mUlTiPaRtBoUnDaRy";
        String request_head = "POST " + url + " HTTP/1.0\r\n" +
                                         "Content-type: multipart/form-data; boundary=" + boundary + "\r\n";
        String request_body = boundary + "\r\n\r\nContent-disposition: form-data; name=\"upload\"" +
                                         "\r\n\r\n";
        BufferedReader in = new BufferedReader(new InputStreamReader(new FileInputStream(filename)));
        int b = -1;
        while((b = in.read()) != -1) {
             request_body += (char)b;
        in.close();
        Enumeration keys = params.keys();
        while(keys.hasMoreElements()) {
            String key = keys.nextElement();
            requst_body += "\r\n" + boundary + "\r\n\r\nContent-type: form-data; name=\"key\"\r\n" +
                                    (String)params.get(key);
        request_body += "\r\n" + boundary + "--\r\n";
        int length = request_head.length() + request_body.length() + "Content-length: \r\n";
        String req_length = "Content-length: " + (length + new String("" + length).length()) + "\r\n";
        Socket socket = new Socket(url,80);
        PrintStream stream = socket.getOutputStream();
        stream.print(request_head + req_length + req_body);
        // And now an option to read the response, I will omit that...   
    }Note: I have not tested this code, just wrote it up out of memory. If it does not work, it will propably need some small fixes.
    Tuomas Rinta

  • Error while creating application for PHP in eclipse plug-in

    Hi,
    I am trying to create an application for PHP but got an error " Template creation failed". It used to be working before. Can anyone help?
    http://uploadpic.org/v.php?img=9FmTmCZNWM
    Thank.
    Regards,
    Hardik

    Hi Hardik,
    According to the log file, the service proxy generation failed, since the command execution for calling the OData SDK proxy generation was failed.
    As a first step I would suggest verifying that the PHP server is properly configured with the OData SDK library (as explained in the SDK's user guide).
    There is also an explanation in our documentation troubleshooting section (PHP Toolkit Troubleshooting - Proxy Generation Failed).
    Then a PHP proxy can be generated for the service using our PHP plugin, as a simple check that the problem was solved.
    If the problem continues, I would suggest saving the service metadata into a local xml file and try executing the proxy generation command directly (using command-line):
    C:\xampp\php\php C:\OData_PHP_SDK\framework\PHPDataSvcUtil.php /metadata=<Absolute-Path-To-Metadata-XML-File> /out=<Absolute-Path-To-Desired-PHP-Output-File>
    The command output printed to console may help us understanding more regarding what causes the problem.
    Thanks,
    Rotem

  • Creating applications for Nokia 5800

    Hi,
    Can anybody provide me with a list of the software that I need to download in order to write applications for my phone (Nokia 5800 (model 5800d-1)) using either Visual C++ or Qt. I can, to a certain extent, write software with both of these programs, but I do not know how to create a mobile application from a piece of code that I have written, i.e. how to convert to a SIS or SISX file.
    Any help would be greatly appreciated.
    Cheers,
    Northers
    Solved!
    Go to Solution.

    The best place for any bits like this is the Nokia Forum http://www.forum.nokia.com/
    if you register here you can obtain any info required and download any SDKs required for application development
    If this Post is helpful. A click on the White Kudos star is always Appreciated
    Last Nokia: Nokia Lumia 800
    Current Phone: A Non Nokia Device
    Previous Phones:Don't Ask ;-)

  • Security for file attachment

    Hi,
    Is there is any API available to secure file attachment.
    Initially i used AVCryptDoStdSecurity() API, but it is securing entire document itself instead of attachment
    how to handle file atttachment security?
    Please throw ur ideas on it!!!!!!!
    Regards,
    Nethaji

    Hi Leo
    Thanks for ur response
    The actual problem what i am facing is,
    when i choose "file encrypt attachment only" option (it is a option in Adobe password window) through my application.the whole document is getting secured
    For eg: Consider a.pdf be the document, i am attaching 1.xls in the a.pdf document and i am opening the adobe password window through my application for a.pdf document and choosing the option "file encrypt attachment only" option
    EXPECTED RESULT:
    when opening a.pdf it should get opened and when opening the attacment in a.pdf ie.,1.pdf it should ask for password (this is behavior in Acrobat)
    OBSERVED RESULT:
    when i am opening the document a.pdf it is not getting opened instead it asks for password ie., the whole document is secured
    I have used AVCryptDoStdSecurity() API
    in order to display the acrobat password asking window after this what should i do in order to handle "file attachment encryption only"option (it is activated if compatibility Acrobat7.0 or later is choosed)
    There is a structure in my code which has "encryptattachementonly" field which sets to value "1" when the option "file attachment only" is choosed but after this i dont know how to handle this, in order to acheive the expected result
    if u want to have code details i ll give
    Please throw ur ideas
    Regards,
    Nethaji

  • Cant create Application for Reflections - Windows installer

    i am trying to make a application for WRQ Reflections.
    I have done the administrator install etc for reflections.
    It has created me a MST file. (Test.MST)
    It also has created a ini file which sets how the install is done. (Test.ini)
    the INI contains.
    [Settings]
    Description=
    Type=I
    Reboot=2
    Language=
    Logging=/l*v+ %tmp%msiwrq.txt
    Display=/qb
    Properties=
    [MSI1]
    path=Z:APPS\Reflections12\ud12oilc.msi
    SourcePath=
    Transform=Test.MST
    The reflections admin tool also created a shortcut which properties are
    z:\APPS\Reflection12\WRQdeploy.exe z:\APPS\Reflection12\test.ini
    Which when runs installs reflections with the MST file
    If I go to CMD and typ WRQdeploy.exe test.ini it also installs properly
    If I create a file called install.cmd and put WRQdeploy.exe test.ini
    i can run the file and it installs
    My question is how do I turn that into an APP
    when I just create a manual app and select the Path to executable file: to
    z:\APPS\Reflection12\install.cmd
    When I run the app from my NAL it launches the cmd prompt and the Windows Installer box comes up and the install never starts.
    ive tried creating a MSI app object and selecting the MSI as the package and then in path to executable I put z:\APPS\Reflection12\setup.exe and under common - Transform I point it to Test.MST
    How can I Deploy this app?
    Thanks

    Bparton,
    > WRQdeploy.exe test.ini
    >
    Then just create a simple app object that runs WRQdeploy.exe and put
    test.ini under parameters. Make sure you have the correct working
    directory.
    - Anders Gustafsson (Sysop)
    The Aaland Islands (N60 E20)
    Novell has a new enhancement request system,
    or what is now known as the requirement portal.
    If customers would like to give input in the upcoming
    releases of Novell products then they should go to
    http://www.novell.com/rms

  • How to create Headervariable for File adapter in 11g SOA Suite?

    Hi All
    My process in reading file and I wanted to know the exact name of the File.
    In 10g, we have fileAdapterInboundHeader.wsdl and create HeaderVariable using message type used in this wsdl and can get file and directory name in this variable But in 11g we dont have any wsdl like this.
    Can anybody give me some idea how to create Headervariable for Inbound file adapter to get file name?
    Thanks
    Vibzz

    Hi,
    Look at this document : [Oracle JCA Adapter for Files/FTP|http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10231/adptr_file.htm#CIAFJCCE]
    Romain.

  • Create application for the Windows-98

    Hello all
    I have LV PDS 7.1.1
    Can I create the application  for the  Windows-98?
    With respect
    Iskander

    No. The last LV version supporting win98 is 7.0.
    Paolo
    LV 7.0, 7.1, 8.0.1, 2011

  • Reset Default applications for file types

    Hi:
    How do I change which applications open when I double-click a particular file type? For example if I want Pages to open up .docx files instead of MS Word. How do I set that up?
    Thanks
    Janet

    Highlight any .docx file by clicking on it once and then press Command+I. Under the Open with section, click on the drop down menu and select Pages. If Pages isn't a choice, then select Other at the bottom, navigate to the Pages app and select it. Then click on the Change All button.

  • URL error while excuting web dynpro application for file upload  in IP

    The following error text was processed in the system DB1 : WebDynpro Exception: ICF service node for application /sap/public/bc does not exist
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISE of program CX_WD_GENERAL=================CP
    Method: HANDLE_REQUEST of program CL_WDR_UCF====================CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP

    Hello,
    have you typed the web manually? try using transaction SICF and "test" the service so the URL is generated by the system. You should find the webdynpro application under /SAP/public/bc/
    If the error continues re-import the transports.
    Cheers,
    C

Maybe you are looking for

  • Can not add intercom button to phone template in cucm 8.5

    For some reason I can not add the intercom button to phone template in cucm 8.5 

  • I have bought a iPhone 4s Verizon from an eBay seller.

    As I communicated to Brenda Couchman, this iphone is used to belong to her ex-husband (Probably name Thomas Couchman). I have a clear receipt of this iPhone paid by PayPal with an eBay item ID . Currently, the phone is intransit. However, if I restor

  • HT1366 I cannot get my macbook to restart

    --When I start up, I have a gray screen with the apple icon and a spinning wheel. I am not getting to the log in screen. What can I do?

  • SQL Developer in Oracle 11g

    Hi all, When trying to start SQL Developer shipped with Oracle 11g for Windows 32-bit, the following error raised: http://www.ahmedbaraka.com/temp/error2.JPG OS: Windows XP SP2 with 1GB RAM DB: Oracle Database 11g Enterprise Edition Release 11.1.0.6.

  • Execute a Grant in PL/SQL Procedure DBMS_SQL

    Trying to find a way to do a Grant in a PL/SQL procedure. We have done it in forms before using FORMS_DDL() to execute the command. I tried DBMS_SQL but the samples show cursors for queries and inserts. Can't seem to get it to work. Need to grant rol