Open attached file in the same editor(ZCRM_DNO_MONITOR customer program)

Hi All,
I wrote a dialog program to simplify the CRM_DNO_MONITOR.  I gave the facility to attach file from the PC(any doc  type .txt ,doc, xls. etc) by calling the functions. I need to give  a facility to open these attached file in the same edit. Please let us know way
Additionally,I can find the logical and physical document of these attached files
e. g
(Doc class       : CRM_L_ORD
Doccument   : 4CA517D70BE60F7FE1000000AC113F3F
Doc Class       CRM_P_ORD
Document        4CA517D80BE60F7FE1000000AC113F3F)
Attached files successfully by calling the following functions
       objkey = wa_tab-guid .    " (crmd_orderadm_h-guid)
       objtype = 'BUS2000116'.
      CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET
      CALL FUNCTION 'SO_DOCUMENT_REPOSITORY_MANAGER
     CALL FUNCTION 'BINARY_RELATION_CREATE_COMMIT'
     CALL FUNCTION 'CRM_KW_MIGRATE_GOS' DESTINATION 'NONE'

Hello ,
i think you can make use of Clase CL_GOS_MANAGER
check Sap program which are using this clasee.
try yourself and let me know if you have any doubts.
regards
Prabhu

Similar Messages

  • How to open KM file in the same window

    When we open KM file by /irj/go/km/docs/... link it is previewed in a new Internet Explorer window.
    We changed Targed property to Self for iView navigation in LayoutSet render but the image file is still opend in new Window.
    How to workaround this?

    We changed Target Window Type property value of ResourceRenderer of Navigation iView  to Self.
    When an authenticated user  tries to open KM file it is opened in the same window if file URL include /irj/servlet/prt/prtroot....
    If file URL contain /irj/go/km/docs/.. it is opened in new window.
    When an anonymous user  tries to open KM file it is opened in a new (popup) window.
    We need that anonymous user can open km files in the same window.
    How to work around this?
    We use light framework.

  • How to open a file with the same name?

    Hi, now I practicing making web pages where I put sample codes in one directory and I copy them to edit.
    The probrem is, I couldn't open one file while I'm opening another file with the same name.
    Is it possible to open  a file with the same name in Dreamweaver?

    That could be a very error prone practice.
    May I suggest you take advantage of DW "Snippets" feature instead.
    Simply save any blocks of code you will reuse regularly as snippets,
    and give each one a descriptive name you like.
    Then you can simply place your cursor in code view where you wish the code,
    and click insert on the selected item from the snippet panel.

  • Referencing a file in the same folder as my programs jar.

    I have some images that my application uses and am having a very hard time figuring out how to best reference them. I want it so that my program can be anywhere on the HD as long as it's in one folder. The problem with this is that when I try and reference my images using just the image name, it seems to assume that the user is starting from their home directory. I need a way to make a relative reference to the images in the same directory as my program.
    Any ideas?

    I have tried this but not in the same way you are
    saying to. Any better examples on doing that? That
    documentation is a bit cryptic to me (a new
    programmer in java).Here's a Sun tutorial. It rocks:
    http://java.sun.com/docs/books/tutorial/uiswing/components/icon.html
    This post might help.
    http://forum.java.sun.com/thread.jspa?threadID=749816&messageID=4287812
    Sorry about the Netbeans thing, I've never used it.

  • How to open a file in the same position on display when closing

    Not sure if this is the right place, so I apologize in advance:
    Whenever I open my text edit files, they always open in the same place in the display; how can I get these files (or any files for that matter) to open at the display position where they're last closed? 

    Unless the App stores window position data for a file, which I doubt, there isn't a way.
    Apps can store their default window position. Normally that is done by opening a document window in the app, moving and resizing it, then closing the window.
    There isn't an OS-wide setting for window positions.

  • Urgent! Can't open encrypted file under the same user.

    My system is X61s, Windows XP pro sp3.
    There is no change of user account, no reinstallation or recovery of system.
    I used EPS encrypted some of my important files last month. Without any user account changes and system reinstallation I suddenly can not open the encrypted files anymore. I am aware that the change of user account or reinstalling the system will change the encrypted ID, then the encrypted file will not be opened unless there is a digital certificate of the user that encrypted the file. However I have been using the same user account since I bought the laptop and I have never reinstalled or recovered the system.
    I have tried to encrypted some other files and these files can be opened without any problem. But only the file that I encrypted about a month ago can not be opened.  Those are very important files for me. Can anyone help me to get my files back please!!!
    mod edit: moved to windows forum for better exposure.
    Message Edited by erik on 10-01-2008 11:51 PM

    hello you did not mention any error messages you were facing??
    i can only assume you are getting the follwing messages if you try to open an encrypted file...
    Cause: Encrypting File System (EFS) only works on files and folders on NTFS file system volumes. If the folder or file you are trying to encrypt is on a FAT or FAT32 volume, the Advanced button does not appear in the properties of that folder or file.
    Solution:
    Convert the volume to NTFS with the convert utility.
    Open command prompt
    Type:
    convert drive /fs:ntfs
    where drive is the drive letter of the intended drive.
    "the recovery policy configured for this system contains an invalid security certificate" or "BAD_RECOVERY_POLICY" OCCURS
    Cause: The Encrypting File System (EFS) recovery policy implemented on this computer contains one or more EFS recovery agent certificates that have expired. These certificates cannot be used.
    Solution:
    Either renew the existing certificates or generate new certificates for the EFS recovery agents and reapply the recovery agent policy with those certificates.
    the acess denied message occurs when trying to open an encrypted file
    Cause: The file was encrypted by Encrypting File System (EFS) using a public key certificate and the associated private key for this certificate is not available on this computer.
    Solution:
    Locate the private key for the appropriate certificate and import it onto this computer using the Certificates snap-in.
    Cheers and regards,
    • » νιנαソѕαяα∂нι ѕαмανє∂αм ™ « •
    ●๋•کáŕádhí'ک díáŕý ツ
    I am a volunteer here. I don't work for Lenovo

  • Open multiple files at the same time

    Dear everyone,
    Suppose we have an array of millions of integers, we wanna create 10 files:
    0.txt (stores the integers in that array whose last bit is 0.)
    1.txt (stores the integers in that array whose last bit is 1.)
    2.txt (stores the integers in that array whose last bit is 2.)
    3.txt (stores the integers in that array whose last bit is 3.)
    and so on.
    One solution to this is to look at each integer and then decide which file to OPEN and to write to. But this will result in a waste of time spent on opening and closing files repeatedly.
    So I am considering if we can OPEN all those files in the beginning, and then look at each integer to decide to which file to write to. Once all integers have been gone through, CLOSE all files.
    But I am not so sure if this will lead to more memory use, whether or not all the file content will be loaded into RAM as the file is OPEN.
    Also, can anybody give me some idea how I can implement this.
    Thanks in advance!

    Dear everyone,
    Suppose we have an array of millions of integers, we
    wanna create 10 files:
    0.txt (stores the integers in that array whose last
    bit is 0.)
    1.txt (stores the integers in that array whose last
    bit is 1.)
    2.txt (stores the integers in that array whose last
    bit is 2.)
    3.txt (stores the integers in that array whose last
    bit is 3.)
    ......A bit can only be 0 or 1. If you want to interpret the low order as the file number, you'll need to rethink it:
    0000 --> 0
    0001 --> 1
    0010 --> 2
    0011 --> 3
    1001 --> 9
    1010 --> ?
    1011 --> ?
    ... etc.
    So I am considering if we can OPEN all those files in
    the beginning, and then look at each integer to
    decide to which file to write to. Once all integers
    have been gone through, CLOSE all files.Yes, you can do that.
    But I am not so sure if this will lead to more memory
    use, whether or not all the file content will be
    loaded into RAM as the file is OPEN.The files' contents are only loaded into memory if you explicitly do so by reading them. If you're just opening and writing, the files' contents will no be loaded into memory.
    Also, can anybody give me some idea how I can
    implement this.What specific questions do you have? It's not clear what you're trying to do or what trouble you're having.
    You might want to start here:
    http://java.sun.com/docs/books/tutorial/essential/io/index.html

  • Opening pdf files in the same monitor screen position.

    When I open a pdf file in Reader XI it appears on the right hand side of my monitor's screen.  If I open subsequent pdf files (while the first file is still open) the appear on the left hand side of my screen.  How can I get them to open on the right hand side (on top of the first pdf file opened?

    That to me seems like a bug in Yosemite.
    Apple Feedback http://www.apple.com/feedback/
    Bug Reporter https://bugreport.apple.com/

  • Opening different files within the same loop

    Hi folks,
    I am currently trying to automate a testing procedure using LabVIEW
    that requires the user to select the test from a drop down menu (Ring)
    and then clicks a button to start the test. When the button is pressed
    an 'open file' window appears asking for a name to save the file as.
    This all works fine the first time it is run, but i need to be able to
    stop the current test, select a new one, and then choose a different
    filename to save it as, without having to restart the program.
    I am currently using a timed loop (as the test is time specific) and
    case statements for each individual test routine. I can only think of 2
    ways to implement this, the first works only once (asking for a
    fliename when the program is first run), the second repeatedly asks for
    the filename each time the loop frame executes.
    So the process is: select test - click button - chose filename - stop
    test - select new test - click button - choose new filename -
    etc.......
    Thanks in advance,
    Darren.

    There can be many ways to do this
    One way would be, to keep the file read operation inside a seperate case stucture ( inside the while loop itself)
    and use a boolean switch ( mechanical action>> Latch) and read a new file at each click of this button
    look at attached VI, probably you can build on its logic
    Attachments:
    file read.vi ‏86 KB

  • I cannot open any .doc files on Firefox from any source such as yahoo mail, blackboard, and UW Catalyst, while I have no problem opening .docx files from the same sites. When then happens, I have to switch to explorer and it's really annoying.

    Cannot open Microsoft Word .doc files from any website (.docx are ok)

    That is a legitimate Mozilla newsletter. As it says in the email:
    You're receiving this email because you subscribed to receive email newsletters and information from Mozilla. If you do not wish to receive these newsletters, please click the Unsubscribe link below.
    Unsubscribe https://www.mozilla.org/en-US/newsletter/existing/ad9febcf-65ac-41fd-810b-798945f448f3/
    Modify your preferences https://www.mozilla.org/en-US/newsletter/existing/ad9febcf-65ac-41fd-810b-798945f448f3/ "

  • Is it possible to open multiple files in the same window

    I just upgraded from Reader 8.1.0 to 9.2 and whenever I open multiple pdfs it opens a new window.
    Is there a way to prevent this. If didn't happen in 8.1.0.
    Aditya

    Thank you for the brilliant idea.....
    How about in 9.2 ?

  • How to get a file in the same dir with the jar-executable

    Hi,
    I need to read/write a file that exists in the same directory with the jar-executable. How can i do that? I think that when i specify no path for the file, the file has to be in current path. (Is that right?)
    Note: I do not know in which directory the jar and the file are.
    Thanx in advance

    Hi,
    I need to read/write a file that exists in the same
    directory with the jar-executable. How can i do that?
    I think that when i specify no path for the file, the
    file has to be in current path. (Is that right?)
    Note: I do not know in which directory the jar and
    the file are.
    Thanx in advance
    When you specify no path for the file, the file has to be in the directory where the virtual machine was started. ( the directory the java command was invoked in .)
    If you can't control the directory in which the vm is started, but you know the name of the .jar file you can do the following. This trick takes advantage of the fact that if you are using classes in a jar file, the name of the jar file must be in your classpath.
    public static String getPathOfJar( String nameOfJar )
    throws Exception
    StringTokenizer st = new StringTokenizer(
    System.getProperty( "java.class.path" ) ,
              System.getProperty( "path.separator" ) );
    String jarfile = "";
    while ( st.hasMoreTokens() )     
    String token = st.nextToken();
    if ( token.indexOf( nameOfJar ) > -1 )
    jarfile = token;
    break;
    if ( jarfile.equals("") ) throw new Exception( "Jar not found in classpath" );
    String path = jarfile.substring( 0 , jarfile.indexOf( nameOfJar ) );
    return path;
    //To open a file in the same directory as the sun archive tools.jar
    File f = new File( getPathofJar( "tools.jar" ) + "someFile.txt" );

  • InCopy CS4 and InDesign CS4 cannot open file at the same time!

    I have 2 editors that make changes in my indd file. The one editor is able to open the file concurrently with myself (i'm in indesign) just fine. But when the other editor wants to open the file....I cannot open the indd file and vice versa. We are PC based.
    shane

    Yes, we are all working on the same server.
    And Yes on the Editor A / scenario 1  (Designer opens file and Editor A opens file concurrently). works fine.
    Editor A closes out of Incopy and so does Designer. Editor B opens the file and Designer tries to open the indd file and now the designer gets the warning: Cannot open document. You may not have permission or the document may be open already. This is the same error if the Designer opens the file first and Editor B tries to open it while the designer has it open.
    Editor A and B are able to have the file open at the same time no problem.
    Also this happens to all indd files that Editor B tries to open. So it is not linked to a problem with the file.
    one other note: on the server just above the indd file...when Editor B has the indd open in InCopy... a 'temporary' Indesign Lock File appears.
    shane

  • CRVS2010 - open multiple rpts at the same time, like sheets in a xls file ?

    Hi all,
    is that possible to open multiple reports at the same time, like sheets in a excell file ?
    Is that possible create tabs beside the MainReport tab ? or include reports in the Group Tree ? how can I do it ?
    The application is in asp.net with VS2010 and CR2010.
    The reports used to be in excell with three sheets and now we are migrating them to crystal reports, how can I create the report with those three sheets ?
    thanks !
    Subject modified as per the sticky post at the top of this forum; [Crystal Reports for Visual Studio 2010 Beta - read before posting|Crystal Reports for Visual Studio 2010 Beta - read before posting;
    Edited by: Ludek Uher on Aug 31, 2010 7:33 AM

    I'll make the suggestion to the Program Management group.
    You may want to do a post to the [Crystal Reports Design|SAP Crystal Reports; forum and ask them how they's fake that sort of a requirement. E.g.; there may be some way to make this report look the way you want, but it will be best to ask the experts. Don't mention CRVS2010 as they don't support it and most likely you will not get an answer.
    Ludek

  • How can I open multiple files as Photoshop Raw files at the same time for Photoshop CS6 extended on a PC?

    I am trying to open 20-25 files at the same time as Photoshop Raw [*.RAW] files.
    The only way I can open multiple files is if i leave the file type as All Formats. When I change it to  Photoshop Raw [*.RAW], the files a deselected.

    Use bridge. Select all the files then press ctrl-r or cmd-r to load the selected files into camera raw.
    If you try this in Photoshop use File>Open As then for file type choose camera raw. (I have not tested open as for opening multiple files)

Maybe you are looking for

  • How can my bf and I share are itunes on our computer together but with separate apple ID's so we DO NOT receive each others iMessages all the time?

    My boyfriend and I both share an itunes together on my mac book pro, is there away to have seperate apple ID's but both are connected to the shared itunes and have access to all of our purchases? I am asking this becaue since my boyfriend and I both

  • Delete DC from the track

    Hi Experts, I have created a DC in a Track. Now i want to delete it from the track. i referred to SAP note :864515. However applying SAP note for my DCs it throws the error as "Folder or subtree contains local only files or folders" whereas i can sti

  • Unable to load ADFS 2.0 in Windows Server 2.0

    I am trying to federate a domain in Office 365. The AD FS servers are running Windows 2012 R2 and AD FS appears to be working properly. The errors I receive are shown below. PS C:\Windows\system32> import-module msonline PS C:\Windows\system32> Conne

  • How do I transfer library from my old ipod to new one?

    Hi I was given a new ipod nano for christmas which I have registered but I can not work out how to transfer the library from my old nano to my new nano. I have a new laptop which doesnt have all the original files on so wonder if it is even possible?

  • JDBC OCI on Linux crashes, pls help

    Hi! I'm trying to use jdk 1.2.2, and jdbc2 of 8.1.6(classes12_01.zip), on linux Oracle8i 8.1.5, and at some moment the app crashes with a SIGSEGV, after making several sqlqueries: SIGSEGV 11* segmentation violation si_signo [11]: SIGSEGV 11* segmenta