How to use standard APIs for customized services

Hello,
I try to use IUserMappingService which has some hard coded paths to services (user mapping service). However sys admin customized the services location and it's impossible to use standard SAP libraries. For example, the standard library has a path:  "com/sapportals/portal/prt/service/usermapping", but a customized path is "com/sap/portal/pdk/srv/usermapping". When I run this iView, I am getting a message: Caused by: java.lang.NoClassDefFoundError: com/sapportals/portal/prt/service/usermapping/IUserMappingService
Please advise.
Thanks,
Yan

I guess i know what the problem is. How have you given a reference to the UM service in the portalapps.xml file ??
I think you would have given the reference as "UserMapping". Now the PRT will look for this particular service and in the portalapps.xml of this service the ClassName would be defined as com.sapportals.portal.prt.service.UserMapping, which the PRT is not able to find.
You can try giving the FQN in the service reference, but i doubt it will work because the PRT will still look for the above class name at the predefined location.
Regards, Akhilesh

Similar Messages

  • What is the standard API for Customer Contact creation in R12

    Hi All,
    What is the standard API for Customer Contact creation in R12. my requirement is I need to create contact against Customer(Person/Organization).
    I need to develop pl/sql package for create Contact using the following fields
    First name , Last name , Email, Phone no, Ph ext,Mobile no,Contact no,Job title, Job title code,Country,Address1,Address2,Address3,Address4,
    City,State,Postalcode.
    Please help me.
    Thanks,
    K.Murugesan

    Hi All,
    Please update if you have any solution.
    Thanks
    Maanasa

  • Explain how to use standard LSMW for MM01

    Can anyone explain how to use standard LSMW for MM01 Tcode.pls explain briefly.

    Hi
    Create a project using 0020 as method.
    Max

  • Image not displayed in pdf generated using Java API for Forms service

    Hi,
    I am creating a pdf document using Java API for Forms Service.
    I am able to generate the pdf but the images are not visible in the generated pdf.
    The image relative path is coming in the xml as defined below. The images are stored dynamically in the Livecycle repository each time a request is fired with unique name before the xml is generated.
    <imageURI xfa:contentType="image/png" href="../Images/logo.png"></imageURI>
    Not sure if I need to specify specify specific URI values that are required to render a form with image.
    The same thing is working when I generate pdf document using Java API for Output Service.
    As, I need to generate interactive form, I have to use Forms service to generate pdfs.
    Any help will be highly appreciated.
    Thanks.

    Below is the code snippet:
                //Create a FormsServiceClient object
                FormsServiceClient formsClient = new FormsServiceClient(myFactory);
                //Specify URI values that are required to render a form
                URLSpec uriValues = new URLSpec();
                                  // Template location contains the whole rpository path for the form
                uriValues.setContentRootURI(templateLocation);
               // The base URL where form resources such as images and scripts are located.  Whole Image path is passed in BaseUrl in the http format.
                      String baseLocation = repositoryPath.concat(serviceName).concat(imagesPath);   
                                  uriValues.setBaseURL(baseLocation);                                        
                // Set run-time options using a PDFFormRenderSpec instance
                PDFFormRenderSpec pdfFormRenderSpec = new PDFFormRenderSpec();
                pdfFormRenderSpec.setCacheEnabled(new Boolean(true));           
                pdfFormRenderSpec.setAcrobatVersion(com.adobe.livecycle.formsservice.client.AcrobatVersio n.Acrobat_8);
                                  //Invoke the renderPDFForm method and write the
                //results to a client web browser
                String tempTemplateName =templateName;
                FormsResult formOut = formsClient.renderPDFForm(tempTemplateName,
                                              inXMDataTransformed,pdfFormRenderSpec,uriValues,null);
                //Create a Document object that stores form data
                Document outputDocument = formOut.getOutputContent();
                InputStream inputStream = outputDocument.getInputStream();

  • How to use java api for function activity in embed oracle workflow?

    because i can't install standalone oracle workflow successfully.
    pls tell me how to use java api for function activity in embed oracle workflow?
    are there some patch or pulg-in package?
    ths a lot...........

    The Java Function Activity Agent is not certified for Oracle Workflow embedded in Oracle Applications. Installing standalone workflow should be a lot easier than what you have found, although it looks like you did hit a Pentium 4 issue with the Oracle Universal Installer. I suggest you contact Oracle Support or Oracle Consulting for assistance.
    because i can't install standalone oracle workflow successfully.
    pls tell me how to use java api for function activity in embed oracle workflow?
    are there some patch or pulg-in package?
    ths a lot...........

  • How to use the API for DATE, MONTH  AND YEAR

    I would like to use the java api in .util.calender in the java api to get the date.
    How to implement the API for the "DATE","MONTH","YEAR" which are available provide by java?
    can someone give me in one complete code?

    From the Java Developers Almanac 1.4:
        Calendar cal = new GregorianCalendar();
        // Get the components of the date
        int era = cal.get(Calendar.ERA);               // 0=BC, 1=AD
        int year = cal.get(Calendar.YEAR);             // 2002
        int month = cal.get(Calendar.MONTH);           // 0=Jan, 1=Feb, ...
        int day = cal.get(Calendar.DAY_OF_MONTH);      // 1...
        int dayOfWeek = cal.get(Calendar.DAY_OF_WEEK); // 1=Sunday, 2=Monday, ...

  • How to use F-04 for customer invoice payment

    Hi All,
    we post cutomer invoice in FB70 & then use F-28 for customer payment. Could you please advice if I can use F-04 instead of F-28 for customer payment.
    Regards
    Deepak

    Dear Deepak,
    there is no difference between the two transaction F-04 and F-28, if You use the F-04 with Incoming payment flag switched on.
    The F-04 like FB05 are the generic classic trancations that can be used for incoming, outgoing, credit memo and clearing at once: changing the flag You can do different posting without running different transction as F-53, F-28 and so on.
    Thanks.
    Mauri

  • How to use Resever Field for Customer Master

    Hi
    My Client Requirement. Price should be determine with Sales ORG, Distribution channel, Division, Districts, Talukas and Villages.
    But Talukas and villages are not available in SAP standard systems.
    Is it possible to use reserver field in Customer Master for this purpose?
    If it is ok then please give suggestion how to use this reserve fields.
    Thanks in Advance
    Madhu

    Hello,
    the system-behavior that you describe is standard behaviour, because   
    the fields which you are describe (village and ..) doesn't exist in structure KOMG.                                                                               
    For using this field in the field catalog you can proceed like this:   
    1. create a new field for example ZZvillage...                             
    2. add the new field in the table T681F for the application 'V' and the
       usage 'A'                                                           
    3. add the field to the include-structure KOMKAZ                       
    4. fill the new fields in the userexit for pricing                     
       (Pricing_Prepare_TKOMK (TKOMP)                                                                               
    I hope that the information are helpful for you.    
    regards
    Claudia

  • How to use standard Infostructures for SIS Reports

    Now I see many available standard info structures in the infostructures list.Is there any way we can use the standard ones in the repoirts without the need to create infostructures??
    or there any other alternative???

    Sam, actually  SNavaneetha has already answered your question correctly. You don't need to create any new info structures and may use the standard ones. You just need to configure the update according to the business requirements. But since you keep asking about configuring "the reports" I think you might be a bit confused. For the standard info structures we only need to configure the update. Each info structure already has its own report (you'll find them on the SAP menu). If you run MCSI transaction, you won't find any standard info structures on the list because this transaction is for the custom ones.
    You might want to read the documentation, it's not that long and I think the steps are explained rather well:
    http://help.sap.com/saphelp_470/helpdata/en/8c/fd5878a94711d1890a0000e8322f70/frameset.htm
    From "my" document you'll only neeed these steps:
    Assign Update Group at Item/Header Level (p.12)
    Maintain and Assign Statistics Groups (p.13) - no need to create any new groups, use standard 1 and 2
    Then make sure the update is activated in transaction OMO1. Note that the info structures will start to fill in only after you do the configuration. If you need to populate the data from the existing documents, follow the instructions starting on p.32.

  • How to use of API for Cancel Sales Orders

    Hi....
    I want to use API for Cancel Sales Orders. Plz give me advice how we can cancel orders. I know that there is procedure provide in ORACLE APPs (i.e. OE_ORDER_PUB.process_order). But in this procedure i know the how to create and update sales order, but how to Cancel order with the use of this API.
    Plz send me soultion as soon as possible. ITS VERY VERY URGENT BASE.
    Thanks in Advance.

    Hi all,
    We are importing Sales Orders on 11.5.9 using OE_Order_PUB.Process_Order API .We have supplied most of the mandatory fields and the same data works from the front end. When we use the API it throws a Ora 20001.
    A snapshot of the error message.
    SQL> exec pk_process_object.process_order('1o');
    Message Count is :2
    Message is RA-20001: User in Package OE_Header_Util Procedure Get_Order_Number
    Message is :User-Defined Exception in Package OE_Header_Util Procedure
    Pre_Write_Process
    Return Status is ErrorU
    PL/SQL procedure successfully completed.
    --------------------------------------------------------------------------------------------

  • How to use standard validator with custom component?

    Hi folks!
    I've implemented a custom component extending UIInput. My component worked well but now I want to use a standard validator.
    How can I use it??
    regards,
    Steven

    Validation is done by UIInput.validate() which is invoked by processValidators().
    So, if you don't redefine these inherited methods they will invoke the
    corresponding validators.

  • How to use Google API for Visual Studio Application using Google Drive

    I am creating an VB 2010 Form that will collect data and then automate sharing to select individuals. Right now I am storing the data in the Google Drive folder on the Desktop but some people that may be using this application may not have Google Drive downloaded
    on their desktop so I would like to know if there is another way to add the data files (Excel files) to Google Drive. I would also like to have my application automatically share the files with select individuals and possibly publish onto Google+ or at
    least create a notification on Google+ that a new file has been added to the Drive. Thanks in advance for ANY help that anyone can offer!

    Hello,
    Thank you for your post.
    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses
    the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Because you use Google Drive and Google API which are third-party, I suggest consult on its support forum/community provided by its publisher.
    IN addition, about Visual Basic programming, please consult on Visual Basic forum:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vbgeneral for better response.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Newbie who want to use Java API for OLAP

    Hi all,
    I'm trying to learn how to use Java API for Oracle 10.2 OLAP. I went through the Java OLAP API user guide and I'm getting even more confused. Can somebody guide me to some good online materials?
    Many thanks!
    - Andrew

    Hi there,
    Did you see the examples in the Reference doc? :- http://download.oracle.com/docs/cd/B19306_01/olap.102/b14348/toc.htm
    Thanks,
    Stuart Bunby
    OLAP Blog: http://oracleOLAP.blogspot.com
    OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
    OLAP on OTN: http://www.oracle.com/technology/products/bi/olap/index.html
    DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

  • How to use standard function keys as custom keys

    how to use standard function keys as custom keys.
    i have encountered that problem while developing a screen, there i'm supposed to use standard function key F2 ( which actually meant for choose) for clearing the screen fields where the cursor is present and f1 for saving data that entered in screen fields, etc...
    kindly help me out.

    Hi ,
    Solution to use SAP reserve function keys F1 .. F4 (mostly this requirement comes up for RF screens) can be acheived by assigning your new Function code using the Menu path Utilities --> F key Consistency in the Menu Painter (SE41) . Once you assign your cutom function code to the standard Fn keys the only remaining step is to make sure that you set a curson on any of the field on sceen by using the Key Word "SET CURSOR" .
    If you dont use the key word SET CURSOR in the PBO of the screen then you might not see any response for F4.
    Thanks

  • I purchased Season 5 of Dexter using the "pass" yesterday and itunes is downloading24 episodes (a double order).  How do i stop it? How do you talk to a customer service person?

    I purchased Season 5 of Dexter using a "pass" yesterday and today Itunes is downloading 24 episodes (a double order).  How do I stop it?
    Did I order twice by mistake?  How do I contact an itunes customer service person?

    If you ordered it in HD, then you get the SD version as well ( for viewing on ipod/iphone).
    You cannot stop it.  There is no phone number to call.
    You can click "Support" at the top if this page and click the link under "Contact Us" to contact them.
    You can look at your purchase history to see what you were billed for, but I would guess that you are seeing the HD and SD version as you should.

Maybe you are looking for