API to retrieve data from SAP content server

Is there an API available to retrieve data from SAP content server?

Hi
you could check out function groups starting with OPT.
F.eks. OPTB, OPTC, OPTD
Also check function group ARCHIVOBJECT.
best regards
Thomas Madsen Nielsen

Similar Messages

  • How to Access data from SAP Content Server through SAP Portal

    Hi Experts,
    I want to aceess the data from SAP Content server through portal. Currently I am working on LSO business package. The SAP content server should work like Webdav as we uses KM as webdav.
    I am trying to use this URL into the CMS address but it is not working
    http://XXX-XXX-XXXX:1090/ConTentServer/ContentServer.dll?adminContRep&operation=docIdList&contRep=ZADGAS_LSO
    Is there any other procedure for acceesing the DATA  from SAP content server. ?
    Thanks,
    Ahmad

    If your Content Server is being used by DMS, then you can use the DMS Connector for KM.  This connector allows all documents stored in DMS to be accessed in Portal as if they are stored in KM.  For more info see this:
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/42/d289b446076bb2e10000000a1553f6/frameset.htm
    Andrew

  • How to retrieve Data from SAP BW to  SQL

    Hi All,
    i am looking for way to retrieve Data from SAP BW to SQL.
    Could you please give me some indcations or a document on how to implement it?
    Thanks in advance
    Cheers
    Gilo

    Hi,
    You need to use open hub destination. third party tool destination for SQL
    SAP BW TO SQL -- Extraction to the third-party tool can be executed as follows:
           1.      You define an open hub destination with Third-Party Tool as the destination type.
           2.      You create an RFC destination for your third-party tool and enter it in the definition of the open hub destination.
           3.      You use API RSB_API_OHS_DEST_SETPARAMS to define the parameters for the third-party tool that are required for the extraction.
           4.      You either start extraction immediately or include it in a process chain. You can also start this process chain from the third-party tool using process chain API RSPC_API_CHAIN_START. The extraction process then writes the data to a database table in the BI system.
           5.      When the extraction process is finished, the system sends a notification to the third-party tool using API RSB_API_OHS_3RDPARTY_NOTIFY.
           6.      The extracted data is read by API RSB_API_OHS_DEST_READ_DATA.
           7.      The status of the extraction is transferred to the monitor by API RSB_API_OHS_REQUEST_SETSTATUS.

  • Error retrieving data from the web server in Excel fo BPC

    Hello Everybody,
    I'm working with BPC v7.5 , i created some reports with the EVDRE formula and they were working perfectly.
    The problem started when i created new users, that in fact have the same access profile and task profile as my user.
    i started to test these new users in excel and every time i expand the report this legend appears: " EVDRE Retrying... EVDRE encountered an error retrieving data from the Web Server. Retrying in (X) Seconds...". After waiting a while a push cancel, then appears a window with the legend: Ev4excel Addin, Errors found retriening data.
    The funny thing is that when i login back to my user everything works fine again, any idea what could be the problem? the other user have the same permissions.
    Thanks a lot in advance!!
    Nidia Olguí

    very strange. Normally the member access profile must be diifferent. So it is not important the task profile but the member access profile. Can you please double check ?
    If you are doing a simple EVDRE with users having problems is it working or you still have problems?
    Regards
    Sorin Radulescu

  • EVDRE encountered an error retrieving data from the Web Server

    Hi,
    I'm working on a presales AppSet "Demo5b".
    When I create a brand-new EVDRE report on FINANCE app, there is no problem.
    However, after changing to ICMATCHING app, when I type =EVDRE() on a blank sheet and press Refresh, the following message pops up.
    EVDRE encountered an error retrieving data from the Web Server
    Retrying in (??) seconds
    Any idea why this happens and how it can be solved?
    Thanks!
    Sunny

    Hi Joost,
    I have the same problem. When I try to retrieve data on an input schedule is launched that error.
    I am working on an VM on MS BPC.
    I am not working with cubes so the solution is not the same.
    If i process all my dimensions this error does not appear any more?
    Best regards,
    Vitor

  • How to migrate from SAP content server to OPENTEXT?

    We have been using SAP content server as our storage for archived data for years.
    Now we plan to start using OPENTEXT to admin our archived data.
    How can we use OPENTEXT together with existing SAP content server?
    My idea is to treat content server as any other media as as DVD, WORM, etc.
    However, I do not see that OPENTEXT can be configured to admin content server .
    If so, how to transfer whatever on the content server to IXOS?
    We are at Opentext 9.5.x
    Please share your experience. Thanks!

    hi,
    Please refere SNote 1043676.
    Also, need to understand the following,
    How to move an entire content repository from one content server to another
    Sometimes you may need to move a content repository - but not necessarily all the content repositories from one content server to another. This can be done without much drama. Here is a means that I've used in the past:
    Use report RSCMSEX to export the repository from the source content server.
    Create a repository of the same name on the target content server.
    Use Report RSCMSIM to import the repository into the target content server.
    Delete the repository from the source content server (if desired!).
    The SAP progrm sapkprotp controls the import and export. The ABAP reports allow you to specify the RFC destinations where sapkrpotp runs.
    For lager repositories
    The programs  listed above cannot deal with the whole content repository at the same time. For a slower migration, try using the program RSIRPIRL. This approach allows you to do the migation on a live system.
    Create the new content repository on your new content server.
    Create the new content category.
    If using distribution, distribute the new documents to the new category. otherwise change redirected category for DMS_C1_ST
    Relocate using the program.
    benaakraja

  • Optimal way to retrieve data from a linked server?

    Hi,
    If I create a view for our "Support Calls" list inside our database the SQL code looks like this...
    Code Snippet
    SELECT CALL.REFERENCE AS CallRef,
     CALL.CUSTOMERREF AS CustomerRef,
     CUSTOMER.NAME,
     DATEADD(hh,CALL.OPENHRS, DATEADD(n, CALL.OPENMINS, CALL.OPENDATE)) AS Opened,
     DATEADD(hh, CALL.CLOSEHRS, DATEADD(n, CALL.CLOSEMINS, CALL.CLOSEDATE)) AS Closed,
     DATEADD(hh, CALL.ACTHRS, DATEADD(n, CALL.ACTMINS, CALL.ACTDATE)) AS Actioned,
     CALL.PRODUCTREF,
     SUPPROD.NAME AS ProductName,
     CODES_2.CATEGORY AS CallType,
     REPLACE(CODES_3.CATEGORY, '£ ', '') AS CallStatus,
     CODES_4.CATEGORY AS CallPriority,
     CALL.TITLE,
            CALL.CALLER,
     CALL.HANDLERTAG,
     CODES_1.CATEGORY AS SLA,
            CODES.CATEGORY AS ActionCategory,
     CALL.szemail,
     CALL.szphone,
     CALL.szline,
            CALL.szresolvedby
    FROM    EVENT
    INNER JOIN
     CODES ON CALL.ACT = CODES.NO INNER JOIN
            CODES AS CODES_1 ON CALL.CATAREA = CODES_1.NO INNER JOIN
            CODES AS CODES_2 ON CALL.CATTYPE = CODES_2.NO INNER JOIN
            CODES AS CODES_3 ON CALL.CATSTATUS = CODES_3.NO INNER JOIN
            CODES AS CODES_4 ON CALL.CATPRIORITY = CODES_4.NO INNER JOIN
            SUPCUST ON CALL.CUSTOMERREF = CUSTOMER.REFERENCE INNER JOIN
            SUPPROD ON CALL.PRODUCTREF = SUPPROD.REFERENCE
    Support calls that are closed are simply moved from the CALL table, to a table called ARCHIVED_CALL which is identical in structure.
    So, if I want a single view to present all support calls, the query string would be twice as long as the one above unless I create two views (one for each database) and use a third view to UNION them.
    Thing is, I can't create the views inside the enterprise database (political reasons); I have to do it from another server.
    The enterprise system is on a quad core server on the same gigabit switch as the dual core server hosting the SQL instance that is retrieving the data.
    I tried creating a view based on an openquery statement e.g.
    Code Snippet
    SELECT * FROM OPENQUERY([ENTERPRISE SERVER],
            'SELECT ..... FROM CALL UNION ALL SELECT ..... FROM ARCHIVED_CALL')
    Can't say I'm impressed. The returned dataset has under 4000 records in it, but it takes more than 15 seconds to execute the query.
    This is by far the smallest dataset that we need to work with - the support call notes tables (live and archived) contain over 60,000 records in total. I can boil the kettle, make a pot of tea, leave it to brew and then pour when ready, before the view finishes doing its job!
    I tried using SPs to populate a local table with the data returned by the OPENQUERY, but this turned out to be a real headache when handling situations like users updating or archiving support calls; the only way that seemed to work was by dropping all records and then reimporting them and that didn't seem to be any faster.
    Any ideas?

    Hi,
    Sorry for the delay in getting back to you all. I've got a bit of expanded info for you which'll probably help you understand the situation better.
    We have two databases, call 'em Support and Sales for the sake of argument, and they format data differently so I have a proof-of-concept SP which gets just the customer names and references from each table, then creates a temp table formatted as follows:
    Customer ------- Support Reference - Sales Reference
    ABC SITE1        ABC                 ABC1
    ABC SITE2        ABC                 ABC2
    ABD CUSTOMER                         ABD1     
    BBB SUPPORTONLY  BBB  
    So in Sharepoint, for example, someone does a customer name search and they will get a list of customers who fit the bill, along with links to the various customer records.
    And the code I'm predominately concerned with, is this bit of it:
    Code Snippet
    create table #SupportIDs
    [Customer Name] varchar(120),
    [Support Reference] varchar(16)
    create table #SalesIDs
    [Customer Name] varchar(120),
    [Sales Reference] varchar(16)
    INSERT INTO #SupportIDs
        SELECT [Customer Name], [Support Reference] FROM  
        OPENQUERY([SUPPORTSERVER],        'SELECT NAME AS [Customer Name],
                                    REFERENCE AS [Support Reference]
                                    FROM Support.CUSTOMERS')
    INSERT INTO #SalesIDs
        SELECT [Customer Name],
            [Sales Reference] FROM  
        OPENQUERY([SALESSERVER], 'SELECT name as [Customer Name], customer as [Sales Reference]
    FROM         Sales.CUSTOMERLIST')
    SELECT dbo.Neaten([Customer Name]),
       dbo.Neaten([Support Reference]),
       '' AS [Sales Reference]
    FROM #SupportIDs
    UNION ALL
    SELECT dbo.Neaten([Customer Name]),
       '' AS [Support Reference],
       dbo.Neaten([Sales Reference]) FROM #SalesIDs
    // dbo.Neaten performs left & right trim, strips out illegal characters, and then converts to uppercase.
    It takes no time at all to drag the data into #SupportIDs (<1 second), but it takes >10 seconds to do the same with the data from #SalesIDs, purely because the Sales database is hosted on a SQL 2000 instance on an old server the other side of a slow WAN link from here.
    In total, there are less than 2750 records returned from the SP in the UNION statement, 2100 of which are coming from the #SalesIDs temp table.
    The function Neaten just strips out white space and capitalises the value.
    If I can store this dataset in a local table, and have a trigger on the SQL instance which refreshes the table once a day, then I think we could probably live with it.
    The ADF for BDC would only need to point to the local table if that were the case.

  • C# retrieve report from SAP Crystal Server

    I have installed SAP Crystal Server on a Windows 2012 Server machine. The installation looks fine. I can run the Central Management Console and everything appears to be up and running.
    I have a Windows application running on my local machine and all I want to do is run a report.
    myRCDoc = new ReportClientDocument();
    myRCDoc.ReportAppServer = _server;
    object path = reportName;
    myRCDoc.Open(ref path, 0);
    I get the following error:
    An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in Billings.exe
    Additional information: Failed to connect to server "ENTBSQ01".
    How do I make the server reachable from my windows code?

    Thanks Dell!
    I'm currently not logging into the CMS.
    I'm not clear when you ask "working with reports from CRS"? 
    The *.rpt files are indeed stored on the server.  My windows app simply calls ReportClientDocument.Open to get the report.  I'm assuming that means I am indeed working with reports from CRS.
    I'll try to logging in part first and then move to checking the SDK.
    Thanks again!
    -Terry

  • How to retrieve data from HTML content?

    i have received a result page from server in HTML file. I have my code as below:
    URL u = new URL("http://www.thehungersite.com");
    URLConnection uc = u.openConnection();
    Object o = uc.getContent();
    after i get the result page in HTML code, how i can filter or retrieve the data inside the HTML code and display in my own interface?
    thank

    I guess you want to parse the HTML page in your application to get the interesting parts out of it.
    Have a look a this HTML parser library:
    http://htmlparser.sourceforge.net/

  • SAP Module sapnwrfc: Retrieving data from SAP using RFC

    I'm sorry, if I'm asking about something that's obvious in SAP. I need to develop a perl application in a remote server that will receive a requisition from an abap application.
    I'm using the SAP Module sapnwrfc. I connect to SAP Gateway with no errors and execute the function sapnwrfc::installFunction (no errors returned) but I can't find the transaction in SAP. Anybody has some document about configurations that I need to do in sap ? Or anybody could see the code above and tell me what is wrong?
    [code]
    #!/usr/bin/perl
    use sapnwrfc;
    use Data::Dumper;
    use utf8;
      SAPNW::Rfc->load_config;
      my $conn = SAPNW::Rfc->rfc_connect;
      # print "Testing SAPNW::Rfc-$SAPNW::Rfc::VERSION\n";
      my $func = new SAPNW::RFC::FunctionDescriptor("ZRFCDAZEL") ;
      my $pipedata = new SAPNW::RFC::Type(name => 'DATA',
                                          type => RFCTYPE_TABLE,
                                          fields => [{name => 'OBJTY',
                                                      type => RFCTYPE_CHAR,
                                                      len => 4},
                                                     {name => 'OBJKY',
                                                      type => RFCTYPE_CHAR,
                                                      len => 10},
                                                     {name => 'ATTRIBUTES',
                                                      type => RFCTYPE_CHAR,
                                                      len => 255},
      $func->addParameter(new SAPNW::RFC::Export(name => "COMMAND",
                                                 len => 255,
                                                 type => $pipedata));
      $func->addParameter(new SAPNW::RFC::Import(name => "COMMAND1",
                                                 len => 255,
                                                 type => $pipedata));
    $funcao->callback(\&do_remote_pipe);
    $conn->disconnect();
    exit;
    sub do_remote_pipe {
        my $param = shift;
        print "\nPARM : " . $param->{'ZDUS'} . "\n";
        $param->COMMAND1([{'LOG'=>'Execute ZDUS PARAMETER '}]);
        $param->COMMAND1([{'STATUS'=>'S'}]);
        return 1;
    sub do_global_callback {
        warn "Running global callback ...\n";
        return 1;

    Timo,
    I included the code in the VO and in my bean, I was able to generate this code snippet:
    public String GetParamterSetup() {
            BindingContainer bindings = getBindings();
            OperationBinding operationBinding = bindings.getOperationBinding("applyParamVOCriteria");
            operationBinding.getParamsMap().put("vcodetype", codeType);
            Object result = operationBinding.execute();
            System.out.println(result);
            if (!operationBinding.getErrors().isEmpty()) {
                return null;
            return null;
    I was able to get the result from the System.out.println. It returns null when there is no match. However, I  want  to return the entire row or have access to that attribute.  For instance if I have 'GB011' what the system will display for me is 'viewrow [oracle.jbo.Key[GB011 ]]'
    Pls, how can I have access to individual attributes like ParamSetup.codeType, ParamSetuo.MainCode etc...

  • ERROR- Unable to retrieve data from SAP systems

    We have installed SAP Netweaver Gateway (NWGW) Tool plugin in mac os.
    When we are trying to browse the services we are able to see only SDATA services in NWGW plugin.
    So we have changed the service from ODATA to SDATA in gateway system. We are able to see the services in the NWGW plugin.
    When we are trying to get the response in xcode by using the following code,
    SDMConnectivityHelper *supConn = [[SDMConnectivityHelper alloc] init];
         LiteSUPUserManager *supUserManager = [supConn activateSUPModeWithHost:@"xxxx" andSUPPort:xxxx andSUPFarmId:@"0" andAppId:@"xxxx"];
         [supConn registerSUPUser:@"xxxx" andPassword:@"xxxx" andSecurityConfigName:@"Basic" andSUPUserManager:supUserManager];
         0262Service *service = [[0262Service alloc] init];
         [service setServiceDocumentUrl:[LiteSUPAppSettings getApplicationEndPoint]];
    NSMutableArray *personalDataArray = [service get02PDWithData:[[supConn executeBasicSyncRequestWithQuery:service.02PDQuery] responseData] error:nil];
    I am getting the following error
    Returned Query URL: /02PD
    ERROR :: SUPJsonException:expected string, found 140/Location:-[SUPRequest startSynchronous] + 1159
    ERROR :: 400:Bad request/Location:-[SUPRequest startSynchronous] + 1184
    Exception during parsing response data. Error: The document is not a valid data document
    <?xml version="1.0" encoding="utf-8"?> <error ><message xml:lang="en">Malformed URL recieved :no protocol: /02PD</message> </error>
    When I am trying to print the end point. I am getting null value
    Please provide us the pointers to resolve the issue

    Sounds like an SAP problem.

  • EVDRE encountered an error when retrieving data from web server

    Hi
    When I am trying to open Data Input=>Build a schedule using a dynamic template in BPC version for SAP netweaver, I am getting the below error "EVDRE encountered an error retrieving data from the Web Server". 
    I am not able to open any template, every time I am getting the same message. I have tried again after reprocessing all the dimension.
    Even I have tried in appset APSHELL also, there also I am getting the same error
    Request you to help me to resolve the above error which will allow me to proceed further.
    Thanks in Advance.
    Venkat

    Hi,
    Beside Nilanjan's solution, this error could also occur when the expansion is running more rows than the Excel limit allows (65'000 rows and 256 cols for Excel 2003)...
    Even when you're using suppress field to reduce the number of rows, the first sequence is to retrieve the complete dataset before performing any suppression. And this could of course exceed the limit sometimes.
    Hope this helps.
    Kind Regards,
    Patrick

  • How to retrieve the data from SAP database.

    Hi Pals,
    How to retrieve data from SAP R/3 System to my third party software. I will make my query little bit more clear. There is a list of assets entered and stored in the SAP system. For example 3 mobile phones.
    1) Mobile 1- Nokia
    2) Mobile 2 - Samsung
    3) Mobile 3 u2013 Sony
    Now think I do not know what all assets is there. I have to retrieve the data and get it on my third party software. Just display the list of assets. Lets say SAP XI is also there. Now how will I map it and get the details.
    Please give me step by step method.
    N.B: Just to read the data from SAP database.
    Please make the flow clear step by step.
    Thanking you
    AK

    Hi,
    You can use RFC or ABAP Proxy to make synchronous call with SAP.
    Under RFC or ABAP Proxy Program you can get the data from SAP tables. Direct access to SAP Database is not preferrable even if its possible.
    The better way to go for RFC or PROXY.
    You will send the request from Third party system and the it will be as input parameters from RFC/ Proxy it will response based on it.
    This got it all..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c4f78dbf9b
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    /people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
    HTTP to RFC - A Starter Kit
    /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
    Refer
    Thanks
    Swarup
    Edited by: Swarup Sawant on Jun 4, 2008 9:32 AM

  • Retrieve data from a large table from ORACLE 10g

    I am working with a Microsoft Visual Studio Project that requires to retrieve data from a large table from Oracle 10g database and export the data into the hard drive.
    The problem here is that I am not able to connect to the database directly because of license issue but I can use a third party API to retrieve data from the database. This API has sufficient previllege/license permission on to the database to perform retrieval of data. So, I am not able to use DTS/SSIS or other tool to import data from the database directly connecting to it.
    Here my approach is...first retrieve the data using the API into a .net DataTable and then dump the records from it into the hard drive in a specific format (might be in Excel file/ another SQL server database).
    When I try to retrieve the data from a large table having over 13 lacs records (3-4 GB) in a data table using the visual studio project, I get an Out of memory exception.
    But is there any better way to retrieve the records chunk by chunk and do the export without loosing the state of the data in the table?
    Any help on this problem will be highly appriciated.
    Thanks in advance...
    -Jahedur Rahman
    Edited by: Jahedur on May 16, 2010 11:42 PM

    Girish...Thanks for your reply...But I am sorry for the confusions. Let me explain that...
    1."export the data into another media into the hard drive."
    What does it mean by this line i.e. another media into hard drive???
    ANS: Sorry...I just want to write the data in a file or in a table in SQL server database.
    2."I am not able to connect to the database directly because of license issue"
    huh?? I never heard this question that a user is not able to connect the db because of license. What error / message you are getting?
    ANS: My company uses a 3rd party application that uses ORACLE 10g. And my compnay is licensed to use the 3rd party application (APP+Database is a package) and did not purchased ORACLE license to use directly. So I will not connect to the database directly.
    3.I am not sure which API is you are talking about, but i am running an application of the visual studio data grid or similar kind of controls; in which i can select (select query) as many rows as i needed; no issue.
    ANS: This API is provided by the 3rd party application vendor. I can pass a query to it and it returns a datatable.
    4."better way to retrieve the records chunk by chunk and do the export without loosing the state of the data in the table?"
    ANS: As I get a system error (out of memory) when I select all rows in a datatable at a time, I wanted to retrieve the data in multiple phases.
    E.g: 1 to 20,000 records in 1st phase
    20,001 to 40,000 records in 2nd phase
    40,001 to ...... records in 3nd phase
    and so on...
    Please let me know if this does not clarify your confusions... :)
    Thanks...
    -Jahedur Rahman
    Edited by: user13114507 on May 12, 2010 11:28 PM

  • How to retrieve data from a MSSQL?

    Dear All,
    How can I retrieve data from a MSSQL server in my custom iView which is developed by Eclipse?
    Thanks
    Sam

    Hi Sam,
    you have a bunch of possibilities... (and they do not really differ from accessing a DB from within any J2EE app).
    You can use a direct connection, setting Database, port, user, ... within your component.
    Or you can set all these things within VisualAdmin and then reference the DataSource via JNDI from within your component.
    You can directly use SQL.
    Or you can use ObjectRelationalMappers like Hibernate...
    Any more questions?
    Hope it helps
    Detlev

Maybe you are looking for