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
Hello, I'm trying to convert a multi-page PDF to individual GIF files, one per page, in Photoshop. Sounds pretty easy, but alas... I have Photoshop 6.0 running on an eight-year-old desktop running Windows XP with 512MB of RAM, and I have Photoshop CS [More]
help me find my old library pleasePlease check out the following Apple Support article on details on how you can redownload past purchases from the iTunes Store.Read other 2 answers [More]
Our website recently switched servers, in the switch they moved files in our FTP to a root folder www/ which has created some issues, most are resolved but I am really stuck on a Library folder which was originally in our root folder and now it is in [More]
Disclaimer: I know nothing about coding/scripting in Acrobat (or in any language, for that matter). I have 4 sets of text fields, call them A, B, C, and D. All of the fields in set A will have a value entered. There are 10 fields in set A while sets [More]
Hi, I configured one PCR scenerio in SPRO node -> business Packakes/ funtional packages-> Manager self service-> Personal Change request -> Group Change request scenerio. later I deleted that entry in backend, but still the same entry exist in [More]
my iphone 4s is not connecting with itunes and giving me a message of unknow error 0xE8000012 Please help me outYou've managed to permanently damage the phone. As gdgmacguy suggests, buy a new one. Preferably from a legitimate source. You may also wa [More]
I am maintaining some portal apps that were originally written in EP5 and have been converted to work in EP6.  The iviews make RFC calls to SAP and bring back data with date fields from SAP.  We use JCA to connect to SAP, in EP5 we used JCO.  The use [More]
Does anyone know how to configure the mail server to Send copy of incoming email to a specified email. Thank you! e.g. I got 3 colleagues in support team and their email addresses are [email protected], [email protected] and [email protected] Any ema [More]
hi all' i have developed an application with midp 1.0 /cldc. its working fine in nokia & motorola simulator. but while installing in Nokia 7650 real device it shows the following error: ***** Jad & Jar don't Match. i have created the jar & jad [More]
I have the installed version of CS6 Master Suite running OSX 10.9.5 on an older MacBook Pro . I wondered if it is compatible with OSX Yosemite? I am reluctant to upgrade. I am not ready for Adobe Cloud yet.You won't know until you try. It's as simple [More]