Bpelx:remove gives runtime error
Hi,
I want to remove an element from an xml variavble. According to documentation I use the following syntax:
<assign name="VerwijderBSN">
<bpelx:remove>
<bpelx:target variable="inputVariable"
part="payload"
query="/client:SBVaststellenPersoonssetProcessRequest/ns1:Partij/ns1:NatuurlijkPersoon/ns2:BurgerservicenummerID"/>
</bpelx:remove>
</assign>
However, at runtime I get the following error in the BPEL Console:
<selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
- <part name="summary">
<summary>
Assign Operation Misuse.
The to-spec does not yield any data; remove operation cannot be performed.
Please check the BPEL source at line number "302" .
</summary>
</part>
</selectionFailure>
The XML data I want to manipulate contains data.
Any suggestions on this?
thanks in advance, Rob
>
Ingo Hilgefort wrote:
> Hi,
> can you open the Excel file in InfoView without any issues for these users ?
yes, that works.
>
Ingo Hilgefort wrote:
> is it a Excel file or a LIve Office document ?
>
> ingo
It is created by the scheduler on basis of a Deski - Report.
I'm not sure wether this issue actually deals with the excel file.
I noticed an other thing:
- if i use KM Navigation iView that is linked to the Toplevel Folder of the BO Repository (e.g. /borm) and navigate down to the Inbox i get the Runtime Error.
- if i use the KM Navigation with the full path to the Inbox Folder (e.g. /borm/1234) it works to see the Inbox File listing (sometimes, not allways)
So i suggest it deals about the navigation...
(But by the way: If i try to open this Excel, it showes following error: Fehler: An error occured while trying to view the document )
Similar Messages
-
Customer master XD01 system gives RUNTIME Error
Hi all,
While creating customer master xd01 system takes 10-15 minutes and gives RUNTIME Error.
can anybody explain it why system behave like this i spoken with my BASIS & ABAPer guy they also dont know the solution
Your help is required
Regards,
AbhijeetThis is not an SD or even SCN question. Short dump is just a result of time out, but this transaction should not be taking so much time as to time out. There are tools available in SAP to diagnose and troubleshoot the performance. I'm not sure how could neither ABAPer nor Basis admin know about them - you might want to raise this with IT management.
It's something that has to be analyzed in your system locally, not posted on SCN. -
PSE9 Organiser gives runtime error
I am running PSE 9 trial version, have just done update 9.0.1 and now the organiser won't run, giving the error "Microsoft Visual C++ Runtime Library Runtime Error"
I have applied the patch from MS, which has not helped, I have uninstalled and re-installed PSE9 and not done the upgrade but the error remains (although it wasn't there before I did the upgrade the first time around, so presumably uninstalling PSE9 did not uninstall its upgrade!)
BTW, Editor seems fine, although I haven't given it a full work out.
So, is this fixable or do I try Paint Shop?
Cheers.
PSE Info file: is 4 pages long!
Windows XP SP3
MSVCP71.dll
MSVCR71.dllI've been chasing this for 8 months - first with PSE 8 and now with PSE 9, both on a Windows 7 Home Premium x64 machine. One detail, mine appears in the Editor. I can launch into the Organizer fine and print from there. But if I attempt to do anything that invokes editor function I get the MS Visual C++ Runtime error.
After chasing it for 6 months in PSE 8 I decided to give 9 a try. All was well for about 2 months to-the-day, then it started just like it did in PSE 8.
With PSE 8 a complete un-install including registry cleanup using several Adobe cleaner tools, a clean boot install would restore everything just fine, for about 2 months. Then it would come back. So I hoped the fix would be in 9. I was wrong.
I am now at Level 2 support with Adobe Tech Support, and they aren't making any progress. So far here is what has been done:
1. Delete the preferences file.
2. Install and run from a new User account.
3. Run from a Clean Boot.
4. Run in Safe mode
5. Remove all files in the Windows/twain32 folder (FYI - twain32 is supposed to be dead in PSE 9 anyway).
6. Run sfc/scannow from an Administrator prompt (no problems, 100% verification without any violation).
7. Download and install latest Visual C++ Runtime Library from Microsoft (w/ SP1).
8. Run again from a Clean Boot.
None of these have made any change.
My sense is that there is a file within the PSE suite that gets corrupted. Furthermore, the program seems to be self corrupting, meaning that if you reinstall and get it back, it will eventually corrupt itself again. Which file that is (there are so many) is anyone's guess. Adobe tech support is basically clueless.
From my prior experience with PSE 8 on this machine I know I can remove, cleanup (not easy) and reinstall PSE 9 and be good for 4-12 weeks, then it will return. If Adobe's support folks can't find the issue and resolve it, then I will quickly become a Corel customer- been using PS products for over 10 years but both the problem and the Tech Support responses have been very disappointing.
So far going through Level 2 the support folks have used 4 days. They have 3 more before I pull the plug on this behemoth POS! -
PLEASE REFER TO THE DUPLICATE POSTING IN THE "TUXEDO" FORUM FOR AN ANSWER TO THIS QUESTION.
Hi,
I'm testing TSAM on a Windows system. If I run without setting the TMMONITOR environmental variable set everything works fine, but when I set TMMONITOR=app,svc,tran,sys:: both the client and server programs give the runtime error R6034: "An application has made an attempt to load the C runtime library incorrectly". Clicking the "OK" button lets the programs continue, but the following messages appear in the ULOG:
142539.868.TUXMODEL!tuxmodelclient.5996.5860.0: GP_CAT:1345: ERROR: pif: can't load 'libmonplugin.dll'
142539.868.TUXMODEL!tuxmodelclient.5996.5860.0: GP_CAT:1341: ERROR: pif: can't load impl 'bea/performance/mongui' that is in InterceptorSequence for 'bea/performance/monfan'
142539.868.TUXMODEL!tuxmodelclient.5996.5860.0: LIBTUX_CAT:6623: ERROR: TMMONITOR failed to invoke the monitoring plug-in
142547.342.TUXMODEL!TuxModelServer.3220.728.0: GP_CAT:1345: ERROR: pif: can't load 'libmonplugin.dll'
142547.342.TUXMODEL!TuxModelServer.3220.728.0: GP_CAT:1341: ERROR: pif: can't load impl 'bea/performance/mongui' that is in InterceptorSequence for 'bea/performance/monfan'
142547.342.TUXMODEL!TuxModelServer.3220.728.0: LIBTUX_CAT:6623: ERROR: TMMONITOR failed to invoke the monitoring plug-in
142547.482.TUXMODEL!TuxModelServer.3220.728.0: LIBTUX_CAT:6623: ERROR: TMMONITOR failed to invoke the monitoring plug-in
142547.498.TUXMODEL!TuxModelServer.3220.728.0: LIBTUX_CAT:6623: ERROR: TMMONITOR failed to invoke the monitoring plug-in
142547.498.TUXMODEL!tuxmodelclient.5996.5860.0: LIBTUX_CAT:6623: ERROR: TMMONITOR failed to invoke the monitoring plug-in
Can anyone tell me what I need to do to overcome this problem? (I'm running Tuxedo Version 10.0 with VS2005, 32-bit, Patch Level (none) and TSAM version 1.1. Both programs were compiled with buildclient/buildserver, using Microsoft Visual C++ Express Edition 2008 (Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.30729.01 for 80x86)
Thanks & kind regards,
Malcolm.
Edited by: Malcolm Freeman on Oct 28, 2008 11:55 AMAs I know, the runtime rrror R6034 can be caused by Windows, not caused by TSAM, you need check your Windows system.
guggi -
First thing to say is I'm new at trying to slove my own computer issues, so I may be a little slow. The latest iTunes update will not install on my Windows 7 labtop, I keep getting a runtime error window with Error 7 and Windows eror 1114. I have run a fix and reload the file with no resuts and can't seem to get it do download manually either, any ideas for this computer challanged person?
See... Unable to install or open > http://support.apple.com/kb/TS5376
Also See this User Tip by turingtest2
https://discussions.apple.com/docs/DOC-6562 -
Reader Update 11.0.3 Gives Runtime Error Message
After updating to 11.0.3 I get a Runtime error which reads: This application has requested the Runtime to terminate in an unusual way. Please contact the application's support team for more information." I tried a "repair" on the program. Should I uninstall it and reinstall it? Any other suggestions?
I uninstalled the reader and installed version 10. No problems now. Thanks for responding!
Sent from Jan's iPad3 -
PC gives runtime error windows 1114
During updating Apple I-tunes runtime error 1114 comes.
Hello, hein119.
Thank you for visiting Apple Support Communities.
Here are the steps I would recommend going through as they should resolve the issue.
How to restart the Apple Mobile Device Service (AMDS) on Windows
http://support.apple.com/kb/TS1567
iTunes 11.1.4 for Windows: Unable to install or open
http://support.apple.com/kb/TS5376
Cheers,
Jason H. -
War file generated in WinXPPro gives runtime error in Win2003Server
Hi,
I'm using Netbeans4.1 to compile my jsp application war file in windowsXP Pro environment.
But when I try to deploy the war file to production server that is running Win2003Server, it gives the following error. At the end, I install NetBeans4.1 on the server and compile the war file in the win2003Server environment and everything works fine.
So, I wonder if war file is depended on the OS environment. Anyone face this issue before? If yes, would appreciate your comments.
Cannot create PoolableConnectionFactory (Server connection failure during transaction. Due to underlying exception: 'java.net.ConnectException: Connection timed out: connect'.
** BEGIN NESTED EXCEPTION **
java.net.ConnectException
MESSAGE: Connection timed out: connect
STACKTRACE:
java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:124)
at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:225)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:1899)
at com.mysql.jdbc.Connection.<init>(Connection.java:450)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:411)
at org.apache.tomcat.dbcp.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37)
at org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:290)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:877)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:851)
at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
at my.com.snt.util.DBUtil.getConnection(DBUtil.java:44)
at org.apache.jsp.sysSignInTop_jsp._jspService(org.apache.jsp.sysSignInTop_jsp:71)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
** END NESTED EXCEPTION **
Attempted reconnect 3 times. Giving up.)Hey Evert-Jan,
A small (but long :-)) question : I am facing the same issue with JHeadstart 10.1.3.3.85 (latest release I believe?).
Current situation :
A master - detail structure, where each detail is a tab page on the same page as the master table. 2 of the tab pages have a master-detail structure themselves. The contents of the tab pages were generated to regions, because otherwise the jspx would become too large. The 2 tab pages with a master-detail contained 2 regions, one for the master, and one for the detail group.
My first problem (with JHS 10.1.3.3.53) with the 2 master detail tab pages was the following : when changing the master record on the tab, the detail record did not refresh, although the refresh condition was set to "Always". After a long search, I finally found that the partialTriggers were not set correctly by the JAG:
<!-- Pseudo code for content of one tab page -->
<!-- Region with master table (id : masterTableId) in it -->
<region id="masterRegionId" .../>
<!-- Region with detail table in it -->
<panelGroup partialTriggers="masterTableId" ...>
<region id="detailRegionId" .../>
</panelGroup>
Here, the partialTrigger of the detail panelGroup should ofcourse be "masterRegionId:masterTableId".
After upgrading to version 10.1.3.3.85, this was resolved (partialTriggers were generated correctly), but then I was unable to switch tabs. I kept getting the Exception of the thread starter. For now, I solved this issue by disabling the "Generate Group In Region file" property for the 2 tabs that have a master detail on them, which works. But it would be a lot cleaner to be able to separate all tabs in a separate region.
There are a few templates that I redefined, but none of them were changed in the upgrade from .53 to .85 I think. Could you tell me what template was changed to fix this? And if the fix was implemented in version .85?
Thanks in advance!!
Chris -
Cannot remove java runtime error
while instaling i recived error message "internal error 2329.32 ,C:\config.Msi\14c815.rbf"
I now try and remove through add/remove programs and cannot.
Any suggetions?Sounds like there's a problem with the Microsoft Installer that Java uses to install itself. There's a MS tool to repair the MS Installer, these formums hava a mention somewhere, or you can Google the web for information (or search the MS website.)
There might also be a reference to the tool in the help pages at java.com -
Installing Eclipse gives runtime error
hi ,
i have jdk1.4 installed on my m/c as well in classpath
I am installing Eclipse.
i m getting the error
MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.RuntimeException: Could not find framework
at org.eclipse.core.launcher.Main.getBootPath(Main.java:357)
at org.eclipse.core.launcher.Main.basicRun(Main.java:174)
at org.eclipse.core.launcher.Main.run(Main.java:638)
at org.eclipse.core.launcher.Main.main(Main.java:622)
what should i do?
Thanksnow ehen i m trying vm option i m getting
A Java Runtime or Java Development Kit must be availabale to run Eclipse , No Java Virtual Machinewas found after searching C:\j2sdk1.4.2_05\bin\javaw.exe
what shall i do ?
i have put in calsspath C:\j2sdk1.4.2_05\bin\javaw.exe
thnx -
FB03 transaction gives runtime error due to time out!
Hi All,
In the transaction FB03, I entered a reference number that has not yet been created and then a company code of 2130 and fiscal year 2010 and hit enter. It takes a lot of time to show the error message that "No documents exists which fulfills the selection criteria".
I debugged and found that a FETCH NEW CURSOR statement takes time and hence the delay in showing the o/p.
The exact ABAP statement is :- FETCH NEW CURSOR dbcursor INTO CORRESPONDING FIELDS OF ex_result.
Please suggest me if there is some note to be implemented or any other solution for the same!
Thanks,
Safeer.I entered a reference number that has not yet been created and then a company code of 2130 and fiscal year 2010 and hit enter. It takes a lot of time to show the error message that "No documents exists which fulfills the selection criteria".
Trace the process to determine if there is a bad index being used. Is the search using BKPF~1 or another index? Are your DB stats up to date? As for notes, you're unlikely to find one but don't ask for them here, search for them on OSS. -
I have a workbook with VBA and I am getting a 'Run-time Error 1004' and when I hit the debug the process stops at below lines of codes:
' Insert blank rows, one to hold each period and one for the total line
With resultArea.Cells(RowNum, KeyFigCol - 1) {it says Application defined or Object defined error}
If .Value <> "" Then
I saw other threads for this error and I checked the OSS-429183. Also my macro>>security is set to low.
Any suggestions? Plus I am getting this error only in dev environment, stage & production work fine. I have verified the VBA code and they all have same code.Hi All, I still have this problem. I have the same VBA code in all the systems, but it gets error in development system only. its working fine in other systems. That's what breaks my head:(
Any suggestions. I have attached my VBA code.
'* Variable Declarations
Dim Column As Integer
Dim StrPos As Long
Dim TempStr As String
Dim RowNum As Integer
Dim StrRowNum As Integer
Dim EndRowNum As Integer
Dim EndColNum As Integer
Dim KeyFigCol As Integer
Dim DelStrCol As Integer
Dim LabelPos As Integer
Dim ActiveCellSave As String
Dim MonthFlag As String
Dim MonthFlagPrev As String
Dim MonthColStr As Integer
Dim MonthColEnd As Integer
Dim MonthCol1st As Integer
Dim MatMonRow As Integer
Dim ColPrjAvl As Integer
Dim ColTopGrn As Integer
Dim ColTopYel As Integer
Dim ColTopRed As Integer
Dim ColRmdRpl As Integer '001A
Dim ColMaxQty As Integer
Dim ColRplQty As Integer
Dim First As Boolean
Dim NumPeriods As Integer '001A
Dim UsgPerDay As Integer '001A
Dim StartTime
Dim EndTime
' Check the query id to determine which sheet to activate
If queryID = "SAPBEXq0016" Then 'Monthly Query
'Application.ScreenUpdating = False
'Set sheet "Inventory Montly Analysis" to active
Sheets(3).Activate
NumPeriods = 13 '001A
'* 001A: Set "Inventory Weekly Analysis" to active
ElseIf queryID = "SAPBEXq0018" Then ' Weekly query
Sheets(4).Activate
NumPeriods = 24
'* 001A: Set "Inventory Replenishment" to active
ElseIf queryID = "SAPBEXq0017" Then ' Replenishment Detail query
Sheets(6).Activate
NumPeriods = 0
Else
Exit Sub
End If
'* 001A: End of new code
'* Initialization Routines
First = True
' For performance testing, save off the start time of the macro
StartTime = Time
' Save off the current cell location so that we can restore that location
' when formatting is compelte
ActiveCellSave = ActiveCell.Address()
If ActiveCell.Value <> "No applicable data found." Then
' Determine the First Row in the spreadsheet where query results are displayed
' The first row will be stored in variable RowNum
TempStr = resultArea.Address(RowAbsolute:=False, ColumnAbsolute:=False)
StrRowNum = 0
Do While StrRowNum = 0
StrRowNum = Val(TempStr)
If StrRowNum = 0 Then
TempStr = Mid(TempStr, 2, 20)
End If
If TempStr = "" Then
Exit Do
End If
Loop
' Determine the Last Row in the spreadsheet where query results are displayed
' The last row will be stored in variable EndRowNum
TempStr = resultArea.Address(RowAbsolute:=False, ColumnAbsolute:=False)
StrPos = InStr(TempStr, ":")
TempStr = Right(TempStr, Len(TempStr) - StrPos)
EndRowNum = 0
Do While EndRowNum = 0
EndRowNum = Val(TempStr)
If EndRowNum = 0 Then
TempStr = Mid(TempStr, 2, 20)
End If
If TempStr = "" Then
Exit Do
End If
Loop
' Determine the Last Column in the spreadsheet where query results are displayed
' The last column number will be stored in EndColNum
TempStr = resultArea.Address(RowAbsolute:=False, ColumnAbsolute:=False, ReferenceStyle:=xlR1C1)
StrPos = InStr(TempStr, ":")
If StrPos > 0 Then
TempStr = Right(TempStr, Len(TempStr) - StrPos)
StrPos = InStr(TempStr, "C")
If StrPos = 0 Then
EndColNum = 255
Else
TempStr = Right(TempStr, Len(TempStr) - StrPos - 1)
EndColNum = Val(TempStr)
End If
End If
' Clear all of the old contents below the query result area
TempStr = Format(EndRowNum + 1) + ":" + Format(65536)
ActiveSheet.Rows(TempStr).Select
Selection.Clear
' Determine the location of various key figure columns needed in subsequent processing
KeyFigCol = 0
For Column = 1 To EndColNum
' Find the start column for the key figures - Indicated by the first column
' with a dash "-" character in it.
If InStr(resultArea.Cells(1, Column).Value, " - ") <> 0 Then
If KeyFigCol = 0 Then KeyFigCol = Column
End If
' Find the Projected Available Column
If (ColPrjAvl = 0) And (InStr(resultArea.Cells(1, Column).Value, "Proj") <> 0) Then
ColPrjAvl = Column
End If
' Find the Top of Green Column
If (ColTopGrn = 0) And (InStr(resultArea.Cells(1, Column).Value, "Top of Green") <> 0) Then
ColTopGrn = Column
End If
' Find the Top of Yellow Column
If (ColTopYel = 0) And (InStr(resultArea.Cells(1, Column).Value, "Top of Yellow") <> 0) Then
ColTopYel = Column
End If
' Find the Top of Red Column
If (ColTopRed = 0) And (InStr(resultArea.Cells(1, Column).Value, "Top of Red") <> 0) Then
ColTopRed = Column
End If
' Find the Recommended Replenishment Quantity
If (ColRmdRpl = 0) And (InStr(resultArea.Cells(1, Column).Value, "Recommended Replenishment Qty") <> 0) Then
ColRmdRpl = Column
End If
' Find the Usage Per Day
If (UsgPerDay = 0) And (InStr(resultArea.Cells(1, Column).Value, "Usage Per") <> 0) Then
UsgPerDay = Column
End If
' Find the Maximum Order Column
If (ColMaxQty = 0) And (InStr(resultArea.Cells(1, Column).Value, "Maximum Order Quantity") <> 0) Then
ColMaxQty = Column
End If
' Find the Recommended Replenishment Column
If (ColRplQty = 0) And (InStr(resultArea.Cells(1, Column).Value, "Recommended Replenishment") <> 0) Then
ColRplQty = Column
End If
Next Column
'* Begin of main formatting loop
'* Logic for Recommended Repl Highlighting
If NumPeriods = 0 Then
' Highlight the Recommended Replenishment Quantity
For RowNum = 2 To EndRowNum
If resultArea.Cells(RowNum, ColRplQty).Value > resultArea.Cells(RowNum, ColMaxQty).Value Then
resultArea.Cells(RowNum, ColRplQty).Interior.ColorIndex = 7 'Highlight Red
End If
Next RowNum
'* Logic for Monthly and Weekly Queries
Else
' Work from the bottom up, inserting new lines and folding the keyfigures
' downward into one row for each month
For RowNum = EndRowNum To 2 Step -1
' Insert blank rows, one to hold each period and one for the total line
With resultArea.Cells(RowNum, KeyFigCol - 1) This is where it stops & gives Runtime Error 1004
If .Value <> "" Then
' For the bottom-most characteristic row, we must cut and paste differently to ensure
' the cells formats are properly pasted in the new rows
If First Then
TempStr = Format(RowNum) + ":" + Format(RowNum + NumPeriods)
resultArea.Rows(TempStr).Select
Selection.Insert Shift:=xlDown
resultArea.Rows(RowNum + NumPeriods + 1).Select
Selection.Cut
resultArea.Rows(RowNum).Select
ActiveSheet.Paste
First = False
' If this is the first characteristic record, and it resides in row 2, then we know that the
' query only has one row of data - special formatting is required in this situation
If RowNum = 2 Then
resultArea.Cells(2, 1).Select
Selection.Copy
Range(ActiveSheet.Cells(StrRowNum + 2, 1), ActiveSheet.Cells(EndRowNum + NumPeriods, KeyFigCol - 1)).Select
Selection.PasteSpecial Paste:=xlFormats, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
End If
' Not the first row, use normal processing
Else
TempStr = Format(RowNum + 1) + ":" + Format(RowNum + NumPeriods)
resultArea.Rows(TempStr).Select
Selection.Insert Shift:=xlDown
End If
' As we insert rows for each characteristic row, we need to adjust the end row
' number accordingly
EndRowNum = EndRowNum + NumPeriods
' Initialize variables used for each set of month processing
MatMonRow = RowNum + 1
MonthFlagPrev = ""
MonthFlag = ""
MonthColStr = 0
' Scan key figure column headings from left to right, looking for changes in month
For i = KeyFigCol To EndColNum + 1
' Get the month text for each column
MonthFlag = ""
TempStr = resultArea.Cells(1, i).Value
MonthFlag = Mid(TempStr, InStr(TempStr, "-") + 1, 15)
' If we move into a new month, then copy and paste the previous month downward
If ((MonthFlag <> MonthFlagPrev) And (MonthFlagPrev <> "")) Or (i = EndColNum + 1) Then
If DelStrCol = 0 Then DelStrCol = i + 1 ' Capture last key figure of first month
If i = EndColNum + 1 Then i = i + 1 'For results row, need to extend by one
' Copy and paste values for previous month
Range(resultArea.Cells(RowNum, MonthColStr), resultArea.Cells(RowNum, i - 1)).Select
Selection.Copy
resultArea.Cells(MatMonRow, MonthCol1st).Select
ActiveSheet.Paste
' Paste the Month text into the row heading
resultArea.Cells(MatMonRow, MonthCol1st - 1).Value = MonthFlagPrev
If MonthFlagPrev = " Average Result" Then
Range(resultArea.Cells(MatMonRow, MonthCol1st - 1), resultArea.Cells(MatMonRow, EndColNum)).Select
Selection.Interior.ColorIndex = 36
End If
With resultArea.Cells(MatMonRow, ColPrjAvl)
If .Value >= resultArea.Cells(RowNum, ColTopGrn).Value Then
.Interior.ColorIndex = 43 'Green Green
ElseIf .Value >= resultArea.Cells(RowNum, ColTopYel).Value Then
.Interior.ColorIndex = 14 'Green
ElseIf .Value >= resultArea.Cells(RowNum, ColTopRed).Value Then
.Interior.ColorIndex = 44 'Yellow
Else
.Interior.ColorIndex = 7 'Red
End If
End With
MonthColStr = i
MatMonRow = MatMonRow + 1
End If
' Set variables on first pass through
If MonthColStr = 0 Then
MonthColStr = i
MonthCol1st = i
MonthFlagPrev = MonthFlag
End If
' Capture the previous month text
If MonthFlagPrev <> "" Then
MonthFlagPrev = MonthFlag
End If
Next i
' Clear out the key figure data at the lowest characteristic level
Range(resultArea.Cells(RowNum, KeyFigCol), resultArea.Cells(RowNum, EndColNum)).Select
Selection.ClearContents
End If
End With
Next RowNum
' Strip out the month text from column headings
For i = KeyFigCol To DelStrCol
LabelPos = InStr(resultArea.Cells(1, i).Value, "-")
If LabelPos > 1 Then resultArea.Cells(1, i).Value = _
Left(resultArea.Cells(1, i).Value, LabelPos - 1)
Next i
' Remove Extraneous columns (months 2-12)
Range(resultArea.Cells(1, DelStrCol - 1), resultArea.Cells(EndRowNum, EndColNum + 1)).Select
Selection.Clear
' Format Column Headings with appropriate column widths and heights
resultArea.Rows(1).Select
With Selection
.HorizontalAlignment = xlLeft
.VerticalAlignment = xlCenter
.WrapText = True
.Orientation = 0
.AddIndent = False
.IndentLevel = 1
.ShrinkToFit = False
.MergeCells = False
.RowHeight = 31.5
End With
' 001A: Add empty cells for Recommended replenishment
If ColRmdRpl <> 0 Then
For i = 2 To EndRowNum
If resultArea.Cells(i - 1, 1) = "" Then
Range(resultArea.Cells(i, ColRmdRpl), resultArea.Cells(i, ColRmdRpl + 4)).Insert Shift:=xlToRight
End If
Next i
Columns(ColRmdRpl + 5).Copy
Range(Columns(ColRmdRpl), Columns(ColRmdRpl + 4)).PasteSpecial Paste:=xlFormats, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
Application.CutCopyMode = False
If UsgPerDay <> 0 Then
For i = 2 To EndRowNum
If resultArea.Cells(i - 1, 1) = "" Then
resultArea.Cells(i, UsgPerDay).Insert Shift:=xlToRight
End If
Next i
Columns(ColRmdRpl + 5).Copy
Range(Columns(ColRmdRpl), Columns(ColRmdRpl + 4)).PasteSpecial Paste:=xlFormats, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
Application.CutCopyMode = False
End If
For i = 3 To EndRowNum
If resultArea.Cells(i - 1, 1) <> "" Then
Range(resultArea.Cells(i, ColRmdRpl + 1), resultArea.Cells(i + NumPeriods - 1, ColRmdRpl + 4)).Select
Selection.FillDown
Range(resultArea.Cells(i, UsgPerDay), resultArea.Cells(i + NumPeriods - 1, UsgPerDay)).Select
Selection.FillDown
End If
Next i
' Remove Extraneous columns (months 2-12)
Range(resultArea.Cells(1, DelStrCol - 1), resultArea.Cells(EndRowNum, EndColNum + 1)).Select
Selection.Clear
End If
' 001A: End of new code
End If
End If
Columns("A:BA").ColumnWidth = 10
resultArea.Columns.AutoFit
' Set Zoom level at 75%
ActiveWindow.Zoom = 75
' Restore the active cell
Range(ActiveCellSave).Select
' EndTime = Time
' MsgBox StartTime
' MsgBox EndTime
' StartTime = EndTime - StartTime
' MsgBox StartTime
' End If
' End If
'Application.ScreenUpdating = True
End Sub -
Crystal Report runtime error while changing Data Source Location
Dear All
We are using "Crystal reports for SAP Business one".The Crystal reports version is 12.1.
We built a report in another database with another server.
As we are importing the report in another database of another server,
I am not able to change the Data Source location.
When I am trying to change it,it gives Runtime error and closed automatically.
How can i resolve and change the data source location?hi kambadasan,
is your CR version the same from which you design the report and to the another server? also did you import your report directly to SBO without changing the data source first? in the case you should update first your Data Source in Crystal Report IDE before importing it to SBO.
regards,
Fidel -
Urgent: Regarding Runtime Error in FM
hi,
i had made a Function Module which will reterive the production order,but when i use it in the program it gives runtime error.Plzz help me how to solve this problem.
1st i am pasting the code which i had written:-
FUNCTION ZFIND_PRDORD.
""Local Interface:
*" IMPORTING
*" VALUE(QP_CHARG) LIKE CHVW-CHARG OPTIONAL
*" VALUE(P_AUFNR) LIKE CHVW-AUFNR OPTIONAL
*" EXPORTING
*" VALUE(P_RETVAL) LIKE CHVW-AUFNR
DATA : BEGIN OF T_CHVW OCCURS 0,
XZUGA LIKE CHVW-XZUGA,
WERKS LIKE CHVW-WERKS,
MATNR LIKE CHVW-MATNR,
CHARG LIKE CHVW-CHARG,
AUFNR LIKE CHVW-AUFNR,
EBELN LIKE CHVW-EBELN,
MBLNR LIKE CHVW-MBLNR,
ZEILE LIKE CHVW-ZEILE,
BUDAT LIKE CHVW-BUDAT,
SHKZG LIKE CHVW-SHKZG,
BWART LIKE CHVW-BWART,
MENGE LIKE CHVW-MENGE,
MEINS LIKE CHVW-MEINS,
KZBEW LIKE CHVW-KZBEW,
END OF T_CHVW.
SELECT XZUGA WERKS MATNR CHARG AUFNR EBELN
MBLNR ZEILE BUDAT SHKZG BWART MENGE MEINS KZBEW
FROM CHVW INTO TABLE T_CHVW
WHERE CHARG EQ QP_CHARG
and XZUGA = ' '
AND BWART = '101'
and aufnr eq p_aufnr
AND KZBEW = 'F' .
P_RETVAL = T_CHVW-AUFNR.
ENDFUNCTION.
Now i am displaying the program for testing this FM which gives the runtime error:-
TABLES : CHVW.
SELECT-OPTIONS : P_CHARG FOR CHVW-CHARG,
P_AUFNR FOR CHVW-AUFNR .
CALL FUNCTION 'ZFIND_PRDORD'
EXPORTING
QP_CHARG = P_CHARG
P_AUFNR = P_AUFNR
IMPORTING
P_RETVAL = P_AUFNR.
WRITE : / 'SDSQDA' .
Plzz help me out as how to solve this problem as i have to use it in
the main program.
regards,
ric.sHI SANTOSH,
I had changed according what u said and it is not giving runtime error .
but it is not giving the value as if i send the value of batch and the prd orderr. plz tell me how do it get the output.
i had written the code of program like this:-
TABLES : CHVW.
Parameters : P_CHARG like CHVW-CHARG,
P_AUFNR like CHVW-AUFNR.
DATA: PRD LIKE CHVW-AUFNR.
CALL FUNCTION 'ZFIND_PRDORD'
EXPORTING
QP_CHARG = P_CHARG
P_AUFNR = P_AUFNR
IMPORTING
P_RETVAL = PRD.
WRITE : / PRD .
PLZ HELPMEOUT HOW TO DO THIS. -
Jsp calling a function in js -- object expected runtime error
Hi,
I have a js file. script.js
*function popup( url ) {*
newWin=window.open(url,'popupWindow,resizable=yes,menubar=no,status=no,toolbar=no,scrollbars=yes');
newWin.focus();
void(0);
and a jsp calling the function in js
*<HTML>*
*<HEAD>*
*<SCRIPT>*
*<jsp:include page="script.js"/>*
*</SCRIPT>*
*</HEAD>*
*<BODY onLoad="javascript:popup('http;//www.google.com');">*
*</BODY>*
*</HTML>*
Now when i execute the jsp, it gives runtime error -> object expected..
Not able to figure out why this occurs.. am I doing it the right way ?Do you think is this the right way to include .js file...
<SCRIPT>
<jsp:include page="script.js"/>
</SCRIPT>I generally do this way...
<head>
<script language="javascript" src = "script.js">
</script>
</head>
Maybe you are looking for
-
Can one instance have multiple redo threads ?
i was reading the Oracle Data guard 10g guide and it says Determine the appropriate number of standby redo log file groups. Minimally, the configuration should have one more standby redo log file group than the number of online redo log file groups o
-
Can't restore Time Machine backup after iMAC (Lion) Refresh
I recently did a refresh of my iMAC with OSX Lion. I have been using time capsule to back up my iMAC as well as my Mac Mini for the last 6 months with what I perceived to be no issues. When I got to the part in the MAC start up to restore from backup
-
Problems with PDF printing, using Apache FOP!
When I click on "print" link I reseive an empty file! I done each step that was described in manual. I don't know what to do. Best Regards, Kostya Proskudin!
-
CRVS2010 Beta - Unable to Install CR Beta 2 for Visual Studio 2010.
I am unable to install Crystal Reports for VS2010. "Failed to update cache for execution." There is a similar thread (locked) with this problem. (CRVS2010 beta 2 - error during install) I have tried everything from this tread, and everything else I
-
My Smart Collections in FCP X Are Not Working
Hello, I'm running Final Cut Pro X 10.1.1 on a new 2013 Mac Pro. For some reason I am not able to get my smart collections to work. After creating a smart collection and naming it b roll, I proceed to label clips b roll, but they are not showing up i