Problem in committing a new document in third party repository through Ente

Hi all,
I am trying to create a document in third party repository through enterprise portal GUI. The steps I am following are:
     1. I go to repository integrated with the Enterprise portal.
     2. Then go to Folder -> New -> HTML File.
     3. Here it asks me to enter Name of the document and the Contents of the document.
     4. Then Click on Save
I am trying to implement this functionality by using RF (Repository Framework).
I have implemented  createResource() method NameSpaceManger.java class. The signature of this class is:
     NamespaceManager extends AbstractSubManager implements INamespaceManager,IMutableNamespaceManager{
The Code:
if ((d instanceof IResourceCreateDescriptor) || (d instanceof ICollectionCreateDescriptor)) {
          IRid parent = d.getDestinationDescriptor().getParentCollectionRid();    
          String name = d.getDestinationDescriptor().getChildName();
name = UriCodec.Decode(name);
ACEPHandle handle = (ACEPHandle)this.repositoryManager.lookup(parent);
          ACEPNode node = handle.getNode();
if (!node.isCollection()) {   
               throw new ResourceNotCollectionException(parent,        
                    "parent is not a collection!");  
IAccessContext  context = AccessContextFactory.getInstance().getContextOrNullIfUnavailable();
com.sap.security.api.IUser sapUser  = context.getUser();
com.sapportals.portal.security.usermanagement.IUser epUser = WPUMFactory.getUserFactory().getEP5User(sapUser);
ResourceContext resourceContext = new ResourceContext(epUser);
RID rid = RID.getRID(node.getRid().getPath()RID.PATH_SEPARATORname);
IResource resource = ResourceFactory.getInstance().getResource(rid,resourceContext);
IContent content=  resource.getContent();
InputStream iStream = content.getInputStream();
byte[] byteArray = new byte[51200];
          int bytesRead = -1;
          try{
          while ( (bytesRead = iStream.read(byteArray, 0,51200)) != -1) {
               byteArray = new byte[51200];
          }catch(IOException e){
The Error I am getting in the logs is:
<b>ContentRetrieval: Unexpected HTTP status 500 Internal Server Error: HRESULT [0x8004022f]</b>
Please advice me the right way to proceed further.
Thanks and Regards,
Ravi

Please print out the Verbose Stack Trace generated when you run this application.
I suspect that you FolderPathResolver is not pointed at the directory you think it is. You might want to try printing out
I_CurrentFolder.getAnyFolderPath();
and I_CurrentFolder.getName();
null

Similar Messages

  • Sending Data from BI to Third Party System through CIB Interface

    Hi Experts ,
    We have a requirement where we need to send data from BI to any Third Party System through CIB Interface . We do not have to use the OHD's . Please share the documents for the same .
    Regards
    Garima

    Hi,
          My problem is solved.
    Sol:  Getting wrong data from third party sytem. They are adding spaces in front of the payload and end of the payload so it was not processing. After deleting that spaces its is working fine.
            Thanks for your help.
    Thanks & Regards,
    Purshothamm

  • How to access third party plugin through vc++ Programming

    Hi,
    i am new to vc++ and InDesign, i am using windows xp as OS and Indesign CS3 as version
    now my work is to access the Third Party plugin styles, the third Pary plugin is all about InMath, that is all for mathematical relations using inmath plugin styles, my work is to accessing the styles through programming by using a InMath header files,
    i tried to the best of myself, but i not get the solution,can u please give some thing usefull do this.
    is it possible to access third party plugin through VC++ prgramming usign a single header file??
    regards,
    ram

    Hi,
    Can anyone please help me to accesss InMath styles in InDesign SDK using VC++ Programming.
    Thanks
    Saravanan

  • Connecting to the Third Party Applicatin through Portal

    Hi,
    Does anyone know how do we connect to the Third Party Application through Portal? WHat technology EP uses to connect to the third party application and retrieve data from the system to display?
    ALso if i have 2 application connected to the portal and if I retrieve one record from one application, then i want Portal to bring information related to that record from another application. In that case, do we have to maintain referential information about the records in both the applications, so that Portal will know which record id to pull from another application? How does it work?
    Thank you very much in advance.
    Shakil

    Hi ,
    Have a searched sdn before posting this? have a look and post your message if your requirement dont match with below solution.
    Want to access non SAP system from EP
    Regards,
    Koti Reddy

  • Interfacing to a third-party system through a shared SQL Server DB Table

    Guys, I have been given a task of interfacing to a third-party system through a shared SQL Server database table.I had never come across such implementation.Can anyone please let me know the methodologies involved in it.
    Thanks,
    Jack.

    This line:
    stmt.executeQuery(query);
    should be:
    stmt.executeUpdate(query);

  • Problem with saving a new document

    hey i just wrote a new document and when i try to save it, it says "the file 'untitled' can not be opened because it has been deleted" which is really confusing me because i am not trying to save it as untitle nor am i trying to open anything.
    Thanks

    Welcome to Apple Discussions
    This is a problem with no specific cause. It usually is fixed by using Disk Utility to repair permissions and deleting the AppleWorks 6 preferences. See my user tip, AppleWorks has stopped working correctly, for more on the preferences.

  • Problem opening or creating new document

    I am having constant issues opening existing, or new documents. I can do File>New several times and nothing happens, Ctrl+N several times and the dialog finally comes up but then never creates a new document, Ctrl+O for opening any document type does the same, as well as double clicking on an existing file, psd, png, jpg, etc...
    If I restart my computer it works fine for maybe a half an hour and then this starts to happen again. I've done some searching and have tried all of the solutions I've found with no results.
    Reset Preferences (alt+ctrl+shift) on launch
    Deleted the AppData settings folder
    removed all plugins - only have official ones
    Reinstalled Photoshop CS5.1 several times
    Formated computer with a fresh install of windows 7. only thing I installed was PS5.1
    Runing under an administrator account with UCAS disabled.
    Scanned for malware and virus using Malwarebytes, and Nod32 (before and after formating)
    System specs
    Windows 7 Home Premium (all up to date)
    Intel Core i7 975 @ 3.33 GHz (quad)
    Ram: 12 GB DDR3
    Video: Nvidia GTX 480 (most recent drivers)
    I can provide dxdiag or other info if needed
    This is incredibly frustrating and I seriously need some help.

    No, this is more likely something specific to their system or their install of photoshop which is causing windows and dialogs to not appear, or events to not be processed correctly.
    (and the last time I saw something this ugly, it was malware in a pirated download)
    This only started happening recently, to a few people.
    So what changed on their systems, or what is different on their systems?
    Since we don't have their systems, they're going to have to answer what is diffferent or changed.

  • Issue for creation date of Billing document in third party ???

    Hello SAP Folks,
    This issue is related to third party scenario. The basic requirement is to create to a billing document with a creation date same as
    Good issue date of Sales Order.
    For your information, with the help of enhacement we have passed on the value of posting date of material document generated
    from MIGO to Goods issue date in Sales Order. I am very much aware that setting up a new copying routine would help me but
    relating the GI date field of Sales Order from the techincal point of view is a complete work stopper. Could anyone throw light on
    the workaround for mapping this case ???
    Regards,
    Sarthak

    Hello,
    Thanks Alex for your input on the topic !!
    But i would like to say that the billing relevance of the item category has to "B" as this process of Third part Sales talks about creation of billing document after the MIGO. And i am basically interested to Populated the posting date of MIGO for Biling creation date. 
    In Sales Order, the GI date is modified to Posting date of MIGO through enhancement. I have been looking around relevant tables to fetch the GI date of Sales Order but not getting the right track...
    Could anyone provide any other workaround to implement this sort of requirement ???
    Eager to hear from Lakshmipathi ...
    Regards,
    Sarthak

  • Commitment Interface from SAP to third party system!

    When we created Purchase Requisition or Purchase Order, the commitment will be created. The third party system needs to track the commitment. So SAP needs to send the commitment to the third party system by this interface.
    But when the Goods have been delivered, the commitment will be zero out and the actual will be posted to SAP. SAP needs to send the offsetting records to the third party system. In this way, the third party systems knows that how much commitments have been reduced.
    My problem is that I cannot find the right table to record the offsetting entry. In the table COSP, I can identify the commitment by the Business Transaction -- RMBA and RMBE. But it did not record the offsetting entry. It just becomes zero when the goods have been delivered. But I have nothing from that table to send to the third party system.
    Does anyone meet this problem before? Can you share some experience on this?
    Thanks

    Hi ,
    As pointed ...above you can for a file to file scenario you can create just the Business service in integration Directory and create two file communication channels for sender and reciever  under it.
    However if it was file to idoc or file to rfc ..
    then you need create ts web as abap ..identifying your R/3 system
    System Name: <you can give a 3 character id here of r/3 system ...i.e like IDS>
    System Home : <can be found in status of R/3 system>
    Installtion Number : In transaction Slicense in R/3
    Host Name : Same as System home can be specified.
    Message Server: <3600+instance Number can be found in the log pad to the r/3 system itself >
    associate a bussiness system with this ...create a product and a software component version ...In swcv in respository ..develop your object under it ...
    Import this business system in Configuration ..and create your communication chanel under it.
    Regards ,
    Deepak

  • No CO-PA document on Third party Sales Order

    We are doing Third Party Sales orders with Purchasing and Invoice REceipt, via the following process.
    1 Sales order, 2) automatically creates the req via sales order, 3) delivery of sales order, 4) create the purchase order from the req. 5) post goods issue on the delivery, 6) Post goods receipt on purchase order, 7) bill and 8) invoice via miro. 
    the issue we have is that the variance(cOGS-PPV) account on the Miro does not go to CO-PA .  
    I believe that it is due to the Third Party sales order .  re- oss 322497 and 772345.
    Has anyone found a solution or have a similar problem.
    I know that this is different from normal third party which does not deliver and receives PO and MIRO before the billing.

    Hi Jeffrey,
    If the corresponding purchase order belongs to a third-party deal,     
    please have a look at note 322497.                                     
    This would explain the behaviour that you are describing.                                                                               
    As explained in the note, during goods or invoice receipt for a        
    third-party transaction, as of Release 4.6, the system no longer       
    writes a line item in the costing-based profitability analysis.                                                                               
    Unlike the processing of a third-party deal in front of release 4.6 the
    update of the goods receipt or the invoice receipt is not therefore    
    anymore required from the release 4.6 in the costing-based profitability
    analysis.                                                              
    You may find further information on the topic in SAPNET            
    (intranet.sap.com/co-pa):                                          
    within "Actual Data","third party business/business background"    
    Regards,
    BC

  • Error getting when saving the sales document in third party sales order

    in third party sales order,when i am saving the sales order i am gettingthe following error
    subsequent function 'purchase requistion from sales document' not possible due to credit block.earlier i have maintained credit checks for some customers,but for this customer i have not maintained any credit check. i dont know why system is blocking for this customer also.pls help me where i went wrong.
    highly rewarded if help full.
    thank you

    Please go to FD32, check any default risk category and credit limit is maintained for the customer.
    Also check OB45, any default risk category & credit limit is maintained for the credit control area.
    Also, which order type u r creating sales order? for that order type, Goto VOV8, remove the credit grp and credit check settings.
    Also goto XD02, check in sales area data, billing tab, credit control area field, please remove that also.
    Hope it Helpful.
    Reward points if useful..

  • Documents in Third Party Processing.

    Hi
           What are all the documents that get created in Third Party Sales Processing?
    I am confused as to whether we create a delivery for the purchase order following sales order or we do just goods receipt followed by invoice receipt. Don't we create the delivery that is made by the vendor to the final customer.If yes, is it done wrf to purchase order from VL10B or wrf to sales order from VL01N.
    Plz clarify.
    Regards
    Mahesh.

    Hi,
    hi
    Customize the third party sales in summary:
    1. Create Vendor XK01
    2. Create Material – Material Type as "Trading Goods". Item category group as "BANS".
    3. Assign Item Category TAS to Order type that you are going to use.
    4. A sale order is created and when saved a PR is generated at the background
    5. With reference to SO a PO is created (ME21N). The company raises PO to the vendor.
    6. Vendor delivers the goods and raises bill to company. MM receives the invoice MIRO
    7. Goods receipt MIGO
    8. Goods issue
    9. The item cat TAS or Schedule line cat CS is not relevant for delivery which is evident from the config and,   therefore, there is no delivery process attached in the whole process of Third party sales.
    10. Billing     
    SD -  3rd party sales order Create Sales Order
    VA01
         Order Type
         Sales org, distr chnl, div
         Enter
         Sold to
         PO #
         Material
         Quantity
         Enter
         Save
    SD -  3rd party sales order View the PR that is created with a third party sales order
    VA01
         Order Number
         Goto Item Overview
         Item ->Schedule Item
    SD -  3rd party sales order View the PR that is created
    ME52N
         Key in the PR number
         Save
    SD -  3rd party sales order Assign the PR to the vendor and create PO
    ME57
         Key in the PR number
         Toggle the "Assigned Purchase Requisition"
         Execute
         Check the box next to the material
         Assign Automatically button
         Click on "Assignments" button
         Click on "Process assignment"
         The "Process Assignment Create PO" box , enter
         Drag the PR and drop in the shopping basket
         Save
    SD -  3rd party sales order Receive Goods
    MIGO_GR
         PO Number
         DN Number
         Batch tab , click on classification
         Serial Numbers tab
         Date of Production
         Flag Item OK
         Check, just in case
         Post
         Save
    SD -  3rd party sales order Create Invoice
    MIRO
         Invoice Date
         Look for the PO , state the vendor and the Material
         Check the box
         Clilck on "Copy"
         Purchase Order Number (bottom half of the screen)
         Amount
         State the baseline date
         Simulate & Post
         Invoice Number
         *Invoice blocked due to date variance
    SD -  3rd party sales order Create a delivery order
    VL01N
         In the order screen , go to the menu Sales Document , select "Deliver"
         Go to "picking" tab
         State the qty and save
    SD -  3rd party sales order Create a billing document
    VF01
         Ensure that the delivery document is correct in the
         Enter
         Go to edit -> Log
         Save
    Reward points if helpful.
    Regards,
    Amrish Purohit

  • Showing documents from third party DMS

    Hi All,
    We have a requirement where we want to show the documents in EP from a third party DMS.
    Can anyone guide how to proceed on that?
    Regards,
    Piyush

    Hi,
    this depends on what your third party DMS is.
    What you normally would need is a repository manager: http://help.sap.com/saphelp_nw2004s/helpdata/en/30/a12ddeea29534eaa33c67fefed3504/frameset.htm
    SAP provides some repository managers in the standard. One that could be used is the WebDAV Repossitory Manager if your DMS supports this.
    Some DMS vendors provide Repository Managers for the SAP NetWeaver Portal. Therefore it could be a good idea to ask your vendor if there is something available
    Kind regards
    Karin

  • Coding to scan document from third party in SAP

    Hi,
    Plz send the coding to scan from the third party (scanner) into SAP and that scan copy should need to store as a JPG file format in one folder.
    Thanks in advance

    Hi Madan,
    i also have similar requirement like this, i have to transfer scaned copy of document from DMS system to SAP system               if u got he solution ,please update the same.
    thanks and regards.
    Bharath

  • New update adds third-party remote support. I could use mine already!

    I am a little confused.
    Appletell states-
    "The update also allows users to use third party remotes with their Apple TV, which has been a long standing request from many users"
    This is saying, to me, that you can use a third-party remote to control TV functions.
    If that's the case, I have been doing that ever since I got it, using my universal remote for all my tv-connected devices including my TV (I got it to learn the Apple remotes signals). Could someone please elaborate on this?

    It's not really for universal remotes - which normally come with a database of codes to use with a wide variety of devices. It's for the remotes that can normally control another device - for example:
    My Samsung TV remote has the ability to control a Samsung DVD player. Although i haven't got the DVD player, the buttons are on the remote anyway (Play, Pause, Fast Forward, etc).
    I can now map those buttons the the ATV - in fact i gave it a go and it worked fine. However, i've put that back in the cupboard as i have a universal remote like you thats been doing it for ages.
    Cheers

