Upload / download PF Status

Hi,
I am trying to download programs from SAP. I have set PF-Status in my program. Now when i try to download / uplaod program how can i get my PF Status details?
When i upload my program into SAP the pf-status is not available...i need to create it again. Can i download / upload PF-Status of the program?
can anyone give me idea of how to solve my issue.
regards
padma

You can use these code in your report program to display the PF status
START-OF-SELECTION.
  SET PF-STATUS 'BASIC'.
In the module pool program you can use
DATA fcode TYPE TABLE OF sy-ucomm.
MODULE status_0100 OUTPUT.
  APPEND 'CHANGE'  TO fcode.
  APPEND 'SAVE' TO fcode.
  SET PF-STATUS 'STATUS_0100' EXCLUDING fcode.
ENDMODULE.
When you finish the  uploading the code you have to activate all the programming objects.

Similar Messages

  • Upload/Download GUI STATUS

    Hi SAP Experts,
    Is there any way to download GUI STATUS from Z program to local PC and after that upload that GUI STATUS from the local PC to another 'Z' program.Both the Z programs are in different versions.
    Please help.
    Mukesh Kumar

    Hi Mukesh,
    Check these threads...
    How to GUI status from one system to another
    download Programs
    cheers,
    Prashanth
    P.S Please mark helpful answers

  • Upload / download gui-status/dynpro when function group

    Hi All,
    I'm coding a program where I can download and upload reports and module pools but I tried to do the same with function groups and I found It is different to upload dynpro and gui staus when the objet to generate is a function group.
    Could anyone help me a little in order to complete and finish this issue?
    Below is shown the routines I coding in order to achive that:
    For gui-status uploading I use:
    CALL FUNCTION 'RS_CUA_INTERNAL_WRITE'
        EXPORTING
          program   = prog
          language  = sy-langu
          tr_key    = tr_key
          adm       = adm4
        TABLES
          sta       = sta4
          fun       = fun4
          men       = men4
          mtx       = mtx4
          act       = act4
          but       = but4
          pfk       = pfk4
          set       = set4
          doc       = doc4
          tit       = tit4
          biv       = biv46c
        EXCEPTIONS
          not_found = 1
          OTHERS    = 2.
    For screen uploading I use:
    GENERATE DYNPRO gs_d020s gt_d021s gt_d022s gt_d023s  ID dynp_id
                          MESSAGE mess  LINE line   WORD    word.
        IF sy-subrc = 0.
          EXPORT DYNPRO gs_d020s gt_d021s gt_d022s gt_d023s  ID dynp_id.
        ENDIF.
    But both options don't work when uploading function groups
    Regards...
    Edited by: Rob Burbank on Jun 1, 2011 11:58 AM
    Edited by: Kenneth Castañeda on Jun 2, 2011 7:31 PM
    Edited by: Kenneth Castañeda on Jun 2, 2011 7:34 PM

    Hi Kenneth,
    sorry, it is really not obvious that [there is a link behind zsaplink|http://code.google.com/p/saplink/].
    From the link:
    "SAPlink is an open source project that aims to make it easier to share ABAP developments between programmers. It provides the ability to easily distribute and package custom objects."
    This software allows you to up- and download all kinds of SAP objects. It is distributed under the GNU General Public License.
    I think this is exactly what you are looking for - or I did not understand your question.
    Regards,
    Clemens

  • How to download PF-STATUS of a Report to a Text File

    Hi Friends,
    Please guide me on this,
    I want to download PF-STATUS of a Report into a text file,
    Problem is how to get/capture the PF-STATUS.
    Regards,
    Sowjanya

    Hi,
    Please follow the following link
    Upload / download PF Status
    Regards,
    Shailaja

  • How to download GUI status and then upload to another system?

    Hi,
    I have a requirement to copy a module pool program to another system (different system, it cannot be transported to that system)
    We have options to download/upload programs/screens in SE38 and SE51. But, I couldn't see any such option in SE41.
    Is there any other way to download GUI status from SE41 and then use that file to upload in other system?
    Thanks in advance.
    Regards,
    Arun Mohan

    Hello Arun,
    If the object's transport order has been released, you can ask your basis person to download and import that request files(Co file + Data file) from the current system to the new system.
    This is the easiest possible way to achieve your requirement.
    Regards,
    Karthik D

  • Gui status - upload / download

    Hello All,
    Is there any way where I can download GUI status from one system and upload it to another system ?
    Thanks in advance,
    Senthil G

    Hi Senthil,
    Gui status is tied directly to programs, so that said, you want have to tie this gui status to a program, then transport the program. So if you have a gui status that you want to use that is tied to standard program, create a "Z" program, then you can copy the gui status from the standard program to the "Z" program. Now you can transport the "Z" program to this other system, then you can copy the gui status from the "Z" program to where ever you need it in the other system. Make sense. I'm assuming that this other system is outside of the DEV->TST->PRD heiracrchy.
    You can copy the gui status using SE41. Click User Interface, Copy, Status.
    Regards,
    Nitin.

  • File upload, download using ADF UIX and not JSP

    I have examples for the file upload, download using JSP
    But I want to use ADF UIX. Look and feel in this is impressing and I want to use this. Any one have example for this.
    Users will select a file from their desktop
    This will be stored into the database (Any document. Word, Excel)
    When they query the records then the UIX column need to give a hyperlink. Clicking on the link should prompt to download the file to the local system

    Sure, I use the Apache Commons File Upload package, so that is what I will discuss here ( [Commons File Upload|http://commons.apache.org/fileupload/] ).
    The Commons File Upload uses instances of ProgressListener to receive upload progress status. So first create a simple class that implements ProgressListener:
    public class ProgressListenerImpl implements ProgressListener {
        private int percent = 0;
        public int getPercentComplete() {
            return percent;
        public void update(long pBytesRead, long pContentLength, int pItems) {
            if (pContentLength > -1) { //content length is known;
                percent = (new Long((pBytesRead / pContentLength) * 100)).intValue();
    }So in your Servlet that handles file upload you will need to create an instance of this ProgressListenerImpl, register it as a listener and store it in the session:
    ServletFileUpload upload = new ServletFileUpload();
    ProgressListenerImpl listener = new ProgressListenerImpl();
    upload.setProgressListener(listener);
    request.getSession().setAttribute("ProgressListener", listener);
    ...Now create another servlet that will retrieve the ProgressListenerImpl, get the percent complete and write it back (how you actually write it back is up to you, could be text, an XML file, a JSON object, up to you):
    ProgressListenerImpl listener = (ProgressListenerImpl) request.getSession().getAttribute("ProgressListener");
    response.getWriter().println("" + listener.getPercentComplete());
    ...Then your XMLHttpRequest object will call this second servlet and read the string returned as the percent complete.
    HTH

  • Urgent : file upload / download functionality in oracle portal page

    Hi friends
    I am new to portal development and am working on oracle portal 9i rel2 . I need to know how to put the file upload and download functionality in any page. the functionality given in oracle portal user guide is not user friendly (i.e in the content area add item of type file" ) .... i need to now is their any way to achieve the simple , one button click upload download functionality ..like we do in yahoo mails etc.
    any help will be highly appreciated.
    regards
    Dheeraj

    Well, I do not know the exact location of the document, however you can find the document to do this in modplsql User Guide ..(File Upload/Download).
    I am pasting some hint:
    e.g.
    Create an html form..code something like this:
    <html>
    <head>
    <title>test upload</title>
    </head>
    <body>
    <FORM      enctype="multipart/form-data"
    action="pls/mydad/write_info"
    method="POST">
    <p>Author's Name:<INPUT type="text" name="who">
    <p>Description:<INPUT type="text" name="description"><br>
    <p>File to upload:<INPUT type="file" name="file"><br>
    <p><INPUT type="submit">
    </FORM>
    </body>
    </html>
    Create a table
    (who varchar2(..).
    description varchar2(..),
    file varchar2(..));
    Your procedure something like this:
    procedure write_info (
    who in varchar2,
    description in varchar2,
    file in varchar2) as
    begin
    insert into myTable values (who, description, file);
    htp.htmlopen;
    htp.headopen;
    htp.title('File Uploaded');
    htp.headclose;
    htp.bodyopen;
    htp.header(1, 'Upload Status');
    htp.print('Uploaded ' || file || ' successfully');
    htp.bodyclose;
    htp.htmlclose;
    end;
    You should be able to download/access the file using the following URL format:
    http://<host>:<port>/pls/<dad>/docs/<file_name>
    Where file name is = Look for the value in the "myTable" > file.
    Do tell how you get on this.
    Thanx,
    Chetan.

  • Urgent : program to copy or download GUI status

    Hi Experts,
    I have to copy Screens and GUI status, GUI titles from one SAP sysytem to another SAP system. Do anyone have the solution for it.
    Or any program that could download to local system and then to upload the GUI Status and Screens to another syatem....
    Thanks,
    Govind

    Hi Govind,
    You can download the entire code one by one in simple flat file and can upload the same in the target system. It will reduce a lot of effort on your part. But as for the screens I think you need to put the data elements again. But you can check it as I have never tried.
    The process to upload and Download the entire code is given below:
    To download
    SE80->Utilities->More Utilities->Upload/Download->Download. ( use this to download in a simple flat file.)
    To Upload
    SE80->Utilities->More Utilities->Upload/Download->Upload.  ( now upload the simple file in the target system in the same way.)
    Thanks and Regards,
    Samantak.
    Rewards points for useful answers.

  • File Upload/Download Problem

    Hi,
    I have a fileupload button. The attributes type is XSTRING, which i bound it with "data" property of download.
    When i download this file with "download" element, it comes in a zip file and as XML files. Only the jpg files are downloaded correctly.
    How can i solve this?
    Thanks.

    Hi,
    I am so sory for my very late answer.
    If you want to upload/download files, you should have a node which includes attributes
    (attribute names are just example ):
    1) filename(type: for example afilename),
    2)mimetype (type : string),
    3) file(type : a data element with type 'RAWSTRING').
    You must match your fileupload element's attributes with them:
    "DATA" attribute --> file ,
    "fileNAME" attribute--> filename,
    "mimeTYPE" attritube -->mimetype.
    When you want to download this file, you should put a filedownload element and match this element's attributes with the node's attributes which i described above.

  • Is there a way to upload/download photos anonymously?

    Is there a way to anonymously upload/download photos to the web without any sort of identification?
    For example, if I'm using something like TOR to browse, and I find an icon on a site or Google Images that I want to use as my avatar for a social networking site, can I "Save As" from my TOR browser and download that image anonymously to my computer's desktop? Or does my information leak when I save to my computer?
    ...and then, in turn and perhaps more importantly, how do I upload that photo as my social network photo/avatar without any sort of identifying source tag or whatever from my computer?
    When I attempt to upload a photo to the site, it keeps showing something like /Users/[iMacUserName]/Desktop
    Is there any way to do this anonymously?
    Would having something like a VPN be more useful than TOR in this situation?
    I'm new to all this, so I'd really appreciate any information possible. If it makes more sense to send an IM or private email, please feel free to contact me that way as well.
    Any recommendations for a great VPN to use with mac would be great too.
    Thanks so much in advance for your time.

    The image isn't anything dirty, nor is it necessarily copyrighted... I mean, it's a photo still from a movie I like that I wanted to use as my avatar photo. So I suppose technically it's copyrighted, but I'm not trying to pass it off as really being me, or mine. I see people using that kind of thing for avs all the time.
    I guess what I'm trying to say is that I'm not worried about the image I'm using, I'm worried about other users on the site being able to somehow find out that the image was uploaded from my computer (IP address, location, etc)
    Like, could the admins at a social networking site see that the image was uploaded from my computer?
    When I prompt the "upload" it only gives me the option to directly upload it from my computer, and as I said in my OP, it comes up with my iMac computer ID or whatever as the source of the file. (In the upload bar). Once I upload it, I think this information disappears, as I've tried to inspect other users avatars and it says owner info is private... but can the admins see WHERE the photo was uploaded from?
    Does something like TOR block this? Or do I need something else? I tried to do some research on it and found another user asking a similar question and someone responded saying they needed to tunnel it or something?
    Again, I'm not asking this b/c I'm trying to upload some inapropriate photo, but because this site is very strict about multiple accounts, and I have another account there that I'm not ready to delete yet. I just want to have a second, 100% anonymous account. (and feel I should also put it out there that it's not to do anything illegal or harmful to anyone either) just for me.
    Thanks again for any more answers on this.

  • Upload/Download file to/from a document library in a SharePoint online site

    Hi,
    I am referring to the below blog for Upload/Download file to/from a document library in a SharePoint online site.
    http://blogs.msdn.com/b/rohitpuri/archive/2007/04/10/upload-download-file-to-from-wss-document-library-using-dav.aspx?CommentPosted=true#commentmessage
    I would like to know if this is feasible with a SharePoint online site.
    If feasible, how can I resolve the below exception I am getting while using the code.
    “The remote server returned an error: (403) Forbidden”.
    Thanks,
    Thanan

    Hi,
    Actually what I am trying to achieve is the two things.
    1) By using only the user's name, need to upload/download from/to the document library of SharePoint online site using the CSOM. (i.e., achieving Single Sign On / Windows Authentication)
    2) I need to achieve the above only by passing the document URL; not by hardcording/ configuring the document library name in the windows application.
    Can anyone pls help on this now?
    [Below code is working fine. But need to arrive the solution whereas the above 2 conditions are not violated.
    using (var clientContext
    = new ClientContext("https://yoursiteurl.com"))
               string passWd
    = "password";
               SecureString securePassWd
    = new SecureString();
               foreach
    (var c in passWd.ToCharArray())
                    securePassWd.AppendChar(c);
                clientContext.Credentials
    = new SharePointOnlineCredentials("username", securePassWd);
               using
    (var fs =
    new FileStream("fileName",
    FileMode.Open))
    var fi =
    new FileInfo("fileName");
    var list = clientContext.Web.Lists.GetByTitle("Doc Library");
                   clientContext.Load(list.RootFolder);
                   clientContext.ExecuteQuery();
    var fileUrl = String.Format("{0}/{1}", list.RootFolder.ServerRelativeUrl,
    fi.Name);
    Microsoft.SharePoint.Client.File.SaveBinaryDirect(clientContext, fileUrl,
    fs, true);
    Thanks,
    Thanann

  • File Upload/Download

    Hi
    When using the file upload/download functionality, APEX stores the uploaded object in a table by default. See: http://download-uk.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28839/up_dn_files.htm#CJAHDJDA
    Is there a way to specify that the file should NOT be stored in a table, but rather, be stored on the file system?. Example in a directory object location.
    I intend to use the upload/download functionality to load csv files that will then be parsed as external tables.
    Thanks
    Kezie

    Hi,
    I modified the above procedure to point to my tables and trying to create the procedure in Apex database and am getting the following error:
    Procedure:
    CREATE OR REPLACE PROCEDURE write_blob_to_file
    ( p_docid IN NUMBER,
    p_directory IN VARCHAR2,
    p_filename IN VARCHAR2 DEFAULT NULL )
    IS
    l_file utl_file.file_type;
    l_buffer RAW(32767);
    l_amount BINARY_INTEGER := 32767;
    l_position INTEGER := 1;
    l_blob BLOB;
    l_length INTEGER;
    l_filename VARCHAR2(400);
    BEGIN
    SELECT BLOB_CONTENT, MPP_name
    INTO l_blob, l_filename
    FROM MPP_FILES
    WHERE id = p_docid;
    IF p_filename IS NOT NULL THEN
    l_filename := p_filename;
    END IF;
    l_length := dbms_lob.getlength( l_blob );
    l_file := utl_file.fopen( p_directory, l_filename, 'wb', 32767 );
    WHILE l_position < l_length LOOP
    dbms_lob.read( l_blob, l_amount, l_position, l_buffer );
    utl_file.put_raw( l_file, l_buffer, TRUE );
    l_position := l_position + l_amount;
    END LOOP;
    utl_file.fclose( l_file );
    EXCEPTION
    WHEN others THEN
    IF utl_file.is_open( l_file ) THEN
    utl_file.fclose( l_file );
    END IF;
    raise_application_error( -20001, SQLERRM );
    END write_blob_to_file;
    Error:
    ERROR at line 6: PLS-00201: identifier 'UTL_FILE' must be declared
    4. p_filename IN VARCHAR2 DEFAULT NULL )
    5. IS
    6. l_file utl_file.file_type;
    7. l_buffer RAW(32767);
    8. l_amount BINARY_INTEGER := 32767;
    Please let me know what am i missing. I am pretty new to PL/SQL and Apex.
    Also wondering is there a way to download files from tables using Java Stored Procedure. Please give some pointers.
    Ramesh K

  • Unable to upload/download large html files(71 MB) into  rooms

    Hi,
        I am unable to upload download HTML file(71 MB)into folders of collabration rooms.if it is uploaded also its getting Scripted/corrupted.
    other files are working properly.
    Is it because of large size or any other configuration settings.there is no error msg buts its getting scripted.
    Waiting for your response
    Thanks
    Amit kumar Koyal

    Hi Kerstin,
    the note also says: "This restriction is no longer valid".
    With SP19 I do run tests continously that test content up to 2GB.
    Amit: What portal version are you running? What repository implementation is the file stored in? If the file is stored in a file system, what is it's file size limitation?
    Regards,
    Michael

  • Upload / Download document to KM Content Server from WebDynpro Application

    I have a requirement where I need to upload / download document into / from KM Content Server from my WebDynpro Application.
    Is it technically possible and if Yes, can I get any Sample code for this.

    Hi Tahzeeb,
    first of all i would point you to the JavaDocs for KMC API.
    https://media.sdn.sap.com/javadocs/NW04/SPS15/km/index.html
    And here is a small example of reading and storing KM resources.
    For reading:
         * Returns a resource as an InputStream from the KM repository
         * at the given path. The IUser is needed for authorization.
         * @param user      IUser for checking authorisation.
         * @param resPath   Path to the KM resource.
         * @return          Requested resource as a stream.
        private InputStream getKmResource(final IUser user, final String resPath)
            throws ResourceAccessException {
            try {
                final IResourceFactory factory = ResourceFactory.getInstance();
                final RID rid = RID.getRID(resPath);
                final IResource kmResource =
                    factory.getResource(
                        rid,
                        new ResourceContext(getDeprecatedIUser(user)));
                if (kmResource == null) {
                    throw new ResourceNotFoundException(
                        "KM resource not found: " + resPath,
                        resPath);
                return kmResource.getContent().getInputStream();
            catch (WcmException e) {
                throw new ResourceAccessException("Error accessing KM resource: " + resPath, e, resPath);
    And for writing:
         * Stores a resource in the KM repository at the given path with the given name and mimetype.
         * Content is taken from the given inputstream.
         * @param user          IUser for checking authorisation.
         * @param resName   Name of the resource
         * @param resPath     Path to the resource
         * @param mimeType MimeType of the resource
         * @param inputStream  Resource content
         * @throws ResourceAccessException
        private void putKmResource(
            final IUser user,
            final String resName,
            final String resPath,
            final String mimeType,
            final InputStream inputStream)
            throws ResourceAccessException {
            try {
                final ResourceContext rContext = new ResourceContext(getDeprecatedIUser(user));
                final RID rid = RID.getRID(resPath);
                final ICollection kmCollection =
                    (ICollection) ResourceFactory.getInstance().getResource(rid, rContext);
                if (kmCollection == null) {
                    throw new ResourceNotFoundException(
                        "KM resource not found: " + resPath,
                        resPath);
                else {
                    IContent kmContent = new Content(inputStream, mimeType, -1);
                    IResource kmResource = kmCollection.createResource(resName, null, kmContent);
            catch (ResourceException e) {
                throw new ResourceAccessException("Error accessing KM resource: " + resPath, e, resPath);
            finally {
                try {
                    inputStream.close();
                catch (IOException e1) {
                    throw new ResourceAccessException("Error closing InputStream when accessing " + resPath, e1, resPath);
    Hope that helps for a start.
    Best regards,
      ok

Maybe you are looking for

  • Name in comments

    Dear Adobe Acrobat community, I am a Adobe Acrobat XI Pro user (version 11.0.07) under Windows 8. I am trying to review an official document, however, my comments get a former informal log in nickname. I would like to show my formal name. I tried and

  • Need Help:Handling CLOB in OSB Proxy Service

    Hello All- We have created an AQ in Oracle DB which will have the following message Structure: CREATE OR REPLACE TYPE enqueue_payload AS OBJECT ( field1 VARCHAR2(100), field2 VARCHAR2(100), field3 DATE, field4 VARCHAR2(100), field5 NUMBER, payload CL

  • To show the release status of the transport request

    Hello Experts, I am having a requirement like the following: I need to list the transports along with the release status of the transport request in a View. Release status means that transport request imported into Development system, Quality system

  • How to Extract the URLs,Tittles and Snippets only

    Hi, My HTML file looks like the fallowing. [ URL = "http://www.apple.com/" Title = "Apple" Snippet = "Official site of Apple Computer, Inc." Directory Category = {SE="", FVN=""} Directory Title = "" Summary = "" Cached Size = "33k" Related informatio

  • Modem or Router

    Lost internet connection. Light on Linksys WRG54 is blinking. How do you determine is the problem is the Cable Modem or the router?