Parameter is not passed correct to BSP in UWL..??
Hi Workflow and Portal Gurus,
i try to call BSP App from a Workitem in UWL, this works fine as far.
now i also pass a Parameter from my apprisal Workitem (Document-ID) -> as ID to the BSP Page, my Problem is that the Parameter is passed but the first 2 charecters in the parameter ID are not passed through...any idea why??
e.g.: Correct parameter: 0123456789, but this Parameter is passed: 23456789 (without 01).
Here is my XML File uploaded in UWL:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN'
'uwl_configuration.dtd' [ ]>
<UWLConfiguration>
<ItemTypes>
<ItemType name="uwl.task.webflow.TS12300110.SAP_HR_200" connector="WebFlowConnector"
defaultView="DefaultView" defaultAction="launchSAPAction" executionMode="optimistic">
<ItemTypeCriteria connector="WebFlowConnector" externalType="TS12300110" />
<CustomAttributes>
<CustomAttributeSource id="ABAP_BOR" objectIdHolder="externalObjectId" objectType="APPR_DOC"
cacheValidity="final">
<Attribute name="ID" type="string" displayName="ID"/>
</CustomAttributeSource>
</CustomAttributes>
<Actions>
<Action name="launchSAPAction" handler="SAPAppLauncher" returnToDetailViewAllowed="yes"
launchInNewWindow="yes">
<Properties>
<Property name="SAPIntegrator" value="pcd:portal_content/com.xxxxxxxxxxxperformance_management_document_1" />
<Property name="DynamicParameter" value="ID=${item.ID}"/>
</Properties>
<Descriptions default="" />
</Action>
</Actions>
</ItemType>
</ItemTypes>
</UWLConfiguration>
the solution.
You need to make specific changes in xml file for each task by adding customer parameter.
<CustomAttributes>
<CustomAttributeSource id="ABAP_BOR" objectIdHolder="externalObjectId" objectType="APPR_DOC" cacheValidity="final">
<Attribute name="PlanVersion" type="string" displayName="Plan Version"/>
<Attribute name="ID" type="string" displayName="Appraisal ID"/>
<Attribute name="PartID" type="string" displayName="Part ID"/>
</CustomAttributeSource>
</CustomAttributes>
Also you need to add dynamic parameter.
<Property name="DynamicParameter" value="ID=${item.PlanVersion}${item.ID}${item.PartID}X"/>
Similar Messages
-
Dear Team,
Japanese characters alone are not passing correctly (passing like ??? or some unreadable characters) to Adobe application when we create input variable as XML data type. The same solution works fine if we change input variable data type to document type. Could you please do needful. Thank youHello,
most recent patches for IGS and kernel installed. Now it works. -
I am using windows xp greek with greek regional seetings and when I run a javascript using mailto command (either with utf-8 or iso 8859-7 encoding) , the subject and body of the message which were in Greek do not pass correctly to my email program while in IE pass correctly. Can you help me because many of the users who run the javascript are using mozilla firefox
Hi Nancy, nice to see you again. The CSS validator showed no errors.
The HTML validator showed irrelevant errors, e.g., missing alt tags and also the prefererence for using UTF-8 encoding instead of the older iso-8859-1 used throughout my website (because it displays better in DW 5.5).
The CSS validator link is quite useful, as I don't have a CSS validator in DW 5.5, unless I am missing something. For HTML validation, I can use "Shft-F6". -
Selecting an lov parameter value sometimes not passed correctly
When selecting a value from an LOV parameter, sometimes the parameter value doesn't seem to get passed correctly to the data template query.
For example, let's say I have the following LOV parameter called "risk":
Some Risk
New Risk
Other Risk
Last Risk
When I select "Some Risk", I would get correct results and when viewing the "Data" xml, I can see the parameter with the right value:
<RISK>Some Risk</RISK>
But when I select "New Risk" the results are incorrect and the xml shows:
<RISK />
as if the value was not passed as the bind parameter value for the dataset query.
Any idea what I'm doing wrong? Is this a BIP bug or is there a workaround?Hi, thanks for the reply.
The LOV is of "SQL Query" type (not fixed data) and the values were retrieved from the database.
Supposing this was the sql query for my "risk" parameter LOV:
select dimvaltl.GENERIC_VAL_NAME
from GENERIC_VAL_TL dimvaltl,
GENERIC_TL dimtl
where dimtl.GENERIC_NAME = 'Risk'
and dimvaltl.GENERIC_ID = dimtl.GENERIC_ID
order by dimvaltl.GENERIC_VAL_NAME
And supposing this was the sql query in the data template dataset:
select pdimv.ID
from GENERIC_V pdimv
where pdimv.NAME = 'Risk'
and pdimv.VALUE in (:risk)))
If risk is empty, obviously the query would not work. I noticed the xml generated sometimes show the selected parameter value and sometimes don't, as if BIP is not passing it to the dataset query as bind parameter value.
Incidentally I have other lov parameters that works fine, the only difference I can think of is that for this LOV query I am doing a join instead of a simple select statement from one table. -
URL parameter is not passed to WDA asr_process_execute
Hi Experts,
My Problem is:
Scenario :
We have developed a Transfer form in HCM Process and forms with approval
workflow. We have configured extended notification, which triggers mail
to manager inbox (outlook) with the hyperlink which directly launches
the approval application when the user clicks.
1. The generated link
http://sapgoa.we.interbrew.net:8037/sap/bc/webdynpro/sap/asrprocess_execute?WI_ID=000000034565_ in the email notification. Which is a valid link, which is calling R/3 and expecting login details of R/3 user id
and Password of that manager. The link is working perfectly if the
user is having a r/3 login and portal login. And the manager is able to
approve the particular work item.
2. As per our client requirement, some of the users are having only
portal access. The above mentioned link will not work.
3. So we created one Iview and attached the WDA u201Casr_process_executeu201D
application, and created one url in notification with the PCD path of
the above iview (u201C
http://sapgoa.we.interbrew.net:53700/irj/servlet/prt/portal/prtmode/preview/prtroot/pcd!3aportal_content!2fSHARPOPS.SHARPOPID!
2fSHARPOPS.custom_content!2fSHARPOPS.Folder_iView!
2fSHARPOPS.custom_mss_folder!2fTest_Country_Iview?
WI_ID=000000023456&WI_ID=000000023456 u201D). In this case it is validation
portal logon credentials. But the problem is , the work item which (URL
paremeter) is not getting passed to the WDA application
(ASR_PROCESS_EXECUTE).
Could u plz suggest any solution for the above scenario or how to pass the wi_id in the URl ?
Thanks,
DeepikaHi Deepika,
Try to use to correct settings in SWFVISU. Make an entry with your task and use visualization type "Iview". In the visualization parameters, you have the option to send the workitem id to the iview.
See the following link: http://help.sap.com/saphelp_nw70/helpdata/EN/b1/cc1357eead454bb144face4a66be7d/frameset.htm
Good luck,
Joost -
TryParse not passing correct values?
All,
I'm trying to parse text box input to an integer. Then based on the value of that integer a sub will set values for various other variables (integers). Then the integers that are obtained from the sub are passed to a sb.appendline.
I am doing this for about 20 text boxes. However, sometimes it works and sometimes it doesn't. Sometimes every line in the text file will contain the correct quotas (integers). Sometimes the first line in the text file contains
all zeros for the quotas and the rest of the lines in the text file contain the correct quotas. Sometimes all of the lines will contain either incorrect values for the quotas or all zeros for the quotas.
I am baffled as to why. Any help would be greatly appreciated.
James
Public Class Form1
Public inBW As Integer
Public outBW As Integer
Public inTCP As Integer
Public inUDP As Integer
Public inICMP As Integer
Public inIGMP As Integer
Public outTCP As Integer
Public outUDP As Integer
Public outICMP As Integer
Public outIGMP As Integer
Public tempInt As Integer
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim FileName As String
Dim FileNameAndPath As String
FileName = "Test.txt"
FileNameAndPath = IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, FileName)
Dim sb As New System.Text.StringBuilder
'Get Bandwidth 1 Quotas
Integer.TryParse(txtInboundBW1.Text, inBW)
Integer.TryParse(txtOutboundBW1.Text, outBW)
Get_Quotas()
'Write Bandwidth 1 quotas to file
sb.AppendLine(("create Quotas -bw_in ") & txtInboundBW1.Text & (" -bw_out ") & txtOutboundBW1.Text & (" -in_tcp_quota " & inTCP & " -in_udp_quota " & inUDP & " -in_icmp_quota " & inICMP & " -in_igmp_quota " & inIGMP & " -out_tcp_quota " & outTCP & " -out_udp_quota " & outUDP & " -out_icmp_quota " & outICMP & " -out_igmp_quota " & outIGMP))
'Get Bandwidth 2 Quotas
Integer.TryParse(txtInboundBW2.Text, inBW)
Integer.TryParse(txtOutboundBW2.Text, outBW)
Get_Quotas()
'Write Bandwidth 2 quotas to file
sb.AppendLine(("create Quotas -bw_in ") & txtInboundBW2.Text & (" -bw_out ") & txtOutboundBW2.Text & (" -in_tcp_quota " & inTCP & " -in_udp_quota " & inUDP & " -in_icmp_quota " & inICMP & " -in_igmp_quota " & inIGMP & " -out_tcp_quota " & outTCP & " -out_udp_quota " & outUDP & " -out_icmp_quota " & outICMP & " -out_igmp_quota " & outIGMP))
SaveFileDialog1.InitialDirectory = My.Computer.FileSystem.SpecialDirectories.Desktop
SaveFileDialog1.FileName = FileName
SaveFileDialog1.Filter = "txt files (*.txt)|*.txt|All files (*.*)|*.*"
If SaveFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then
IO.File.WriteAllText(SaveFileDialog1.FileName, sb.ToString)
Process.Start(SaveFileDialog1.FileName)
End If
End Sub
Public Sub Get_Quotas()
'5,000 kbps = 80,50,10,10
'10,000 kbps = 75,50,9,9
'100,000 kbps= 75,50,2,2
'1,000,000 kbps= 75,50,1,1
'10,000,000 kbps= 75,50,1,1
'40,000,000 kbps= 75,50,1,1
If inBW > 0 And inBW <= 5000 Then
inTCP = 80
inUDP = 50
inICMP = 10
inIGMP = 10
End If
If outBW > 0 And outBW <= 5000 Then
outTCP = 80
outUDP = 50
outICMP = 10
outIGMP = 10
End If
If inBW > 5000 And inBW <= 10000 Then
inTCP = 70
inUDP = 50
inICMP = 9
inIGMP = 9
End If
If outBW > 5000 And outBW <= 10000 Then
outTCP = 70
outUDP = 50
outICMP = 9
outIGMP = 9
End If
If inBW > 10000 And inBW <= 100000 Then
inTCP = 70
inUDP = 50
inICMP = 2
inIGMP = 2
End If
If outBW > 10000 And outBW <= 100000 Then
outTCP = 70
outUDP = 50
outICMP = 2
outIGMP = 2
End If
If inBW > 100000 And inBW <= 4000000 Then
inTCP = 70
inUDP = 50
inICMP = 1
inIGMP = 1
End If
If outBW > 100000 And outBW <= 4000000 Then
outTCP = 70
outUDP = 50
outICMP = 1
outIGMP = 1
End If
End Sub
End ClassVersion with XML comments (IntelliSense support):
Option Strict On
Option Explicit On
Option Infer Off
Namespace James
Public Class BandwidthPolicy
''' <summary>
''' An enumerator for the policy type (currently five).
''' </summary>
''' <remarks></remarks>
Public Enum PolicyType
Global_Policy
Web_Policy
Mail_Policy
FTP_Policy
DNS_Policy
End Enum
Private _global_PolicyQuota As BandwidthQuota
Private _web_PolicyQuota As BandwidthQuota
Private _mail_PolicyQuota As BandwidthQuota
Private _fTP_PolicyQuota As BandwidthQuota
Private _dNS_PolicyQuota As BandwidthQuota
Public Sub New()
End Sub
''' <summary>
''' Gets the DNS policy quota.
''' </summary>
''' <value></value>
''' <returns></returns>
''' <remarks></remarks>
Public ReadOnly Property DNS_PolicyQuota As BandwidthQuota
Get
Return _dNS_PolicyQuota
End Get
End Property
''' <summary>
''' Gets the FTP policy quota.
''' </summary>
''' <value></value>
''' <returns></returns>
''' <remarks></remarks>
Public ReadOnly Property FTP_PolicyQuota As BandwidthQuota
Get
Return _fTP_PolicyQuota
End Get
End Property
''' <summary>
''' Gets the Global policy quota.
''' </summary>
''' <value></value>
''' <returns></returns>
''' <remarks></remarks>
Public ReadOnly Property Global_PolicyQuota As BandwidthQuota
Get
Return _global_PolicyQuota
End Get
End Property
''' <summary>
''' Gets the Mail policy quota.
''' </summary>
''' <value></value>
''' <returns></returns>
''' <remarks></remarks>
Public ReadOnly Property Mail_PolicyQuota As BandwidthQuota
Get
Return _mail_PolicyQuota
End Get
End Property
''' <summary>
''' Gets the Web policy quota.
''' </summary>
''' <value></value>
''' <returns></returns>
''' <remarks></remarks>
Public ReadOnly Property Web_PolicyQuota As BandwidthQuota
Get
Return _web_PolicyQuota
End Get
End Property
''' <summary>
''' A method to set the policy quota for any of the policy types.
''' This method requires that you have already created/initialized
''' the BandwidthQuota.
''' </summary>
''' <param name="type">The enumerator to indicate which policy type
''' to initialize.</param>
''' <param name="bq">The instance of PolicyType to set this policy
''' to.</param>
Public Sub SetPolicy(ByVal type As PolicyType, _
ByVal bq As BandwidthQuota)
Try
Select Case type
Case PolicyType.DNS_Policy
_dNS_PolicyQuota = bq
Case PolicyType.FTP_Policy
_fTP_PolicyQuota = bq
Case PolicyType.Global_Policy
_global_PolicyQuota = bq
Case PolicyType.Mail_Policy
_mail_PolicyQuota = bq
Case PolicyType.Web_Policy
_web_PolicyQuota = bq
End Select
Catch ex As Exception
Throw
End Try
End Sub
''' <summary>
''' A method to set the policy quota for any of the policy types.
''' This method will create/initialize the BandwidthPolicy for any
''' of the policy types.
''' </summary>
''' <param name="type">The enumerator to indicate which policy
''' type to initialize.</param>
''' <param name="bandwidthIn">The bandwidth input value.</param>
''' <param name="bandwidthOut">The bandwidth output value.</param>
''' <remarks></remarks>
Public Sub SetPolicy(ByVal type As PolicyType, _
ByVal bandwidthIn As Integer, _
ByVal bandwidthOut As Integer)
Try
Select Case type
Case PolicyType.DNS_Policy
_dNS_PolicyQuota = New BandwidthQuota(bandwidthIn, bandwidthOut)
Case PolicyType.FTP_Policy
_fTP_PolicyQuota = New BandwidthQuota(bandwidthIn, bandwidthOut)
Case PolicyType.Global_Policy
_global_PolicyQuota = New BandwidthQuota(bandwidthIn, bandwidthOut)
Case PolicyType.Mail_Policy
_mail_PolicyQuota = New BandwidthQuota(bandwidthIn, bandwidthOut)
Case PolicyType.Web_Policy
_web_PolicyQuota = New BandwidthQuota(bandwidthIn, bandwidthOut)
End Select
Catch ex As Exception
Throw
End Try
End Sub
''' <summary>
''' A method which will return a formatted string indicating the
''' values of the BandwidthQuota for any of the policy types.
''' </summary>
''' <param name="type">The enumerator to indicate which policy type
''' to retrieve.</param>
''' <param name="throwIfNotInitialized">OPTIONAL: A boolean value
''' indicating whether or not to throw an exception if the policy
''' type chosen has not been initialized. Default: False.</param>
''' <returns></returns>
''' <remarks></remarks>
Public Function GetFormattedString(ByVal type As PolicyType, _
Optional ByVal throwIfNotInitialized As Boolean = False) As String
Dim retVal As String = String.Empty
Try
Dim bq As BandwidthQuota
Select Case type
Case PolicyType.DNS_Policy
If _dNS_PolicyQuota.BW_In > 0 AndAlso _dNS_PolicyQuota.BW_Out > 0 Then
bq = _dNS_PolicyQuota
With bq
retVal = _
String.Format("create DNSPolicy" & _
" -bw_in {0}" & _
" -bw_out {1}" & _
" -in_tcp_quota {2}" & _
" -in_udp_quota {3}" & _
" -in_icmp_quota {4}" & _
" -in_igmp_quota {5}" & _
" -out_tcp_quota {6}" & _
" -out_udp_quoata {7}" & _
" -out_icmp_quota {8}" & _
" -out_igmp_quota {9}", _
.BW_In, .BW_Out, .TCP_In, _
.UDP_In, .ICMP_In, .IGMP_In, _
.TCP_Out, .UDP_Out, .ICMP_Out, _
.IGMP_Out)
End With
Else
If throwIfNotInitialized Then
Throw New ArgumentException("The DNS policy has not been initialized.")
End If
End If
Case PolicyType.FTP_Policy
If _fTP_PolicyQuota.BW_In > 0 AndAlso _fTP_PolicyQuota.BW_Out > 0 Then
bq = _fTP_PolicyQuota
With bq
retVal = _
String.Format("create FTPPolicy" & _
" -bw_in {0}" & _
" -bw_out {1}" & _
" -in_tcp_quota {2}" & _
" -in_udp_quota {3}" & _
" -in_icmp_quota {4}" & _
" -in_igmp_quota {5}" & _
" -out_tcp_quota {6}" & _
" -out_udp_quoata {7}" & _
" -out_icmp_quota {8}" & _
" -out_igmp_quota {9}", _
.BW_In, .BW_Out, .TCP_In, _
.UDP_In, .ICMP_In, .IGMP_In, _
.TCP_Out, .UDP_Out, .ICMP_Out, _
.IGMP_Out)
End With
Else
If throwIfNotInitialized Then
Throw New ArgumentException("The FTP policy has not been initialized.")
End If
End If
Case PolicyType.Global_Policy
If _global_PolicyQuota.BW_In > 0 AndAlso _global_PolicyQuota.BW_Out > 0 Then
bq = _global_PolicyQuota
With bq
retVal = _
String.Format("create GlobalPolicy" & _
" -bw_in {0}" & _
" -bw_out {1}" & _
" -in_tcp_quota {2}" & _
" -in_udp_quota {3}" & _
" -in_icmp_quota {4}" & _
" -in_igmp_quota {5}" & _
" -out_tcp_quota {6}" & _
" -out_udp_quoata {7}" & _
" -out_icmp_quota {8}" & _
" -out_igmp_quota {9}", _
.BW_In, .BW_Out, .TCP_In, _
.UDP_In, .ICMP_In, .IGMP_In, _
.TCP_Out, .UDP_Out, .ICMP_Out, _
.IGMP_Out)
End With
Else
If throwIfNotInitialized Then
Throw New ArgumentException("The Global policy has not been initialized.")
End If
End If
Case PolicyType.Mail_Policy
If _mail_PolicyQuota.BW_In > 0 AndAlso _mail_PolicyQuota.BW_Out > 0 Then
bq = _mail_PolicyQuota
With bq
retVal = _
String.Format("create MailPolicy" & _
" -bw_in {0}" & _
" -bw_out {1}" & _
" -in_tcp_quota {2}" & _
" -in_udp_quota {3}" & _
" -in_icmp_quota {4}" & _
" -in_igmp_quota {5}" & _
" -out_tcp_quota {6}" & _
" -out_udp_quoata {7}" & _
" -out_icmp_quota {8}" & _
" -out_igmp_quota {9}", _
.BW_In, .BW_Out, .TCP_In, _
.UDP_In, .ICMP_In, .IGMP_In, _
.TCP_Out, .UDP_Out, .ICMP_Out, _
.IGMP_Out)
End With
Else
If throwIfNotInitialized Then
Throw New ArgumentException("The Mail policy has not been initialized.")
End If
End If
Case PolicyType.Web_Policy
If _web_PolicyQuota.BW_In > 0 AndAlso _web_PolicyQuota.BW_Out > 0 Then
bq = _web_PolicyQuota
With bq
retVal = _
String.Format("create WebPolicy" & _
" -bw_in {0}" & _
" -bw_out {1}" & _
" -in_tcp_quota {2}" & _
" -in_udp_quota {3}" & _
" -in_icmp_quota {4}" & _
" -in_igmp_quota {5}" & _
" -out_tcp_quota {6}" & _
" -out_udp_quoata {7}" & _
" -out_icmp_quota {8}" & _
" -out_igmp_quota {9}", _
.BW_In, .BW_Out, .TCP_In, _
.UDP_In, .ICMP_In, .IGMP_In, _
.TCP_Out, .UDP_Out, .ICMP_Out, _
.IGMP_Out)
End With
Else
If throwIfNotInitialized Then
Throw New ArgumentException("The Web policy has not been initialized.")
End If
End If
End Select
Catch ex As Exception
Throw
End Try
Return retVal
End Function
End Class
Public Structure BandwidthQuota
Private Enum InOut
Input
Output
End Enum
''' <summary>
''' Gets the minimum value for bandwidth.
''' </summary>
''' <remarks>Note that this is "hard-coded".</remarks>
Public Shared ReadOnly MinValue As Integer = 1
''' <summary>
''' Gets the maximum value for bandwidth.
''' </summary>
''' <remarks>Note that this is "hard-coded".</remarks>
Public Shared ReadOnly MaxValue As Integer = 40000000
Private _bW_In As Integer
Private _bW_Out As Integer
Private _tCP_In As Integer
Private _tCP_Out As Integer
Private _uDP_In As Integer
Private _uDP_Out As Integer
Private _iCMP_In As Integer
Private _iCMP_Out As Integer
Private _iGMP_In As Integer
Private _iGMP_Out As Integer
''' <summary>
''' The constructor for this structure.
''' </summary>
''' <param name="bandwidthIn">The value of the input bandwidth.</param>
''' <param name="bandwidthOut">The value of the output bandwidth.</param>
''' <remarks></remarks>
Public Sub New(ByVal bandwidthIn As Integer, _
ByVal bandwidthOut As Integer)
Try
If bandwidthIn < MinValue Then
Throw New _
ArgumentOutOfRangeException("Bandwidth In", _
"The minimum value is " & _
MinValue.ToString & _
" kBPS")
ElseIf bandwidthIn > MaxValue Then
Throw New _
ArgumentOutOfRangeException("Bandwidth In", _
"The maximum value is " & _
MaxValue.ToString & _
" kBPS")
ElseIf bandwidthOut < MinValue Then
Throw New _
ArgumentOutOfRangeException("Bandwidth Out", _
"The minimum value is " & _
MinValue.ToString & _
" kBPS")
ElseIf bandwidthOut > MaxValue Then
Throw New _
ArgumentOutOfRangeException("Bandwidth Out", _
"The maximum value is " & _
MaxValue.ToString & _
" kBPS")
Else
_bW_In = bandwidthIn
_bW_Out = bandwidthOut
ComputeValues(bandwidthIn, InOut.Input)
ComputeValues(bandwidthOut, InOut.Output)
End If
Catch ex As Exception
Throw
End Try
End Sub
''' <summary>
''' Gets the value of the input bandwidth.
''' </summary>
''' <value></value>
''' <returns></returns>
''' <remarks></remarks>
Public ReadOnly Property BW_In() As Integer
Get
Return _bW_In
End Get
End Property
''' <summary>
''' Gets the value of the output bandwidth.
''' </summary>
''' <value></value>
''' <returns></returns>
''' <remarks></remarks>
Public ReadOnly Property BW_Out() As Integer
Get
Return _bW_Out
End Get
End Property
''' <summary>
''' Gets the value for the input ICMP.
''' </summary>
''' <value></value>
''' <returns></returns>
''' <remarks></remarks>
Public ReadOnly Property ICMP_In() As Integer
Get
Return _iCMP_In
End Get
End Property
''' <summary>
''' Gets the value for the output ICMP.
''' </summary>
''' <value></value>
''' <returns></returns>
''' <remarks></remarks>
Public ReadOnly Property ICMP_Out() As Integer
Get
Return _iCMP_Out
End Get
End Property
''' <summary>
''' Gets the value for the input IGMP.
''' </summary>
''' <value></value>
''' <returns></returns>
''' <remarks></remarks>
Public ReadOnly Property IGMP_In() As Integer
Get
Return _iGMP_In
End Get
End Property
''' <summary>
''' Gets the value for the output IGMP.
''' </summary>
''' <value></value>
''' <returns></returns>
''' <remarks></remarks>
Public ReadOnly Property IGMP_Out() As Integer
Get
Return _iGMP_Out
End Get
End Property
''' <summary>
''' Gets the value for the input TCP.
''' </summary>
''' <value></value>
''' <returns></returns>
''' <remarks></remarks>
Public ReadOnly Property TCP_In() As Integer
Get
Return _tCP_In
End Get
End Property
''' <summary>
''' Gets the value for the output TCP.
''' </summary>
''' <value></value>
''' <returns></returns>
''' <remarks></remarks>
Public ReadOnly Property TCP_Out() As Integer
Get
Return _tCP_Out
End Get
End Property
''' <summary>
''' Gets the value for the input UDP.
''' </summary>
''' <value></value>
''' <returns></returns>
''' <remarks></remarks>
Public ReadOnly Property UDP_In() As Integer
Get
Return _uDP_In
End Get
End Property
''' <summary>
''' Gets the value for the output UDP.
''' </summary>
''' <value></value>
''' <returns></returns>
''' <remarks></remarks>
Public ReadOnly Property UDP_Out() As Integer
Get
Return _uDP_Out
End Get
End Property
Private Sub ComputeValues(ByVal value As Integer, _
ByVal io As InOut)
If value > 0 AndAlso value <= 5000 Then
SetValues(80, 50, 10, 10, io)
ElseIf value > 5000 AndAlso value <= 10000 Then
SetValues(75, 50, 9, 9, io)
ElseIf value > 10000 AndAlso value <= 100000 Then
SetValues(75, 50, 2, 2, io)
ElseIf value > 100000 AndAlso value <= 40000000 Then
SetValues(75, 50, 1, 1, io)
End If
End Sub
Private Sub SetValues(ByVal tcp As Integer, _
ByVal udp As Integer, _
ByVal icmp As Integer, _
ByVal igmp As Integer, _
ByVal io As InOut)
Select Case io
Case InOut.Input
_tCP_In = tcp
_uDP_In = udp
_iCMP_In = icmp
_iGMP_In = igmp
Case InOut.Output
_tCP_Out = tcp
_uDP_Out = udp
_iCMP_Out = icmp
_iGMP_Out = igmp
End Select
End Sub
End Structure
End Namespace
Still lost in code, just at a little higher level. -
Calling a webservices method, paramaters are not pass correctly
Hi, I would like a Eclipse's MedRec tutorial...All project build, compil, deploy correctly.
When I invoke the "public PatientWS findPatientBySsn(String pId): ---> parameter "888888888" " Webservice's method from the WBL8.1 amin console, all is working correctly: it response me Patient[Id: 105 |...
But the same thing, call from the PhysicianWebApp, the webservices paramter invocation is NULL? I don't understan why!
standalone trace fromm admin console:
**********************************************************15:17:57,102 MedRecWebServicesEJB INFO executeThread:
'14' for queue
: 'weblogic.kernel.Default' - Finding patient by ssn.
03/01/2006 15:17:57,112 MedRecWebServicesEJB DEBUG ExecuteThread: '14' for queue
: 'weblogic.kernel.Default' - SSN: 888888888
paramater invocation trace from PhysicianWebApp
03/01/2006 15:23:02,040 MedRecWebServicesEJB DEBUG ExecuteThread: '14' for queue
: 'weblogic.kernel.Default' - <b>SSN: null</b>
03/01/2006 15:23:02,040 PatientSessionEJB DEBUG ExecuteThread: '14' for queue: '
weblogic.kernel.Default' - SSN: null
ThankI find the solution, it was webServicesEjb_client.jar file problem. I use in the physicianEar.ear the jar providing from the tutorial!
When I generate my own webServicesEjb_client.jar and place it in the ear, it's all right!
For generate this librairie look at:
-->Tutorial 12-Procedure 1-step3
Personnal I add to my ant build.xml script:
<target name="build.ws.client">
<clientgen
wsdl="http://localhost:7101/ws_medrec/MedRecWebServices?WSDL"
packageName="com.bea.medrec.webservices"
keepGenerated="true"
clientjar="./deploy/webServicesEjb_client.jar" />
</target>
Thank a lot Stef-âne -
Search Help parameter not passing in FM
A Search Help ZAMCH1 is included in collective search help MCH1.Within it an elementary search help ZMME_CHARG2 is included.In this Elementary Search Help, a parameter 'CHRUE' ( Inventary Indicator) is there with data element 'ZMM_CHARG_IND' and default value 'X'.
But this parameter is not passed into the search help exit i.e. the function module.All other parameters are passed correctly in structure 'shlp-selopt' except CHRUE.So the indicator is always blank in FM.what might may be the reason and remedy ?Since your search help starts with the letter Z, it is a custom search help. So we can't look at the code to see what might be going on. You can try posting more specific information from the search helps here, and then someone might be able to help you.
- April King -
REPORT DOES NOT RUN CORRECTLY , URGENT PLEASE HELP
Hi,
I am trying to run a report from visul basic screen, but it does not run correctly. Here is how I am running the report. There is a screen developed in VB This screen prompts the user for user id and password. Once it gets that, it connects to the oracle database and pulls out a column from a table. And passes that value as a parameter to the report. Now I am calling the the report for each individual value . There are 21 value being pulled out of the database and it invokes the report 21 times. So there are 21 report engines gets started. Is there a better way to do that ? Secondly when I pass the parameter , some parameters does not pass correctly I guess , because its not generating any out put . Like out of 21 may be 10 or 11 reports gets generated correctly but rest of the reports are blank. I debug the screen i saw that the parameter value is correct, everything seems good. But still the reports are comming blank. Any Idea why it is so ? The command line that i am using in VB screen is
Shell "C:\progra~1\ora95_2\bin\rwrun60.exe P:\Business_Analysis_&_Reporting_Tool\Test_REPORT_Templates\STORE_TYPES\Baby_Distribution_Report.Rdf USERID=" & UID & "/" & PWD & "@cposp201 DESFORMAT=PDF DESTYPE=FILE DESNAME=" & txtPath.Text & Replace(strName, " ", "_") & ".PDF BRND='" & adoRecBrand!Brand & "' PRINTJOB=NO PARAMFORM=NO"
In the above command " adoRecBrand!Brand " is the parameter thats being passed. This is actually a recordset and brand is the column in it. When I debug the screen , I see the value also there. But the report comes out blank. Please help. This is urgent.
Thanks
FerozThe way you call reports is not scalable. If you have 100 records come back from database, you would end up launch 100 engines at the same times, which probably will blow up your machine. You should use oracle reports server to do that. You can either use rwcli60 to submit the job to reports server, or invoke rwcgi60 from URL.
I am afraid some of reports engine failed to start and you get nothing back in your case.
After switch to use reports server achitecture, if you still see some report is blank in your application, then you can run that report with that special set of parameters manually and see if any problem with the report itself.
Hope this helps.
Thanks,
-Shaun -
Profile parameter icm/host_name_full is not set correctly
Hi All,
I am working on Solution Manager 4.0. When I execute TCODE "SOLUTION_MANAGER", it gives the following error:
Profile parameter icm/host_name_full is not set correctly (see long text)
When I click on "Long Text", it gives me the following message widow:
Message Number: SOL_GRAPHIC002
Diagnosis
The graphic cannot be displayed, since the profile parameter icm/host_name_full is not set correctly.
Procedure
Set the profile parameter icm/host_name_full correctly.
For more information, see SAP Notes 434918 and 677118.
I have referred to both the notes above. In note# 434918, it says that I need latest kernel patch (which is 150).Also the icm/host_name_full parameter parameter was not there in Solution Manager, so I created in the following manner:
Parameter Name =icm/host_name_full
Parameter Value=smgdcs1s.example.com
But however, the error continues to be the same.
Kindly help me asap.
Thanks in advance.
Regards,
FaisalHi Markus,
Earlier the profile was activated and server was also restarted. However, it was not efffective.
Now once again i have activated the profile and restared the server. Now I am able to see the profile and it value in
RZ10
RZ11
Thanks a alot for your valuable inputs
Thanks and Regards,
Faisal -
URL parameter value with : not displayed correctly on page
Hi,
I am working on a page with an interactive report.One of the report columns is hyperlinked to another page (Delete Page).This link passes an id and a title to the Delete page such that its displays a confirmation message to the end user before actually performing the delete.If the title contains a ":" the text after the ":" is not displayed on the page (albeit visible in the URL on the top)
Is this because the ":" seperates parameters in an APEX URL and therefore the text after the ":" is taken as the next URL parameter?
How can we solve this problem?
Regards,
Priya JetleyHi
Yes - Apex will see the ":" as a parameter separator and will ignore everything after any that exist in the "with these values" parameter at the end of the url.
You can get around this in two ways:
1 - Escape your title - replace ":" with "%3A" in your sql statement
2 - Do not pass the title in the link but use a computation on the delete page to retrieve this value for display
Andy -
OK button on parameter input screen not rendering correctly
We just recently changed intranet servers. Both old and new servers running IIS 6 on Windows 2003 server. I had several Crystal Reports XI Release 2 reports running on the old web server. They were called from an ASP.NET application
On the new server, the exact same applications with the same reports seem to run correctly. No errors and then the input parameter screen is displayed correctly except that the OK button after selecting the parameters does not display correctly in the browser. It has a couple of small red 'x' and the word OK underlined. Normally, this is a nice graphical button. When I click it, it shows "Error on page" in the status line of the browser and never goes anywhere. Normally, the OK button accepts the parameter input from the user and then displays the report.
I searched for similar answers in the forum but couldn't find any. Please help...this one has me lost.
I upgraded to Crystal Reprots XI Release 2 SP 5 on both my workstation and on the server.Hi Bill,
All of the button images are located in:
C:\Program Files\Business Objects\Common\3.5\crystalreportviewers115\images
Compare what your test PC has with your new server, possibly one of the images are missing.
Also, the Parameter Prompt UI is Java based, could be your Java is to old or to new. Compare this on your working PC also.
Thank you
Don -
MDG-M: Error message - CR was not passed as a Parameter
Hi MDG Experts
In the MDG-M scenario, after the CR is created and successfully submitted by the Requestor (e.g; Create / Change a Material), when trying to display this CR in the "Display Change Request" menu option, i get the error message - "Change Request was not passed as a Parameter" after i click on the "Workflow Log" push button.
Additionally, the details of this CR are not being displayed in the window "MDG-M UI (Entry Point), when double-clicking the CR number in the "Display Change Requests" window
Any ideas why this is happening and how to resolve this issue ?
Thanks in advance.
Regards
NeeleshHi Fabiano
Thanks very much for helping me resolve this issue.
Regards
Neelesh -
"the parameter is not correct"
I've reinstalled my Studio 8 2 times now, and am unable to
open AS files directly in Flash. I can "import Script" into an
empty AS file, but I can't directly open an AS file. When I import
them, I can not save them, I get a popup warning that says "the
parameter is not correct" .
I have tried opening the AS files in Dreamweaver, and get the
same popup warning that says "the parameter is not correct" and I
can't save it.
Has anyone else had this problem? Over all, my copy of Studio
seems to not like the AS files.square-01 wrote:
> I've reinstalled my Studio 8 2 times now, and an unable
to open AS files
> directly in Flash. I can "import Script" into an empty
AS file, but I can't
> directly open an AS file.
>
> I have tried opening the AS files in Dreamweaver, and
get a popup warning that
> says "the parameter is not correct" and I can't save it.
>
> I can open these files, and save them, in a text editor.
>
> Has anyone else had this problem? Over all, my copy of
Studio seems to not
> like the AS files.
No problem whatsoever in here.
Have you try to change the file association ? Right click -
Open with -
or Tools - Folder Options - File type and change it there ?
Best Regards
Urami
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami> -
I have Flex 3.0.214193 and CF 8,0,0,176276 and Oracle
10.2.0.3.
I've been search for several days for an answer to this one.
There is very little out there about this type of error, but then
there is very little about any problems with Flex and ColdFusion.
In Flex, I have two comment fields. the .cfc has two update
functions that update the comments, because they are in two
different tables. The first update works like a champ. The second
one consistantly shows this error in the CF application log: The
NEWENGREMARK parameter to the updateEng function is required but
was not passed in. I've used to Alert.Show to verify that Flex does
have a value in that variable when it calls the .cfc. I've even
tried passing the first variable that worked in the first update,
and then a litteral value. Everything yields the same cryptic error
message. I must be looking at the wrong thing.
The only things I've found on the web about this, say the
variables should have a scope (is that a scope in Flex or in the
.cfc) and the column names should be in upper case (because it's
Oracle).
Here's the .cfc code (is that where the error is, or is it in
Flex?). The UpdateDescription function works, but the UpdateEng
doesn't.
Thanks for any help, or spelling errors you can point out.
ScottBKBK,
That is part of my thrashing about, trying to either make it
work or get a real error message. I changed the Flex and .cfc to
pass the previously missing parameter to the descriptionUpdate
function. If I pass the newENGRemark variable to the first update
function, everything is fine; if I pass it to the second update
function, it is missing.
I changed the Flex and .cfc be all upper case and all lower
case, but there was no difference.
I created a .cfm page to cfinvoke the same .cfc; then I
passed some hardwired literals to the .cfc - everything was fine.
I put the Flex code back to only pass two parameter to each
update function, but in the .cfc, in the second update, I added the
default option to both of the parameters. That worked; it went
ahead and updated the record with the defaults. (That's not really
what I wanted to do for production) . I changed the .cfc so the
newENGRemark was not required. Then it said the second parameter
was missing. In the Flex code, you can see that I am passing a
litteral, 925001, to the .cfc. The parameter exists in Flex, but
when it gets to the .cfc, it doesn't exist.
This problem has been beating me for too long. I think I
will restructure the database so that I can do what I need to with
one update function call. The initial test seems to show this will
work.
Basically I am floored by this problem. Everything I've
tried to get around it or get a real error hasn't worked. Could it
be something to do with Oracle CLOB data type? Because I was able
to make it work by using a .cfm to cfinvoke the .cfc, it seems that
the problem would have to be in Flex. But the Flex only seems to
have a problem with the second update, UpdateEng. So I deleted the
second update, copied the first, and changed the the minimum to
make it work, but it didn't. Then I switched the order in the Flex
and .cfc to have the second update first - same difference. Then I
even took out the descriptionUpdate altogether, but it still gave
that same error.
Does anyone know of some diagnostic tool that can catch what
is being passed on the AMF channel? Can you do a dump or a debug of
a .cfc that is called by Flex?
Scott
Maybe you are looking for
-
Table for variables of a query
Hi, I want to find the list and details of variables used in all the queries built on a multiprovider. Can any one plz help in giving the table name whcih give the details of variable name, Type(userexit/manual input/replacement path), Details(ready
-
Trying to empty trash containing iTunes (long story) and related files, but the trash will not empty because: "The operation cannot be completed because 'pgs' is in use." I found 'pgs' folders in the System Folder/Help/Mac Help/ but not sure why they
-
URL longer than it needs to be.
I've created a web site, www.shadyhollowstingrays.com. The name of the site in iWeb is Shady Hollow Stingrays. For some reason iWeb has created a folder at the root of my site called shady_hollow_stingrays so now every URL is longer than it needs t
-
How do i add a char to an arraylist...
i know you can't directly add premittive data types to arratlists. but how do u convert? i did something like myArrayList.add(new Integer(myAge));and it works fine... i tried to myArrayList.add(new Character(faveAlphabet));but this does not work... P
-
Black Status Bar Message Keeps Appearing in my Imac
Hi, Does anyone knows how did the Black Message Box bottom appear in the Imac? Was it because of something that I accidentally pressed? Please teach me how to get rid of the Black Message Box bottom right that keeps appearing on my screen as it is ve