Error in reading data from planning book
Hi Guys,
I am facing error in reading data from SNP planning book .
When i try to read single product data for simulation version , it gets loaded correctly.
However, when i try loading data for more than one product, then i get error "Product does not exist".
I checked all products are assigned to model-version.
I tried running consistency check as well and after it finished got message as "All inconsistencies can not be corrected".
Please let me know if any one had faced this error.
Thanks.
Hi,
Consistency check should solve the problem in this case. Try running it specifically on the version you are using. It should work.
Regards,
Guru Charan.
Similar Messages
-
How to extract data from planning book
nu t apo. need help regarding how to extract data from planning book givn the planning book name , view name & some key figures.
Total Demand (Key Figure DMDTO):
o Forecast
o Sales Order
o Distribution Demand (Planned)
o Distribution Demand (Confirmed)
o Distribution Demand (TLB-Confirmed)
o Dependent Demand
Total Receipts (Key Figure RECTO):
o Distribution Receipt (Planned)
o Distribution Receipt (Confirmed)
o Distribution Receipt (TLB-Confirmed)
o In-Transit
o Production (Planned)
o Production (Confirmed)
o Manufacture of Co-Products
Stock on Hand (Key Figure STOCK):
o Stock on Hand (Excluding Blocked stock)
o Stock on Hand (Including Blocked stock)
In-Transit Inventory (Cross-company stock transfers)
Work-in-progress (Planned orders / Process orders with start date in one period and finish date in another period)
Production (Planned), Production (Confirmed) and Distribution Receipt elements need to be converted based on Goods Receipt date for projected inventory calculation.Hello Debadrita,
Function Module BAPI_PBSRVAPS_GETDETAIL2 or BAPI_PBSRVAPS_GETDETAIL can help you.
For BAPI BAPI_PBSRVAPS_GETDETAIL, the parameters are:
1) PLANNINGBOOK - the name of your planning book
2) DATA_VIEW - name of your data view
3) KEY_FIGURE_SELECTION - list of key figures you want to read
4) SELECTION - selection parameters which describe the attributes of the data you want to read (e.g. the category or brand). This is basically a list of characteristics and characteristic values.
BAPI_PBSRVAPS_GETDETAIL2 is very similar to BAPI_PBSRVAPS_GETDETAI but is only available from SCM 4.1 onwards.
For the complete list of parameters, you can go to transaction SE37, enter the function module names above and check out the documentation.
Please post again if you have questions.
Hope this helps. -
Error when reading data from socket
Hi,
I am getting the error 'NiRawReadError: An error occured when reading data from socket.' when using the ABAP API 'mo_core_service->invoke_matching'.
And I get this error only when I pass ABAP_TRUE to the paramter 'iv_wait_for_invocation' .
Can anybody help me in correcting this?Hi Narasa,
The following error is already in discussion in the below forum.Plz consult the forum link you will find the error solution.
Problem in ABAP API - NiRawReadError: error when reading data from socket
Rgds
Ankit -
Error in reading data from InfoSet
Hi Experts,
I am facing the below errros when doing a selection to retraive data.
@5C\QError@ Error when reading data from InfoSet Z40_2 (return code 1) @5F\QNo long text exists@ 17:56:24 A Preparatory Steps 1 Selection and Bundle Formation 00000000000195819816 1 E /BA1/F3_BASIS 6 1 1
@5C\QError@ Data transfer structures in EWLS object do not match @5F\QNo long text exists@ 17:56:24 A Preparatory Steps 1 Selection and Bundle Formation 00000000000195819816 2 E /BA1/F3_EWLS 117 1 2
Please let us know if any one knows why tehse erros apear and sloution for these.
Please do the needful,'
Thanks,'Maheshthanks
-
JavaConsole Error: Problem reading data from server
HI All
We are getting this error on java console on a page:
Error: Problem reading data from Server - Java.Security.AccessControlException:access denied (java.util.PropertyPermission http.strictpostredirect Read)
In this page we are not firing a SQL Query of huge data.
Any suggestions on this why it is happening?
Thanks
ManishaManisha,
I think JVM(Java Virtual Machine) is trying to access something at network level and it cant able to find it.Or any new patches of java is installed.
Or may be due to IIS or Applet,Don't know exactly.
You can find some answers in below links:
http://java.sun.com/j2se/1.4.2/docs/api/java/security/AccessControlException.html
http://www.webdeveloper.com/forum/archive/index.php/t-46358.html
-Suresh -
Error in Reading data from a xml file in ESB
Hi,
i created a inbound file adapter service which reads data from a xml file and passes it to the routing service and from there updates to the database.....
(everything created in jdeveloper)
But i am getting error....it is not getting updated to the database...when i check the database(select * from table) its showing one row selected but i couldnt find the data....
Transformation mapping also i did...
i think may be some error in reading the data from the xml file but not so sure.....
please reply to this mail as soon as possible its very urgentMichael R wrote:
The target table will be created when you execute the interface, if you set the option on the flow tab as instructed in step #6 of the "Setting up ODI Constraint on CLIENT Datastore" Section.
Option Value
CREATE_TARG_TABLE trueHi Michel,
This was not my required answer.I am sorry that I was unable to clarify my question.Actually
+This project executed successfully with some warning.Target Table is automatically created in database and also populated with data.But when I right-click Target Datastore(in >Mapping Tab of the Interface), and then select Data to View Data that needs to be inserted in the target table.I get some error like this:-...+This above line is the result of my project my problem is
when I right-click Target Datastore(in Mapping Tab of the Interface), and then select Data to View Data that already inserted in the target table.Is not shown by the view data operation.
I meant to say I am facing this error
At the10(1010 written) step of
Creating a New ODI Interface to Perform XML File to RDBMS Table Transformation
wehre it says
Open the Interface tab. Select Mapping tab, right-click Target Datastore - CLIENT, and then select Data. View Data inserted in the target table. Close Data Editor. Close the tabs...
In my case when I use my sqldeveloper I can see data successfully inserted in my target table and also in error table (data that can't satisfy the constraint) .But I was unable to check this by following the above mentioned 10 th step and got this error.
Thanks -
Error -- While Uploading Data into Planning Book
Hi all...
working on SCM 4.1...
In Planning book...while loading the data of one SKU-Location into the PB , i am getting the below error...
"Overflow during propagation calculation: Number too large"
Message no. /SAPAPO/OM_TS078
Diagnosis
An overflow occurred while propagating a change to a key figure within the LCA routine.
In this case an internal error in the LCA routine is concerned.
*ProcedureCreate an OSS message as detailed in SAP Note 167280.*
can anybody help me to resolve the same as i couldnot ablt to view the data in planning book for one of the Product-location.
Regards,
Rajesh PatilHi Senthil,
For Some of the SKUs it is giving the Error , some abrupt values are stored in Live Cache for these SKUs(CVC), thats why it giving the Error.
The only solution is ..i have to delete the CVCs and create new one...
But i will loose the data as we cant take the Backup of Old CVC data --> Giving COM Error
The reason of Abrupt Values in Live Cache Could Be -->.>
Macro/Alerts
How can we fix these types of Error , as regularly i am getting these Error??
Is there any Note/Patch to overcome this issue?
Will be GR8 if i will get the solution..
Regards,
Rajesh Patil -
Error when reading data from XML using JAXB?
Hi all,
I get the error message when reading data from XML using JAXB.
[org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference.]
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException
(AbstractUnmarshallerImpl.java:315)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:481)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:199)
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:168)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137)
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:142)
I don't find the reason, please help!
Thanks in advance!The problem is sovled.
-
Error 65575: overrun error while reading data from NI 9871
Hello everyone,
I am new here. I configured NI 9871 in RS-485 mode to acquire data from a sensor at the data rate of 8 samples per second. While reading data from sensor, sometimes I got the error 65575: "An overrun error has occurred in the data being read. Ensure that the module Flow Control is configured correctly." I didn't understand the error, how can I fix it, what dose the flow control means.
I will be very thankful if anybody help me to fix this error.
Thanks
WasifHello Wasif,
The error you are getting presents itself when the hardware buffer is full and new data is coming in. Data buffer is 64 bytes. One thing to try is to clear the RX FIFO after every read. Please refer to the following link that talks about the method.
http://zone.ni.com/reference/en-XX/help/370984R-01/lvaddon11/crio-9871/
Hope this help you solve the issue.
Regards
Luis S
Application Engineer
National Instruments -
Error while reading data from MapMessage using MDB
Hi,
I have written a small client program to send a message to a queue and an MDB receives the message in the onMessage() method. The message is of type MapMessage. I set key value pairs and send the message in a queue. When I try to read data from MapMessage inside onMessage() method of MDB, I get an exception:-
javax.jms.MessageNotReadableException: In write mode
When I send the message, by default the readonlymode is false. How do I set the mode to readonly exclusively in case of MapMessage ?
SirishaHi,
I do not have any problem with TextMessages...I works fine..It is only with MapMessage that I am not able to read the values..Before sending the message, the message has the flag "readMode" set to false by default by the server...R there any configurations to be made to any files like web.xml or server.xml or jms.xml ?
I am running my JMS application on JDeveloper IDE that has an in-built OC4J server which supports JMS. -
Error while reading data from backend system.
Hi all,
When i click on personnel information iview i am getting following error
EIC Authentication
An error occurred while data was read from your ERP system. Contact your system administrator.
I used SQL TRACE and RFC TRACE to find where it got stopped below see the trace result.
14 PA0105 REOPEN 0 SELECT WHERE "MANDT" = '001' AND "USRTY" = '0001' AND "USRID" = 'ESS_USER1'
988 PA0105 FETCH 1 1403
14 PA0001 REOPEN 0 SELECT WHERE "MANDT" = '001' AND "PERNR" = 90000001 ORDER BY "MANDT" , "PERNR" , "SUBTY" , "OBJPS" , "SPRPS" , "ENDDA" , "BEGDA" , "SEQNR"
665 PA0001 FETCH 1 1403
17 PA0000 REOPEN 0 SELECT WHERE "MANDT" = '001' AND "PERNR" = 90000001 AND "BEGDA" <= 20070622 AND "ENDDA" >= 20070622 ORDER BY "MANDT" , "PERNR" , "SUBTY" , "OBJPS" , "SPRPS" , "ENDDA" , "BEGDA" , "SEQNR"
615 PA0000 FETCH 1 1403
25 PA0001 REOPEN 0 SELECT WHERE "MANDT" = '001' AND "PERNR" = 90000001 AND "BEGDA" <= 20070622 AND "ENDDA" >= 20070622 ORDER BY "MANDT" , "PERNR" , "SUBTY" , "OBJPS" , "SPRPS" , "ENDDA" , "BEGDA" , "SEQNR"
896 PA0001 FETCH 1 1403
16 PA0002 REOPEN 0 SELECT WHERE "MANDT" = '001' AND "PERNR" = 90000001 AND "BEGDA" <= 20070622 AND "ENDDA" >= 20070622 ORDER BY "MANDT" , "PERNR" , "SUBTY" , "OBJPS" , "SPRPS" , "ENDDA" , "BEGDA" , "SEQNR"
783 PA0002 FETCH 1 1403
13.178 ? Server 1 0 EPSAND1 ? Server HREIC_GET_AUTHENTICATION_ESS 643 309
What is the solution to solve this problem ?
Thanks and regards,
PhanikumarLooks like authorization issue. Could you confirm whether proper authorizations have given to this user?
Also, run the application again get an error and then go to Transaction ST22 and see if there is any system dump for this user.
Regards,
Nitin -
ORA-28522 error when reading data from DB2 via hsodbc
Hi All,
I'm trying to connect to a DB2 database running on an AS/400 system, via Oracle HS.
I'm using Oracle 9.2.08. The DB2 version is V4R5.
My ODBC DSN is called TEST_odbc.
The initTEST_sid.ora file contains the following:
HS_FDS_CONNECT_INFO = TEST_odbc
My Listener.ora file contains the following:
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = vm-dashboarddemo)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(PROGRAM = hsodbc)
(ORACLE_HOME = D:\oracle\ora92)
(SID_NAME = TEST_sid)
My TNSNames.ora file contains:
TEST_name =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = VM-DASHBOARDDEMO)(PORT = 1521))
(CONNECT_DATA =
(SID = TEST_sid)
(HS = OK)
When I use TNSPing, I get a successful result:
D:\oracle\ora92\bin>tnsping TEST_name
TNS Ping Utility for 32-bit Windows: Version 9.2.0.8.0 - Production on 04-JUL-20
07 13:46:47
Copyright (c) 1997, 2006, Oracle Corporation. All rights reserved.
Used parameter files:
D:\oracle\ora92\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = VM-DASHBOARDDEMO)(PORT = 1521))) (CONNECT_DATA = (SID = TEST_sid)) (HS =
OK))
OK (10 msec)
I can then login to SQLPlus as SYSDBA, and create a database link:
SQL> create database link TEST_link connect to "<username>" identified by "<password>" using 'TEST_name';
Database link created.
So far everything seems to be going well.
But then, when I try and select some data from the linked database, i get the following:
SQL> select * from <tablename>@TEST_link;
select * from <tablename>@TEST_link
ERROR at line 1:
ORA-00942: table or view does not exist
[Generic Connectivity Using ODBC][IBM][Client Access Express ODBC Driver
(32-bit)][DB2/400 SQL]SQL0204 - ZASTSE00 in QGPL type *FILE not found. (SQL
State: S0002; SQL Code: -204)
ORA-02063: preceding 2 lines from TEST_LINK
Does anyone have any ideas? I'd love to get this solved!!
Many Many Thanks,
RiverI should have mentioned that I know that the table exists in the database.
The main reason I'm trying to do this is because I'm trying to get the data from the DB2 DB into my Oracle DB. I have been trying the EXP utility, which gives me a different error code:
D:\oracle\ora92\bin>exp <username>/<password>@TEST_name file=TEST.dmp rows=yes indexes=no
Export: Release 9.2.0.8.0 - Production on Wed Jul 4 13:44:06 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
EXP-00056: ORACLE error 3113 encountered
ORA-03113: end-of-file on communication channel
Username: <username>
Password:
Connected to: Oracle9i Enterprise Edition Release 9.2.0.8.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.8.0 - Production
Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
Note: indexes on tables will not be exported
About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user <username>
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user <username>
EXP-00008: ORACLE error 942 encountered
ORA-00942: table or view does not exist
EXP-00024: Export views not installed, please notify your DBA
EXP-00000: Export terminated unsuccessfully
Thanks Again,
Riv -
Syntax error in reading data from another DSO
Hi all,
I have written a end routine to read business area from another dso the code is as follows.
DATA:lw_c_wa type tys_TG_1-BUS_AREA.
LOOP AT RESULT_PACKAGE ASSIGNING -BUS_AREA = lw_c_wa-bus_area.
refresh lw_c_wa.
ENDIF.
endloop.
but i am getting the following error:
E:"FROM ...", "CONNECTION ...", "BYPASSING BUFFER", "PACKAGE SIZE ...",
or "UP TO ... ROWS" expected after "LW_C_WA".
i am not able to debug this.
Pls any input on this.
Regards,
suyashTry to debug using DTP. (Goto DTP ---> Execute Tab ---> Choose processing mode as "Serially in Dialog Process (For Debugging).
Or goto transformation -
> Extras --> Display generated code ---> put a break point here and execute the DTP. Then you can debug the code. -
Error while reading data from cache
Hi,
I am implementing IPofSerializer for an object of C#. I have successfully written C# object.
I have also read the first object.
But when I am going to read the second object's last field which of type boolean it is giving me error:
System.IO.EndOfStreamException was unhandled by user code
Message="Unable to read beyond the end of the stream."
Source="mscorlib"
StackTrace:
at System.IO.__Error.EndOfFile()
at System.IO.BinaryReader.ReadByte()
at Tangosol.IO.DataReader.ReadPackedInt32()
at Tangosol.IO.Pof.PofStreamReader.UserTypeReader.AdvanceTo(Int32 index)
at Tangosol.IO.Pof.PofStreamReader.ReadInt32(Int32 index)
at Tangosol.IO.Pof.PofStreamReader.ReadBoolean(Int32 index)
at HyperRig.CachingService.Adapter.POFSerializers.MapMessageFieldPOFSerializer.Deserialize(IPofReader Reader) in D:\Hyper Rig\HyperRig.CachingService.Adapter\HyperRig.CachingService.Adapter.POFSerializers\MapMessageFieldPOFSerializer.cs:line 21
at Tangosol.IO.Pof.PofStreamReader.ReadAsObject(Int32 typeId)
at Tangosol.IO.Pof.PofStreamReader.ReadCollection[T](Int32 index, ICollection`1 coll)
at HyperRig.CachingService.Adapter.POFSerializers.MapMessagePOFSerializer.Deserialize(IPofReader Reader) in D:\Hyper Rig\HyperRig.CachingService.Adapter\HyperRig.CachingService.Adapter.POFSerializers\MapMessageFieldPOFSerializer.cs:line 55
at Tangosol.IO.Pof.PofStreamReader.ReadAsObject(Int32 typeId)
at Tangosol.IO.Pof.PofStreamReader.ReadObject(Int32 index)
at Tangosol.IO.Pof.ConfigurablePofContext.Deserialize(DataReader reader)
at Tangosol.Net.Impl.RemoteNamedCache.ConverterFromBinary.Convert(Object o)
at Tangosol.Util.ConverterCollections.ConvertArray(Object[] ao, IConverter conv)
at Tangosol.Util.ConverterCollections.ConverterCollection.CopyTo(Array array, Int32 index)
at Tangosol.Util.ConverterCollections.ConverterQueryCache.GetValues(IFilter filter)
at Tangosol.Util.ConverterCollections.ConverterNamedCache.GetValues(IFilter filter)
at Tangosol.Net.Impl.RemoteNamedCache.GetValues(IFilter filter)
at Tangosol.Net.Impl.SafeNamedCache.GetValues(IFilter filter)
at HyperRig.CachingService.Adapter.OracleCoherence.OracleCoherenceCachingLayer.ReadMultipleBySubjectName(String SubjectName, List`1& ReceivedMessageRecords, Object TransactionObject) in D:\Hyper Rig\HyperRig.CachingService.Adapter\HyperRig.CachingService.Adapter.OracleCoherence\OracleCoherenceCachingLayer.cs:line 444
at HyperRig.CachingService.Adapter.OracleCoherence.OracleCoherenceCachingLayer.ReadMultipleBySubjectName(String SubjectName, List`1& ReceivedMessageRecords) in D:\Hyper Rig\HyperRig.CachingService.Adapter\HyperRig.CachingService.Adapter.OracleCoherence\OracleCoherenceCachingLayer.cs:line 461
at HyperRig.DataManager.ETLEngine.DataCacheExtractor.Extract(Object transaction, DataTable& resultingDataTable)
InnerException:
I am using Oracle Coherence 3.5.3
Regards
Nitin JainHi Luk,
Here is the server side config:
<?xml version="1.0"?>
<!--
| Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
|
| Oracle is a registered trademarks of Oracle Corporation and/or its affiliates.
|
| This software is the confidential and proprietary information of
| Oracle Corporation. You shall not disclose such confidential and
| proprietary information and shall use it only in accordance with the
| terms of the license agreement you entered into with Oracle.
|
| This notice may not be removed or altered.
-->
<!DOCTYPE cache-config SYSTEM "cache-config.dtd">
<cache-config>
<caching-scheme-mapping>
<cache-mapping>
<cache-name>ACCOUNT</cache-name>
<scheme-name>dist-default</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<distributed-scheme>
<scheme-name>dist-default</scheme-name>
<serializer>
<class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
<init-params>
<init-param>
<param-type>string</param-type>
<param-value>custom-types-pof-config.xml</param-value>
</init-param>
</init-params>
</serializer>
<backing-map-scheme>
<local-scheme/>
</backing-map-scheme>
<autostart>true</autostart>
</distributed-scheme>
<proxy-scheme>
<service-name>ExtendTcpProxyService</service-name>
<thread-count>5</thread-count>
<acceptor-config>
<tcp-acceptor>
<local-address>
<address>localhost</address>
<port>9099</port>
</local-address>
</tcp-acceptor>
<serializer>
<class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
<init-params>
<init-param>
<param-type>string</param-type>
<param-value>custom-types-pof-config.xml</param-value>
</init-param>
</init-params>
</serializer>
</acceptor-config>
<autostart>true</autostart>
</proxy-scheme>
</caching-schemes>
</cache-config>
and client side config is:
<?xml version="1.0"?>
<!--
| Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.
|
| Oracle is a registered trademarks of Oracle Corporation and/or its affiliates.
|
| This software is the confidential and proprietary information of
| Oracle Corporation. You shall not disclose such confidential and
| proprietary information and shall use it only in accordance with the
| terms of the license agreement you entered into with Oracle.
|
| This notice may not be removed or altered.
-->
<cache-config xmlns="http://schemas.tangosol.com/cache">
<caching-scheme-mapping>
<cache-mapping>
<cache-name>ACCOUNT</cache-name>
<scheme-name>extend-direct</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<remote-cache-scheme>
<scheme-name>extend-direct</scheme-name>
<service-name>ExtendTcpProxyService</service-name>
<initiator-config>
<tcp-initiator>
<remote-addresses>
<socket-address>
<address>localhost</address>
<port>9099</port>
</socket-address>
</remote-addresses>
</tcp-initiator>
<outgoing-message-handler>
<request-timeout>30s</request-timeout>
</outgoing-message-handler>
<serializer>
<class-name>Tangosol.IO.Pof.ConfigurablePofContext, Coherence</class-name>
<init-params>
<init-param>
<param-type>string</param-type>
<param-value>Config\pof-config.xml</param-value>
</init-param>
</init-params>
</serializer>
</initiator-config>
</remote-cache-scheme>
</caching-schemes>
</cache-config>
Regards
Nitin Jain -
Error while reading data from SharePoint List - using object model
Any idea what could be reason for this error:-
Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback,
ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)
at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback,
ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)
at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData()
at Microsoft.SharePoint.SPListItemCollection.GetDataTableCore(Boolean isJsGrid)
at HRCompetencyGuide.SPHelper.<>c__DisplayClass2.<getDataTableFromList>b__0()
at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass4.<RunWithElevatedPrivileges>b__2()
at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode
Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
INSQLSERVER.COM
Mohammad NizamuddinIt is a simple code:- below is the part of the code taken from the method
SPSecurity.RunWithElevatedPrivileges(delegate()
using (SPSite site = new SPSite(siteURL))
if (site != null)
using (SPWeb web = site.OpenWeb())
SPList list = web.Lists.TryGetList(listName);
if (whereQuery == null)
collection = list.GetItems().GetDataTable();
else
collection = list.GetItems(whereQuery).GetDataTable();
Mark ANSWER if this reply resolves your query, If helpful then VOTE HELPFUL
INSQLSERVER.COM
Mohammad Nizamuddin
Maybe you are looking for
-
How to align data in a BC4J Table
Hello, has anybody tried to align the data of a <bc4j:column>? It does not support something like hAlign or vAlign.
-
What is the best way to add a guest networ?
What is the best way to configure a guest network? The guest network would have access to the Internet only. The guest network will would not have access to servers. We have a an ASA firewall, Cisco router and L3 switch. Thanks.
-
How to transfer a figure drawn on a canvas via bluetooth?
Hi, I am developing an application that will draw multiple figures like rectangle, circle,square on a canvas.I want to send this via bluetooth to other device.In which format should i send this?How? Thanks Aiswarya
-
Custom Date Format in a Date Field
I have an interesting problem. I am using a Date & Time field in a template for a copyright year. The problem is that there is no selection in the Date & Time field that displays only the year. Is there a way to add a new custom format so that I can
-
Help me out to run Interactive forms in CE7.1
Hi experts, I am new to this SAP webdynPro for java World.Can you please help me to run interactive Forms. I have installed CE7.1 Dev_studio and J2EEServer.To Develop Adobe Interactive Forms i have installed Adobe Designer7.1. When i run the Applicat