Error in getting IUser for browsing KM
Hi All,
I want to write a portal application, which createa a HTMLB Tree structure for browsing through KM.
for that I have written as follows.
com.sapportals.portal.security.usermanagement.IUser user =
WPUMFactory.getUserFactory().getEP5User(request.getUser());
IResourceContext ctxt = new ResourceContext(user);
RID rid = RID.getRID("/documents");
IResource resource = ResourceFactory.getInstance().getResource(rid,ctxt);
ICollection collection = (ICollection)resource;
IResourceList reslist = collection.getChildren();
But it is raising the following error at run time.
Portal Runtime Error
An exception occurred while processing a request for :
iView : KMBrowsing.KMAbstractComp
Component Name : KMBrowsing.KMAbstractComp
The exception was logged. Inform your system administrator..
Exception id: 10:51_16/07/08_0083_4808950
See the details for the exception ID in the log file
I am following the following blog as reference.
Build Your Own KM Navigation iView Using HTMLB Tree
Can anyone plz tell me where the problem lies??? or how to get the reference of IUser in this.
Thanks in advance.
Bhavyasri.M
Edited by: bhavya Sri on Jul 16, 2008 7:28 AM
Edited by: bhavya Sri on Jul 16, 2008 7:29 AM
Hi Reddy,
It is raising NullPointerException. So I have tried this way too.
IUserFactory iuf = UMFactory.getUserFactory();
IUser u = iuf.getUserByLogonID("user");
com.sapportals.portal.security.usermanagement.IUser user;
* user = WPUMFactory.getUserFactory().getEP5User(u);*
Then also it is raising the same exception. Can u plz tell me whr the mistake is????
totally my program code ia only this much now, and tested. Then also it is raising the NullPointerException.
Any suggestions plzzzzz.
import com.sap.security.api.IUser;
import com.sap.security.api.IUserFactory;
import com.sap.security.api.UMFactory;
import com.sapportals.portal.prt.component.AbstractPortalComponent;
import com.sapportals.portal.prt.component.IPortalComponentRequest;
import com.sapportals.portal.prt.component.IPortalComponentResponse;
import com.sapportals.wcm.util.usermanagement.WPUMFactory;
public class KMAbstractComp extends AbstractPortalComponent
public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
try
IUserFactory iuf = UMFactory.getUserFactory();
IUser u = iuf.getUserByLogonID("user");
com.sapportals.portal.security.usermanagement.IUser user = WPUMFactory.getUserFactory().getEP5User(u);
catch (Exception e) {
response.write(e.toString());
The exception is
java.lang.NullPointerException
Thanks,
Bhavyasri.M
Edited by: bhavya Sri on Jul 16, 2008 9:12 AM
Similar Messages
-
The incident starts after all the members are removed from the DCS Stack DefaultCoreGroup view and added back again by WebSphere Application Server. Following exceptions are seen after LiveCycle was added back in again to the view.
We have a clustered environment with two nodes 2A and 2B. Server 2A crashed and therefore all members on 2B node were removed from the DCS view. Later the new core group view was installed but LiveCycle did resume operations as expected.
Errors below:
Exception caught while dealing with cache : Action - Get, ObjectType - UM_CLUSTER_INVALIDATION_CACHE, Exception message - Error accessing the cache container - Error on GET action for cache Replicated:UM_CLUSTER_INVALIDATION_CACHE
ServiceRegist W Cache get failed for service EncryptionService Reason: Error accessing the cache container - Error on GET action for cache
Error accessing the cache container - Error on GET action for cache Local:SERVICE_FACTORY_CACHE
The following message appeared for several different services:
Cache put failed for service [CredentialService, ReaderExtensionsService,EncryptionService, etc]
SSOSessionCle W Error in cleaning stale sessions from the database. These sessions would be deleted in next trigger
java.lang.RuntimeException: com.adobe.livecycle.cache.CacheActionException: Error accessing the cache container - Error on ENTRYSET action for cache Local:UM_ASSERTION_CACHE
at com.adobe.idp.um.businesslogic.authentication.AssertionCacheManager.removeExpiredResults( AssertionCacheManager.java:125)
at com.adobe.idp.um.scheduler.SSOSessionCleanupJob.execute(SSOSessionCleanupJob.java:69)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
Caused by: com.adobe.livecycle.cache.CacheActionException: Error accessing the cache container - Error on ENTRYSET action for cache Local:UM_ASSERTION_CACHE
at com.adobe.livecycle.cache.adapter.GemfireLocalCacheAdapter.entrySet(GemfireLocalCacheAdap ter.java:219)
at com.adobe.idp.um.businesslogic.authentication.AssertionCacheManager.removeExpiredResults( AssertionCacheManager.java:99)
... 3 more
Caused by: com.gemstone.gemfire.distributed.DistributedSystemDisconnectedException: GemFire on 2B<v1>:9057/51073 started at Sun Aug 17 08:57:23 EDT 2014: Message distribution has terminated, caused by com.gemstone.gemfire.ForcedDisconnectException: This member has been forced out of the distributed system. Reason='this member is no longer in the view but is initiating connections'
at com.gemstone.gemfire.distributed.internal.DistributionManager$Stopper.generateCancelledEx ception(DistributionManager.java:746)
at com.gemstone.gemfire.distributed.internal.InternalDistributedSystem$Stopper.generateCance lledException(InternalDistributedSystem.java:846)
at com.gemstone.gemfire.internal.cache.GemFireCacheImpl$Stopper.generateCancelledException(G emFireCacheImpl.java:1090)
at com.gemstone.gemfire.CancelCriterion.checkCancelInProgress(CancelCriterion.java:59)
at com.gemstone.gemfire.internal.cache.LocalRegion.checkRegionDestroyed(LocalRegion.java:669 4)
at com.gemstone.gemfire.internal.cache.LocalRegion.checkReadiness(LocalRegion.java:2587)
at com.gemstone.gemfire.internal.cache.LocalRegion.entries(LocalRegion.java:1815)
at com.gemstone.gemfire.internal.cache.LocalRegion.entrySet(LocalRegion.java:7941)
at com.adobe.livecycle.cache.adapter.GemfireLocalCacheAdapter.entrySet(GemfireLocalCacheAdap ter.java:209)
... 4 more
Caused by: com.gemstone.gemfire.ForcedDisconnectException: This member has been forced out of the distributed system. Reason='this member is no longer in the view but is initiating connections'
at com.gemstone.org.jgroups.protocols.pbcast.ParticipantGmsImpl.handleLeaveResponse(Particip antGmsImpl.java:106)
at com.gemstone.org.jgroups.protocols.pbcast.GMS.up(GMS.java:1289)
at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
at com.gemstone.org.jgroups.protocols.VIEW_SYNC.up(VIEW_SYNC.java:202)
at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
at com.gemstone.org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:276)
at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
at com.gemstone.org.jgroups.protocols.UNICAST.up(UNICAST.java:294)
at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
at com.gemstone.org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:625)
at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
at com.gemstone.org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:187)
at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
at com.gemstone.org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:504)
at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
at com.gemstone.org.jgroups.protocols.FD.up(FD.java:438)
at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
at com.gemstone.org.jgroups.protocols.Discovery.up(Discovery.java:258)
at com.gemstone.org.jgroups.stack.Protocol.passUp(Protocol.java:767)
at com.gemstone.org.jgroups.protocols.TP.handleIncomingMessage(TP.java:1110)
at com.gemstone.org.jgroups.protocols.TP.handleIncomingPacket(TP.java:1016)
at com.gemstone.org.jgroups.protocols.TP.receive(TP.java:923)
at com.gemstone.org.jgroups.protocols.UDP$UcastReceiver.run(UDP.java:1320)
at java.lang.Thread.run(Thread.java:773)
[22/08/14 0:28:10:237 EDT] 00000b4f WorkPolicyEva W Exception thrown in background thread. Cause: java.lang.NullPointerException
[22/08/14 0:29:10:252 EDT] 00000b4f WorkPolicyEva W Exception thrown in background thread. Cause: java.lang.NullPointerException
[22/08/14 0:30:10:268 EDT] 00000b4f WorkPolicyEva W Exception thrown in background thread. Cause: java.lang.NullPointerException
[22/08/14 0:31:10:283 EDT] 00000b4f WorkPolicyEva W Exception thrown in background thread. Cause: java.lang.NullPointerException
[22/08/14 0:32:10:298 EDT] 00000b4f WorkPolicyEva W Exception thrown in background thread. Cause: java.lang.NullPointerException
[22/08/14 0:33:10:313 EDT] 00000b4f WorkPolicyEva W Exception thrown in background thread. Cause: java.lang.NullPointerException
[22/08/14 0:34:10:328 EDT] 00000b4f WorkPolicyEva W Exception thrown in background thread. Cause: java.lang.NullPointerException
[22/08/14 0:35:10:343 EDT] 00000b4f WorkPolicyEva W Exception thrown in background thread. Cause: java.lang.NullPointerException
[22/08/14 0:36:10:358 EDT] 00000b4f WorkPolicyEva W Exception thrown in background thread. Cause: java.lang.NullPointerException
[22/08/14 0:37:10:373 EDT] 00000b4f WorkPolicyEva W Exception thrown in background thread. Cause: java.lang.NullPointerException
[22/08/14 0:38:10:389 EDT] 00000b4f WorkPolicyEva W Exception thrown in background thread. Cause: java.lang.NullPointerExceptionor
I have tried looking for the root cause about why LiveCycle was not able to resume normally, didn't find anything related.LiveCycle uses Gemfire as distributed cache for cluster members. If you are using TCP Locators (caching based on TCP instead of UDP), below are the possible situations which might lead to “ForcedDisconnectException” :
- There is time difference between two nodes.
- These is network connectivity issues.
- The high CPU usage by the member crashed.
-Wasil -
Trying to start an application through www.fafsa.gov for college financial aid and I keep getting an incompatible browser error as I have Mozilla 8.01 and it is only compatible with 3.5 or 3.6
You can install the portable Firefox 3.6.x version to access websites that do not work with Firefox 5+.
*http://portableapps.com/apps/internet/firefox_portable#legacy
*http://portableapps.com/apps/internet/firefox_portable/localization#legacy36 -
Revision: 10891
Author: [email protected]
Date: 2009-10-06 09:46:47 -0700 (Tue, 06 Oct 2009)
Log Message:
Fix for ASDoc throws error when using getter methods for pseudo-inheritance of static constants
QE notes: None.
Doc notes: None
Bugs: SDK-22676
Tests run: checkintests
Is noteworthy for integration: No
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-22676
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/asdoc/AsDocUtil.javaHave you tried using com.adobe.air.crypto.EncryptionKeyGenerator instead?
-
I have just updated to iOS7, no icon for browser, was using Safari, how do I get it back and can I reverse the upgrade and go back to iOS6? Thanks to you from the UnTechie
The icon for Safari has probably moved to make room for new apps. Scroll the Home screen to look for it.
You cannot reverse the upgrade. -
HP ePrint from excel add-in: Error while getting driver name for printer
Trying to use add-in for ePrint from excel/word I get, "error while getting driver name for printer \\...HP DesignJet 800PS 42 by HP," with an option to select "OK" and that same message repeats with each printer in our network, and then it doesn't allow me to print using the add-in. However, I can print normally to HP Go Web, open up Print and Share, then print it from there. This happens with excel and word. I have Office Suite 2007.
Hello modameister,
Sorry you are having issues with this printer and the ePrint add-on. There are a couple of questions I would like you to answer please.
1. What operating system are you using? (XP,VISTA,7,MAC OS X)
2. What and how much data are you trying to print?
3. Have you tried to copy and paste the data into a different application or tried using the snip it tool?
4. Are you receiving any .dll errors (mscms.dll)
Thanks
If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
Although I work for HP, my posts and replies are my own opinion and not those of HP. -
I purchased a monthly pack and havent been able to use it. I have been getting charged for 3 months now and I still get an error message saying "unable to load all your plans". How do I re-install or dowload and get my last 3 payments reimbursed?
Link for Download & Install & Setup & Activation problems may help
-Online Chat http://www.adobe.com/support/download-install/supportinfo/
or
Adobe contact information - http://helpx.adobe.com/contact.html -
I have three aperture libraries. But just recently two of them (old from 2011) will not open. I get the following error: There was an error opening the database for the library “~/Pictures/Family IIi.aplibrary”. Please help, thanks
Are all three libraries under your account or are they in different accounts? Any other errros on the system?
Start by doing the permission repair and library repair steps in Aperture 3: Troubleshooting Basics -
Getting "JBO-26080: Error while selecting entity for myEO" while updating
Hi All,
I am using jdev 10.1.3.4. I am having updatable VO. I want to update an attribute of a particular row. I wrote the below code in my BB.
ViewObject vo = am.getmyVO();
Key myKey = new Key(new Object[]{6207});
Row rw= vo.getRow(myKey);
if (rw!= null ) {
rw.setAttribute("ProcessFlag",processFlag);
am.getTransaction().commit();
But, I am getting the below error.
oracle.jbo.DMLException: JBO-26080: Error while selecting entity for myEO
Can anybody help me regarding this?
Thanx,
AbhijitI do agree. Bt, what could be the root cause for this error?
--Abhijit -
Hi,
I am trying to install "System Center 2012 - Virtual Machine Manager by Using a Pre-Configured VHD".
I downloaded install guide & the binaries from http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=10712
I have followed the installation document & getting an error while configuring VMM for System Center 2012.
error details from log file given below:
01:12:24:VMMPostinstallProcessor threw an exception: Threw Exception.Type: Microsoft.Carmine.WSManWrappers.WSManProviderException, Exception.Message: An internal error has occurred trying to contact an agent on the WIN-NTJTNEJ1UCN.mydomain.com server: : .
Ensure the agent is installed and running. Ensure the WS-Management service is installed and running, then restart the agent.
01:12:24:StackTrace: at Microsoft.Carmine.WSManWrappers.ErrorContextParameterHelper.ThrowTranslatedCarmineException(WsmanSoapFault fault, COMException ce)
at Microsoft.Carmine.WSManWrappers.WsmanAPIWrapper.RetrieveUnderlyingWMIErrorAndThrow(SessionCacheElement sessionElement, COMException ce)
at Microsoft.Carmine.WSManWrappers.WsmanAPIWrapper.Invoke(String actionUri, WSManUri targetUri, Hashtable parameters, Type returnType, Boolean isCarmineMethod, Boolean forceResponseCast)
at Microsoft.Carmine.WSManWrappers.AgentManagement.AssociateLibrary(WsmanAPIWrapper wsmanObject, String CertificateSubjectName, String& ExportedCertificate, ErrorInfo& ErrorInfo)
at Microsoft.VirtualManager.Setup.VirtualMachineManagerHelpers.AssociateAgentServer(String fullyQualifiedServerName)
at Microsoft.VirtualManager.Setup.VirtualMachineManagerHelpers.AssociateDefaultLibraryServer()
at Microsoft.VirtualManager.Setup.VirtualMachineManagerHelpers.SetupLibraryShare()
at Microsoft.VirtualManager.Setup.InstallItemCustomDelegates.PangaeaServerPostinstallProcessor()
01:12:24:InnerException.Type: System.Runtime.InteropServices.COMException, InnerException.Message: There is a time and/or date difference between the client and server.
01:12:24:InnerException.StackTrace: at WSManAutomation.IWSManSession.Invoke(String actionUri, Object resourceUri, String parameters, Int32 flags)
at Microsoft.Carmine.WSManWrappers.MyIWSManSession.Invoke(String actionUri, Object resourceUri, String parameters, Int32 flags)
at Microsoft.Carmine.WSManWrappers.WsmanAPIWrapper.Invoke(String actionUri, WSManUri targetUri, Hashtable parameters, Type returnType, Boolean isCarmineMethod, Boolean forceResponseCast)
01:12:24:ProcessInstalls: Running the PostProcessDelegate returned false.
01:12:24:ProcessInstalls: Running the PostProcessDelegate for PangaeaServer failed.... This is a fatal item. Setting rollback.
01:12:24:SetProgressScreen: FinishMinorStep.
01:12:24:ProcessInstalls: Rollback is set and we are not doing an uninstall so we will stop processing installs
I have completed MSSQL server configuration and while configuring VMM the below error displayed in the wizard:
An internal error has occurred trying to contact an agent on the WIN-NTJTNEJ1UCN.mydomain.com server: : .
Ensure the agent is installed and running. Ensure the WS-Management service is installed and running, then restart the agent.
I have checked that the following services are running:
1) Verified WS-Management srvice 2) MSSQL server + MSSQL (agent) 3)SC VM Manager Agent 4) Windows management instrumentation .
I have joined the VM (on which installing SC VMM) in a domain(as per install guide) and installing VMM using domain account & it is in local Administrators group.
Also I would like know if there is any stand alone SC VMM installer. If yes then please let me know the installer location & install guide.
thanks.
====Have you installed AppController on the same machine with VMM?
-
I am getting error while doing MFBF for semifinisg good
Hi,
i am getting error while doing MFBF for semifinisg good
Existing standard cost estimate cannot be used
Message no. RM175
Diagnosis
This error appears under the following circumstances:
The existing standard cost estimate cannot be used for backflushing activities as the repetitive manufacturing profile was not maintained correctly when the standard cost estimate was carried out.
The standard cost estimate must come from product costing. Other cost estimates (such as base object controlling) are not possible.
Procedure
The repetitive manufacturing profile assigned to the material at the time of the planned cost estimate must be a profile for repetitive manufacturing with product cost collector.
Use product costing to create the standard cost estimate.I had already check REM profile repetitive mfg profile final backflush w. activities.
this particular material is semifinish material attached in BOM of finish material.
backflush of finish good is possible but now new requirement is to do production booking for the semifinish material.
i had assign production version , done routing and maintain REM profile,
created material cost with quantity structure ck11n then run the costing in ck40n.
still getting the error what else is to done to able to book this thru MFBF. -
FindGroups - Error while getting group list for login user
Hi All,
I am using below code snippet to search a group in OIM but it gives me "Error while getting group list for login user" error message.
tcResultSet rsetAss = null;
tcGroupOperationsIntf groupIntf = (tcGroupOperationsIntf)utilFactory.getUtility("Thor.API.Operations.tcGroupOperationsIntf");
HashMap mapGrp = new HashMap();
mapGrp.put("Groups.Group Name","DEF_GROUP");
rsetAss = groupIntf.findGroups(mapGrp);
And i am ruuning this code using xelsysadm logon.
com.thortech.xl.util.config.ConfigurationClient.ComplexSetting config = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
Hashtable env = config.getAllSettings();
com.thortech.xl.crypto.tcSignatureMessage moSignature = tcCryptoUtil.sign("xelsysadm", "PrivateKey");
utilFactory = new tcUtilityFactory(env, moSignature);
Any guess?
Thanks & Regards
Inbaa.Here it is Rajiv,
public class GetUserApprover {
private String defGroup = "DEF_GROUP";
public tcUtilityFactory getUtilFactory()
tcUtilityFactory utilFactory = null;
try
logger.debug("Initializing the utilFactory");
com.thortech.xl.util.config.ConfigurationClient.ComplexSetting config = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
Hashtable env = config.getAllSettings();
com.thortech.xl.crypto.tcSignatureMessage moSignature = tcCryptoUtil.sign("xelsysadm", "PrivateKey");
utilFactory = new tcUtilityFactory(env, moSignature);
catch(Exception ex)
logger.info("Error while getting the utilFactory" + ex.getMessage());
System.out.println(ex.getMessage());
return utilFactory;
public String getGroupKey(String defGroup){
String groupKey = null;
tcUtilityFactory utilFactory = getUtilFactory();
if(utilFactory != null)
System.out.println("utilFactory not null. Searching for group:" +defGroup );
try
tcResultSet rsetAss = null;
tcGroupOperationsIntf groupIntf = (tcGroupOperationsIntf)utilFactory.getUtility("Thor.API.Operations.tcGroupOperationsIntf");
HashMap mapGrp = new HashMap();
mapGrp.put("Groups.Group Name","DEF_OWNER_GROUP");
System.out.println("Finding Group....");
rsetAss = groupIntf.findGroups(mapGrp);
System.out.println("RowCount-->" +rsetAss.getRowCount() );
rsetAss.goToRow(0);
groupKey = rsetAss.getStringValue("Groups.Key");
System.out.println("GroupKey-->" + groupKey);
catch(Exception e){
System.out.println("Error" + e.getMessage());
return (java.lang.Object)groupKey;
} -
Error while getting the ORACLE user account for your concurrent request
Hi ,
When I am submitting the Concurrent Program from OAF page Iam getting
Error
Encountered an error while getting the ORACLE user account for your concurrent request. Contact your system administrator.
When we will face this error.
Not able to submit the Request
KrishnaKrishna
Try like this
public int submitCPRequest(String shipmentId) {
System.out.println("into submitCPRequest");
try {
OAApplicationModule am = pageContext.getApplicationModule(webBean) ;
OADBTransaction transaction = am.getOADBTransaction();
Connection conn = transaction.getJdbcConnection();
ConcurrentRequest cr = new ConcurrentRequest(conn);
cr.setDeferred();
String applnName = new String("XXAPL"); //Application that contains the concurrent program
System.out.println("ApplName"+ applnName);
String cpName = new String("SHIP_REQ"); //Concurrent program name
System.out.println("Concc Name"+ cpName);
// String cpDesc = new String("Shipping Request"); // concurrent Program description
// Pass the Arguments using vector
// Here i have added my parameter headerId to the vector and passed the
//vector to the concurrent program
Vector cpArgs = new Vector();
cpArgs.addElement(shipmentId);
System.out.println("Args"+ cpArgs);
After this it is going into exception
// Calling the Concurrent Program
int requestId = cr.submitRequest(applnName, cpName, null, null, false, cpArgs);
System.out.println("Req Id"+ requestId);
tx.commit();
return requestId;
catch (SetDeferredException e)
throw new OAException("SetDeferredException " + e.getMessage(),OAException.ERROR);
catch (RequestSubmissionException e) {
System.out.println("Into Exception");
OAException oe = new OAException(e.getMessage());
oe.setApplicationModule(this);
throw oe;
}Thanks
AJ -
Dear ALL,
i am trying to export the combained PDF based on BOOK opetion using below scripts. but i am getting following error message "Invalid value for parameter 'to' of method 'exportFile'. Expected File, but received 1952403524". anyone knows, please suggest me solutions.
var myBookFileName ,myBookFileName_temp;
if ( myFolder != null )
var myFiles = [];
var myAllFilesList = myFolder.getFiles("*.indd");
for (var f = 0; f < myAllFilesList.length; f++)
var myFile = myAllFilesList[f];
myFiles.push(myFile);
if ( myFiles.length > 0 )
myBookFileName = myFolder + "/"+ myFolder.name + ".indb";
myBookFileName_temp=myFolder.name ;
myBookFile = new File( myBookFileName );
myBook = app.books.add( myBookFile );
myBook.automaticPagination = false;
for ( i=0; i < myFiles.length; i++ )
myBook.bookContents.add( myFiles[i] );
var pdfFile =File(File(myFolder).fsName + "\\"+myBookFileName_temp+"_WEB.pdf");
var bookComps = myBook.bookContents;
if (bookComps.length === 1)
bookComps = [bookComps];
var myPDFExportPreset = app.pdfExportPresets.item("AER6");
app.activeBook.exportFile(ExportFormat.PDF_TYPE,File("D:\\AER\\WEBPDF.pdf"),false,myPDFEx portPreset,bookComps);
//myBook.exportFile (ExportFormat.pdfType, pdfFile, false);
//myBook.exportFile(pdfFile, false, pdfPref, bookComps);
myBook.close(SaveOptions.yes);Change the below line:
app.activeBook.exportFile(ExportFormat.PDF_TYPE,File("D:\\AER\\WEBPDF.pdf"),false,myPDFExp ortPreset,bookComps);
to
app.activeBook.exportFile(ExportFormat.PDF_TYPE,File("D:\\AER\\WEBPDF.pdf"),false,myPDFExp ortPreset);
Vandy -
BOBJ - BW "Error getting hierarchies for dimension... "
Im still whitout a solution for this problem, however we have found a difference between the queries that work and the queries that dont work. The difference is in the hierarchies type but we dont know what is the problem exactly.
Does anyone know if there is an specyfic type of hierarchie that we need to use???
RegardsHi,
I wonder why you are not using the BEx / BICS connection ? (instead of the old OLAP .unv)
the process flow for generating a universe would include the following SE37 function modules:
BAPI_MDPROVIDER_GET_CATALOGS
BAPI_MDPROVIDER_GET_CUBES
BAPI_MDPROVIDER_GET_DIMENSIONS
BAPI_MDPROVIDER_GET_HIERARCHYS
You should test these in BW .
It may actually be an authorization issue - perhaps your logon doesn't have infoobject authorizations for 0Plant?
Regards,
Henry
p.s. a quick Note search suggests : 1565615 - Error when creating a Universe from BEx: "A runtime exception has occurred. (Error getting levels for hierarchy ( dimension : Unknown error)"
--> "Business Objects Personalization objects" R21K900693 transport has not been loaded properly in the BW system, transaction STMS shows this trasport not loaded.
Maybe you are looking for
-
I'm currently running a clean install of Snow Leopard version 10.6.8, and I have done nothing but attempt to mount my external hard drive, which is a Fantom 2 TB Greendrive connected via eSATA through an ExpressCard. It performed flawlessly in Leopar
-
Why won't my Apple ID work for Facetime & Imessages?
Ok, I've just brought the new Itouch (I was using the first gen itouch beforehand) I've connected it up to my Itunes and registered my new product with out a hitch. However! One of the many reasons for the upgrade is so that I can keep in touch wit
-
Custom search in the Customer Interaction Center
I have a somewhat unique custom requirement in CIC. The user wants to go to our custom Alta Vista search upon pressing enter when either the name or phone number field is populated. We have a search that is activated only when the CSEARCH_SEARCH butt
-
"Cluster maintenance mode" script to keep cluster names in MM when nodes are placed in MM
Hello All, Thanks in advance, is there any script to keep the cluster names in Maintenance Mode when nodes are placed in Maintenance Mode Best Regards... Nikhil GS
-
Creative cloud app isnt loading
Hello i have been using creative cloud for a while, but when i wanted to upgrade some of the applications, creative cloud appears to be loading but nothing happens. i uninstalled and then installed it again but still the same, i searched for similar