Cannot use object "CLAS CX_ROOT CLAS "
Hi guy
I am developing a function in my namespace ********* and I use try catch with CX_ROOT . When I passed my function in Slin (t-code) the check program display the erro below.
Any ideas how to correct it ?
Syntax check warning
(E) Pakage "*********" cannot use object "CLAS CX_ROOT CLAS " from package
"S_ABAP_EXCEPTIONS" in any of the following ways: "Refer to data/object"
Hi,
Check the coding in the following function module for reference:
RS_MESSAGE_TO_EXCEPTION
Regards,
Harish
Similar Messages
-
Excel 2013 "cannot use object linking and embedding error"
Hi
We are using excel export as pdf functionality and have the following DCOM configuration
1.start->run and type 'DCOMCNFG'
2: Open 'DCOM Config' and locate 'Microsoft Excel Application'
3: Set its identity to 'This User' and give specific service user
On opening excel we are getting "cannot use object linking and embedding error" and the microsoft sugestions tells to change to launching user which is not an option for us,Is there any other suggestion to fix this issue by keeping Dcom
configuration with'This User'
Thanks in advance
PradeepHi
when excel is opened, a warning pops up saying "Cannot use object linking and embedding" . This
fix change the DCOM ID to Launching User) does not work for us. We need the Excel DCOM ID to use a particular user "domain\user" in order to access excel from our website.
Is there any other suggestions
Thanks in advance
Pradeep -
E-Recruiting - SLIN Error "insufficient authorization to use objects'
Hi,
When I do the Extended Syntax Checks (SLIN), got below error message. Should i neglect it or ?
u201C Program: ZHRRCF_CON_CAN_CREATE Include: ZHRRCF_CON_CAN_CREATE_FORM Row: 169 [Prio 2]
Object PROG ZHRRCF_CON_CAN_CREATE has insufficient authorization to use objects
CLAS CL_HRRCF_CANDIDATE_ADMIN_BL from package PAOC_RCF_BL
ZHRRCF_CON_CAN_CREATE in package ZHR_EREC_FE
CL_HRRCF_CANDIDATE_ADMIN_BL in package PAOC_RCF_BL
The used object, CLAS CL_HRRCF_CANDIDATE_ADMIN_BL, is not visible
(The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET
EXTENDED CHECK OFF/ON)u201D
...NaddyYour application and development work, right?
The check you do is more or less a warning, that the PAOC_RCF_BL package is not visible, within your package.
If your application works, ignore it. -
System setting does not allow changes to be object CLAS /1SEM/CL_FACTORY_30
hi,
Recently we upgraded our BW system from BW 3.0B to BW 3.5.In BW 3.5,we created a planning area to which we
assigned a transactional cube.Now when we are going for creating variables or planning levels for the planning area it
gives the following error:
System setting does not allow changes to be object CLAS /1SEM/CL_FACTORY_300ZPLAN
Our support packages are as following:
SAP_BASIS 640 0009
SAP_ABA 640 0009
ST-PI 2005_1_640 0000
PI_BASIS 2004_1_640 0006
SAP_BW 350 0009
BI_CONT 353 0000
Could you please suggest or help us in resolving the issue ?
thanks and regards,
YogeshHello,
the above mentioned note is too old. Please check note 781371.
Please also check in transaction SM30 view V_TRNSPACE
the record for /1SEM/:
Namespace: /1SEM/
Namespace role C
Repair License
SSCR Popup X
SAP Standard X
Gen Objs Only X
Regards,
Gregor -
Cannot insert object error using Power View in Excel 2013
I created a short table in Excel 2013, positioned the cursor in the table and clicked Inset/Power View Report. I get a status window saying Excel is opening a Power View sheet but then I get a Power View error: Cannot Insert Object. I am able to insert new
tabs in the workbook. When I try the insert again, I just get the Power View error. I looked at other threads with similar issues and did the following:
Made the Formula bar visible - no change
Tried to repair Office 2013 but that option is not available when I right click on the program in the Control Panel
De-installed Silverlight - Tried to insert Power View Report. A Power View tab was created with the Power View picture and Power View ribbon. Got the message to install Silverlight and Reload. Installed Silverlight hit Reload and the Power View tab didn't
change. Hit Power View Report and got the Cannot Insert Object error message again.
Any help is appreciated.Hi,
Did you use PowerView first time? I notice you had found a similar thread and tested the solutions.
PowerView is an add-in in Excel2013, We must make sure that you check some option in the trust center and Add-in center.
http://blogs.office.com/b/microsoft-excel/archive/2012/10/04/intro-to-power-view-for-excel-2013.aspx
Location1: Excel Options>Add-in>Solver Add-in enable
Location2: Excel Options> Trust Center> Add-in
Then you said that you couldn’t repair the Excel 2013, please refer to the following link:
http://office.microsoft.com/en-gb/outlook-help/repair-office-programs-HA010357402.aspx
At last, we may test it in clean boot, please refer to the following link:
http://support.microsoft.com/kb/929135
Regards,
George Zhao
TechNet Community Support -
when creating a remote address in a pot or other objects you cannot use a / for a address??? my ladders addresses contain such ////// symbols for some addresses???
On the AB object, "f" is a float and cannot address individual bits.
Otherwise, you would replace the "/" with an "_".
Forshock - Consult.Develop.Solve. -
Cannot use Remote Desktop host on Windows 8.1 Pro, termsrv corrupted?
Hello,
Few days ago I upgraded my home desktop machine from Windows 8.1 to Windows 8.1 Professional so I can use the Remote Desktop feature.
I enabled everything needed, checked "Allow computers to connect to this computer" from the Remote Settings, forwarded the port 3389 in my rounter and allowed it in my firewall etc...
But I still can't connect to this computer from outside my home network or inside it. The error I get trying to connect is this:
(For some reason i still can't post images in this forum...) So I posted a link below to my original thread with the images
I'm trying to connect using a laptop running Windows 7 Home Premium.
After searching around I found out that the service responsible for the RDP is called "TermService", I found it on my services but was unable to start it:
(For some reason i still can't post images in this forum...) So I posted a link below to my original thread with the images
Also, notice the description of the service. So I tried to run a System File Checker on the service's DLL (sfc /scanfile=c:\windows\system32\termsrv.dll) and got this log:
2014-10-05 14:20:41, Info CBS TI: --- Initializing Trusted Installer ---
2014-10-05 14:20:41, Info CBS TI: Last boot time: 2014-10-05 13:56:05.492
2014-10-05 14:20:41, Info CBS Starting TrustedInstaller initialization.
2014-10-05 14:20:41, Info CBS Ending TrustedInstaller initialization.
2014-10-05 14:20:41, Info CBS Starting the TrustedInstaller main loop.
2014-10-05 14:20:41, Info CBS TrustedInstaller service starts successfully.
2014-10-05 14:20:41, Info CBS No startup processing required, TrustedInstaller service was not set as autostart
2014-10-05 14:20:41, Info CBS Startup processing thread terminated normally
2014-10-05 14:20:41, Info CBS Starting TiWorker initialization.
2014-10-05 14:20:41, Info CBS Ending TiWorker initialization.
2014-10-05 14:20:41, Info CBS Starting the TiWorker main loop.
2014-10-05 14:20:41, Info CBS TiWorker starts successfully.
2014-10-05 14:20:41, Info CBS TiWorker: Client requests SFP repair object.
2014-10-05 14:20:41, Info CBS Universal Time is: 2014-10-05 11:20:41.783
2014-10-05 14:20:41, Info CBS Loaded Servicing Stack v6.3.9600.17246 with Core: C:\Windows\winsxs\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_6.3.9600.17246_none_fa4ae8e99b1f603c\cbscore.dll
2014-10-05 14:20:41, Info CSI 00000001@2014/10/5:11:20:41.786 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7ffee15c60e5 @0x7ffeeace2e53 @0x7ffeeace24ac @0x7ff69a94d2df @0x7ff69a94dc97
@0x7fff02912225)
2014-10-05 14:20:41, Info CBS SQM: Initializing online with Windows opt-in: True
2014-10-05 14:20:41, Info CBS SQM: Cleaning up report files older than 10 days.
2014-10-05 14:20:41, Info CBS SQM: Requesting upload of all unsent reports.
2014-10-05 14:20:41, Info CBS SQM: Queued 0 file(s) for upload with pattern: C:\Windows\servicing\sqm\*_std.sqm, flags: 0x2
2014-10-05 14:20:41, Info CBS SQM: Queued 0 file(s) for upload with pattern: C:\Windows\servicing\sqm\*_all.sqm, flags: 0x6
2014-10-05 14:20:41, Info CBS NonStart: Set pending store consistency check.
2014-10-05 14:20:41, Info CSI 00000002@2014/10/5:11:20:41.801 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x7ffee15c60e5 @0x7ffef3637fc0 @0x7ffef36380f2 @0x7ff69a94ca25 @0x7ff69a94dcae
@0x7fff02912225)
2014-10-05 14:20:41, Info CSI 00000003 IAdvancedInstallerAwareStore_ResolvePendingTransactions (call 1) (flags = 00000004, progress = NULL, phase = 0, pdwDisposition = @0x559943db20
2014-10-05 14:20:41, Info CSI 00000004 Creating NT transaction (seq 1), objectname [6]"(null)"
2014-10-05 14:20:41, Info CSI 00000005 Created NT transaction (seq 1) result 0x00000000, handle @0x26c
2014-10-05 14:20:41, Info CSI 00000006 Poqexec successfully registered in [ml:26{13},l:24{12}]"SetupExecute"
2014-10-05 14:20:41, Info CSI 00000007@2014/10/5:11:20:41.999 Beginning NT transaction commit...
2014-10-05 14:20:41, Info CSI 00000008@2014/10/5:11:20:41.999 CSI perf trace:
CSIPERF:TXCOMMIT;143
2014-10-05 14:20:42, Info CSI 00000009 CSI Store 367642371808 (0x00000055993166e0) initialized
2014-10-05 14:20:42, Info CSI 0000000a [SR] Verifying 1 components
2014-10-05 14:20:42, Info CSI 0000000b [SR] Beginning Verify and Repair transaction
2014-10-05 14:20:42, Info CSI 0000000c [SR] Verify complete
2014-10-05 14:20:52, Info CBS TiWorker: Client requests SFP repair object.
2014-10-05 14:20:55, Info CBS TiWorker: Client requests SFP repair object.
2014-10-05 14:20:55, Info CSI 0000000d [SR] Verifying 1 components
2014-10-05 14:20:55, Info CSI 0000000e [SR] Beginning Verify and Repair transaction
2014-10-05 14:20:55, Info CSI 0000000f Hashes for file member \SystemRoot\WinSxS\amd64_microsoft-windows-t..teconnectionmanager_31bf3856ad364e35_6.3.9600.17095_none_7f53b5b72842754a\termsrv.dll
do not match actual file [l:22{11}]"termsrv.dll" :
Found: {l:32 b:wutByJu/YxhxLZan2VmIk9CNy/65VNpYphCkpd5tWqQ=} Expected: {l:32 b:cLIGmreRLrSas6vRjUtCy5Ssmcpt4/Y/SIi46qx4qqI=}
2014-10-05 14:20:55, Info CSI 00000010 [SR] Cannot repair member file [l:22{11}]"termsrv.dll" of Microsoft-Windows-TerminalServices-RemoteConnectionManager, Version = 6.3.9600.17095,
pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
2014-10-05 14:20:55, Info CSI 00000011 Hashes for file member \SystemRoot\WinSxS\amd64_microsoft-windows-t..teconnectionmanager_31bf3856ad364e35_6.3.9600.17095_none_7f53b5b72842754a\termsrv.dll
do not match actual file [l:22{11}]"termsrv.dll" :
Found: {l:32 b:wutByJu/YxhxLZan2VmIk9CNy/65VNpYphCkpd5tWqQ=} Expected: {l:32 b:cLIGmreRLrSas6vRjUtCy5Ssmcpt4/Y/SIi46qx4qqI=}
2014-10-05 14:20:55, Info CSI 00000012 [SR] Cannot repair member file [l:22{11}]"termsrv.dll" of Microsoft-Windows-TerminalServices-RemoteConnectionManager, Version = 6.3.9600.17095,
pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
2014-10-05 14:20:55, Info CSI 00000013 [SR] This component was referenced by [l:154{77}]"Package_3_for_KB2959626~31bf3856ad364e35~amd64~~6.3.2.0.2959626-3_neutral_GDR"
2014-10-05 14:20:55, Info CSI 00000014 Hashes for file member \??\C:\Windows\System32\termsrv.dll do not match actual file [l:22{11}]"termsrv.dll" :
Found: {l:32 b:wutByJu/YxhxLZan2VmIk9CNy/65VNpYphCkpd5tWqQ=} Expected: {l:32 b:cLIGmreRLrSas6vRjUtCy5Ssmcpt4/Y/SIi46qx4qqI=}
2014-10-05 14:20:55, Info CSI 00000015 Hashes for file member \SystemRoot\WinSxS\amd64_microsoft-windows-t..teconnectionmanager_31bf3856ad364e35_6.3.9600.17095_none_7f53b5b72842754a\termsrv.dll
do not match actual file [l:22{11}]"termsrv.dll" :
Found: {l:32 b:wutByJu/YxhxLZan2VmIk9CNy/65VNpYphCkpd5tWqQ=} Expected: {l:32 b:cLIGmreRLrSas6vRjUtCy5Ssmcpt4/Y/SIi46qx4qqI=}
2014-10-05 14:20:55, Info CSI 00000016 [SR] Could not reproject corrupted file [ml:520{260},l:46{23}]"\??\C:\Windows\System32"\[l:22{11}]"termsrv.dll"; source file
in store is also corrupted
2014-10-05 14:20:55, Info CSI 00000017 [SR] Verify complete
2014-10-05 14:20:55, Info CSI 00000018 [SR] Repairing 1 components
2014-10-05 14:20:55, Info CSI 00000019 [SR] Beginning Verify and Repair transaction
2014-10-05 14:20:55, Info CSI 0000001a Hashes for file member \SystemRoot\WinSxS\amd64_microsoft-windows-t..teconnectionmanager_31bf3856ad364e35_6.3.9600.17095_none_7f53b5b72842754a\termsrv.dll
do not match actual file [l:22{11}]"termsrv.dll" :
Found: {l:32 b:wutByJu/YxhxLZan2VmIk9CNy/65VNpYphCkpd5tWqQ=} Expected: {l:32 b:cLIGmreRLrSas6vRjUtCy5Ssmcpt4/Y/SIi46qx4qqI=}
2014-10-05 14:20:55, Info CSI 0000001b [SR] Cannot repair member file [l:22{11}]"termsrv.dll" of Microsoft-Windows-TerminalServices-RemoteConnectionManager, Version = 6.3.9600.17095,
pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
2014-10-05 14:20:55, Info CSI 0000001c Hashes for file member \SystemRoot\WinSxS\amd64_microsoft-windows-t..teconnectionmanager_31bf3856ad364e35_6.3.9600.17095_none_7f53b5b72842754a\termsrv.dll
do not match actual file [l:22{11}]"termsrv.dll" :
Found: {l:32 b:wutByJu/YxhxLZan2VmIk9CNy/65VNpYphCkpd5tWqQ=} Expected: {l:32 b:cLIGmreRLrSas6vRjUtCy5Ssmcpt4/Y/SIi46qx4qqI=}
2014-10-05 14:20:55, Info CSI 0000001d [SR] Cannot repair member file [l:22{11}]"termsrv.dll" of Microsoft-Windows-TerminalServices-RemoteConnectionManager, Version = 6.3.9600.17095,
pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
2014-10-05 14:20:55, Info CSI 0000001e [SR] This component was referenced by [l:154{77}]"Package_3_for_KB2959626~31bf3856ad364e35~amd64~~6.3.2.0.2959626-3_neutral_GDR"
2014-10-05 14:20:55, Info CSI 0000001f Hashes for file member \??\C:\Windows\System32\termsrv.dll do not match actual file [l:22{11}]"termsrv.dll" :
Found: {l:32 b:wutByJu/YxhxLZan2VmIk9CNy/65VNpYphCkpd5tWqQ=} Expected: {l:32 b:cLIGmreRLrSas6vRjUtCy5Ssmcpt4/Y/SIi46qx4qqI=}
2014-10-05 14:20:55, Info CSI 00000020 Hashes for file member \SystemRoot\WinSxS\amd64_microsoft-windows-t..teconnectionmanager_31bf3856ad364e35_6.3.9600.17095_none_7f53b5b72842754a\termsrv.dll
do not match actual file [l:22{11}]"termsrv.dll" :
Found: {l:32 b:wutByJu/YxhxLZan2VmIk9CNy/65VNpYphCkpd5tWqQ=} Expected: {l:32 b:cLIGmreRLrSas6vRjUtCy5Ssmcpt4/Y/SIi46qx4qqI=}
2014-10-05 14:20:55, Info CSI 00000021 [SR] Could not reproject corrupted file [ml:520{260},l:46{23}]"\??\C:\Windows\System32"\[l:22{11}]"termsrv.dll"; source file
in store is also corrupted
2014-10-05 14:20:55, Info CSI 00000022 [SR] Repair complete
Since it's the first time I use this tool I'm not familiar with this log file, but what I managed to figure out from it is that termsrv.dll is corrupted and windows cannot repair it for some reason.
My question is:
How can I repair this file? Is this even the problem preventing me from connecting to this computer via Remote Desktop?
Here's a link to my original question which contatining the images.
http://answers.microsoft.com/en-us/windows/forum/windows8_1-system/cannot-use-remote-desktop-host-on-windows-81-pro/e4776239-4d9e-4934-ae2d-b87cc09f7ademanaged to figure out from it is that termsrv.dll is corrupted and windows cannot repair it for some reason.
So, the next step supposedly is
using DISM.
Coincidentally I reached that page last night from
this one, which I thought gave me a better awareness of how much manual repair might be possible. E.g. maybe the WinSxS isn't quite as fragile as we are being led to believe? (It's making me feel sort of like how I used to feel about the
registry when seeing all the caveats about using RegEdit before I got used to that tool.)
Advanced guidelines for diagnosing and fixing servicing corruption
http://technet.microsoft.com/en-us/library/ee619779(v=WS.10).aspx
Something else that I became aware of yesterday serendipitously is SxStrace.exe. I have never seen it used but it sounds useful. E.g. perhaps easier to interpret for supplemental clues than the ProcMon trace that I usually advocate.
Or perhaps use both and see in ProcMon when the SxStrace is writing. E.g. filter with Operation Is WriteFile.
However, what I would do first is find out what the state of your system is regarding that module. E.g. try this Powershell pipeline to list what you have.
PS C:\windows> dir -R -Fil "termsrv.dll" | sort-object FullName | ft Length, FullName -AutoSize
Note that I am giving you the whole command line, including prompt to show where the command should be started from.
C.f. another thread where doing the same diagnostic procedure seems to be finding more a problem with the Windows Update software than with the user's WinSxS cache.
http://answers.microsoft.com/en-us/windows/forum/windows8_1-windows_store/windows-81-store-error-0x80070002-comprehensive/2b0ed3e1-1835-4517-97dd-0a7abb6ef74c?page=3#LastReply
HTH
Robert Aldwinckle -
Getting "Cannot Insert Object" message while attaching .pdf file to excel spreadsheet.
While I am trying to attach an adobe (.pdf) file in excel spreadsheet I am getting message as “Cannot Insert Object”.
I am following the below mentioned steps and getting message as “Cannot Insert Object”.
Open the adobe (.pdf) file from IE browser.
While saving the adobe file on local machine it gives warning as “This document does not allow you to save any changes you have made to it unless you are using Adobe Acrobat 9, Pro 9 or Pro Extended 9. You will only be saving a copy of the original document. Do you want to continue?” On pressing "OK" it successfully saves the file on my local machine.
While I Tried to attach the saved adobe file in a spreadsheet of excel it gives message as “Cannot Insert Object”.
Does any one have any thoughts at all as to how to solve this?Deepika,
The alert dialog your screen shot depicts will only display if there is some kind of form annotation present in a PDF that is not "Reader Enabled".
Look closer at your 'final' PDF.
A PDF, not "Reader Enabled", that contains any form annotations will, when opened by Adobe Reader,
result in the alert dialog that you mention. A "hard wired" default.
Note that the forms document message bar can be "off" by a selection in Adobe Reader / Acrobat Preferences.
Select the 'Forms' category. Select "Always hide forms document message bar".
Be well... -
How to use objects from other SWCs in my BPM Integration Scenario
Dear all,
I am experiencing some difficulties with the following. I have created a BPM Integration Scenario in a SWC. It contains a tranformation step in which a message from that SWC is split and mapped to two IDOCs. These IDOCs are imported in anothern SWC which I use for common objects. I have created Abstract Message Interfaces based on these IDOCs in this "COMMON" SWC, but the probIem is that I cannot use them in my scenario in the other SWC. Even though I have a usage dependency (Installation Time) created to the "COMMON" SWC.
Any suggestions would be much appreciated!!
Thanks in advance.
Will happily provide points for good answers.
AukeThus, I would have to copy/import all objects to the same SWC?
Or create a separate SWC for BPM Integration scenarios?
I have tried to create the Abstract Message Interface in the SWC and reference it to the IDOC structure in the "COMMON" SWC. This results in a reference to an invalid object during activation. Even though the defined usage dependency.
What's the standard solution?
Cheers,
Auke
Message was edited by:
A. Schotanus -
Cannot Insert Object in Excel 2013
I am having trouble inserting PDF's in Excel 2013. I go to Insert-->Object-->Create from File then browse to the PDF and select the checkbox for "Display as Icon." After doing this i get a generic error message that says "Cannot Insert Object." No other details.
Specs:
Windows 7 x64
Office 2013 x64
Adobe Reader X and XI. Tried them both.
What I have tried:
The most common answer I have found was to disable the enhanced security in the Adobe Reader preferences. This does not help.
I also tried downgrading from Adobe Reader XI to Reader x, disabling enhanced security. That does not work either.
I have found a workaround in Excel by going to Insert-->Package and doing it that way, but it does not show the Adobe Reader icon in the spreadsheet when it's done. If there's a way to use this method and still have the adobe icon that'd be great.
I called Microsoft support and they think this is an Adobe issue, because I can insert other things via the create from file method, just not PDF's.
Other notes:
The Insert-->Object-->Create from File method works fine in Excel 2010 so I think that Adobe Reader doesn't do well with Excel 2013.
I need the inserted PDF's in spreadsheets to look a certain way. They must have the Adobe Icon and I need to be able to change the text below the icon.
Does anybody have any suggestions?Update:
I uninstalled Adobe Reader and tried a different PDF reader and the insert in Excel works fine. I really would prefer to use Adobe though. This leads me to believe that maybe it's just a setting or something in Adobe reader. Any suggestions are greatly appreciated. -
Cannot use user classes in webservices interface of appmodule custom method
Hi,
I need to expose an application module's custom method that uses user defined classes as parameters and return types as a web service interface. I have not been able to do that. Below are more details.
In particular, I have an app module that has a client interface with a custom method that takes and returns a serializable Emp object (user defined classes/objects). I need to expose this app module as a web service through the use of a service interface.
When i run the "Create Service Interface" wizard, under service custom methods (Create Service Interface Step 2 of 4 wizard), i don't see my custom method under "Available."
In addition, the JDev message log says: Business Components: Method "yourCustomMethod(Emp):Emp" cannot be exposed via service interface because the return type "com.mypackage.Emp" is not supported.
From what i understand by reading the docs below, it seems that in an application module's service interface (Webservice) you only can use simple data type or java.util.list or AttributeList (which is a wrapper for any viewRow). In other words, i cannot use my user defined object in the custom method parameters and return types.
This seems to be an artificial limitation of webservice creation through the use of app module because one can use complex/user defined objects in methods of a java class and expose them through a webservice.
I would appreciate if of the tooling PMs can make a well thought out comment.
11.2.3 What You May Need to Know About Method Signatures on the Service Interface
http://docs.oracle.com/cd/E12839_01/web.1111/b31974/bcextservices.htm#CJAEHFJD
9.8.4 What You May Need to Know About Method Signatures on the Client Interface
http://docs.oracle.com/cd/E12839_01/web.1111/b31974/bcservices.htm#CHDFHGII
Thanks,
AJ
ps: I am using Build JDEVADF_11.1.1.5.0_GENERIC_110409.0025.6013.Hi,
question 2 doesn't apply as the client interface is for Java access to public methods. For the Service Interface, the document lists the supported data types you can use in arguments and return values. To expose a custom methods, what about using a POJO that accesses ADF BC (using create root application module) and then expose your POJO as a JAWS service. This will allow you to expose the data queried from ADF BC through your custom classes.
Frank -
Lock the plant so that other user cannot use the same plant.
Hi Gurus!
I ahve this small report which shows the pro-rate factor . In this report I need to block the plant or lock it(a soft) lock witha message that some other user is using the plant so that other cannot use the same plant to post.Following is the report and if soemone can help me out would be very kind enough.I ahve added teh code where validation of plant is doen , so it must be somewhere here the locking should be done as per my thinking . Kindly suggest please.
*& Form get_pro_factor
* get pro rate factor from the given
* combination of plant/sloc/mat#/period
form get_pro_factor .
select single zpr_factor zpr_disp_factor zpr_pipe_net zpr_pipe_gross
from zprfactor
into (zprfactor-zpr_factor, zprfactor-zpr_disp_factor,
zprfactor-zpr_pipe_net, zprfactor-zpr_pipe_gross)
where zpr_werks = p_werks and
zpr_lgort = p_lgort and
zpr_matnr = p_matnr and
zpr_mjahr = p_mjahr and
zpr_monat = p_monat.
v_subrc = sy-subrc.
if zprfactor-zpr_factor = 0.
if c_wp = p_lgort+0(2).
zprfactor-zpr_factor = 1. " Don C added this routine
endif.
endif.
if zprfactor-zpr_disp_factor is initial.
if not zprfactor-zpr_pipe_gross is initial.
zprfactor-zpr_disp_factor = zprfactor-zpr_pipe_net / zprfactor-zpr_pipe_gross.
endif.
if zprfactor-zpr_disp_factor is initial.
zprfactor-zpr_disp_factor = 1.
endif.
endif.
endform. " get_pro_factor
*& Form valid_plant
* validate whether plant entered in selection screen
* exists in database or not
form valid_plant .
if not ( p_werks is initial and
p_lgort is initial and
p_matnr is initial and
p_mjahr is initial and
p_monat is initial ).
select single werks from t001w into t001w-werks
where werks = p_werks.
if sy-subrc ne 0.
message e048(zmm) with p_werks.
endif.
endif.
endform. " valid_plant
*& Form FIND_MATKL
form find_matkl .
select single matkl into v_matkl from mara where matnr = p_matnr.
endform. " FIND_MATKL
*& Form UPDATE_ZPRFACTOR
form update_zprfactor using p_flag. "DEVK903224
call function 'ENQUEUE_E_TABLEE'
exporting
mode_rstable = c_e
tabname = 'ZPRFACTOR'
exceptions
foreign_lock = 1
system_failure = 2
others = 3.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
else.
select single * from zprfactor where zpr_werks = p_werks
and zpr_lgort = p_lgort
and zpr_matnr = p_matnr
and zpr_monat = p_monat
and zpr_mjahr = p_mjahr.
if sy-subrc = 0.
zprfactor-zpr_rate_flag = p_flag. "DEVK903224
update zprfactor.
endif.
endif.
call function 'DEQUEUE_E_TABLEE'
exporting
mode_rstable = c_e
tabname = 'ZPRFACTOR'.
Thanks
Aaravcall function 'ENQUEUE_E_TABLEE'
exporting
mode_rstable = c_e
tabname = 'ZPRFACTOR'
exceptions
foreign_lock = 1
system_failure = 2
others = 3.
ENQUEUE_E_TABLEE } E_TABLEE is the name of the lock object, it starts with character "E". -
Hi All,
Could any one please suggest possible reason and solution for teh below error in Essbase.
"CANNOT CREATE OBJECT \s510.1
I have been trying to update the outline (using data and rules files) When trying to save changes I keep receivng errors similar to this one (object name tends to vary at each attampt).
When making manual changes I am able to save the updated outline (working on TEST database).
Version of essbase is 6.5.6 in unix environment.
Please suggest solution ASAP.This is part of the trace file :
*** ACTION NAME:() 2012-12-13 15:28:25.874
*** MODULE NAME:(SQL*Plus) 2012-12-13 15:28:25.874
*** SERVICE NAME:(oramult) 2012-12-13 15:28:25.874
*** SESSION ID:(1062.879) 2012-12-13 15:28:25.874
DEADLOCK DETECTED ( ORA-00060 )
[Transaction Deadlock]
The following deadlock is not an ORACLE error. It is a
deadlock due to user error in the design of an application
or from issuing incorrect ad-hoc SQL. The following
information may aid in determining the deadlock:
Deadlock graph:
---------Blocker(s)-------- ---------Waiter(s)---------
Resource Name process session holds waits process session holds waits
TX-000a002d-0098a33e 22 1062 X 22 1062 S
session 1062: DID 0001-0016-0000000C session 1062: DID 0001-0016-0000000C
Rows waited on:
Session 1062: no row
Information on the OTHER waiting sessions:
End of information on OTHER waiting sessions.
Current SQL statement for this session:
delete from obj$ where obj# = :1 -
Error starting Web Start App: automation server cannot create object
When starting Web Start Application without java installation just by starting javaws xyz.jnlp in Windows2000 there comes 2 times the Error Message "Microsoft JScript: automation server cannot create object", but the application starts nevertheless.
Where does this error come from?
How can we avoid it?see:
http://forum.java.sun.com/thread.jspa?threadID=639218&tstart=10
this dialog is thrown from the IE javascript engine when Java Web Start tries to invoke it to resolve the correct proxy for a given URL using the configured PAC file.
/Andy -
Cannot create object CrystalEnterprise.PSReportFactory.
Hello,
I'm getting the following error when I try to obtain the PSReportFactory:
Cannot create object CrystalEnterprise.PSReportFactory.
I am using BusinessObjects XI R2 .Net sdk and Visual Studio 2005. I am also connecting to Crystal Reports Server 2008. Here is my code:
static EnterpriseSession ceSession;
EnterpriseService ceEnterpriseService;
ceEnterpriseService = ceSession.GetService("PSReportFactory");
Object serviceAsObject = ceEnterpriseService.Interface;
PSReportFactory psReportFactory = (PSReportFactory)serviceAsObject;
int reportIDAsInteger= Convert.ToInt32(ReportId);
ReportSource reportSource = psReportFactory.OpenReportSource(reportIDAsInteger);
ISCRReportSource iscrReportSource = reportSource;
return iscrReportSource;
The error occurs at the following line:
ceEnterpriseService = ceSession.GetService("PSReportFactory");
Thanks for your help,
koko1313I solved this issue by installing all the Developer Components from the Crystal Reports XI R2 disk. I had previously installed only the sdk for BusinessObjects XI R2 .Net sdk for .net 2.
Now when I run my application, I get an "Object reference not set to an instance of an object." error in the viewer. I tried adding a virtual directory in iis pointing to the crystalreportviewer115 folder. But this has not helped.
Is there something else that I should be installing in my deployment? I have tried everything I could find on various forums, but nothing works.
Also, I have simplified my code and removed the creation of the PSReportFactory. Here is what I have now:
static EnterpriseSession ceSession;
EnterpriseService ceEnterpriseService;
ceEnterpriseService = ceSession.GetService("", "InfoStore");
ceInfoStore = new InfoStore(ceEnterpriseService);
string sQuery = "Select * From CI_INFOOBJECTS Where SI_PROGID = 'CrystalEnterprise.Report' AND SI_ID=" + reportId;
ceReportObjects = ceInfoStore.Query(sQuery);
if (ceReportObjects.Count > 0)
ceReportObject = ceReportObjects[1];
CrystalReportViewer1.ReportSource = ceReportObject ;
This code was working when I used the Crystal Reports .NET sdk for Visual Studio 2005...
Thanks again,
koko1313
Maybe you are looking for
-
What's a simple keyboard shortcut to change windows..?
Hi everyone, I'm using a Swiss keyboard and am trying to figure out if there is a simple shortcut for switching Safari windows. I've finally figured out the shortcut for changing tabs (Command-Shift-left or right arrow) but changing windows still elu
-
Dynamic dropdown list in adobe forms.
Hi All, I need to have a dynamic drop down list in the adobe forms.The values for the drop down list are selected from a standard table at runtime.This is the online scenario. I have been using Enumerated drop down list.How do i pass the value or bin
-
help
-
im missing my notes, i message, etc on my mac. i recently installed a new hard drive and and reinstalled the os on my mac and have missing apps
-
Hi, I got an MSI K7N2 Delta 2, and I just want for example to plug it on my home theater. So I connected my external amplifier's coaxial input to SPDIF out of my K7N2, but only right front and left front work. Is it possible to watch DD 5.1 and DTS m