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 just purchased a Macbook Pro, my wife has her iPhone 4s and iPad, we can't facetime or imessage because the accounts think it is the same user?Create two accounts on your MBP, one for you and one for your wife. Then from each account set up an iTun [More]
Hi, When i use the command : $ORACLE_HOME/bin/createinstance -instanceName MEDIWEB_OPE -groupName default_group I am asked for the administrator password. I have been following the documentation at http://www.oracle.com/technetwork/middleware/ias/oc4 [More]
Dear Team, I would like to know implications if balance carry forward is run every Quarter instead of Year in quarterly consolidation ? Thanks and Regards, Mandar JetlyHave you already tried it )) ? It's impossible to run BCF whenever you wish. The t [More]
hi, In my receiver file CC(using file content conversion) I want to add some names on the receiver text file name automatically. sender is R3 that is IDOC as MI. In that field called CURCY on one segment and country one segment. ex. Now the receiver [More]
Hi, to choose between two apple products: MacBook Pro 13" Core i7 2.9GHz 8GB DDR3 RAM 1600MHz 750GB HDD SerialATA (5400 rpm) Intel HD Graphics 4000 vs. MacBook Air 13" Core i7 2.0GHz 8GB RAM 1600 MHz DDR3L SDRAM 256GB Flash Intel HD Graphics 400 [More]
We are attempting an on account posting to the customer account based on the customer name in the bank statement. The configuration looks as follows. 1. Posting rule reflects the setting for posting area 1 and 2. For the second posting area the credi [More]
I Have updated to the newest update which is 8.1.2 after updating anytime I try to type up a message in Facebook or gmail I am unable to see my screen where I type my message, so am typing my messages blindly. Is there a fix for this?The Split Keyboa [More]
I was struggling to link these two. I followed the directions in the website but that does not help. it says login with MS account. there will be a option says i have skype account as well but that startup wizard kinda screen does not pop up. it goes [More]
Hi All, I need to create menu exit for ME23n in 4.6c version. I checked all available enhancements for ME23n but those are not having Menu exits. Kindly guide me in this regard.go to me23n. in the menu follow the path STATUS-> SYSTEM STATUS-> GUI_ST [More]
Does anybody know if it is possible to protect your PDF files from the following when sent to an external party: - Creating a copy of the PDF by using 'Save As' or other methods - Stopping the PDF from being Screen grabbed or screen captured - Emaili [More]