Custom report  using KM API Error

Hi All,
I have to create a report using KM API. i got the custom report using KM API from sdn and I imported into my NWDS. While i compile it, it is giving me this error.
"The project cannot be build because the classpath for com.sap.netweaver.bc.rf.common.exception.ResourceException is not found."
I have imported all the required jar files.
How can i rectify this error?  Could anyone help me out in this issue?
Regards,
Divya

Hi Divya,
> I have imported all the required jar files
First, I don't know what you mean with "imported" - in any case, you should <i>not</i> put the JARs into your project but just reference these.
Also, obviously you have <i>not</i> referenced <i>all the required jar files</i>; ResourceException is part of bc.rf.common_api.jar, which is part of portal application com.sap.netweaver.bc.rf, at least for NW2004s.
Please use the ClassLocator tool (search the WebLogs for this term to get some initial instruction) to avoid such questions in the future. It will make your life much easier.
Hope it helps
Detlev

Similar Messages

  • SSL: Connection reset by peer ; Failed to enable crypto error while calling the report using bing API with SOAP client

    Hi,
    I am trying to fetch report using bing API and making a SOAP call for fetching the data. I get the following error:
    [Warning] fopen(): SSL: Connection reset by peer [file] /var/www/sites/psmedia/perfectstormmedia/tools/class/msn_api.class.php [line] 780
    02-04-2015 10:17:41 (BST) : [Warning] fopen(): Failed to enable crypto [file] /var/www/sites/psmedia/perfectstormmedia/tools/class/msn_api.class.php [line] 780
    02-04-2015 10:17:41 (BST) : [Warning] fopen(https://download.api.bingads.microsoft.com/ReportDownload/Download.aspx?q=rzr63XFt5qJduddohoIRyOYAP%2f1%2ftsnhk8L%2bzBmUpdU2CQlcUB98RpY%2bbOaLFFGMqAC4IUUadC%2fNdNnJqeVCY%2f%2bpy6noVsVA%2fMJp47a3Xb1VjABfKhcdKy6vqpgEdcQg%2fQZ7QcEpZ3bEloJjUtGpDquFk53BnkeHEPVWZkDYcsQegRz%2fpG4t4w6gKCCRmhArd6osr6ZU9CMJ3lbxtGXjcQEMPvP2apNyr9P%2fc8niyfWA2aBcm1aEmOLX2KL3aRJ4rz9N7gG7uBslVZH%2b4rUjHdB7CMkbb%2fHyHwvPTqGPbPCHnicefr%2b%2fDP70hlkBEGfyOOswK67%2bl1zh7CyIv%2bcMlaDsuDX1HeFf4uORfD41H1z7):
    failed to open stream: operation failed [file] /var/www/sites/psmedia/perfectstormmedia/tools/class/msn_api.class.php [line] 780
    Whenever I execute my script. Can you please let me know what we can do to solve this issue. The version of PHP we are using is 5.3.3 with open ssl. 

    Hi Shobha,
    I can't confirm what version of PHP you are using, but to err on the side of caution please use the version specified in the sample/SDK:
    PHP 5.4.14 has been installed from PHP.
    Here is our code examples:
    https://msdn.microsoft.com/en-US/library/bing-ads-overview-getting-started-php-with-web-services.aspx
    Thanks,
    Itai

  • Custom Report using pre-defined template

    In 2012, How to create custom report using pre-defined reports template in below format?
    Column1 :- Device Name
    Column2 :- When installed (Date & Time)
    Column3 :- Success (Date & Time)
    Column3 :- Failed (Date & Time - With which error code)
    Column4 :- Not Installed
    Regards,
    Onkar.

    Here is what you need to do.
    Start by writing the SQL query that you want.
    Clone one of the existing report
    Replace the SQL query with the new query.
    Update the columns with what you need.
    http://www.enhansoft.com/

  • Custom Report using Metrics of Instance and Server

    Hello
    I need to create a custom report using different instance and server metrics like:
    File System Space Available
    Tablesapaces
    Database Spaces usage
    Sort in Memory
    library Cache Hit
    Data Dictionary Hit
    Buffer Cache Hit
    I already made the report, but I can´t change the size of the graphic (for a better presentation on my report)....
    Do you know how can I change the size of the report?
    I think that I´m using a "metric" so for that reason I Can´t change the size ... :(

    I am currently having a problem with this report and drilldown to KSB1, the cost centers selected int S_ALR_87013611 are not transferring to KSB1 and thus all the cost centers come up in the call to KSB1, are you experiencing this problem? I am on V4.7

  • New customized report using PLD or QUERY PRINT LAYOUT to show customers onl

    I am working with a Software Developing firm as an SAP Consultant.
    Please tell me how to create a new     customized     report displaying various details as required by the client in the report using PLD or Query Print Layout.
    Please help me asap.

    Hi,
    You can create queries using the Query Generator or the Query Wizard tools.
    After you have created your own queries, you can link them to a required print layout.
    for user reports.Look at:
    Tools --> Queries --> Query Print Layout
    Set there your query reports.
    Printing User-Defined Queries
    After you had linked a user-defined query to a user report template, you can now print it
    according to its linked print layout.
    There are two ways for printing your user-defined queries.
    1. Using the Query Print Layout window:
    • Select from the upper menu Tools &#1048774; Queries &#1048774; Query Print Layout.
    • Click the Reports tab page.
    • Click to highlight the required query you would like to print.
    • Click on the printer icon or select from the upper menu File &#1048774; Print.
    • The user-defined query is printed according to its linked print layout.
    2. Using the Queries Manager window:
    • Click the Queries Manager icon on the upper tool bar.
    • Click to highlight the required query you would like to print.
    • Click on the printer icon or select from the upper menu File &#1048774; Print.
    • The user-defined query is printed according to its linked print layout.
    Note! You can also print preview user-defined queries. Do so by selecting the Print
    Preview option as described in the methods above for printing your query.
    Btw, you could search the manual training files relate to query PLD in http://www.service.sap.com/smb
    Rgds,

  • Facing Problem while Debugging a custom report using LDB

    Hi Gurus,
    I have requirement to modify a custom report program related to FI. This program used Logical database ZDF ( Copied original DDF) for data fetching.
    when i am trying to see the data in debugging mode, its not allowing to check in start-of-selection event. only in the initialization & end-of-selection i could able to debug.
    when i put breakpoint in initialization, it is allowing to see the flow till a Get Event occurs in the code, once a Get event occur the debugger is coming out and displaying the report.
    If anybody faced this kind of problem when debugging a report using LDB, please share how you resolved it. If there are any other ways to debug a program of this kind please help me.
    Thanks,
    Nanda

    Hi Amith,
    I checked that way also, i put break point in database program of the copied LDB, but its not allowing to check the flow in that program also.
    Please suggest any other ways.
    Thanks,
    Nanda

  • Schedule Webi report using RESTful API

    We are using BO 4.0 (SP2) and looking to schedule reports using our intranet application. I have searched for APIs avaialble and was able to find RESTful API for SP4 but not SP2.  How can we do it in BI 4.0, SP2?
    Quick help will be really appreciated.
    Thanks

    you can schedule Webi documents with prompts using the following:
    URL: http://<servername>:6405/biprws/raylight/v1/documents/<docid>/schedules
    Method:POST
    Request Body:
    <schedule>
    <name>Enter values for City:</name>
    <format type="webi"/>
    <destination>
    <inbox/>
    </destination>
    <once retriesAllowed="2" retryIntervalInSeconds="60">
    <startdate>2013-08-26T15:58:51.000+02:00</startdate>
    <enddate>2013-08-27T15:58:51.000+02:00</enddate>
    </once>
    <parameters>
    <parameter optional="false" type="prompt" dpId="DP0">
    <id>0</id>
    <technicalName>Enter values for City:</technicalName>
    <answer constrained="false" type="Text">
    <values>
    <value>Austin</value>
    </values>
    </answer>
    </parameter>
    </parameters>
    </schedule>
    Using the above request you can schedule the Webi document with prompts to inbox destination  and set for once. The schedule can be sent in different formats to several destinations and set just for once, daily,
    hourly or monthly.
    BUT, its broken if you want to schedule a weekly report (Calendar Date) with prompts in BI 4.1 and SDK has been deprecated.

  • How to Custom Report using sql server report builder for SCCM 2012 SP1

    Hi ,
    I am new to database, if i want to create a manual report using sql server report builder for SCCM 2012 SP1, what step should i take.
    i want to create a report in which computer name, total disk space, physical disk serial no come together. i already added class (physical disk serial no.) in hardware inventory classes. refer snapshot

    Hi,
    Here is a guide on how to create custom reports in Configuration Manager 2012, it is a great place to start, change to the data you want to display instead.
    http://sccmgeekdiary.wordpress.com/2012/10/29/sccm-2012-reporting-for-dummies-creating-your-own-ssrs-reports/
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • Custom Report using S_ALR_87013611 & KSB1

    Hi SAP Experts,
    I need/customer wants summary report by Cost Element i.e
    SKFActual(SKF Qty)Cost CenterCostElementDollars+Report Currency.
    First 2 fields (SKF+Actual - SKF Qty) we got from S_ALR_87013611 report. Then we double clicked on SKF then it will take to KSB1 transaction code(as said by you) there we got the rest of the fields.
    Currently we are developing the same Custom Report but it should show by summary i.e by Cost Element.
    It should show in 1 report the above 6 fileds.
    Could you please tell me what Tables and Data types I need to refer?
    Thanks for your help in advace.
    Thanking you
    Regards,
    David Raj

    I am currently having a problem with this report and drilldown to KSB1, the cost centers selected int S_ALR_87013611 are not transferring to KSB1 and thus all the cost centers come up in the call to KSB1, are you experiencing this problem? I am on V4.7

  • Problem while creating a custom document using JAVA API in the current Folder

    I am trying to create an instance of a custome type from the API. I have created a custom type via XML. I have associated a JSP with the custom type thru iFS manager. This jsp provides an interface for the user to enter various data. On submit I call some other jsp also loaded into the /ifs/webui/jsps which calls a method in the java class to create an instance of the above mentioned type. This instance needs to be created in the current directory and not in the home directory of the user. I have written a java program which when run from JDeveloper connects to the repository and creates the object, but not as a foldered object. If I load this class into custom_classes directory, I get an exception. I am attaching the code also here which does the actual processing.
    package cms;
    import oracle.ifs.agents.common.*;
    import oracle.ifs.agents.manager.*;
    import oracle.ifs.agents.server.*;
    import oracle.ifs.beans.*;
    import oracle.ifs.common.*;
    public class ContentModule extends Object {
    public static final String CLASSNAME = "CONTENT";
    public static final String TOPICID_ATTRIBUTE = "TOPICID";
    public static final String SITEID_ATTRIBUTE = "SITEID";
    LibrarySession m_session;
    public ContentModule() {
    connectToRepository();
    createDocument("AM5","s");
    public void connectToRepository(){
    try{
    LibraryService l_service=new LibraryService();
    CleartextCredential l_credential = new CleartextCredential("system","manager");
    ConnectOptions l_options=new ConnectOptions();
    l_options.setServiceName("IfsDefault");
    l_options.setServicePassword("ifssys");
    m_session=l_service.connect(l_credential,l_options);
    }catch(IfsException ex){
    ex.setVerboseMessage(true);
    ex.printStackTrace();
    public void createDocument(String p_docName,String p_docContent){
    try{
    DocumentDefinition l_doc=new DocumentDefinition(m_session);
    l_doc.setClassname(CLASSNAME);
    long newId1=5;
    long newId2=5;
    FolderPathResolver l_currentPath=new FolderPathResolver(m_session);
    Folder l_currentFolder=l_currentPath.getCurrentDirectory();
    l_doc.setAddToFolderOption(l_currentFolder);
    l_doc.setName(p_docName);
    l_doc.setContent(p_docContent);
    AttributeValue av1 = AttributeValue.newAttributeValue(newId1);
    l_doc.setAttribute(TOPICID_ATTRIBUTE,av1);
    AttributeValue av2 = AttributeValue.newAttributeValue(newId2);
    l_doc.setAttribute(SITEID_ATTRIBUTE,av2);
    Document l_document=(Document) m_session.createPublicObject(l_doc);
    }catch(IfsException ex){
    ex.setVerboseMessage(true);
    ex.printStackTrace();
    public static void main(String[] args) {
    ContentModule contentModule = new ContentModule();
    Any help will be highly appreciated.
    Thanks

    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

  • UCCX 10 CUIC Custom Report (using external data source)

    Hi.
    We have a customer where we are storing information in an external data source. We would like to built a report and import that report into their UCCX CUIC System in order for the customer to have the new report along side with the UCCX built-in reports. We need to add the external data source to CUIC but I'm not sure if the strip CUIC version of UCCX can allow that. Is that possible?
    I know that with CUIC Premium we can add third party data sources into the CUIC. The Premium CUIC NFR allows that and we can create the report but for it to work in UCCX we need to add the external data source to CUIC.
    What are my options? If any?
    Thanks in advanced,
    -Jose

    Hi Jose,
    You can basically build custom reports on a standalone CUIC server and import them to the CUIC on UCCX.
    But I am not sure if this datasource is continuously polling information from the DB and giving it to the report and if this is possible.
    Please refer to the link below for creating the custom reports on CUIC in UCCX:
    https://communities.cisco.com/docs/DOC-31936
    Regards,
    Arundeep

  • Custom Reports using Book of Business

    I was wondering if anyone can provide some help with book of business and custom reports. I have tried to created a custom report and changed the Book in the book selector at the top of the reports page, but it still returns results from all of the entries as opposed to just those associated with the book. Any ideas?
    Thanks in advance.

    Yes BOB affects reporting, you need to setup your user record in a particular way, send me an email and i'll send you the doc that explains how. alex.neill@{see profile}
    Stuart - I have your email address I'll send it through as soon as I find it.
    cheers
    alex

  • Search a file in KM using a custom coding using KM APIs

    Hi,
    How can I search a file along with its verions in the KM repository using KM APIs?
    Thanks,
    Vamshi

    Hi Vamshi,
    maybe you could use the following Interface:
    http://help.sap.com/javadocs/nw04s/current/km/com/sapportals/wcm/repository/manager/IPropertySearchManager.html
    It has a method
    execute(IQueryExpression query, IResource resource, int depth, int maxResults, boolean includeVersions)
    which returns a IResourceList.
    I hope this helps.
    Regars,
    Tanja

  • Custom Webservice Using OIM APIs

    Hi..
    How can we create and publish a custom webservice from OIM APIs??
    OOTB SPML Webservice does not support all my requirements.
    Thanks...

    The OOTB Web services are mostly asynchronous, so its not mostly suitable for our synchronous activity in OIM. like create,update,enable,disable etc
    So in order to develop the webservices...
    first of all list down all the methods which u need to publish.
    Write Java code for each methods..
    after that publish all methods as Webservices (JAX-WS) on Weblogic server where OIM is running.
    After that you can access your custom webservices of OIM.
    Regards,
    J

  • Customer Coversion Using Interface Table - Error during update

    I need to import customers from legacy applicatiion and is planning to use standard customer interface for that. For testing, I am able to create customers with hardcoded values. But while I try to update the same customer record (again using hard coded values), it gives me error and is not generating the error report as well. I am getting the following error during update:
    racudc: ORA-20212: Enter valid Billing Fields.
    ORA-06512: at "APPS.ADVOAR_CUST
    racudc: Error updating customers.
    or
    racudc: updated 1 partiesracudc: Partyrel 1 parties
    racudc: ORA-20210: You have edited one of the following fields, Extended Billi
    racudc: Error updating customers.
    Also it seems we can not update an address, site_use_code, or PRIMARY_SITE_USE_FLAG using customer interface.
    The following is the test record I inserted for updating the customer I created and ran the customer interface:
    insert into ra_customers_interface
    (ORIG_SYSTEM_CUSTOMER_REF
    ,INSERT_UPDATE_FLAG
    ,CUSTOMER_NAME
    ,CUSTOMER_STATUS
    ,LAST_UPDATED_BY
    ,LAST_UPDATE_DATE
    ,CREATED_BY
    ,CREATION_DATE
    ,ORIG_SYSTEM_ADDRESS_REF
    ,ADDRESS1
    ,CITY
    ,COUNTY
    ,STATE
    ,POSTAL_CODE
    ,COUNTRY
    ,customer_attribute13
    values
    ('APP1-492503' --ORIG_SYSTEM_CUSTOMER_REF
    ,'U' --INSERT_UPDATE_FLAG
    ,'Pizza Hut - CDH TEST4' --CUSTOMER_NAME
    ,'A' --CUSTOMER_STATUS
    ,-1 --LAST_UPDATED_BY
    ,sysdate --LAST_UPDATE_DATE
    ,-1 --CREATED_BY
    ,sysdate --CREATION_DATE
    --,'Y' --PRIMARY_SITE_USE_FLAG
    --,'BILL_TO' --SITE_USE_CODE
    ,'APP1-492503-ADDR1' --ORIG_SYSTEM_ADDRESS_REF
    ,'1 River Road, Bldg 1' --ADDRESS1
    ,'SCHENECTADY' --CITY
    ,'SCHENECTADY' --COUNTY
    ,'NY' --STATE
    ,12305 --POSTAL_CODE
    ,'US' --COUNTRY
    ,'55'
    I am testing this in 11.5.10 env. Any help on this is appreciated.
    Thanks,
    MK

    Convert only the data you need. And the data you need is probably less than you think. For example, other than open invoices (invoices for which money is still owed), you probably don’t need to convert ANY old invoices. You may want to convert data on what was purchased (e.g., event registration, membership, product, etc.) but the actual details (e.g., payment type, payment date) are probably no longer significant.
    http://www.e-datapro.net/data_conversion.htm

Maybe you are looking for

  • IMessage on MacBook Pro ML 10.8.3

    If my girlfriend texts me a sexy photo and I'm in a meeting using my Mac Pro, how do I keep the jerk next to me from seeing the photo come up on my screen through iMessage? btw... I like to keep imessage open (important messages from employees etc of

  • Whats the difference between the two XMP packet tags

    Hi, I opened a file Bluesquare.indd(from XMP SDK sampke) and I found two XMP packets inside the file. One packet with tag and another one with tag When I tried to extract the xmp using getXMP() method from XMPFiles then, I got the packet with tag So

  • HT2688 how to transfert my purchased music to another account?

    I changed my itunes account to my wife account because we want to use icloud to have the same music when we change device. Is it possible to transfert my music in her account. Luc

  • Extra White Space from Hidden Menu Bar

    This seems to be a problem introduced by LV 2013. I have a VI that runs with the menu bar hidden. When I hit ctrl-m to see how it looks in run mode, it looks fine. When I run the VI, instead of fully hiding the menu bar, it leaves white space. This o

  • Where to find old packages?

    I recently upgraded my xine to the latest one, xine-ui-0.99 and it eats up all my PC resources, and I wasn't able to play any movies at all. I was wondering where I could find the previous version, 0.98, because I had no problem with it. i tried ftp.