/ZP2
Re: PTAX Arrear Wage type
select with reformat causing blocking in tempdb
We're running a single select from temp tables and non-temp tables and its causing blocking on tempdb..sysobjects
The from clause has 3 temp tables and 5 non-temp tables in it.
The optimiser is creating a work table with a clustered index and we're seeing blocking on sysobjects in tempdb for the duration of the whole SQL.
I thought this issue of blocking sysobjects had been fixed?!!?
Here's the results of the showplan and sp_lock.
Anyone explain what's happening ?
sp_lock shows
fid spid loid locktype table_id page row dbname class context
------ ------ -------- -------------- ----------- ----------- ------ ------------- ----------------- ---------
0 381 762 Sh_intent 260312833 0 0 CPGdb Non Cursor Lock
0 381 762 Sh_intent 494012891 0 0 CPGdb Non Cursor Lock
0 381 762 Sh_page 494012891 7502962 0 CPGdb Non Cursor Lock Ind pg
0 381 762 Sh_intent 140527534 0 0 cds2db Non Cursor Lock
0 381 762 Sh_page 140527534 4549 0 cds2db Non Cursor Lock
0 381 762 Sh_intent 1116531011 0 0 cds2db Non Cursor Lock
0 381 762 Sh_intent 1929057908 0 0 cds2db Non Cursor Lock
0 381 762 Sh_intent 1 0 0 tempdb Non Cursor Lock
0 381 762 Sh_row-blk 1 5 8 tempdb Non Cursor Lock Range
0 381 762 Sh_intent 28 0 0 tempdb Non Cursor Lock
0 381 762 Sh_row 28 84 3 tempdb Non Cursor Lock Range
0 381 762 Ex_table 1158865492 0 0 tempdb Non Cursor Lock
0 381 762 Ex_table 1174865549 0 0 tempdb Non Cursor Lock
0 381 762 Ex_table 1366866233 0 0 tempdb Non Cursor Lock
QUERY PLAN FOR STATEMENT 1 (at line 2).
Optimized using Serial Mode
Optimized using the forced options (internally generated Abstract Plan).
STEP 1
The type of query is SELECT.
17 operator(s) under root
|ROOT:EMIT Operator (VA = 17)
|
| |RESTRICT Operator (VA = 16)(0)(0)(0)(0)(12)
| |
| | |SEQUENCER Operator (VA = 15) has 2 children.
| | |
| | | |STORE Operator (VA = 2)
| | | | Worktable1 created, in allpages locking mode, for REFORMATTING.
| | | | Creating clustered index.
| | | |
| | | | |INSERT Operator (VA = 1)
| | | | | The update mode is direct.
| | | | |
| | | | | |SCAN Operator (VA = 0)
| | | | | | FROM TABLE
| | | | | | DB1..A
| | | | | | a
| | | | | | Using Clustered Index.
| | | | | | Index : idx1
| | | | | | Forward Scan.
| | | | | | Positioning by key.
| | | | | | Keys are:
| | | | | | at ASC
| | | | | | Using I/O Size 16 Kbytes for index leaf pages.
| | | | | | With LRU Buffer Replacement Strategy for index leaf pages.
| | | | | | Using I/O Size 16 Kbytes for data pages.
| | | | | | With LRU Buffer Replacement Strategy for data pages.
| | | | |
| | | | | TO TABLE
| | | | | Worktable1.
| | |
| | | |N-ARY NESTED LOOP JOIN Operator (VA = 14) has 3 children.
| | | |
| | | | |NESTED LOOP JOIN Operator (VA = 11) (Join Type: Left Outer Join)
| | | | |
| | | | | |N-ARY NESTED LOOP JOIN Operator (VA = 9) has 5 children.
| | | | | |
| | | | | | |SCAN Operator (VA = 3)
| | | | | | | FROM TABLE
| | | | | | | #al
| | | | | | | l
| | | | | | | Table Scan.
| | | | | | | Forward Scan.
| | | | | | | Positioning at start of table.
| | | | | | | Using I/O Size 16 Kbytes for data pages.
| | | | | | | With LRU Buffer Replacement Strategy for data pages.
| | | | | |
| | | | | | |SCAN Operator (VA = 4)
| | | | | | | FROM TABLE
| | | | | | | #pl
| | | | | | | pl
| | | | | | | Table Scan.
| | | | | | | Forward Scan.
| | | | | | | Positioning at start of table.
| | | | | | | Using I/O Size 2 Kbytes for data pages.
| | | | | | | With LRU Buffer Replacement Strategy for data pages.
| | | | | |
| | | | | | |RESTRICT Operator (VA = 6)(0)(0)(0)(0)(13)
| | | | | | |
| | | | | | | |SCAN Operator (VA = 5)
| | | | | | | | FROM TABLE
| | | | | | | | #ps
| | | | | | | | ps
| | | | | | | | Index : idx3
| | | | | | | | Forward Scan.
| | | | | | | | Positioning by key.
| | | | | | | | Keys are:
| | | | | | | | i ASC
| | | | | | | | Using I/O Size 2 Kbytes for index leaf pages.
| | | | | | | | With LRU Buffer Replacement Strategy for index leaf pages.
| | | | | | | | Using I/O Size 2 Kbytes for data pages.
| | | | | | | | With LRU Buffer Replacement Strategy for data pages.
| | | | | |
| | | | | | |SCAN Operator (VA = 7)
| | | | | | | FROM TABLE
| | | | | | | DB2..u
| | | | | | | u
| | | | | | | Table Scan.
| | | | | | | Forward Scan.
| | | | | | | Positioning at start of table.
| | | | | | | Using I/O Size 16 Kbytes for data pages.
| | | | | | | With LRU Buffer Replacement Strategy for data pages.
| | | | | |
| | | | | | |SCAN Operator (VA = 8)
| | | | | | | FROM TABLE
| | | | | | | DB1..w
| | | | | | | w
| | | | | | | Using Clustered Index.
| | | | | | | Index : wd_pk
| | | | | | | Forward Scan.
| | | | | | | Positioning by key.
| | | | | | | Keys are:
| | | | | | | c ASC
| | | | | | | d ASC
| | | | | | | Using I/O Size 16 Kbytes for data pages.
| | | | | | | With LRU Buffer Replacement Strategy for data pages.
| | | | |
| | | | | |SCAN Operator (VA = 10)
| | | | | | FROM TABLE
| | | | | | DB2..c
| | | | | | c
| | | | | | Using Clustered Index.
| | | | | | Index : idx1
| | | | | | Forward Scan.
| | | | | | Positioning by key.
| | | | | | Keys are:
| | | | | | cid ASC
| | | | | | d ASC
| | | | | | s ASC
| | | | | | Using I/O Size 2 Kbytes for data pages.
| | | | | | With LRU Buffer Replacement Strategy for data pages.
| | | |
| | | | |SCAN Operator (VA = 12)
| | | | | FROM TABLE
| | | | | DB2..cd
| | | | | cd
| | | | | Index : idx1
| | | | | Forward Scan.
| | | | | Positioning by key.
| | | | | Keys are:
| | | | | cid ASC
| | | | | Using I/O Size 2 Kbytes for index leaf pages.
| | | | | With LRU Buffer Replacement Strategy for index leaf pages.
| | | | | Using I/O Size 2 Kbytes for data pages.
| | | | | With LRU Buffer Replacement Strategy for data pages.
| | | |
| | | | |SCAN Operator (VA = 13)
| | | | | FROM TABLE
| | | | | Worktable1.
| | | | | Using Clustered Index.
| | | | | Forward Scan.
| | | | | Positioning by key.
| | | | | Using I/O Size 2 Kbytes for data pages.
| | | | | With LRU Buffer Replacement Strategy for data pages.
Total estimated I/O cost for statement 1 (at line 2): 2147483647.
Error after install Lumira 1.21
capacity requirement dates
Hi All,
Can anybody tell me in which tcode we can find the earliest start date ( field:FSTAD),Late Start Date(field :SSTAD),SENDD(Late finish Date).
I can see these fields in KBED table those fields.
Thanks & Regards,
Sudhindra
Re: usage of encrypted ports(sapdp00s, sapgw00s and sapmss) in sap
Hi Alwina,
Thanks for your reply, it was quiet useful.
Thanks & Regards
Danu
Re: Uploading long text from Excel using Data Services
As promised I had a chat with my colleagues. I personally agree that it shouldn't be designed that way - It sounds logical to me that sampling of 100 rows needed to update schema with max length. It is also logical that if one wants to change max length of the column in Excel FF properties one should be able to do so. And DS should be able to comply.
The only option I can offer is to post the same on SAP Ideas Place for further enhancement or wait for a member of community to offer a better workaround.
Thank you,
Viacheslav.
Re: Promote the idea
Jawahar,
It is up us professionals to make the companies we do work for are using SAP best practices other the tool will get a bad word of mouth. The users will use what they provided unless they are properly educated. If they use the tool incorrectly it will come back on the consultant that helped them deploy the tool.
Ajay
Re: Hiding Text and fields in Webdynpro.
Hi Dhinesh,
Please refer to the below document
Customize view fields using application configuration in Webdynpro ABAP
Hope this helps you.
Regards,
Rama
Re: Automated Exporting after installing Service Pack 12
Hi Neva,
What error are you getting? I have a case open with this same issue using Office 2013 and exporting to MAPI on Windows 8.1.
Don
Re: Automatic Payment Program in sap
Thanks a lot, problem resolved
Re: Trying to call HANA procedure via ABAP
Hi Anand,
you should preferentially use "NVARCHAR" instead of the non-unicode derivate "VARCHAR". As ABAP supports both unicode and non-unicode systems, we only allow the mapping of Strings/character literals from ABAP to NVARCHAR variables in HANA in all ABAP on HANA systems.
Please find an example of a _SYS_BIC procedure in an AMDP in class CL_EPM_OIA_SIMP_BP_CLSF_AMDPDT (method AMDP_GET_BP_CLASSIFICATION). Should be available in your system.
And you can additionally try to execute the call you put into the AMDP directly in the HANA SQL console.
Cheers,
Jasmin
Re: Bapi is not taking input from mii
May also want to test it in BAPI/SE37 with the exact same inputs as in MII. Then compare the result set you see in BAPI/SE37 to the result set in MII, with a focus on the inputs show after processing. There may be some default values being set there that are missing in MII's mapping.
Regards, Mike
SAP Customer Experience Group - CEG
Re: How do you sort months from a UNX universe with Design Studio?
Hi Karol,
Thanks for your input, however var years and var months are still hard-coded.
So let's say I want my dashboard to work until 2010. Then I would have to either
a) Hardcode the years until 2010, but every time the dashboard runs it will loop empty cycles until 2010.
b) Edit the dashboard each year to add an additional year
Hard-coding is more of a hack and never a best practice, but we'll see if SAP fixes it where a query sort is actually reflected on the datasource. Unfortunately this is a major limitation right now with Design Studio.
Just imagine if there are other types of dimensions that need to be sorted by key instead of alphabet and let's say there are 300 selections to choose from. Then we would have to hardcode all 300 in our code!
Regards
David
Re: How can we find our sales order using item Category.
Thanks a lot for valuable information Sridhar.
Re: FM MB_CREATE_GOODS_MOVEMENT
HI Gayatri,
I checked the tcode MB0A and movement type 101 maintained in tables T158 and T158B.
but still i am getting the sy-subrc values as 5.
Thanks,
Haritha
Account Search based on Sales Org .
Hi Experts ,
I have a requirement to search accounts based on Sales Org Id.
For this I created AET field . Componet : BP_HEAD_SEARCH.
please help me to get the logic to get accout results based on Sales Org Id .
Thanks & Regards,
Akhilesh Bhagat
Re: Creation of Transformation File
Hi Bishwajit,
Thank you for your valuable input but i am facing below error now :
/CPMB/MODIFY completed in 0 seconds
/CPMB/CONVERT completed in 0 seconds
/CPMB/CLEAR completed in 0 seconds
[Selection]
--------------------------------------------------------------
FILE = \ROOT\WEBFOLDERS\Zain_Environment_BPC\Consolidation\DATAMANAGER\DATAFILES\EXAMPLES\UPLOAD TESTING.txt
TRANSFORMATION = \ROOT\WEBFOLDERS\Zain_Environment_BPC\Consolidation\DATAMANAGER\TRANSFORMATIONFILES\EXAMPLES\TRANSFORMATION_UPLOAD_TESTING.xls
CLEARDATA = No
RUNLOGIC = No
CHECKLCK = No
[Message]
--------------------------------------------------------------
Task name CONVERT:
No 1 Round:
Cannot find column ACCOUNT in destination
model: Consolidation. Package status: ERROR
Can you please analyse what would be the mistake on destination now?
Thanks & Regards,
Zain Bashir
localruntime with SAPUI5 Core Libraries
I want to test my WebProject with SAPUI5 locally (on localhost).
my index.html has the following lines:
<script src="resources/sap-ui-core.js" id="sap-ui-bootstrap" data-sap-ui-libs="sap.ui.commons,sap.ui.ux3,sap.ui.table,sap.ui.layout" data-sap-ui-theme="sap_goldreflection" data-sap-ui-xx-bindingSyntax="complex"></script>
...that means, I want to use the local SAPUI5 library.
So i added SAPUI5 Server Side Libraries and SAPUI5 Core Libraries to BuildPath
and changed Web Deployment Assembly:
I published my project to cloud and all works fine.
If I start my local Java EE 6 Web Profile Server, the server has some problems during startup.
#ERROR#org.apache.catalina.core.StandardContext##anonymous#fs-watcher####Error getConfigured|
#ERROR#org.apache.catalina.core.ContainerBase##anonymous#fs-watcher####ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]
#ERROR#org.eclipse.virgo.web.enterprise.applistener.internal.OpenEjbApplicationListener##anonymous#fs-watcher####Failed to destroy enterprise container for application with context path ''org.apache.openejb.UndeployException: Error while undeploying application with module id and web context path ''.: Application with path D:\7_eclipse-workspace\Servers3\Java EE 6 Web Profile Server-config\webapps\ROOTcannot be found
#ERROR#org.eclipse.gemini.web.internal.StandardWebApplication##anonymous#fs-watcher####Failed to start web application at context path ''org.eclipse.gemini.web.core.spi.ServletContainerException: Web application at '' cannot be added to the host.
I deleted SAPUI5 Core Libraries in Web Deployment Assembly and the Server was up and running but of course javascript said:
"NetworkError: 404 Not Found - http://localhost:8080/resources/sap-ui-core.js"
Tested with:
neo-javaee6-wp-sdk-2.49.12.5
neo-javaee6-wp-sdk-2.43.16
Thanks for your help
Re: BI Abap and BI Java Integration
Hi Sriram,
Our BI & Java Systems versions are NW 7.3 EHP1.
Thanks,
Krishna.
Re: z-function to read BPC Model transaction data
Hi Bishwajit,
Thanks for the support.
I have hardcoded the values for TIME and the I got blank result for <lt_query_result>
I have passed TIMEFROM and TIMETO as variables of data type C length 32, I got blank return for <lt_query_result>
I have commented out the selection 'it_range' parameter and I got the data records returned for <lt_query_result>.
So, somehow the selections are not being passed to 'it_range' is my observation.
Regards,
Draksh