Requirement: New tool to migrate attachments within KM repository

Dear Colleagues                                                                               
I need to write a new migration tool to migrate atttachments in KM.(NW               
04s SP10) I will give you an example                                                                               
Currently the attachments are stored as follows                                      
/documents/cprxrpm/<portfolio guid>/Item/<item guid>/abc.txt
or                                                                               
/documents/cprxrpm/<portfolio guid>/Element/<item guid>/ccc.txt
                                                                                The problem with the above was that there was language dependent text in the above url (Item in English and Element in German). So the above 2 attachments will have to be moved to
/documents/cprxrpm/<portfolio guid>/RIH/<item guid>/ccc.txt
/documents/cprxrpm/<portfolio guid>/RIH/<item guid>/abc.txt
And the folders from which the attachment is migrated will have to be                
deleted. The whole path. Since all the attachments are attached at the               
end of the path.                                                                               
I know such a thing be done using KM API's. There are 100's of such attachments lying in various language dependent paths to be moved to the language independent folder.                                            
Can someboby point me to the right API's and some sample code which must be already existing?
Also can this be a webdypro dc or will this have to be a EP dc?
                                                                                Thanks and alot
Prashanth

Hi Julian,
This is a 1 time task. But as i explained i have to write some programming logic to move the files and ship it to the customer.
Customer will have a button on a iView like migrate and this program should be called where in i have to loop over all the content, check if there are attachments and move the same to the language independent path
/documents/cprxrpm/<portfolio guid>/RIH/<item guid>/ccc.txt
/documents/cprxrpm/<portfolio guid>/RIH/<item guid>/abc.txt
This has to happen within the same repository. Just that attachment s have to be moved from one folder stucture to another.
If you answered in the same direction then i did not understand , maybe you can give me a link on how o do it.
thanks
Prashanth

