Facing Problem while Debugging a custom report using LDB
Hi Gurus,
I have requirement to modify a custom report program related to FI. This program used Logical database ZDF ( Copied original DDF) for data fetching.
when i am trying to see the data in debugging mode, its not allowing to check in start-of-selection event. only in the initialization & end-of-selection i could able to debug.
when i put breakpoint in initialization, it is allowing to see the flow till a Get Event occurs in the code, once a Get event occur the debugger is coming out and displaying the report.
If anybody faced this kind of problem when debugging a report using LDB, please share how you resolved it. If there are any other ways to debug a program of this kind please help me.
Thanks,
Nanda
Hi Amith,
I checked that way also, i put break point in database program of the copied LDB, but its not allowing to check the flow in that program also.
Please suggest any other ways.
Thanks,
Nanda
Similar Messages
-
Problem while creating a custom document using JAVA API in the current Folder
I am trying to create an instance of a custome type from the API. I have created a custom type via XML. I have associated a JSP with the custom type thru iFS manager. This jsp provides an interface for the user to enter various data. On submit I call some other jsp also loaded into the /ifs/webui/jsps which calls a method in the java class to create an instance of the above mentioned type. This instance needs to be created in the current directory and not in the home directory of the user. I have written a java program which when run from JDeveloper connects to the repository and creates the object, but not as a foldered object. If I load this class into custom_classes directory, I get an exception. I am attaching the code also here which does the actual processing.
package cms;
import oracle.ifs.agents.common.*;
import oracle.ifs.agents.manager.*;
import oracle.ifs.agents.server.*;
import oracle.ifs.beans.*;
import oracle.ifs.common.*;
public class ContentModule extends Object {
public static final String CLASSNAME = "CONTENT";
public static final String TOPICID_ATTRIBUTE = "TOPICID";
public static final String SITEID_ATTRIBUTE = "SITEID";
LibrarySession m_session;
public ContentModule() {
connectToRepository();
createDocument("AM5","s");
public void connectToRepository(){
try{
LibraryService l_service=new LibraryService();
CleartextCredential l_credential = new CleartextCredential("system","manager");
ConnectOptions l_options=new ConnectOptions();
l_options.setServiceName("IfsDefault");
l_options.setServicePassword("ifssys");
m_session=l_service.connect(l_credential,l_options);
}catch(IfsException ex){
ex.setVerboseMessage(true);
ex.printStackTrace();
public void createDocument(String p_docName,String p_docContent){
try{
DocumentDefinition l_doc=new DocumentDefinition(m_session);
l_doc.setClassname(CLASSNAME);
long newId1=5;
long newId2=5;
FolderPathResolver l_currentPath=new FolderPathResolver(m_session);
Folder l_currentFolder=l_currentPath.getCurrentDirectory();
l_doc.setAddToFolderOption(l_currentFolder);
l_doc.setName(p_docName);
l_doc.setContent(p_docContent);
AttributeValue av1 = AttributeValue.newAttributeValue(newId1);
l_doc.setAttribute(TOPICID_ATTRIBUTE,av1);
AttributeValue av2 = AttributeValue.newAttributeValue(newId2);
l_doc.setAttribute(SITEID_ATTRIBUTE,av2);
Document l_document=(Document) m_session.createPublicObject(l_doc);
}catch(IfsException ex){
ex.setVerboseMessage(true);
ex.printStackTrace();
public static void main(String[] args) {
ContentModule contentModule = new ContentModule();
Any help will be highly appreciated.
ThanksPlease print out the Verbose Stack Trace generated when you run this application.
I suspect that you FolderPathResolver is not pointed at the directory you think it is. You might want to try printing out
I_CurrentFolder.getAnyFolderPath();
and I_CurrentFolder.getName();
null -
i am facing problems while openin an application in facebook and other places.when i go to the application,an error shows and firefox closes autmatically either i send error reports or dont.....plz help
Notes:
1) Please use the code tags when posting code or JNLP/HTML. It helps to retain indentation and avoids asterisks and plus sings being interpreted as formatting marks. To do that, select the code/JNLP etc. and click the CODE button seen on the Plain Text tab of the message posting form.
2) That launch file is invalid. You might check it (and the project in general) using JaNeLA.
3) The only place that SimpleSerial class could be, that the JRE would find, is in the root of aeon.jar. Is it actually there? -
Hi Experts , I am currently facing problems while running restricted version copy in sap apo .. The log says 0 location products copied and that the process has timed out. the error message is " /SAPAPO/MVM_INT_SVC_CO_VER_LCW reported exception in task DP00014 " , then ending in time limit exceeded. could anyone explain why this happens. please note even if the log says 0 location products copied , in reality they have have been partially copied.
Regards
JerelHi, thank you for your replies, I found out few things about my servlet, and its portability
and i have few questions, although i marked this topic as answered i guess its ok to post
I am using javax.servlet.context.tempdir to store my files in that servletcontext temporary directory. But i dont know how to give hyperlink
of the modified files to the user for them to download the modified files.
What i am using to get the tempdir i will paste
File baseurl = (File)this.getServletContext().getAttribute("javax.servlet.context.tempdir");
System.out.println(baseurl);
baseurl = new File(baseurl.getAbsolutePath()+File.separator+"temp"+File.separator+"files");
baseurl.mkdirs();so i am storing my files in that temp/files folder and the servlet processes them and modifies them, then how to present them as
links to the user for download ?
and as the servlet is multithreaded by nature, if my servlet gets 2 different requests with same file names, i guess one of them will be overwritten
And i want to create unique directory for each request made to the servlet , so file names dont clash.
one another thing is that i want my servlet to be executed by my <form action> only, I dont want the user to simply type url and trigger the servlet
Reply A.S.A.P. please..
Thanks and regards,
Mihir Pandya -
i am facing problem while reading values from properties file ...i am getting null pointer exception earlier i was using jdeveloper10g now i am using 11g
hi TimoHahn,
i am getting following exception in JDeveloper(11g release 2) Studio Edition Version 11.1.2.4.0 but it works perfectly fine in JDeveloper 10.1.2.1.0
Root cause of ServletException.
java.lang.NullPointerException
at java.util.PropertyResourceBundle.handleGetObject(PropertyResourceBundle.java:136)
at java.util.ResourceBundle.getObject(ResourceBundle.java:368)
at java.util.ResourceBundle.getString(ResourceBundle.java:334)
at org.rbi.cefa.master.actionclass.UserAction.execute(UserAction.java:163)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) -
Problem while importing a Crystal Report in SAP Business One
Hi Experts,
I am facing a problem while importing a Crystal Report in SAP Business One, it displaying an error "No matching records found 'Queries' (OUQR) (ODBC -2028) [Message 131-183]" , and there is no use of this table OUQR in the Query.
Kindly let me know the solution.
Regards
Rahul SinghHi Rhaul,
i don't exactly know why this is a problem, but if your not on latest (881 p10) then upgrade and try again.
Or as a workaround,
try saveing from CR to SAP with the CR add-on. That usualy works better then the import.
Regards,
D -
Facing problems while mapping fields in LSMW.
Hi Friends,
i got a requirement to upload the address. Address is in
flat file.requirement is to use LSMW with object 0602 and the
standard report program is RSADRLSM02.This standard report
program uses the structures for uploading are ADR_LSM0 to
ADR_LSM6.But i have some fields in the source structure are
not at all related to the fields in destination structure(i.e ADR_LSM0 to ADR_LSM6)therefore i am facing problem while
mapping the source and destination fields.is there any other
way to map the fields.Please help me it's very urgent.
Thanks in advance.
Regards,
Sumiti Gupta.Thanks for the reply santosh.
GIS FIELD SAP LOCATION
ADDR_GID(10char) EXADR-KUNNR
STR_NO(10) ADR_LSM0-STRT_CODE
STR_NAME (42) ADR_LSM0-STREET
ADDRESS_UNIT(7) ADR_LSM0-HOUSENUM_H
and
ADR_LSM0-HOUSENUM_L
ADDRESS_UNIT_TYPE(5) EVBSD-VBSART
POST_CODE (10) ADR_LSM0-POST_CODE
MUNI_NAME (40) EXADR-APPLDATA
MAILING_CITY(60) ADR_LSM0-CITY_NAME
MAP_PAGE(4) EADRSTRTGRID_GRID_ID
EVAC_ZONE(1) EVBSD-ZEVAC
PIN_NUM (18) EHAUD-PLTXT
in the above fields the structure with ADR_LSM0 are found with the other fields i m not able to find the similar fields in the destination structure.Please help me.
Regards,
Sumiti Gupta. -
Facing problem while going to catch return result from web-services.
Hi everybody,
I am new to BPEL. I am facing problem while going to catch the attributes of resultsets returning from web-services(QAS). As far as my knowledge, two types of results it should return - XML entities and another is attributes which is coming as the part of XML entitites. I am able to catch the XML entities, but can't catch the attributes under it. Even, I am not able to see whether web-services returning something within that field.
When, I tried to catch the attribute and store to a temporary varilable using the following code:
*<assign name="AssignQASDoGetAddress1">*
*<copy>*
*<from variable="InvokeQAS_DoSearch_OutputVariable"*
part="body"
query="/ns6:QASearchResult/ns6:QAPicklist/ns6:PicklistEntry/@PostcodeRecoded"/>
*<to variable="temp"/>*
*</copy>*
*</assign>*
but, I am facing the following selectionFailure errors after running it:
*"{http://schemasxmlsoap.org/ws/2003/03/business-process/}selectionFailure" has been thrown.*
-<selectionFailure xmlns="http://schemasxmlsoap.org/ws/2003/03/business-process/">
-<part name="summary">
*<summary>*
empty variable/expression result.
xpath variable/expression expression "bpws:getVariableData('InvokeQAS_DoSearch_OutputVariable', 'body', '/ns6:QASearchResult/ns6:QAPicklist/ns6:PicklistEntry/@PostcodeRecoded')" is empty at line 269, when attempting reading/copying it.
Please make sure the variable/expression result "bpws:getVariableData('InvokeQAS_DoSearch_OutputVariable', 'body', '/ns6:QASearchResult/ns6:QAPicklist/ns6:PicklistEntry/@PostcodeRecoded')"is not empty.
*</summary>*
*</part>*
*</selectionFailure>*
Getting this error it seems to me that web-service is returning nothing, but, it returns something as it has been catched using a method called isPostcodeRecoded() Java Code in Oracle ADF. This method has been used as it should return boolean whereas for catching the xml entities using java code we used the method like getPostcode(), getMoniker().
For your information, we are using Jdeveloper as the development tool for building the BPEL process.
Am I doing any syntax error. Please consider it as urgent and provide me asolution.
Thanks in advance.
Chandrachur.Thanks Dave and Marc, for your suggestions. Actually what I found is QAS web-service is returning nothing as attributes when the attributes are set to the default value. For example, following is the part of the wsdl of the result which QAS webservice returns.
<xs:element name="QASearchResult">
- <xs:complexType>
- <xs:sequence>
<xs:element name="QAPicklist" type="qas:QAPicklistType" minOccurs="0" />
<xs:element name="QAAddress" type="qas:QAAddressType" minOccurs="0" />
</xs:sequence>
<xs:attribute name="VerifyLevel" type="qas:VerifyLevelType" default="None" />
</xs:complexType>
</xs:element>
<xs:complexType name="QAPicklistType">
- <xs:sequence>
<xs:element name="FullPicklistMoniker" type="xs:string" />
<xs:element name="PicklistEntry" type="qas:PicklistEntryType" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="Prompt" type="xs:string" />
<xs:element name="Total" type="xs:nonNegativeInteger" />
</xs:sequence>
<xs:attribute name="AutoFormatSafe" type="xs:boolean" default="false" />
<xs:attribute name="AutoFormatPastClose" type="xs:boolean" default="false" />
<xs:attribute name="AutoStepinSafe" type="xs:boolean" default="false" />
<xs:attribute name="AutoStepinPastClose" type="xs:boolean" default="false" />
<xs:attribute name="LargePotential" type="xs:boolean" default="false" />
<xs:attribute name="MaxMatches" type="xs:boolean" default="false" />
<xs:attribute name="MoreOtherMatches" type="xs:boolean" default="false" />
<xs:attribute name="OverThreshold" type="xs:boolean" default="false" />
<xs:attribute name="Timeout" type="xs:boolean" default="false" />
</xs:complexType>
<xs:complexType name="PicklistEntryType">
- <xs:sequence>
<xs:element name="Moniker" type="xs:string" />
<xs:element name="PartialAddress" type="xs:string" />
<xs:element name="Picklist" type="xs:string" />
<xs:element name="Postcode" type="xs:string" />
<xs:element name="Score" type="xs:nonNegativeInteger" />
</xs:sequence>
<xs:attribute name="FullAddress" type="xs:boolean" default="false" />
<xs:attribute name="Multiples" type="xs:boolean" default="false" />
<xs:attribute name="CanStep" type="xs:boolean" default="false" />
<xs:attribute name="AliasMatch" type="xs:boolean" default="false" />
<xs:attribute name="PostcodeRecoded" type="xs:boolean" default="false" />
<xs:attribute name="CrossBorderMatch" type="xs:boolean" default="false" />
<xs:attribute name="DummyPOBox" type="xs:boolean" default="false" />
<xs:attribute name="Name" type="xs:boolean" default="false" />
<xs:attribute name="Information" type="xs:boolean" default="false" />
<xs:attribute name="WarnInformation" type="xs:boolean" default="false" />
<xs:attribute name="IncompleteAddr" type="xs:boolean" default="false" />
<xs:attribute name="UnresolvableRange" type="xs:boolean" default="false" />
<xs:attribute name="PhantomPrimaryPoint" type="xs:boolean" default="false" />
</xs:complexType>
here the attributes like FullAddress, PostcodeRecodedare , etc. are not being return by the web-service when it is getting the default value false. But, if it gets true then , it is being displayed at the BPEL console.
Do you have any idea how can I catch the attributes and its value even when it gets the default value which is already set. Previously, it was returning(it was not being displayed at the console).
Thanks once again for your valuable suggestions...!!!
Chandrachur. -
Custom Report using Metrics of Instance and Server
Hello
I need to create a custom report using different instance and server metrics like:
File System Space Available
Tablesapaces
Database Spaces usage
Sort in Memory
library Cache Hit
Data Dictionary Hit
Buffer Cache Hit
I already made the report, but I can´t change the size of the graphic (for a better presentation on my report)....
Do you know how can I change the size of the report?
I think that I´m using a "metric" so for that reason I Can´t change the size ... :(I am currently having a problem with this report and drilldown to KSB1, the cost centers selected int S_ALR_87013611 are not transferring to KSB1 and thus all the cost centers come up in the call to KSB1, are you experiencing this problem? I am on V4.7
-
Custom report using KM API Error
Hi All,
I have to create a report using KM API. i got the custom report using KM API from sdn and I imported into my NWDS. While i compile it, it is giving me this error.
"The project cannot be build because the classpath for com.sap.netweaver.bc.rf.common.exception.ResourceException is not found."
I have imported all the required jar files.
How can i rectify this error? Could anyone help me out in this issue?
Regards,
DivyaHi Divya,
> I have imported all the required jar files
First, I don't know what you mean with "imported" - in any case, you should <i>not</i> put the JARs into your project but just reference these.
Also, obviously you have <i>not</i> referenced <i>all the required jar files</i>; ResourceException is part of bc.rf.common_api.jar, which is part of portal application com.sap.netweaver.bc.rf, at least for NW2004s.
Please use the ClassLocator tool (search the WebLogs for this term to get some initial instruction) to avoid such questions in the future. It will make your life much easier.
Hope it helps
Detlev -
Facing problem in integrating my custom jsp with the workflow engine
Hi,
I am using Jdeveloper 11.1.1.6.0 for BPM 11g implementation on my Application.I have Weblogic Server 10.3 Installed and configured the domain. Also the server is up and running.
I am trying to create workflow and wants to integrate it with my custom jsp but i am facing problem in integrating my custom jsp with the workflow engine.Can you please answer the following questions:
1)how to link BPM human task with my custom jsp (Requester jsp).
2)how my custom jsp data(Requester data) will be stored in workflow engine and how the same data will be visible to the next custom jsp(Reviewer jsp).
This is urgent .Any early reply will be great help.
Thanks in advance.
Edited by: 990133 on Mar 24, 2013 5:31 AMyou forgot to add the usage dependency in the DC metadata section in your DC, you have to add the XSS~utils and fpm as a used DC's as part of your DC, try to add those, if you already done that, so check where missed the adding of used webdynpro components in any of the VAC's or FC's,
Cheer,
Appa -
I am facing problem while installing addon
I am facing problem while addon installation
Steps that i follow
1. Develop Custom Application in VB.Net.
2. Created Setup Wizard.
3. Create ARD File.
4. I start the SAP B1 - Administrator - Add On Administration.
When I specify this ard file it is trying to install the add-on. after few second it flashes the mession that it could not file myaddon.msi file in temp folder of windows. After this when i close that dialog box. it contiune with installation (may be in silent mode). it takes near about 1/2 an hour and after completing this setup it shows error of installation failed.
I don't why it is happening. Any solution for it.
Please Help Me.....Hi Owen,
I have tried .net Package & Deployment as well as InstallShield 2008. finally i have tried B1DE also. B1DE gives us template only in vb.net but not in C#.net and i want this in c#.net.
I was trying to understand the code that it creates. I won't be able get the code also.
I would like to go from other way apart from B1DE.
Need Urgent Help... -
Facing Problems while Browsing.
Hello Everyone,
I'm facing problems while browsing anything through my BlackBerry Brower. The error I get is: Hello Everyone,
I'm facing problem while browsing anything through BlackBerry Brower. The error I get is: “Timeout occurred while processing the operation.”
Mainly I open is Facebook, Twitter and Google and I get this error everytime.
Model: Curve 9360
OS: 7.1
Regards,
JasbirHi and Welcome to the Community!!
I suggest the following steps, in order, even if they seem redundant to what you have already tried (steps 1 and 2 each should result in a message coming to your BB...please wait for that before proceeding to the next step):
1) Register HRT
KB00510 How to register a BlackBerry smartphone with the wireless network
Please wait for one "registration" message to arrive to your Messages app
2) Resend Service Books
KB02830 Send the service books for the BlackBerry Internet Service
Please wait for "Activation" Messages, one per already configured email account, to arrive in your Messages. If you have no already configured email accounts, please wait 1 hour.
3) Batt Pull Reboot
Anytime random strange behavior or sluggishness creeps in, the first thing to do is a battery pop reboot. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes. See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
Hopefully that will get things going again for you! If not, then you should contact your mobile service provider for formal support.
Good luck!
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Facing problem while downloading ALV grid Output into Excel
Hi Guys,
I am facing problem while downloading ALV grid Output into Excel.
It is downloading into excel, but all character columns first and next all quantity columns it is displaying. But I need columns order as it is in the grid.
If I take all columns as characters it works fine. But it will be problem for calculating total, subtotals of quantity columns
Can someone help me regarding this
thanks for your helpHi,
Open up Excel on your desktop. Goto Tools > Macro > Security.
Make sure that your security is set to Medium (or less). SAP uses OLE automation to run the Excel instance and in Office 2003 (for example), Microsoft has increased their default security setting to High. With the High setting, the output to Excel fails.
Was this your problem? Don't forget those points, either.
check with this wetther it is solved or not.
Regards,
sana. -
Facing problem while doing MIRO
Hi gurus,
I facing problem while doing MIRO, system showing the message "Customization for "company code" J_1iindcus missing in the table"
pls helpHi,
Please do customization for India Localisation-Phase-II.
In transaction J1IT, maintain company code settings.
J1IT->Global Settings->Company Settings
Reward if useful.
Maybe you are looking for
-
Scheduled Report Output to Printer
Hi Guys, hope you are all well. Can someone help me. I am have created a report and set this to be schedule at X time. I need the report output via Business Objects XI to be to Printer. I have set up a printer and set it as a shared printer on the
-
I have kv34xbr910 (Wega) cathode tube with hd. There is a dvi port on the set. Sony says this is not intended for computer hookup. The other connections available are component(rgb). What is the best hookup I can make with the dvi on my macbook pro(e
-
User-Decision COMPLETED buti next step not executed
Hi Gurus, I have a very strange problem when approving user-decision tasks in my workflow using FM SAP_WAPI_DECISION_COMPLETE. SOMETIMES, the user-decision step becomes COMPLETED but the result in the workflow logs (SWI1) is blank and does not contin
-
What is the simplest way to copy CDs and listen to them via Apple TV?
-
Payed for subscription, but Muse CC doesn't work, it asks me serial number
payed for subscription, but Muse CC doesn't work, it asks me serial number, any help?