Sitemap

Amicuk Programming Answers

Error when building the Java pricing userexit manual code

-0001-11-30   Views:0

Advertisement

I went throught the manual for the pricing userexit manual... it tells you to ignore the errors when you do an ant build but I want to remove all the errors since they dont let the rest the code compile.... where are the jars for these errors:  [java

I went throught the manual for the pricing userexit manual... it tells you to ignore the errors when you do an ant build but I want to remove all the errors since they dont let the rest the code compile.... where are the jars for these errors: 
[javadoc] C:\DEV\PRC_UE_CUSTOMER\lib_src\src\com\sap\spc\document\DocumentConstants.java:16: package com.sap.vmc.logging does not exist
     [javadoc] import com.sap.vmc.logging.Category;
     [javadoc]                            ^
     [javadoc] C:\DEV\PRC_UE_CUSTOMER\lib_src\src\com\sap\spc\document\DocumentConstants.java:26: cannot resolve symbol
     [javadoc] symbol  : class Category
     [javadoc] location: class com.sap.spc.document.DocumentConstants
     [javadoc]     public static final Category CATEGORY = Category.getCategory(Category.APPLICATIONS, "/AP/SPC/Document");
     [javadoc]                         ^

The replay answer
Advertisement
See the [SAP note 809820 - Userexit concept for pricing|https://service.sap.com/sap/support/notes/809820]
Use ZIP file the attached to the above note - PRC_UE_CUSTOMER_V105.zip
ZIP file contains an Eclipse .project file that has the required build path. If you read the documents carefully, it does refer this project file.
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
     <classpathentry kind="src" path="src"/>
     <classpathentry sourcepath="lib_src/src" kind="lib" path="lib_api"/>
     <classpathentry kind="lib" path="lib_vmc_api/base_services_stripped_api.jar"/>
     <classpathentry kind="output" path="bin"/>
</classpath>
Again read the documents thoroughly. They are neither fictions nor non-fictions, but technical documents written with care. So, we must also read them with care. If we don't follow them, then it is time to engage someone who does. )
BTW, coming back to the Java basics - One must have a class and source files to debug. You won't get a class file unless it is compiled. The Java file won't compile correctly if it has syntax / reference errors. Unfortunately or fortunately, all these apply to the IPC java userexit development as well.
Easwar Ram

Go to See the other 7 answers

Error when building the Java pricing userexit manual code

Category:DefaultRelease time:-0001-11-30Views:130

I went throught the manual for the pricing userexit manual... it tells you to ignore the errors when you do an ant build but I want to remove all the errors since they dont let the rest the code compile.... where are the jars for these errors:  [java[More]

How do i remove the 17 errors that come with the pricing userexit manual at

Category:DefaultRelease time:-0001-11-30Views:130

how do i remove the 17 errors that come with the pricing userexit manual attached code...Try connecting the phone to the computer in "data storage" or "data transfer" mode, then open the memory card folder in Windows Explorer, and sear[More]

Error while building examples Java EE

Category:DefaultRelease time:2015-10-11Views:130

Hi When trying to build an example project (included with the Java EE tutorial http://java.sun.com/javaee/5/docs/tutorial/doc/) with the use of Netbeans I get the following error with e.g. the coffee example error: http://127.0.0.1:8080/jaxws-coffee-[More]

Error during generation of the WSDL:  BUILD FAILED java.lang.NoClassDefFoundError: com/sun/javadoc/Type

Category:DefaultRelease time:2015-10-11Views:130

When I create an EJB Transport Business Service, after selecting the jar that has the EJB 2.1 artefacts (Remote, Home, etc) the oepe plugin fails and can't continue. As I understand it seems that there is a problem with the classpath of ant build.xml[More]

Latest nightly sdk causes Java Heap error during build

Category:DefaultRelease time:-0001-11-30Views:130

The latest nightly sdk 4.0.0.13210 causes out of memory error in Flash Builder during a clean build.  However the prior nightly build (4.0.0.13175) works fine.  I'm using build 262635 of Flash Builder.  What changed in the latest nightly that could c[More]

BUILD FAILED java.lang.Error: unable to load schema-for-schema for W3C XML

Category:DefaultRelease time:-0001-11-30Views:130

I am new to JAXB, I am trying to run the sample applciations on Win 98, I have set up the environment values as per the UserGuide specs. I am getting the following error: BUILD FAILED java.lang.Error: unable to load schema-for-schema for W3C XML Sche[More]

How do you test your Java Pricing UserExits in eclipse?

Category:DefaultRelease time:-0001-11-30Views:130

How do you test your Java Pricing UserExits in eclipse?do you have to deploy the java class on vmc server to debug it Yes - So, the classes have to be compiled error free and uploaded to VMC. - VMC has to be restarted to test your classes. - You have[More]

JCo Connection / RFC in Pricing Userexit

Category:DefaultRelease time:-0001-11-30Views:130

Hi Experts, Need your help: I have a requirement to make a RFC call in IPC Pricing Userexit.  First I made a simple test java class to make RFC call and run it locally without any problem. then I copy the same code to the Userexit, but it failed on t[More]

Error while building execution plan

Category:DefaultRelease time:2015-10-11Views:130

Hi, I'm trying to create an execution plan with container EBS 11.5.10 and subject area Project Analytics. I get this error while building: PA-EBS11510 MESSAGE:::group TASK_GROUP_Load_PositionHierarchy for SIL_PositionDimensionHierarchy_PostChangeTmp[More]

Error while building sample application "Developing an Order Application"

Category:DefaultRelease time:2015-10-11Views:130

hi , I tried to create a simple Mobile application using the instructions for "Tutorial: Developing an Order Application for Handhelds" given at :- http://help.sap.com/saphelp_nwmobile71/helpdata/en/46/7294498d870ad3e10000000a11466f/frameset.htm[More]

Error while building the DC and deploying it.

Category:DefaultRelease time:2015-10-11Views:130

Hi, I have done all the while Post Installation Steps of Usage Type DI. The SAP Link followed was : http://help.sap.com/saphelp_nw2004s/helpdata/en/45/68d64260752a78e10000000a155106/frameset.htm This is first time, I am configuring SAP NEWDI. The ser[More]

Hot
using OS 10.4.11, safari 3.1.1, and adobe professional 7.0, I find that although I can print most web pages, I can't print a pdf web page. any thoughts ?where do you make that selection? Not sure where in Acrobat Professional, but in the free Acrobat [More]
I am a designer working for a printer. We have a customer who is trying to add a new color to her CS4 document. She is selecting New Color Swatch - Spot - Pantone Solid Coated but is getting Process Coated DS colors -- the palette is stuck. Any sugge [More]
This is a weird one, i hope someone can help!! I upgraded my ipod the other day to an 80Gb ipod classic (6th gen) and so i had to upgrade to the lastest version of iTunes. Having done this, 8 times out of 10 when i eject my iPod from within iTunes my [More]
Hi to all! I've the need to write a Java program, which has to execute a native executable for a specific task. The executable is available for Windows, Mac and Linux. I wanted to embed the native program into the jar archive and to execute it (diffe [More]
Hi, I am deploying the J2EE petstore on 9ias (9.0.3).But I seem to get the following error.Whereas it get deployed perfectly on stand alone oc4j container.I suspect we have hit a bug as I have seen another issue posted by Shawn M Laubach .Can anybody [More]
I need your help with a GL delivered query.  I am sure if you look at your client environment, the query should be delivered as well.  The delivered query is  called, GL_ARCH_JRNL that archives Journals in GL. I couldn't make out from the criteria co [More]
In this video we'll take a quick overview of the new multiscreen design, jQuery Mobile and native mobile application features in Dreamweaver CS 5.5 with product manager Scott Fegette. http://adobe.ly/zib7yzAdobe provides the worst help ever! What a b [More]
CS6 Indesign auf Windows 7 Habe schon viel ohne Erfolg gemacht, um die unentbehrlichen Tooltips wieder zum Erscheinen zu bringen. Habe Firefox gelöscht und durch Opera ersetzt, alle add-on und Kasperski Sicherheit deaktiviert, kleinere Programme gelö [More]
Im having problems burning cds, i insert a blank disk, click burn and it starts and initializes the play list but it stops and then cancels the burn... what the heck is going on, i cant burn music and my ipod wont update!!!Thank you...here is the CD [More]
First of all I want to apologize for my English. I started to work with Adobe LiveCycle a few days ago. I am trying to populate dynamically a DropDownList  with a XML at process time . It is possible to do it? All the documentation I've found they do [More]