Similar Messages

  • How to migrate attachments from legacy system to SAP.

    Hello experts,
                            We have a requirement to migrate attachments from a legacy application to SAP .Attachments are in the form of a PDF, xls, powerpoints. These are to be attached to accounts, opportunities etc.
       Please provide your inputs on how this can be achieved.
    Thanks in advance.
    Chandana.

    RH,
    Do a search in this forum for the class CL_CRM_DOCUMENTS.  That should give you some more ideas on document upload into CRM.
    Take care,
    Stephen

  • Issue in Migrating Attachments from Siebel to SAP CRM

    Hi All,
    We are doing Data Migration for Attachments into SAP CRM from Siebel. and have an issue for migrated attachments showing blank pages while opening in SAP CRM.
    We  have used all the formats of converting the data into binary and loading the attachments from Application Server.
    But the PDF/File open with blank pages.  The no. of pages in the original attachment and the migrated file from application server matches.
    May i know the best approach of meeting the above Requirement .. Its prioritized issue !!
    Thanks a lot !!

    Go to sm58-->Select IDOC_INBOUND_ASYNCHRONOUS this function module, in menu mar select edit--> execute LUW.
    or take help from sap basis team, can you please check user in the source system have authorizations profile. 'S_BI-WX_RFC' for this u can refer sap note :150315.
    if you need more information refer this document:
    How to check a BW - SAP source system connection - SAP NetWeaver Business Warehouse - SCN Wiki

  • ITunes requires new version of Apple Mobile Device Support....

    Hi - I have just bought an iPod touch. I a;ready have a classic and a nano but as iTunes 9 was out I thought I'd upgrade to that before syncing the new Touch. However now I get the error:-
    iTunes requires new version of Apple Mobile Device Support. Please uninstall both Apple Mobile Device Support and iTunes, then install iTunes agan.
    So I did this following the procedure on the Apple Suport pages which referenced exactly this error message but from an earlier version (7 I think) of iTunes).
    Basically, I used control panel to uninstall all the bits (including iTunes, Apple MDS, Quicktime and Bonjour) in the order it says. Rebooted, checked that program folders and files had really gone, downloaded a fresh copy of iTunes and installed - exactly the same error.
    My Classic syncs fine. The Touch also syncs fine on a laptop I have on which I have iTunes 9.01 at the moment. The Touch is being detected because I get the USB conect sound and the error message in iTunes pops up as soon as it is connected.
    The Apple Mobile Device Service is running (it was not running when I checked staright after the install, but I manually started it (it is set ot Auto start)) using .exe version 2.12.36.0
    PC is a Windows Vista 64 running iTunes 9.02. The iTunes pack I downloaded was called iTunes64Setup so I'm guessing its the right one.
    I always seem to be tearing my hair out when I get a new iPod or new iTunes. Not much left now so has anyone got any ideas?
    Thanks very much,
    Stuart

    Found the solution in my case. I followed the Apple uninstall procedure again:-
    http://support.apple.com/kb/HT1925
    and found that the Apple Mobile Device Support did not uninstall properly. I needed to download an MS utility called Windows Installer Cleaup Utility
    http://support.microsoft.com/kb/290301
    (there was a post somewhere on here about it so thanks to that person).
    When I rebooted, I found however that the Mobile Device Service was still installed and running and the installed files were present in C:\Program Files (x86)\Common Files\Apple.
    So I Stopped the service (Control Panel, Administrative Tools, Services, Right click on the service and choose Properties, then click Stop. For good measure I also set it to Disabled (overkill) using the dropdown which will probably say Automatic when you look at it.
    Then I found a Microsoft utility called SC.exe which is available in the Windows resource kit and can also be found here:-
    http://www.petri.co.il/downloadfree_reskittools.htm
    This is a command line tool, but easy to use. Unzip the sc.zip file, place sc.exe somewhere handy where you can find it from a command prompt and then open a command line (Start, Run..., type "cmd" Enter). Go to the folder where you put sc.exe and type the command:-
    sc delete "Apple Mobile Device" (you need the quotes).
    This deletes the service from the services list in the registry (you can check by closing the Services box and opening it again).
    Now go to c:\Program Files (x86)\Common Files and delete the folder and subfolders called Apple.
    OK - should have given your system a full clean out.
    Then reinstall iTunes.
    That was easy - but I guess I can forgive Apple for not being able to upgrade a version of iTunes without messing up - it's only version 9.0 after all, I'm sure it'll be OK in the next release. Seems like they're learning some tricks from Microsoft.
    You folks in the US and Canada are luck however because you can get some help with this stuff. There's no help from Apple if you're in the UK.

  • Just purchase new iMac and migrated. I want to strip my 2 year old iMac of personal files and photos and take to my office. Is there a simple method? Thx

    Just purchase new iMac and migrated. I want to strip my 2 year old iMac of personal files and photos and take to my office. Is there a simple method? Thx

    The simplest way, is to erase the drive and reinstall the OS X.
    Mac OS X v10.6 Snow Leopard: How to Erase and Install
    Other than that, you will have to trash all your User files, delete all the photos from within iPhoto and then empty the trash.

  • New G/L Migration

    Dear all,
    We are in ECC 6.0 from past 2 yrs and we are planning to activate the new G/L as it has not been activated before.
    1. I want to know the steps ,Pros & Cons and do & don't of new G/L migration from clasic G/L.
    2.Is there any program which can split the closed line item in accordance with the new G/L of the pervious period (Closed or Open)and Year .
    3. Whether B/S items will also be splited (closed & open) accordingly.
    4. PCA is not been activated in our organisation,is it mandotary to activate the PCA for activating new G/L.
    5. If so ,can i deactivate the PCA for a specific company code. We have 28 Company codes.
    6.Any technical difficulties will arise while performing the migration .....If so,pls mention in details.
    7.What will be the approp time for me to swithing from classic to new G/L.
    8. SAP recommends 3 to 6 month before the fiscal year end the migration activities  has to be started,in that case,whether my year end closing has to happen on 31.10.08 itself and what about my posting that i have to post for the pervious fiscal year,once the New G/L is activated.How the system will treat the old entries for previous year after avctivating my New G/L?
    9. We also want to split the balance of Business Area  to New Segment or PCA(if activated).
    Our fiscal year is NOV-OCT.
    Pls advice ....
    Regards
    Pran

    This has been asked in various ways over 1000 times already.  please search first and then post a single question at a time.

  • I just bought a new Mac and migrated my CS6 over.  Now when I open it, I'm told I'm running a trial version of Cloud.  Why can't I use my CS6 version that I purchased?  I don't want to pay for something I've already bought.

    I just bought a new Mac and migrated my CS6 over.  Now when I open it, I'm told I'm running a trial version of Cloud.  Why can't I use my CS6 version that I purchased?  I don't want to pay for something I've already bought.

    Here's how to convert the Trail to Permanent:
    On receiving Trial/Trial Expired screen
    Make sure that you are online
    Click on license this software
    Perpetual product owners: Log in with adobe ID and enter product serial number
    Product should be licensed successfully

  • How can I add a new column to an Attachments Table

    How can I add a new column to an Attachments Table??
    And I want to remove the usage column also!
    Thanks!

    I tried to remove the usage column doing this:
    OAAttachmentTableBean attachTable = (OAAttachmentTableBean)webBean.findChildRecursive("attachTable");
    if (attachTable != null)
    attachTable.findChildRecursive("UsageTypeColumn").setRendered(false);
    but I'm getting null pointer exception on "UsageTypeColumn"...
    :(

  • Is it possible to annotate pdf documents that are received as attachments within the main document?

    Hi There
    I am using the latest adobe reader app for iPad v11.6.4 and  I have recently received a meeting agenda by email which contained attachments within it.
    The agenda was prepared by a friend using the 'attach a file' function in acrobat.
    I can annotate the main agenda document, but when I click the paperclip icon at the bottom right hand side of my iPad, this opens the attached documents, but each time with the message "modifying this document is not allowed because it is an attachment".
    Is there anyway to enable annotation on attached documents within the version I am using, or is there a different version available which has this functionality?
    Thanks
    Paul 

    Hi,
    Currently, the Adobe Reader mobile products (for iOS, Android, Windows Phone) do not support any changes (e.g. adding annotations) to attached documents, as the message indicates.  Sorry for the inconvenience.
    As a workaround, you could save attached PDF documents as individual PDFs in Adobe Reader on a Windows or Mac desktop computer and transfer them to your iPad.

  • How can i add a new tool in adobe illustrator tool box ?

    Hi,
    I want to create a new tool in Adobe illustrator tool box, which calls another application. I am a beginner in Adobe illustrator plug-in programming.
    Please help me................
    Thanks in advance
    Sreejesh K V

    Much easier with a toolkit but you could use ADO objects,
    get connection, make a SQL object "INSERT record INTO table where  ...." 
    Execute the parameterized query
    Free up record sets data
    close connection when done.
    This is a very simplified version
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • In Yosemite Mail, there is an issue where the signatures no longer toggle as in the past. If you change the existing signature, it just adds the new one vs replacing it within the body of the message. Thoughts?

    In Yosemite Mail, there is an issue where the signatures no longer toggle as in the past. If you change the existing signature, it just adds the new one vs replacing it within the body of the message. Thoughts?

    Hi howe.sc,
    When I checked for how signatures in Yosemite work, I found this.
    Mail (Yosemite): Include signatures in messages
    Delete a signature from a message: Select the signature, then press the Delete key.
    Replace a signature in a message: Delete the existing signature, then add a different signature.
    That sounds similar to what you are describing.
    Take care,
    Nubz

  • To fix a wonky horizon... New tool?

    Hey guys,
    Photoshop as it stands is an excellent tool for design, retouching etc, but may I suggest a new tool that could help us people who love to create panoramas?
    A wonky horizon tool is what we need!
    Not all horizons from panoramas end up straight, curved or just up down wonky. But a tool that is a mix between the Pen Tool and Crop Ruler, would do the trick. i.e. you use the Pen Tool to draw along the wonky horizon, click 'straighten' and voila! Horizon is now straight.
    Would this be possible in the realms of Photoshop? Would save many hours of headaches when PS doesn't Photomerge correctly.

    I use CC and LR5 (full CC suite) and no, those ONLY straghten the straights and is more one dimensionsal (apart from profile corrections).
    What I'm after is a tool that will straghten 'squiggly'lines.
    EDIT: the closest thing to this is the Adaptive Wide Angle Filter, but that just ruins it. Can also use Puppet Warp, but again, quite restrictive.
    Like in this image, no tool that I can find will fix this with ease, just a heap of warping will get it done, but degrades the final image:

  • Please help  ! Can I cut-off New G/L migration date during fiscal year ?

    Dear Experts
    I know that the principles of migration date of New G/L migration should be on first day of fiscal year and Year-end closing of the old fiscal year must be complete before New General Ledger Accounting is activated.
    However, if I need, can I cut-off new G/L migration date during fiscal year before year-end closing ? And Which points should be concern.
    Best regards,
    Suphawat

    Hi,
    First you should have installed the cockpit., you should have completed the testing and migrated the transports before the end of the Fiscal year which is 31st March in your case.  Depending on the scenario, this will take 20 - 40 days.
    You can begin the migration once your year end activity is performed.
    If you have not installed the cockpit and completed the configuration and tested it.. forget it for this year, do it next year.
    Hope this is clear now.
    Edited by: Jayaraman N on Apr 7, 2011 10:41 AM

  • Can I cut-off New G/L migration date during fiscal year ?

    Dear Experts
        I know that the principles of migration date of New G/L migration should be on first day of fiscal year and Year-end closing of the old fiscal year must be complete before New General Ledger Accounting is activated.
        However, if I need, can I cut-off new G/L migration date during fiscal year before year-end closing ? And Which points should be concern.  
    Best regards,
    Suphawat
    Moderator: Please, search SDN

    Hi,
    First you should have installed the cockpit., you should have completed the testing and migrated the transports before the end of the Fiscal year which is 31st March in your case.  Depending on the scenario, this will take 20 - 40 days.
    You can begin the migration once your year end activity is performed.
    If you have not installed the cockpit and completed the configuration and tested it.. forget it for this year, do it next year.
    Hope this is clear now.
    Edited by: Jayaraman N on Apr 7, 2011 10:41 AM

  • Reg : New G/L Migration

    Dear Gurus,
                    Please advice the Procedure for Getting the Access key for New G/L Migration from 4.6c to ECC 6.0.
    Is it compulsory to hire SAP New G/L Migration Back office service for Implementing New G/L Migration?
    Thanks in Advance,
    Nambi.N

    In SAP config and SAP help you can found information. There are 2 SAP courses one for new general ledger and one for integration in to an existing SAP system.
    If you need extra support is dependend of your situation and what you want to do with new G/L..
    When you implement new G/L I advice to to activate the extension EA-FIN to
    When you activate new G/L, you can still update paralel the old G/L tabels!

Maybe you are looking for

  • Windows 8.1 Deploy and Capture stops with no error

    I have a standard deploy and capture TS for Windows 8.1 using the volume media 'install.wim' file. The only modification I have made is to add a few applications into the TS. Once started from WinPE, the TS goes smoothly, deploying the OS and the app

  • TV series missing from Videos App?

    Several months ago I purchased several TV series using my iPad and downloaded them all. My iPad has not been synced to my computer, ever, nor do I use home sharing. I experienced no problems until tonight, when I went to watch one. The rest of my TV

  • Installed iTunes on XP laptop, connected iphone 4s, PC locks up.

    Installed iTunes and connected iphone 4s and it starts syncing, gets to step 2of6 and freezes. My wifi connection goes away and the only way to unfreeze it is to unplug the battery. After booting back up I have to uninstall iTunes in order for wifi t

  • Problem with very sloooow printing of pdfs in Acrobat 7 Pro and 9 Pro

    Some pdfs print with no problem but others are painfully slow. We find that some that are slow with Adobe 7 Pro print fine with Adobe 9 Pro, while others are slow with Adobe 9 Pro but print fine with Adobe 7 Pro. Still others are slow with both. A hu

  • Blocking Calls Inbound - ??

    Hello: Is there a way to block calls inbound on the gateway router (coming in via the Pri)coming into an ip phone? Or is this something that needs to be configured in the CCM for that particular phone. Trying to block some 1-800 numbers from calling