Modifying ESS code for Quota Overview service
Hello,
I want to modify the Quota Overview screen as:
Change the name of the Column header from Entitlement Type to Allotment.
When I create a project for the DC I see 3 Webdynpro components ,then I goto VCQuota ->Views->VcQuotaView ->Layout and change the header title there in the properties ,but when I test it in the local server ,it's not reflected.
What's the right way to do it.
Any help would be highly appreciated.
Hi ,
Usually we define Dev and QA as runtime systems.
Check out files from DTR , edit , check-in and activate and finally release.
In DEV system we directly deploy , while in QA.. the released content will be import thru NWDI landscape configurations..
You can directly deploy your contents in your DEV system and use NWDI infrastructure for further transport across systems.
I have not seen this component code.. We can customize the fields to be visible from SPRO in the backend. It might be that these are made invisible.
Or the scenario you are currently working on ,might not necessarily need this..
Regards
Bharathwaj
Similar Messages
-
Development Component for Quota overview
Hello,
I have to modify the Quota Overview/Time Accounts service for ESS. I have imported the Development Configuration on Developer Workplace, but I am unable to find the DC for this service.
Any help would be highly appreciated.Thanks for the reply.
I found the DC for Quota overview.I want to change the name of the column header from Entitlement Type to Allotment ,Please let me know what's the right way to do it ?
Any help would be highly appreciated./ -
Need ABAP code for the below Services requirement
Hi,
We have a requirement to show all the services for a particular Purchase order number.For this I built a view on 2 tables ESLL and EKPO.Now based on the below logic I need to bring the services for the Purchase order..
1.Enter PO number,item no. and Doc category in EKPO and find the Pack no.
2.Now take the Pack no. of EKPO and give in ESLL and find the Sub pack no.
3.Now take this Subpack no. and Give this sub pack as Pack no. in ESLL
4.This will be the Service entry record for that PO number.
Can any one Please suggest me to how to write the ABAP code for the above logic.
Thanks & Regards,
DinakarHi Dinaker,
Did you find any solution for this issue. I too have a similar requirement of pulling all the service orders for a specific Purchase Order in the BW report.
Thanks,
SAPBWI -
Help for Modifying the Code for display a 7 column table
Hi,
Is someone can help me to modify that code I have a 7 colomn table and as many row as their is results?
Right now, All my result are in a 1 colomn table and and 1 row,
thanks,
Roseline
DECLARE
vtemp varchar2(4000) DEFAULT ' ';
BEGIN
htp.p('<HTML>');
htp.p('<HEAD>');
htp.p('<TITLE>DISQUES C</TITLE>');
htp.p('</HEAD>');
htp.p('<BODY>');
FOR idx IN
SELECT DVD_ID, NomFichier,
row_number() over(partition BY DVD_ID ORDER BY NomFichier ASC) AS rna,
row_number() over(partition BY DVD_ID ORDER BY NomFichier DESC) AS rnd
FROM elements
WHERE PROJET_ID = 1
ORDER BY DVD_ID ASC, rna ASC
loop
IF idx.rna = 1
then
htp.p('<TABLE>');
htp.p('<TR>');
htp.p('<TD>' || idx.DVD_ID ||' </TD> ');
htp.p('</TR>');
htp.p('<TR>');
end IF;
vtemp := vtemp || '<TD>' || idx.NomFichier || ' </TD>';
IF mod(idx.rna, 7) = 0 OR idx.rnd = 1
then
htp.p(vtemp);
vtemp := ' ';
end IF;
IF idx.rnd = 1
then
htp.p('</TR>');
htp.p('</TABLE>');
end IF;
end loop;
htp.p('</BODY>');
htp.p('</HTML>');
end;Sorry:
I have a table contening PROJECT ID, DVD ID and FILES NAME (NomFIchier) that are on the DVD.
In my page result, I want the list of the DVD from a project with the following formatting ( 7 columns table), using PL/SQL.
1 DVD can contain from 5000 files
ex:
Ex:
select DVDNAME, NomFichier fromTABLE where project = 2
*85*
2635080 2636608 2637084 2637091 2637092 2637093 2637147
2637152 2637153 2637154 2637155 2637156 2637157 2637164
*86*
2639497 2639498 2639502 2639504 2639505 2639506 2639507
2639508 2639509 2639511 2639512 2639519 2639521 2639522
******* ******* ******* ******** ********* ******** ******** With this code following code,
DECLARE
vtemp varchar2(4000) DEFAULT ' ';
BEGIN
htp.p('<HTML>');
htp.p('<HEAD>');
htp.p('<TITLE>DISQUES C</TITLE>');
htp.p('</HEAD>');
htp.p('<BODY>');
FOR idx IN
SELECT DVD_ID, NomFichier,
row_number() over(partition BY DVD_ID ORDER BY NomFichier ASC) AS rna,
row_number() over(partition BY DVD_ID ORDER BY NomFichier DESC) AS rnd
FROM elements
WHERE PROJET_ID = 1
ORDER BY DVD_ID ASC, rna ASC
loop
IF idx.rna = 1
then
htp.p('<TABLE>');
htp.p('<TR>');
htp.p('<TD>' || idx.DVD_ID ||' </TD> ');
htp.p('</TR>');
htp.p('<TR>');
end IF;
vtemp := vtemp || '<TD>' || idx.NomFichier || ' </TD>';
IF mod(idx.rna, 7) = 0 OR idx.rnd = 1
then
htp.p(vtemp);
vtemp := ' ';
end IF;
IF idx.rnd = 1
then
htp.p('</TR>');
htp.p('</TABLE>');
end IF;
end loop;
htp.p('</BODY>');
htp.p('</HTML>');
end;I have the following result
85
2635080 2636608 2637084 2637091 2637092 2637093 2637147 2637152 2637153 2637154 2637155 2637156 2637157 2637164 2637169 2637170 2637172 2637173 2637202 2637203 2637213 2637214 2637215 2637216 2637217 2637218 2637219 2637220 2637234 2637235 2637236 2637237 2637239 2637240 2637241 2637242 2637244 2637246 2637247 2637249 2637250 2637251 2637252 2637253 2637257 2637263 2637266 2637269 2637270 2637274 2637276 2637279 2637284 2637290 2637291 2637292 2637293 2637294 2637295 2637296 2637301 2637303 2637304 2637305 2637306 2637311 2637320 2637322 2637324 2637331 2637333 2637336 2637352 2637353 2637354 2637358 2637359 2637360 2637361 2637362 2637363 2637364 2637371 2637378 2637383 2637384 2637385 2637386 2637387 2637388 2637391 2637392 2637395 2637400 2637405 2637412 2637418 2637419 2637423 2637443 2637446 2637453 2637461 2637470 2637483 2637484 2637485 2637494 2637502 2637506 2637507 2637519 2637532 2637536 2637537 2637539 2637540 2637541 2637544 2637553 2637554 2637555 2637557 2637575 2637578 2637579 2637580 2637581 2637582 2637583 2637587 2637588 2637589 2637590 2637591 2637592 2637593 2637594 2637595 2637597 2637604 2637605 2637606 2637611 2637619 2637628 2637629 2637630 2637631 2637632 2637633 2637637 2637645 2637647 2637648 2637650 2637651 2637657 2637658 2637659 2637661 2637662 2637668 2637674 2637676 2637677 2637679 2637680 2637681 2637684 2637685 2637686 2637688 2637689 2637691 2637692 2637694 2637696 2637700 2637701 2637702 2637703 2637704 2637705 2637706 2637707 2637722 2637725 2637741 2637749 2637751 2637752 2637753 2637762 2637764 2637771 2637777 2637779 2637781 2637783 2637785 2637789 2637793 2637809 2637810 2637811 2637812 2637823 2637827 2637836 2637837 2637838 2637845 2637850 2637854 2637855 2637857 2637858 2637859 2637860 2637861 2637866 2637867 2637870 2637874 2637875 2637876 2637877 2637878 2637879 2637880 2637881 2637884 2637885 2637886 2637887 2637891 2637892 2637893 2637894 2637895 2637897 2637898 2637899 2637900 2637901 2637902 2637904 2637906 2637907 2637908 2637909 2637913 2637914 2637916 2637917 2637918 2637919 2637920 2637921 2637923 2637926 2637928 2637929 2637930 2637933 2637935 2637936 2637937 2637939 2637940 2637941 2637942 2637943 2637949 2637950 2637951 2637952 2637954 2637955 2637958 2637965 2637967 2637969 2637970 2637971 2637973 2637978 2637985 2637986 2637987 2637990 2637991 2637992 2637993 2638001 2638002 2638005 2638007 2638009 2638016 2638018 2638020 2638023 2638027 2638029 2638033 2638034 2638035 2638036 2638039 2638043 2638044 2638045 2638046 2638048 2638049 2638052 2638053 2638055 2638057 2638058 2638063 2638064 2638065 2638067 2638068 2638069 2638072 2638076 2638080 2638081 2638082 2638083 2638084 2638087 2638089 2638096 2638097 2638098 2638099 2638100 2638101 2638102 2638103 2638105 2638106 2638108 2638110 2638113 2638117 2638118 2638120 2638121 2638122 2638124 2638126 2638128 2638134 2638135 2638136 2638137 2638139 2638140 2638141 2638143 2638146 2638147 2638148 2638149 2638150 2638151 2638152 2638153 2638154 2638155 2638157 2638159 2638167 2638168 2638172 2638173 2638174 2638175 2638181 2638184 2638185 2638187 2638192 2638193 2638198 2638199 2638200 2638202 2638203 2638205 2638207 2638208 2638209 2638210 2638211 2638212 2638214 2638218 2638219 2638220 2638221 2638223 2638230 2638232 2638236 2638243 2638245 2638246 2638247 2638248 2638258 2638264 2638265 2638268 2638279 2638280 2638281 2638283 2638284 2638287 2638305 2638309 2638310 2638311 2638312 2638316 2638317 2638318 2638319 2638321 2638324 2638330 2638331 2638332 2638333 2638334 2638335 2638336 2638337 2638338 2638339 2638340 2638341 2638342 2638344 2638347 2638349 2638352 2638353 2638364 2638372 2638374 2638376 2638379 2638390 2638391 2638392 2638393 2638394 2638395 2638402 2638405 2638407 2638414 2638421 2638422 2638429 2638430 2638432 2638434 2638438 2638442 2638444 2638457 2638467 2638469 2638474 2638478 2638479 2638480 2638484 2638486 2638488 2638489 2638491 2638506 2638507 2638508 2638510 2638511 2638512 2638513 2638514 2638515 2638516 2638517 2638518 2638519 2638520 2638521 2638522 2638523 2638525 2638527 2638529 2638530 2638531 2638532 2638536 2638537 2638563 2638564 2638567 2638568 2638569 2638618 2638628 2638629 2638634 2638644 2638647 2638649 2638653 2638658 2638666 2638671 2638675 2638677 2638679 2638680 2638685 2638687 2638689 2638691 2638692 2638693 2638694 2638695 2638696 2638697 2638699 2638701 2638702 2638703 2638704 2638705 2638706 2638707 2638709 2638710 2638711 2638712 2638713 2638714 2638720 2638721 2638725 2638726 2638728 2638731 2638732 2638736 2638737 2638739 2638740 2638741 2638744 2638745 2638747 2638748 2638753 2638754 2638755 2638756 2638757 2638760 2638763 2638764 2638768 2638777 2638781 2638782 2638783 2638791 2638793 2638795 2638796 2638798 2638799 2638801 2638810 2638811 2638813 2638814 2638815 2638816 2638817 2638818 2638832 2638833 2638834 2638835 2638836 2638846 2638847 2638848 2638849 2638850 2638851 2638852 2638854 2638855 2638857 2638858 2638859 2638860 2638861 2638862 2638864 2638866 2638867 2638868 2638869 2638870 2638872 2638873 2638874 2638876 2638883 2638884 2638885 2638893 2638895 2638900 2638923 2638927 2638928 2638929 2638931 2638932 2638935 2638936 2638937 2638939 2638942 2638943 2638949 2638952 2638954 2638955 2638956 2638957 2638958 2638959 2638960 2638961 2638962 2638968 2638976 2638978 2638979 2638980 2638983 2638984 2638986 2638988 2638994 2638995 2638998 2638999 2639001 2639002 2639003 2639006 2639011 2639012 2639013 2639014 2639016 2639017 2639018 2639024 2639025 2639030 2639036 2639038 2639039 2639043 2639045 2639046 2639049 2639055 2639057 2639064 2639066 2639067 2639068 2639069 2639072 2639074 2639076 2639079 2639080 2639081 2639085 2639086 2639092 2639098 2639099 2639100 2639101 2639103 2639104 2639105 2639106 2639107 2639109 2639110 2639111 2639112 2639125 2639128 2639129 2639131 2639132 2639133 2639134 2639137 2639138 2639139 2639144 2639146 2639148 2639149 2639159 2639162 2639164 2639165 2639167 2639177 2639179 2639186 2639187 2639188 2639191 2639196 2639197 2639204 2639205 2639208 2639214 2639217 2639218 2639220 2639221 2639223 2639224 2639225 2639226 2639227 2639230 2639236 2639237 2639238 2639239 2639241 2639242 2639246 2639248 2639260 2639262 2639263 2639264 2639270 2639271 2639292 2639293 2639296 2639298 2639299 2639300 2639302 2639303 2639304 2639305 2639306 2639307 2639308 2639309 2639311 2639315 2639316 2639317 2639319 2639321 2639322 2639323 2639324 2639325 2639326 2639327 2639328 2639329 2639330 2639331 2639333 2639336 2639338 2639339 2639341 2639342 2639343 2639344 2639345 2639346 2639348 2639349 2639350 2639356 2639358 2639359 2639360 2639361 2639362 2639364 2639365 2639367 2639368 2639369 2639370 2639373 2639374 2639376 2639378 2639379 2639381 2639386 2639387 2639388 2639389 2639391 2639394 2639396 2639397 2639398 2639400 2639401 2639404 2639405 2639406 2639409 2639410 2639411 2639412 2639419 2639423 2639426 2639427 2639429 2639434 2639437 2639440 2639446 2639448 2639450 2639457 2639465 2639466 2639467 2639468 2639469 2639472 2639473 2639474 2639475 2639478 2639485 2639486 2639487 2639488 2639489 2639491 2639492 2639495
86
2639497 2639498 2639502 2639504 2639505 2639506 2639507 2639508 2639509 2639511 2639512 2639519 2639521 2639522 2639523 2639525 2639527 2639530 2639542 2639543 2639552 2639553 2639554 2639555 2639559 2639560 2639561 2639563 2639564 2639565 2639567 2639574 2639575 2639578 2639579 2639581 2639582 2639584 2639585 2639586 2639587 2639588 2639589 2639591 2639595 2639596 2639597 2639598 2639599 2639605 2639618 2639621 2639623 2639624 2639627 2639628 2639637 2639638 2639639 2639644 2639647 2639648 2639649 2639650 2639654 2639658 2639662 2639665 2639669 I have some sample date here:
http://www.developpez.net/forums/attachments/p57656d1263922095/bases-donnees/oracle/pl-sql/html-affichage-tableaux-conditions/testcase.zip/
I want to know if it's possible to achieve what I want based on the code here.
I'm working on Application Express 3.1.2.00.02
thanks!!
Roseline -
Modify source code for Active-X viewer
Requirement:
Whenever an ActiveX viewer is selected, and a report link is clicked, the control goes to Url - CeVwr which is a servlet pointing to ReportSourceBridge.java residing in reportsourcebridge.jar. This class alongwith all other classes present in this jar pop up the parameter screen and process it to display report. Our requirement is to dynamically prepare this parameter screen, by localizing the strings - parameter prompts and their options - based on user's locale.
Reason for workaround:
BO does not provide any source code for Active-X viewer but they do for DHTML and Advanced DHTML viewer. So it was easy for us to implement our requirements in DHTML and AdvDHTML viewers but for Active-X viewer it is not the same story.
Workaround:
We identified a core class ParameterHTMLRenderResult.java present in rascore.jar, which is the one which genrates HTML for parameter prompt screen for all viewers, accept for the Java one. We extracted all parameters, their descriptions, their prompting options as well as current values and modified the html result to get a localised HTML result. We also passed user's locale in this class.
Question: Is the source code for Active-X viewer available? Is it okay for us to modify Active-X viewer?Hi Chris,
We do not provide the activex viewer code and do not support modifying it or any of our other code.
Code for those two other viewers is available since they are html based viewers so that code is easily obtainable, but we do not support customers making changes to it.
Jason -
Guide on how to modify Java code for Syclo
Hi All,
I have ZS4SAPSM-3.0.0.0 jar file in Installed Agentry server's Java folder.
I want to modify some code in Java. I imported that file in Eclipse and modified it and tried to run it. It was calling some JCO client etc.
Can someone guide me to know the procedure to modify Java code?
Regards
-prit
Tags edited by: Michael ApplebyHow-to Build an Agentry based mobile app from scratch connecting to an SAP back-end Part1
Pls Read this document. It was very helpful to me to built the app from scratch.
I think you will understand the idea of Java and it will help to solve you problem.
If you have more questions pls attach the examples here. -
ESS Pay check "Show Overview" Service erroring out
Hi All,
ESS Pay check service is giving error, When executed it displayes pdf form, with buttons to go to next and previous pay stubs. But when I click on show overview, it is giving an error. The same webdynpro code works fine on Sandbox, but not in dev and quality portals. Is there any configuration required in ECC for this? Please suggest any other you might think of causing this issue,
Here is the error..,
The initial exception that caused the request to fail, was:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:507)
at java.util.ArrayList.get(ArrayList.java:324)
at com.sap.tc.webdynpro.progmodel.context.Node$ElementList.getElement(Node.java:2034)
at com.sap.tc.webdynpro.progmodel.context.Node$MappedElementList.getElement(Node.java:2399)
at com.sap.tc.webdynpro.progmodel.context.Node.getElementAtInternal(Node.java:621)
... 50 more
See full exception chain for details.
Detailed Exception Chain
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:507)
at java.util.ArrayList.get(ArrayList.java:324)
at com.sap.tc.webdynpro.progmodel.context.Node$ElementList.getElement(Node.java:2034)
at com.sap.tc.webdynpro.progmodel.context.Node$MappedElementList.getElement(Node.java:2399)
at com.sap.tc.webdynpro.progmodel.context.Node.getElementAtInternal(Node.java:621)
at com.sap.tc.webdynpro.progmodel.context.Node.setLeadSelection(Node.java:753)
at com.sap.xss.hr.rem2.selection.SelectionView.wdDoModifyView(SelectionView.java:141)
at com.sap.xss.hr.rem2.selection.wdp.InternalSelectionView.wdDoModifyView(InternalSelectionView.java:433)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doModifyView(DelegatingView.java:78)
at com.sap.tc.webdynpro.progmodel.view.View.modifyView(View.java:337)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:481)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doModifyView(ClientComponent.java:488)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doModifyView(WindowPhaseModel.java:551)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:148)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:313)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
at com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalApplicationProxy.sendDataAndProcessAction(LocalApplicationProxy.java:77)
at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1257)
at com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:325)
at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:826)
I appreciate your time,
Thanks
SuryaThis error occurred casue of BADI we implemented.., accoding to one SAP note, you just cant implement a method of a BADI, we need to implement every method of it and activate altogether. This made the trick..,
Thanks
Murthy -
Flash Builder 4.5 Auto-Gen Code For PHP Data Service Produces Errors
Hello
I'm currently running a fresh install of MAMP on my Mac and when I start a new flex project, add a php data service that pulls from a mysql database I have. Everything works fine until I try to compile. The error I'm getting is 'uid' being the primary key which is a bigint(20). The file _Super_Users.as (auto-gen based on the user table below) reports 2 errors: [Managed] requires uid to be of type 'String'. (same error on 2 lines of code) Now the MySQL table wants it to be a int, the auto gen code seems to want it to be an int as well but for some reason its putting in these requires for String on the getter and setters for 'uid'. The is before I even add any of my own code, just auto-gen then compile.
* data/source property getters
[Bindable(event="propertyChange")]
public function get uid() : int /*error line*/
return _internal_uid;
* data/source property setters
public function set uid(value:int) : void /*error line*/
var oldValue:int = _internal_uid;
if (oldValue !== value)
_internal_uid = value;
This is what my database looks when I export it:
CREATE TABLE `users` (
`uid` bigint(20) unsigned NOT NULL,
`name` varchar(150) NOT NULL,
`first_name` varchar(50) NOT NULL,
`middle_name` varchar(50) NOT NULL,
`last_name` varchar(50) NOT NULL,
`gender` tinyint(1) NOT NULL,
`locale` varchar(5) NOT NULL,
`link` varchar(255) NOT NULL,
`username` varchar(50) NOT NULL,
`email` varchar(255) NOT NULL,
`picture` varchar(255) NOT NULL,
`friends` text NOT NULL,
`created` datetime NOT NULL,
`updated` datetime NOT NULL,
PRIMARY KEY (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
It's empty right now...
Apache 2.0.64
MySQL 5.5.9
PHP 5.2.17 & 5.3.5
APC 3.1.7
eAccelerator 0.9.6.1
XCache 1.2.2 & 1.3.1
phpMyAdmin 3.3.9.2
Zend Optimizer 3.3.9
SQLiteManager 1.2.4
Freetype 2.4.4
t1lib 5.1.2
curl 7.21.3
jpeg 8c
libpng-1.5.0
gd 2.0.34
libxml 2.7.6
libxslt 1.1.26
gettext 0.18.1.1
libidn 1.17
iconv 1.13
mcrypt 2.5.8
YAZ 4.0.1 & PHP/YAZ 1.0.14
I tried to give as much info as possible, if you need more let me know...I discovered my problem was uid seems to be a built in global or something and was filling in that data field with a bunch of letters and number, like the device id. Because of the letters flex was throwing a fit. So if you're using Facebook API in flex be sure to not go with uid for the user id, which is was facebook api calls it.
-
Sample code for calling web services for export
Hi I am trying to use web service ExportProject to export a project out of Primavera DB. The Export service uses MTOM (Message Transmission Optimization Mechanism) to send the output files as attachments. Need some information on
- Can the export service be specified a location for the transfer? or it will come attached in the response?
- How do i access this attachment? I am using PL/SQL for doing this.
Any help will be appreciated.I am not a pl/sql guy but there is a java example in the demo code that might help you figure out a pl/sql approach.
Look in WSDemo.java in the exportProject method. The WSDemo.java file was located in the following directory on my system: \Oracle\P6EPPM\ws\demo\Java\JAX-WS\src\com\primavera\wsclient\demo
Gene -
Beginner:an issue of generating code for an entity service
Hi All,
I have downloaded Sap Netweaver of sneak preview version which contains netweaver studio 7.0.07. And my jdk version is 1.4.09.
I created a CAF project and added an entity service named Person(just by clicking mouse,not did anything else).But when I tried to generate code,the compiler told me "The type abstractStringbuilder is not visible" and thus it caused the failure of building the project.I have googled this issue and found that this is a existing bug in eclipse.
Now here is the question: will it take effect if I upgrade my jdk to 1.5? Or can anyone give me any suggestions?
Thank you very much.
Message was edited by: Yuhui Liu
Message was edited by: Yuhui LiuHi,
I suspect that you are using Java5 sinse the AbstractStringBulder is not present in 1.4.
Please check the Java version used by the IDE by opening "Help -> About.. -> Configuration Details".
Java 5 is not supported by NetWeaver 7.
Anyway, an upgrade to Java 5 won't solve the issue.
Best Regards,
Tsvetan -
Code for consuming web services in ABAP
*& Report ZVM_GET_CITY_TIME
REPORT zvm_get_city_time.
PARAMETERS:
p_city TYPE zget_city_time_soap_in-city.
DATA:
cl_proxy TYPE REF TO zco_time_service_soap,
input TYPE zget_city_time_soap_in,
output TYPE zget_city_time_soap_out,
systerr TYPE REF TO cx_ai_system_fault,
w_error TYPE c.
TRY.
CREATE OBJECT cl_proxy
EXPORTING
logical_port_name = 'ZCO_TIME_SERVICE_SOAP'.
CATCH cx_ai_system_fault.
CREATE OBJECT systerr.
WRITE:/ 'Error in creating object - ', systerr->errortext.
ENDTRY.
TRY.
input-city = p_city.
CALL METHOD cl_proxy->get_city_time
EXPORTING
input = input
IMPORTING
output = output.
CATCH cx_ai_system_fault.
CREATE OBJECT systerr.
WRITE:/ 'Error in calling the method - ', systerr->errortext.
w_error = 'X'.
ENDTRY.
CHECK w_error NE 'X'.
SKIP.
WRITE:/ 'The current time in ', p_city, ' is ',
output-get_city_time_result.<i> is there any other way to consume web services in ABAP</i>
you can use cl_http_client class to make your program to act as http client and post the soap message too webservice. This way you dont need to generate proxy, but you should know the soap message format.
Regards
Raja -
UML modeling for class diagrams, could not generate code for modified diagr
Hi,
I'm using Java studio Enterprise for creating class diagrams and generating code from the UML using round trip engineering. I'm able to create class diagrams and generate code from the diagram. I tried modifying java code for classes and saved it. Now if I try and modify the diagram its not updating the java code associated with it.
Please suggest the workaround or so.
Thanks
SunitaMaybe the linkage between the source and model class element is broken. Try to expand the class element from the project tree to see if a source file artifact node (under the class that displays the pathname as the name of the node). If not, that's why. Then, the workaround is to manually add the pathname to the java source file. Here are the steps:
- expand the class in question
- select the source file artifact node
- from the properties window on the right side of the ide, enter the exact pathname to the java source file and press the Enter
It should work now. -
Quota Overview in MSS...
Dear all,
Is it possible to show Quota overiew of ESS in "MSS >> Team >> Employee Information" Page so manager can view employee's leave quota?. Please suggest me on how to proceed further.
Thanks,
VasuHi,
You can create a "Z" Service for Quota Overview using Define Services and then assign this is to the MSS
view.
AS it mention in following link
https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=104006108
( since it a leave request you need do it for "Quota Overview " process will be the same )
I did like this only -
How to configure Two Tax Codes for single line item in work order
Hi All,
Please do Review the below scenario and tell me how to solve it.
A) Certified Work Done Gross Bill Amt 100,000
Total Work Done Value 100,000
Less : Labour & Like Charges @ 30 % on Rs 100,000 = 30,000
Vat applicable Amount = 70,000
Add VAT @12.5% Chargeable on Taxable Turnover of Rs. 70,000.00 = 8750
Total Bill Value = 108750
Service Tax @ 12.36% on 33% Value of Rs. 100000 = 4079
G.Bill Amt = 112829
Total Amt Due for Payment = 112829HI, There is a possible solution for this scenario.
1. Create 2 tax codes for VAT and SERVICE Tax at 12.5% and 12.36% respectively
2. While posting the Invoice (TRX - FB60) following steps need to be followed.
3. Amount has to be split into two line items
4. Ist Line Item should have the Vat amount + 70000/- and select relevant tax code that was
created for 12.5%
5. Similarly 2nd Line Item should have Service Tax amount + 30000/- and select relevant tax code that
was created for 12.36%.
Hope this would meet your requirement. If the solution is okay, kindly indicate the points.
Regards
K.Sanjai Babu -
Posting multiple tax codes for single line order in MIRO
Hi all ,
I have received a request from my business colleagues to investigate the possibility of posting multiple tax codes against a single line order in MIRO.
This apparently can be a possibility for such things as training.
I have searched a number of forums and tried and tested different ways in my develoment client but am unable to find a solution. admittedly I am no real expert in this area and would be gratefu;lt of any ideas / assistance / etc..HI, There is a possible solution for this scenario.
1. Create 2 tax codes for VAT and SERVICE Tax at 12.5% and 12.36% respectively
2. While posting the Invoice (TRX - FB60) following steps need to be followed.
3. Amount has to be split into two line items
4. Ist Line Item should have the Vat amount + 70000/- and select relevant tax code that was
created for 12.5%
5. Similarly 2nd Line Item should have Service Tax amount + 30000/- and select relevant tax code that
was created for 12.36%.
Hope this would meet your requirement. If the solution is okay, kindly indicate the points.
Regards
K.Sanjai Babu
Maybe you are looking for
-
Yahoo and Gmail are missing push inbox option in iOS 6.1.4
Dear all, I would really appreciate of someone comes with a solution for push notifications using yahoo and gmail on iPhone 5 with iOS 6.1.4. I am missing option for push notifications in bough email accounts (yahoo and gmail). I have read somewhere
-
SubVi with feedback nodes used more than once inside a While Loop
All, I have a subvi that does a set of operations and uses 3 feedback nodes. I am using this subvi inside a While Loop a total of 4 times. I've noticed that all instances used share the same result at each corresponding feedback node but I would like
-
Hi BW experts, I getting following error in report : <b>No exchange rate from CAD to USD and date 28.02.2007 found (currency transl. TRAV/TRAV) Notification Number BRAIN 380</b> I am getting this message for only 4 months i.e March April,May,June but
-
CK71 suddenly hang when taking a picture using the camera
Hi team, The customer is using the CK71 with camera option. OS is. 1.61.22.72. Our partner developed the camera application based on Intermec source file according to the IDL(Multimedia Resource Kit). Regarding the source that the partner tested, I a
-
I am trying to play some games that Yahoo! has to offer. When I click on a game to play a window pops open and says, "Wait 3 minutes for applet to load... Click here if applet fails to load." So I wait 3 minutes and nothing loads and when I click on