Maybe you are looking for

  • How can i do to automatically see connected PCs on my network?

    Hi, all I've a problem, and i hope you'll be so kind to answer: i've just bought the new MacBook, but as i connect to my LAN i can't see in the Finder "lateral bar" the other PCs connected to the network. If I click "cmd+k", and digit "smb://computer

  • Can I recover deleted notes on my iPod if it's not backed up?

    Earlier today, when typing on my iPod using the notes app, my iPod began to freeze up and in the process tried to email the note. I selected to delete the draft but when it returned me to the note it proceeded to erase my entire note, not delete it.

  • Creation of Company A as a Vendor(XK01) in Company code B

    Hi Experts Can you explain the process of creating Company A as a Vendor(XK01) in Company code B. I will surely assign points for the correct answer. Thanks Rajanikanth K

  • Crash with hard disk errors (ATA exception)

    My Arch just crashed displaying in a TTY errors like this: [ 24.229347] ata2.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0 [ 24.229397] ata2.00: irq_stat 0x40000008 [ 24.229426] ata2.00: failed command: READ FPDMA QUEUED [ 24.229463] ata2.00:

  • WSDL generation - issue

    Hi, We are generating WSDL after creating web service in ECC 6.0. We would like to know how can we control the upper/lower case in XML tags when we generate WSDL? Is there any SOAP runtime configuration we have to set? Any kind of help would be appre