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
i am new to java and have a thread question. i am using a GUI and then run a swingworker thread to get updates from a server on a regular basis. i realize that if the GUI is updated within the swingworker thread i need to use the invokeLater to put i [More]
All, I am trying to add a column to a table with defaul value as 0. The table has about 15M rows. The alter table statement is extermely slow. I am using 11.1.0.7 on windows. Thanks in advancePlease be careful when using this new 11g feature that can [More]
Whenever i try to open Dictionary, a question mark appears over the icon in the dock, and nothing happens. I had to delete my preferences, would that have made it not work? I think i may have accidentally deleted the application. Can someone tell me [More]
Hi, I would like to know what the go is with Illustrator and exporting to wmf files? What has happened is this. I have an illustrator file which i have a logo and text(an A4 letter head), which i am working with. I have it saved as an .AI file (illus [More]
Hi all, As my department has found some problem on software compatibility that we need to install additional Adobe Acrobat 9 in the new Windows 7 workstation, I just want to clarify if iwe are entitled to have this downgrade right by purchasing an ad [More]
Anyway to do this? I have a thousand page pdf doc that I need to print out but want to maximize viewing area. Obviously individually cropping pages is out of the question.You may be right about Adobe Reader.  However in Adobe Acrobat X Pro you can si [More]
Hi, I configured the automatic e-mail for EWA. How can I change the sender of the e-mail to a specific one or to an default? I already tried to set up the automatic e-mail with an other user but always my user is set as sender in the e-mail. Does any [More]
Hi, i need to create a TabStrip Control, and the first tab needs a select-options. Is there any way to build it? Thanks.Try using this.... SELECTION-SCREEN BEGIN OF SCREEN 123 AS WINDOW TITLE TEXT-456. SELECTION-SCREEN BEGIN OF BLOCK BL1 WITH FRAME T [More]
Hello, I'm using WEE1 output condition to print labels for gr. I'm using the standard object MM07ET and I need to include in the label the long text from material master - table STXL. I know that there is a function READ-TEXT in ABAP for this but I d [More]
Lost iphone, can it be located in any way?    jrdysert, I'm very sorry to hear that you're device may be lost!.  As the previous user stated you can locate through the "Find My iPhone" application via iCloud.com if you've registered prior.  If y [More]