ALV Sorting Not Working after Adding Checkbox to ALV
Hi All.
I am currently doing an ALV report using REUSE_ALV_GRID_DISPLAY function. I am sorting the list by Employee Name and Personnel Area. It works fine where the personnel are field and employee name field are merger together for same personnel are and employee name. But afterwards I added a checkbox field to the internal table and the list outputs a checkbox for each line. Afer putting the checkbox the list no long merges the same personnel are and employee name fields according to original sorting.
Can anyone explain if there is a way to solve this?
Thanks a lot.
Lily
yes there is a way. Just see this..
There is no Straight forward solution. There is a work around.
REPORT ztest_check_box .
TYPE-POOLS: slis,icon.
DATA: BEGIN OF it_vbap OCCURS 0,
vbeln LIKE vbap-vbeln,
matnr LIKE vbap-matnr,
posnr LIKE vbap-posnr,
kunnr LIKE vbak-kunnr,
kwmeng LIKE vbap-kwmeng,
check TYPE c,
id TYPE icon-id,
END OF it_vbap.
DATA: it_fieldcat TYPE slis_t_fieldcat_alv.
DATA: x_fieldcat TYPE slis_fieldcat_alv.
DATA: it_sort TYPE slis_t_sortinfo_alv,
x_sort TYPE slis_sortinfo_alv.
SELECT vbak~vbeln
vbak~kunnr
vbap~posnr
vbap~matnr
vbap~kwmeng
INTO CORRESPONDING FIELDS OF TABLE it_vbap
FROM vbak JOIN vbap
ON vbak~vbeln = vbap~vbeln.
SORT it_vbap BY matnr.
DELETE it_vbap WHERE matnr IS INITIAL.
LOOP AT it_vbap.
it_vbap-id = '@T9@'.
MODIFY it_vbap.
ENDLOOP.
x_fieldcat-fieldname = 'ID'.
x_fieldcat-seltext_l = 'CHECK'.
x_fieldcat-outputlen = 4.
x_fieldcat-icon = 'X'.
x_fieldcat-col_pos = 1.
x_fieldcat-hotspot = 'X'.
x_fieldcat-tabname = 'IT_VBAP'.
APPEND x_fieldcat TO it_fieldcat.
CLEAR x_fieldcat.
x_fieldcat-fieldname = 'MATNR'.
x_fieldcat-seltext_l = 'MATNR'.
x_fieldcat-col_pos = 2.
x_fieldcat-tabname = 'IT_VBAP'.
APPEND x_fieldcat TO it_fieldcat.
CLEAR x_fieldcat.
x_fieldcat-fieldname = 'KUNNR'.
x_fieldcat-seltext_l = 'KUNNR'.
x_fieldcat-col_pos = 3.
x_fieldcat-tabname = 'IT_VBAP'.
APPEND x_fieldcat TO it_fieldcat.
CLEAR x_fieldcat.
x_fieldcat-fieldname = 'VBELN'.
x_fieldcat-seltext_l = 'VBELN'.
x_fieldcat-col_pos = 4.
x_fieldcat-tabname = 'IT_VBAP'.
APPEND x_fieldcat TO it_fieldcat.
CLEAR x_fieldcat.
x_fieldcat-fieldname = 'POSNR'.
x_fieldcat-seltext_l = 'POSNR'.
x_fieldcat-col_pos = 5.
x_fieldcat-tabname = 'IT_VBAP'.
APPEND x_fieldcat TO it_fieldcat.
CLEAR x_fieldcat.
x_fieldcat-fieldname = 'KWMENG'.
x_fieldcat-seltext_l = 'KWMENG'.
x_fieldcat-col_pos = 6.
x_fieldcat-do_sum = 'X'.
x_fieldcat-tabname = 'IT_VBAP'.
APPEND x_fieldcat TO it_fieldcat.
CLEAR x_fieldcat.
x_sort-fieldname = 'MATNR'.
x_sort-spos = 1.
x_sort-up = 'X'.
x_sort-group = 'X'.
x_sort-subtot = 'X'.
APPEND x_sort TO it_sort.
CLEAR x_sort.
x_sort-fieldname = 'KUNNR'.
x_sort-spos = 2.
x_sort-up = 'X'.
APPEND x_sort TO it_sort.
CLEAR x_sort.
x_sort-fieldname = 'VBELN'.
x_sort-spos = 3.
x_sort-up = 'X'.
APPEND x_sort TO it_sort.
CLEAR x_sort.
*DATA:x_layout TYPE lvc_s_layo.
*x_layout-box_fname = 'CHECK'.
*x_layout-no_rowmark = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
* is_layout = x_layout
i_callback_user_command = 'USER_COMMAND'
it_fieldcat = it_fieldcat
it_sort = it_sort
TABLES
t_outtab = it_vbap[]
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc ne 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
*& Form itab_user_command
* text
* -->WHATCOMM text
* -->WHATROW text
FORM user_command USING whatcomm TYPE sy-ucomm selfield TYPE
slis_selfield.
IF selfield-fieldname = 'ID'.
READ TABLE it_vbap INDEX selfield-tabindex.
IF sy-subrc = 0.
IF it_vbap-check = ''.
it_vbap-id = '@R7@'.
it_vbap-check = 'X'.
ELSE.
it_vbap-id = '@T9@'.
it_vbap-check = ''.
ENDIF.
MODIFY it_vbap INDEX selfield-tabindex.
ENDIF.
ENDIF.
selfield-refresh = 'X'.
ENDFORM. "itab_user_command
if you want to make the above code to work in lower versions then you have to do this..
then maintain the ICON using the view V_ICON from SM30 add the New Entry.
get the properties from the below screen shot.
http://img404.imageshack.us/img404/3338/testig9.png
Similar Messages
-
Autocomplete does not work after adding controller to LOV
Hi experts ,
Autocomplete does not work after adding controller to LOV Region, i have checked the fnd_compatialbe mode it is fine.validation proprty is also false, stilll it is not working.
can anyone help me its very urgent
regards
vamsiHi Tapash,
This resolved the problem. Many thanks for your help with this it has been driving me mad for the last few days.
I could not understand why the standard Apps LOV regions had controller's attached to them and the autocomplete would function but with my pages it would not.
I actually raised a TAR about this and got nothing back so have updated it with the resolution.
Thanks again.
Regards,
David -
Lead Selection does not work after setting filter for ALV.
Hi, Can you please suggest on below scenario :
I have a Node with a sub node in it .
I am using the supply function on Sub Node to retrieve the date based on Parent Node.
There are two ALV's to display parent and item data. The issue is when a filter(user defined filter) is done on Parent table, the supply function does not work. The value is that of the selected row before setting the filter. Even after removing the filter, the item data is stuck and does not change on Lead Selection.
One thing I noticed is if the child table is a table UI, there is no issue. The only problem is when the second table is ALV
Thanks In AdvanceHi Prashanthi,
Your issue can be resolved as below
Create an event handler method 'set_alv_data' for the event 'ON_LEAD_SELECT' of parent alv
Write the below code inside the event handler method
METHOD set_alv_data.
DATA lo_node TYPE REF TO if_wd_context_node.
DATA lv_path TYPE string.
DATA lv_index TYPE string.
lv_index = r_param->index.
CONDENSE lv_index.
CONCATENATE wd_this->wdctx_my_parent_node
lv_index
wd_this->wdctx_my_child_node
INTO lv_path SEPARATED BY '.'.
lo_node = wd_context->path_get_node(
path = lv_path
DATA lo_interface TYPE REF TO iwci_salv_wd_table.
lo_interface = wd_this->wd_cpifc_alv_child( ). "get the ref of alv comp of child
lo_interface->set_data(
EXPORTING
* only_if_new_descr =
r_node_data = lo_node
ENDMETHOD.
The above code sets the data node of child alv based on lead selection of parent alv data.
Note: Replace 'parent_node', 'child_node' with your nodes & 'alv_child' with your alv component name of child alv.
If you want to control the data of child alv on filter function, you can use the event ON_STD_FUNCTION_AFTE and once you define the filter you get the r_param->id = 'SALV_WD_FILTER_DEFINE' & now you can clear data of child alv.
Hope this helps you.
Regards,
Rama -
VPN not working after adding subinterface - ASA 5510
Hello,
Currently I want to add a second lan (vlan) in a customers network. The new network will be for a wireless infrastructure.
There is also VPN Configured on the ASA - One with L2TP for Windows Clients and an IPsec for Cisco Clients.
Former we only had one outside (Eth0/0) and one inside interface (Eth0/1) on the ASA.
Now I want to use the Eth0/2 with subinterfaces, so that we will be flexible for future, when deploying more vlans.
But now, when i turn the first subinterface Eth0/2.2 to no-shut the VPN Connections does not work any more.
Bulding up the VPN connection works, but it seems that the traffic is not tunneled. (I checked this, because tracert to an internal adress goes to the internet)
Below there is my config, i don't know whats wrong. I think split-tunnel is configured correctly (because it works when i delete eth0/2.2)
TREV is the network of this location.
Company1,2,3 are remote locations.
: Saved
ASA Version 8.2(5)
hostname XXXXXXX
domain-name domain.lan
enable password XXXXXXXXXXX encrypted
passwd XXXXXXXXXX encrypted
names
name 192.168.100.0 TREV
name 192.168.200.0 COMPANY3
name XXXXXXXX Company1
name 192.168.1.0 Company2
name XXXXXXXXX GCT
name XXXXXXXX BMD
name 192.168.110.0 Wireless
name 192.168.201.0 COMPANY3-VPN
name 192.168.11.0 COMPANY2-VPN
name 192.168.101.0 TREV-VPN
interface Ethernet0/0
description Outside
nameif outside
security-level 0
ip address XXXXX 255.255.255.248
interface Ethernet0/1
description Inside
nameif inside
security-level 100
ip address 192.168.100.1 255.255.255.0
interface Ethernet0/2
description Trunk Interface
no nameif
no security-level
no ip address
interface Ethernet0/2.2
description Wireless
vlan 110
nameif wlan
security-level 100
ip address 192.168.110.1 255.255.255.0
interface Ethernet0/3
shutdown
no nameif
no security-level
no ip address
interface Management0/0
nameif management
security-level 100
ip address 192.168.1.1 255.255.255.0
management-only
ftp mode passive
dns domain-lookup inside
dns server-group DefaultDNS
name-server 192.168.100.10
domain-name domain.lan
dns server-group COMPANY2
name-server 192.168.1.16
domain-name domain.local
dns server-group COMPANY3
name-server 192.168.200.1
domain-name domain.local
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
object-group network VPN_Networks
network-object COMPANY3 255.255.255.0
network-object COMPANY3-VPN 255.255.255.0
network-object COMPANY2 255.255.255.0
network-object COMPANY2-VPN 255.255.255.0
network-object TREV 255.255.255.0
network-object TREV-VPN 255.255.255.0
object-group network DM_INLINE_NETWORK_1
network-object COMPANY2 255.255.255.0
network-object COMPANY3 255.255.255.0
network-object COMPANY3-VPN 255.255.255.0
network-object COMPANY2-VPN 255.255.255.0
network-object Wireless 255.255.255.0
access-list INCOMING remark *** ICMP Erlauben ***
access-list INCOMING extended permit icmp any any echo-reply
access-list INCOMING extended permit icmp any any time-exceeded
access-list INCOMING extended permit icmp any any unreachable
access-list INCOMING extended permit icmp any any parameter-problem
access-list INCOMING extended permit icmp any any source-quench
access-list INCOMING extended permit icmp any any echo
access-list INCOMING remark *** Wartung Company1 ***
access-list INCOMING remark *** Wartung BMD ***
access-list INCOMING remark *** Mail ***
access-list ......
access-list Trev-nat0 remark *** NoNat ***
access-list Trev-nat0 extended permit ip TREV 255.255.255.0 object-group VPN_Networks
access-list Trev-nat0 extended permit ip object-group VPN_Networks TREV 255.255.255.0
access-list Trev-nat0 extended permit ip TREV 255.255.255.0 object-group DM_INLINE_NETWORK_1
access-list DefaultRAGroup_splitTunnelAcl standard permit TREV 255.255.255.0
access-list outside_1_cryptomap extended permit ip TREV 255.255.255.0 object-group DM_INLINE_NETWORK_1
access-list inside_debug extended permit tcp any host 192.168.100.5
access-list inside_debug extended permit tcp any TREV 255.255.255.0
access-list Wireless-nat0 extended permit ip Wireless 255.255.255.0 TREV 255.255.255.0
pager lines 24
logging asdm informational
mtu outside 1500
mtu inside 1500
mtu management 1500
mtu wlan 1500
ip local pool VPN-Pool 192.168.101.1-192.168.101.31 mask 255.255.255.0
no failover
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-645.bin
no asdm history enable
arp timeout 14400
global (outside) 1 interface
global (outside) 2 XXXXXXXXXXX
nat (inside) 0 access-list Trev-nat0
nat (inside) 2 192.168.100.25 255.255.255.255
nat (inside) 2 192.168.100.250 255.255.255.255
nat (inside) 1 TREV 255.255.255.0
nat (wlan) 0 access-list Wireless-nat0
static (inside,outside) tcp interface 444 192.168.100.10 444 netmask 255.255.255.255
static (inside,outside) tcp interface https 192.168.100.10 https netmask 255.255.255.255
.... a lot of statics..............
static (inside,outside) tcp XXXXXXXXXX pop3 192.168.100.25 pop3 netmask 255.255.255.255
static (inside,outside) tcp XXXXXXXXXX 995 192.168.100.25 995 netmask 255.255.255.255
access-group INCOMING in interface outside
route outside 0.0.0.0 0.0.0.0 XXXXXXXXXX 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
timeout floating-conn 0:00:00
dynamic-access-policy-record DfltAccessPolicy
aaa-server RADIUS protocol radius
aaa-server RADIUS (inside) host 192.168.100.10
timeout 5
key *****
radius-common-pw *****
aaa-server RADIUS2 protocol radius
aaa-server RADIUS2 (inside) host 192.168.100.10
key *****
radius-common-pw *****
aaa authentication ssh console LOCAL
http server enable 4430
http COMPANY2 255.255.255.0 management
http TREV 255.255.255.0 inside
http Company1 255.255.255.224 outside
http 0.0.0.0 0.0.0.0 outside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set ESP-AES-128-MD5 esp-aes esp-md5-hmac
crypto ipsec transform-set ESP-AES-192-SHA esp-aes-192 esp-sha-hmac
crypto ipsec transform-set ESP-AES-192-MD5 esp-aes-192 esp-md5-hmac
crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
crypto ipsec transform-set ESP-AES-256-MD5 esp-aes-256 esp-md5-hmac
crypto ipsec transform-set ESP-3DES-MD5 esp-3des esp-md5-hmac
crypto ipsec transform-set ESP-DES-SHA esp-des esp-sha-hmac
crypto ipsec transform-set ESP-DES-MD5 esp-des esp-md5-hmac
crypto ipsec transform-set TRANS_ESP_3DES_MD5 esp-3des esp-md5-hmac
crypto ipsec transform-set TRANS_ESP_3DES_MD5 mode transport
crypto ipsec transform-set TRANS_ESP_3DES_SHA esp-3des esp-sha-hmac
crypto ipsec transform-set TRANS_ESP_3DES_SHA mode transport
crypto ipsec transform-set ESP-AES-128-SHA esp-aes esp-sha-hmac
crypto ipsec transform-set TRANS_ESP_AES_128_SHA esp-aes esp-sha-hmac
crypto ipsec transform-set TRANS_ESP_AES_128_SHA mode transport
crypto ipsec transform-set TRANS_ESP_AES_256_SHA esp-aes-256 esp-sha-hmac
crypto ipsec transform-set TRANS_ESP_AES_256_SHA mode transport
crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac
crypto ipsec security-association lifetime seconds 28800
crypto ipsec security-association lifetime kilobytes 4608000
crypto dynamic-map SYSTEM_DEFAULT_CRYPTO_MAP 65535 set transform-set ESP-AES-128-SHA ESP-AES-128-MD5 ESP-AES-256-SHA ESP-AES-256-MD5 ESP-3DES-SHA ESP-3DES-MD5 TRANS_ESP_AES_128_SHA TRANS_ESP_AES_256_SHA TRANS_ESP_3DES_MD5 TRANS_ESP_3DES_SHA
crypto map outside_map 1 match address outside_1_cryptomap
crypto map outside_map 1 set pfs group1
crypto map outside_map 1 set peer 178.188.202.78
crypto map outside_map 1 set transform-set ESP-3DES-SHA
crypto map outside_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
crypto map outside_map interface outside
crypto isakmp enable outside
crypto isakmp policy 10
authentication pre-share
encryption 3des
hash md5
group 2
lifetime 86400
crypto isakmp policy 20
authentication pre-share
encryption des
hash sha
group 5
lifetime 28800
crypto isakmp policy 30
authentication pre-share
encryption 3des
hash sha
group 5
lifetime 86400
crypto isakmp policy 65535
authentication pre-share
encryption 3des
hash sha
group 2
lifetime 86400
telnet timeout 5
ssh bit-Studio 255.255.255.224 outside
ssh 0.0.0.0 0.0.0.0 outside
ssh TREV 255.255.255.0 inside
ssh timeout 60
console timeout 0
management-access inside
dhcpd address 192.168.1.2-192.168.1.254 management
dhcprelay server 192.168.100.10 inside
dhcprelay enable wlan
dhcprelay setroute wlan
dhcprelay timeout 90
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
group-policy DefaultRAGroup internal
group-policy DefaultRAGroup attributes
wins-server value 192.168.100.10
dns-server value 192.168.100.10
vpn-tunnel-protocol IPSec l2tp-ipsec
split-tunnel-policy tunnelspecified
split-tunnel-network-list value DefaultRAGroup_splitTunnelAcl
default-domain value domain.lan
intercept-dhcp enable
group-policy IPsecVPN internal
group-policy IPsecVPN attributes
wins-server value 192.168.100.10
dns-server value 192.168.100.10
vpn-tunnel-protocol IPSec
split-tunnel-policy tunnelspecified
split-tunnel-network-list value DefaultRAGroup_splitTunnelAcl
default-domain value domain.lan
username admin password XXXXXXXXXX encrypted privilege 15
username vpntest password XXXXXXXXX nt-encrypted
tunnel-group DefaultRAGroup general-attributes
address-pool VPN-Pool
authentication-server-group RADIUS
default-group-policy DefaultRAGroup
tunnel-group DefaultRAGroup ipsec-attributes
pre-shared-key *****
tunnel-group DefaultRAGroup ppp-attributes
no authentication chap
authentication ms-chap-v2
tunnel-group XXXXXXXXX type ipsec-l2l
tunnel-group XXXXXXXXXXXX ipsec-attributes
pre-shared-key *****
tunnel-group IPsecVPN type remote-access
tunnel-group IPsecVPN general-attributes
address-pool VPN-Pool
authentication-server-group RADIUS
default-group-policy IPsecVPN
tunnel-group IPsecVPN ipsec-attributes
pre-shared-key *****
class-map inspection_default
match default-inspection-traffic
policy-map type inspect dns preset_dns_map
parameters
message-length maximum client auto
message-length maximum 512
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
inspect ip-options
service-policy global_policy global
prompt hostname context
no call-home reporting anonymous
Cryptochecksum:f2041a5902e945a130fe25fbb8e5d368
: endHi,
First I would go through all the NAT0/NAT Exempt rules you have for VPNs. They seem to contain useless lines where either destination or source network isnt correct.
Lets look at the NAT0 ACL you have line by line
access-list Trev-nat0 extended permit ip TREV 255.255.255.0 object-group VPN_Networks
The above access-list has the correct source network configured Yet it has its destination addresses configured with an "object-group" which contains your LAN network
You should probably remove the LAN network from the object-group VPN_Networks
access-list Trev-nat0 extended permit ip object-group VPN_Networks TREV 255.255.255.0
To my understanding the above ACL line doesnt serve any purpose as the networks configured under VPN_Networks arent located behind your "inside" interface (Other than the one I'm asking to remove from the object-group)
access-list Trev-nat0 extended permit ip TREV 255.255.255.0 object-group DM_INLINE_NETWORK_1
The above ACL overlap with the very first ACL lines configurations and needlesly makes the configuration harder to read. It also contains the Wireless network which it shouldnt
I would suggest simplifying your NAT0 configurations for example in the following way (change the names if you want if youre going to try it out)
object-group network TREV-LAN
description Local networks
network-object 192.168.100.0 255.255.255.0
object-group network VPN-NETWORKS
description Remote networks
network-object 192.168.200.0 255.255.255.0
network-object 192.168.201.0 255.255.255.0
network-object 192.168.1.0 255.255.255.0
network-object 192.168.11.0 255.255.255.0
network-object 192.168.101.0 255.255.255.0
access-list TREV-LAN-NAT0 remark NAT0 / NAT Exempt for VPN Connections
access-list TREV-LAN-NAT0 permit ip object-group TREV-LAN object-group VPN-NETWORKS
With the above configurations
You have all NAT0 with a single line of access-list configuration (not counting the remark line as it doesnt affect anything)
If there is changes in the VPN pools, VPN remote networks or LAN networks you can simply change them under the configured object-groups instead of touching the actual ACL. There might be situations where you should change the ACL from the above if there is some bigger changes to network
So as I said, I would start with changing the above NAT configurations and then test the VPN again. If it doesnt work we will have to check some other things out.
- Jouni -
We are in the process of changing everything over from the 3.5 .net framework to the 4.0 .net framework. As part of this, we are also upgrading Crystal Reports to version 13. We have a 32-bit Windows Server 2003 with the latest patches.
I have installed the latest CRRuntime_32bit_13_0_1.msi install program on our server and I have installed the 13.0.1 CR for VS on my local development machine.
The issue I am having is this. We have a fairly large Crystal report with numerous subreports. This report was working perfectly prior to installing all these latest patches/releases. There are two small subreports that use to sort perfectly, by a year column, in descending order. Now, they are sorting by year, in ascending order. The data is not sorted on the report itself, but in the datatable in the VB.net code that is used to populate the subreport. We use code like this to populate the subreport:
Report.Subreports("Pensionable_Earnings").Database.Tables("GroupedEarnings").SetDataSource(CType(EarningsInputs, DataTable))
Does anyone know of a specific reason the sort would have just stopped?
For what it is worth, there are two references that I have not added to my VS2010 project targeting the 4.0 framework. The 3.5 version had references to CrystalDecisions.Enterprise.Framework and CrystalDecisions.Enterprise.InfoStore, but I didn't see these when I tried to add references to my 4.0 version, so I just left them out. I didn't get a compile error, but I wonder if this could be causing the issue?
Thanks!!!!
PaulSee if the demo [Sorting and Filtering with Crystal Reports for Visual Studio 2010|http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/504d77eb-892a-2d10-c0b9-c9b6da1e1ffa] helps.
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports] -
Persistence-rebalance is not working after adding new cotexts
Hi,
I had the following problem.
The customer has two ACE20 modules. These modules are configured with some contexts. These contexts are configured and working. Last week I created and configured new three contexts without modifying current contexts. After this change, the customer had a problem with cookie insertion in the one of the current cotext. There was no configuration change (the persistence-rebalance map was configured and assigned to the policy-map) in this context. Only one solution of this problem was removing and adding again the parameter map into policy map. After this change the cookie insertion is working well. So it seems like a bug, but I didn't find it in the bug toolkit. Is this behaviour correct?
Thanks
RomanTry deleting it and downloading it again.
-------------------If this post helped you, click on accept as solution.------------------
-----------------------------Appreciate by clicking on white star.---------------------------- -
Javabean is not working after adding webutil.olb in form 10g
I have created a form in which I am using javabean for running marquee and is working well. I have also attached webutil library in that form and it's working well also. But when I am adding webutil.olb in that form marquee stops to work. I have given path in Start In and in Preference/Runtime also. I have searched so many forums for that problem but did'nt get solution. That's why I decided to ask here....
Dear Gerd,
"are you sure, that it is the hotkey"
Yes, i am dead sure. Since:
(1) It was working fine in forms 6i
(2) If you run a form and select Help => Keys, you will see Ctrl+B on the top of list
The problem is its not taking into account the keys which i am defining in the file (although i am following the same procedure detailed on metalink.oracle.com).
Regards -
Links not working after adding script
I added a drop down menu to my website and now none of my hyper links work. Not external or even links to the other pages. Here is the script.
<script type="text/javascript">
$(document).ready(function(){
$('a').on('click', function(e){
e.preventDefault();
$('#ddmenu li').hover(function () {
clearTimeout($.data(this,'timer'));
$('ul',this).stop(true,true).slideDown(200);
}, function () {
$.data(this,'timer', setTimeout($.proxy(function() {
$('ul',this).stop(true,true).slideUp(200);
}, this), 100));
</script>
I found that if I change the ('a') to ('b') all the links work except when I try to get back to the home page.Ken that is exactly what I am looking for. I have the Script type code exactly like you posted it in the head plus the portion that I posted above is in the head. Here is the whole code I will try to upload it this morning.
<!doctype hyml>
<html><head>
<script src="Java Script/JQuery.js" type="text/javascript"></script>
<title>BADKRacing</title>
<link href="CSS/styles.css" rel="stylesheet" type="text/css" media="screen">
<link rel="stylesheet" type="text/css" media="all" href="CSS/dropdown.css">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('a').on('click', function(e){
e.preventDefault();
$('#ddmenu li').hover(function () {
clearTimeout($.data(this,'timer'));
$('ul',this).stop(true,true).slideDown(200);
}, function () {
$.data(this,'timer', setTimeout($.proxy(function() {
$('ul',this).stop(true,true).slideUp(200);
}, this), 100));
</script>
<link rel="stylesheet" href="CSS/nivo-slider.css" type="text/css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js" type="text/javascript"></script>
<script src="Java Script/jquery.nivo.slider.pack.js" type="text/javascript"></script>
<link rel="stylesheet" href="CSS/default/default.css" type="text/css" />
<script type="text/javascript">
$(window).load(function() {
$('#slider').nivoSlider({effect:"fade"});
</script>
</head>
<body>
<div id="wrapper">
<div id="top">
<div id="logo">
<img src="Images/BAD K Logo.JPG">
</div>
<div id="social-media">
<ul>
<li><a target="_blank" href="https://www.facebook.com/pages/BAD-K-Racing/115436301814031?v=wall"><img src="Images/Social Media Icon/facebook.png"></a></li>
<li><a target="_blank" href="http://www.youtube.com/profile?user=BADKRacing&view=videos"><img src="Images/Social Media Icon/youtube.png"></a></li>
</ul>
</div>
</div>
<div id="content-wraper">
<div id="content">
<h1>Welcome to BAD K Racing</h1>
</div>
</div>
<nav>
<div id="menu">
<ul id="ddmenu">
<li><a href="#">Home</a></li>
<li><a href="#">Race Day Info</a>
<ul>
<li><a href="schedule.html">Schedule</a></li>
<li><a target="_blank" href="Updateshttps://www.facebook.com/pages/BAD-K-Racing/115436301814031?ref=hl">Updates</a></li>
</ul>
</li>
<li><a href="#">Drivers</a>
<ul>
<li><a href="Andrue.html">Andrue</a></li>
<li><a href="Dave.html">Dave</a></li>
</ul>
</li>
<li><a href="#">Racecars</a>
<ul>
<li><a href="prochallenge.html">Pro Challenge</a></li>
<li><a href="Superstock.html">Super Stock</a></li>
</ul>
</li>
<li><a href="#">Gallery</a>
<ul>
<li><a href="photo.html">Photos</a></li>
<li><a target="_blank" href="Videoshttp://www.youtube.com/user/BADKRacing/videos">Videos</a></li>
</ul>
</li>
<li><a href="contact.html">Contact</a></li>
</ul>
</ul>
</div>
</nav>
<div id="banner">
<div class="ribbon"></div>
<div class="slider-wrapper theme-default">
<div id="slider" class="nivoSlider">
<img src="Images/Karting 07 (184).jpg" alt="" />
<img src="Images/4-20-13 (3).JPG" alt="" />
<img src="Images/Karting 07 (185).jpg" alt=""/>
<img src="Images/4-20-13 (1).JPG" alt="" />
</div>
</div>
</div>
<div id="footer">
</div>
</div>
</body>
</html> -
Project not working after adding tomawahk components...
I added the tomahawk componend library to jdeveloper yesterday - which in itself was not a problem free experience, but after I get the tag library going, and my minor errors resloved, there didn't seem to be any problem... until I ran my application, and the screen was just blank. No error is thrown.
- I have also set up the tomahawk extensions filter.
- i do not have any adf compondents. my pages were html / JSF html.
I have read an article that with a section called "running in jdeveloper", but the instructions there must have been for an older pre-release version. This seems to say that once tomahawk elements have been used, the project cannot be run in the normal way(?).
Can anyone tell me how to get my app up and running again???
Thanks for any assistance!!
/cajmore info...
I have not come anywhere with this... so I thought I would at least try to get back to where I was before... heh heh... that was maybe not so easy...
- I have removed all references to tomahawk from my jspx pages, including the namespace reference.
- I have removed the extenstions additions from the web.xml file
- removed the tag library first from the project, then from jdevelopers manage libaries.
- the same with the jar files.
but, not difference. My wysiwyg views are still different than they were before, and my project does not run (the server looks good, net browser opens, loads, but the content is empty)...
It is looking like a re-install is necessary - please someone help me before this is necessary.
many thanks for whatever assistance people can give!!
/caj -
PXE not working after adding second DP
Hello,
i'm having a very strange issue, i had installed a second DP in my environment, all looked to work fine, but now my clients using PXE boot refer to that new server when doing PXE boot, even if my DHCP is setup to refer to my first server (with option 66).
i tried to uninstall the second DP, it lead to another behavior, client keep stuck on DHCP discovery during boot. I have to disconnect the new DP to see things working normally.
I'm using windows server 2012 R2 and SCCM 2012 R2.i tried to uninstall the second DP, it lead to another behavior, client keep stuck on DHCP discovery during boot. I have to disconnect the new DP to see things working normally.
new DP is on the client subnet which is not the case of old DP.
I would guess that you have removed the second DP (DP2) but WDS did not uninstall automatically (have a look at the server and see). Therefore when the clients boot they see a WDS server (DP2) on the same subnet and try to connect. Of course they can't
as you have removed all the content.
When you disconnect the server it cannot announce itself as an available WDS server and therefore the clients boot correctly from outside the subnet (DP1).
You will fix this problem (if I'm right) by uninstalling the WDS role from DP2 (your new one).
Gerry Hampson | Blog:
www.gerryhampsoncm.blogspot.ie | LinkedIn:
Gerry Hampson | Twitter:
@gerryhampson -
Visual Studio 2013 WP Emulator not working after adding more RAM
After a few days I installed VS 2013 on my laptop which had 3GB RAM and got notified by visual studio that I need at least 4 GB for hardware virtualization. Now I have 6GB RAM and Hyper-V restarted and VS still doesn't recognize my new RAM and doesn't give
me an option to run the WP emulator.
Did any of you had a problem/solution with this?Run MSInfo32.exe and post the System Summary results.
Also check them against the system requirements for Windows Phone emulators:
http://msdn.microsoft.com/en-us/library/windows/apps/ff626524(v=vs.105).aspx
Eric Fleck, Windows Store and Windows Phone Developer Support. If you would like to provide feedback or suggestions for future improvements to the Windows Phone SDK please go to http://wpdev.uservoice.com/ where you can post your suggestions and/or cast
your votes for existing suggestions. -
Hi all/SAP,
in my thread editable ALV - how to throw an error message for a specific line & field I figured out, that the output of a "report_attribute_error_message" in the ON_DATA_CHECK event of an editable ALV does not work, if sorting is active for a column.
Thanks to The specified item was not found. for reproducing this problem.
A similar problem exists, using an aggregation of a column. This will lead to a runtime exception.
I've found no fix in the OSS to this problem.
So is there a way to use sorting together with the output of a "report_attribute_error_message"
or if this is a bug, can/will this be fixed in the (near) future?
Thanks,
AndreasHi,
Yes, it doesnot work with those (RB,CB) UI elements...Have you checked for any note..I have also tried but no luck..
Regards,
Lekha. -
We have about 1,800 workstations running Windows 7 (both 32-bit and 64-bit) running various versions of the Java JRE from 6 update 32 through 7 update 51. Most are on 6 update 45. We would like to standardize on Java 7 update 51 (32-bit) and get everyone updated to that version for security reasons.
For the past two weeks, we have been having trouble with our installation pre-pilot. What we are seeing is that our procedure successfully closes any open Internet Explorer windows and Java-related processes, uninstalls all old versions of the Java JRE, and then claims to have successfully installed Java 7 update 51. The Java Control panel works. We can even take Internet Explorer to Verify Java Version or Java Tester - What Version of Java Are You Running? and confirm that the Java applets on those sites are loading (though the latter only works after adding the site to the exceptions site list); however, when testers try to access our Kronos Workforce Central 6.3.10 system, the Java applets used by that system do not load.
We have tried the following things, none of which worked:
Clear Internet Explorer browser cache and cookies.
Clear the local Java cache.
Reboot the computer.
Reset Internet Explorer settings, including personal settings.
The one thing which does work is going into the Java Control Panel, going to the Security tab, unchecking "Enable Java content in the browser", pressing Apply, pressing OK on the pop-up window, checking the "Enable Java content in the browser" box again, pressing OK, pressing OK on the pop-up window, and then restarting Internet Explorer. It is only after this point that all Java applets, including the ones used by Kronos Workforce Central 6.3.10, work.
What I need to know is how I can automate the procedure of reinitializing the "Enable Java content in the browser" checkbox after installation or am I doing something wrong or missing a step in the automated installation that is causing this to happen?
We are using Microsoft SCCM 2007 R3 to accomplish this upgrade, and everything is being run on the client machine using the SYSTEM account. First, the PowerShell script "javaclean.ps1" is run, with part of the command-line process changing the PowerShell script execution policy to Bypass. This script handles the closing of Java-dependent applications and Java processes and uninstalls old Java versions.
javaclean.ps1:
#Find all Java products excluding the auto updater which actually gets uninstalled when the main install is removed.
write-host "Searching for all installed Java versions" -ForegroundColor Yellow
[array]$javas=Get-WmiObject -query "select * from win32_Product where (Name like 'Java %' or Name like 'Java(TM)%' or Name like 'J2SE%') and Name <> 'Java Auto Updater'"
if ($javas.count -gt 0)
write-host "Java is already Installed" -ForegroundColor Yellow
#Get all the Java processes and kill them. If java is running and the processes aren't killed then this script will invoke a sudden reboot.
[array]$processes=Get-Process -Name "Java*" #-erroraction silentlycontinue
$processes += Get-Process -Name "iexplore" #-erroraction silentlycontinue
$processes += Get-Process -Name "firefox" #-erroraction silentlycontinue
$processes += Get-Process -Name "chrome" #-erroraction silentlycontinue
$processes += Get-Process -Name "jqs" #-erroraction silentlycontinue
$processes += Get-Process -Name "jusched" #-erroraction silentlycontinue
$processes += Get-Process -Name "jp2launcher" #-erroraction silentlycontinue
if ($processes.Count -gt 0)
foreach ($myprocess in $processes)
$myprocess.kill()
#Loop through the installed Java products.
foreach($java in $javas){
write-host "Uninstalling "$java.name -ForegroundColor Yellow
$java.Uninstall()
After this script is complete, SCCM calls a the VBS script "install.vbs" to perform the actual installation of Java JRE 7 update 51.
install.vbs
'* Script: Install JRE 7 routine
'* Date: 3/14/14
'* Author: [REDACTED]
'* Rev: 1.0
'* Notes:
'/// Common
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objWshShell = CreateObject("WScript.Shell")
' Get system architecture
Dim colSys : Set colSys = GetObject("WinMGMTS://").ExecQuery("SELECT AddressWidth FROM Win32_Processor",, 48)
Dim objSys
For Each objSys In colSys
If objSys.AddressWidth = 64 Then bolIs64Bit = True
Next
' Get operating system
Dim colOS : Set colOS = GetObject("WinMGMTS://").ExecQuery ("Select * from Win32_OperatingSystem",,48)
Dim objOS
For Each objOS In colOS
If Left(objOS.caption, 20) = "Microsoft Windows 8 " Then
bolIsWin8 = True
WScript.Echo "win8"
End If
If Left(objOS.caption, 22) = "Microsoft Windows 8.1 " Then
bolIsWin81 = True
WScript.Echo "win81"
End If
Next
' Set 32 bit program files directory
If bolIs64Bit = True Then
strPFILES = "Program Files (x86)"
strSYSDIR = "SysWOW64"
Else strPFILES = "Program Files"
strSYSDIR = "System32"
End If
' Set windows directory
strWIN = objWshShell.ExpandEnvironmentStrings("%windir%")
' Set the current directory
strCurrentDir = objFSO.GetParentFolderName(Wscript.ScriptFullName)
' Set computer name
strCompName = objWshShell.ExpandEnvironmentStrings("%computername%")
'/// Main script
'/// Install via .msi & capture exit code
'intExitCode = objWshShell.Run("msiexec.exe /i """ & strCurrentDir & "\package.msi""" & " TRANSFORMS=""" & strCurrentDir & _
' "\transform.mst"" ALLUSERS=1 Reboot=ReallySuppress /qn", 8, True)
'wscript.quit(intExitCode)
'****RUN COMMANDS HERE****
' Create folder structure if it doesn't exist already
strFullPath = "c:\Windows\Sun\Java\Deployment" '
' How many levels are there in the path?
nLevel = 0
strParentPath = strFullPath
Do Until strParentPath = ""
strParentPath = objFSO.GetParentFolderName(strParentPath)
nLevel = nLevel + 1
Loop
For iLevel = 1 To nLevel
' Figure out path for directory at level iLevel
strParentPath = strFullPath
For j = 1 To nLevel - iLevel
strParentPath = objFSO.GetParentFolderName(strParentPath)
Next
' Does this directory exist? If not, create it.
If objFSO.FolderExists(strParentPath) = False Then
Set newFolder = objFSO.CreateFolder(strParentPath)
End If
Next
' Kill running processes
objWshShell.Run "taskkill /F /IM iexplore.exe", 8, True
objWshShell.Run "taskkill /F /IM firefox.exe", 8, True
objWshShell.Run "taskkill /F /IM chrome.exe", 8, True
objWshShell.Run "taskkill /F /IM javaw.exe", 8, True
objWshShell.Run "taskkill /F /IM java.exe", 8, True
objWshShell.Run "taskkill /F /IM jqs.exe", 8, True
objWshShell.Run "taskkill /F /IM jusched.exe", 8, True
' Copy deployment files
objFSO.CopyFile strCurrentDir & "\deployment.config", "c:\Windows\Sun\Java\Deployment\", True
objFSO.CopyFile strCurrentDir & "\deployment.properties", "c:\Windows\Sun\Java\Deployment\", True
' Disable UAC
' If bolIsWin8 Or bolIsWin81 = True Then
' objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v PromptOnSecureDesktop /t REG_DWORD /d 0 /f", 8, True
' objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f", 8, True
' objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /f", 8, True
' End If
' Install application
intExitCode = objWshShell.Run("msiexec.exe /i """ & strCurrentDir & "\jre1.7.0_51.msi"" IEXPLORER=1 AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0 WEB_JAVA=1 ALLUSERS=1 Reboot=ReallySuppress /qn", 8, True)
' Enable UAC
' If bolIsWin8 Or bolIsWin81 = True Then
' objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v PromptOnSecureDesktop /t REG_DWORD /d 1 /f", 8, True
' objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f", 8, True
' objWshShell.Run "reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 5 /f", 8, True
' End If
wscript.quit(intExitCode)
'/// Install via .exe on network
'objWshShell.Run """" & strCurrentDir & "\Setup.exe"" -s -sms -f1""" & strCurrentDir & _
' "\setup.iss"" -f2""" & strWIN & "\Temp\Install-app.txt""", 8, True
' Need to turn off the open file security warning first
Set objEnv = objWshShell.Environment("PROCESS")
objEnv("SEE_MASK_NOZONECHECKS") = 1
' intExitCode = objWshShell.Run("""" & strCurrentDir & "\jre-7u45-windows-i586.exe"" /s /v""/norestart " & _
' "TRANSFORMS=""" & strCurrentDir & "\Tribe-jre7.mst""""", 8, True)
' WScript.Quit(intExitCode)
'****RUN COMMANDS HERE****
' Then turn it back on
objEnv.Remove("SEE_MASK_NOZONECHECKS")
'/// Additional functions
Help on this issue would be much appreciated!It turns out that this is actually a problem with Kronos Workforce Central. We had the "site.java.plugin.CLSID.familyVersion" setting in that application set to "clsid:CAFEEFAC-0016-0000-FFFF-ABCDEFFEDCBA", which is the Java CLSID for Java 6. After updating this value to "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" (the Java universal CLSID), this problem did not occur upon the automatic upgrade of Java.
We have both Java 6 and Java 7 in our environment, and did during our Kronos implementation, so I don't know why we were using the Java 6 CLSID in the first place.
Case closed! -
3G is not working after updating to iOS 6.1
My 3G connection is not working after updating to iOS 6.1. I have tried all possible solutions like resetting the network, restarting the phone etc.
With this kind of bugs in every update, Apple will no more be THE Apple.
There are bugs which have not been fixed even in the subsequent updates. SMSs going blank being one of them.
Miss you Sir Jobs.....I have since managed to sort mine out - when the phone was updated it wiped out the network settings.
I was able to reset them by manually putting the information in:
Settings - General - Cellular - Cellular Data Network and then I put in the correct details for APN, username and Password in the relevant sections and now it works OK.
Hopefully it will work for others too -
Object is to sync address and calendar between laptop with Max OS 10.4.11 and iPhone. Upgrade of our 10.4.11 laptop to 10.5 is accomplished and we now need to upgrade Quicktime and iTunes; however, the user name and password for the laptop is now not working after the upgrade to 10.5., though it was working prior to the upgrade, for file sharing.
@ BDAqua > I tried your suggestion but no luck. holding opt+command just gave me a blue screen and it rebotted, pushing the disk out of the drive. Yes, the macbook has 1 gb of ram. I realize that the min req. call for 2 gb of ram so i've got an order in for another dimm to put into the machine. Thanks for your suggestions.
@ a_brody > Yes. The machine was plugged into a power source. The disk promts you to do that and i recall aspect this form other installs. Thanks for the reminder tho! ( btw your second post is like greek to me man!)
@ Kuncklesmac > You're right about Snow Leopard being an upgrade from Leopard. I'm aware of this. And yes previously i've been told by Apple that I needed the Box Set (not the family pack. i am using the family pack for OS Snow Leopard) to upgrade my 10.4.11 mac - they never mentioned adding ram but i figured that out on my own and an apple specialist recommended it when i purchased Snow Leopard and confirmed that I coul duse the Snow Leopard to upgarde from Tiger (10.4.11). I've also read extensively (as i said above) that it isn't necessary (always) to buy the box set. Several 10.4.11 users report having upgraded using the Snow Leopard upgrade disk only (not the Box Set) without trouble on intel macs (also see the apple link i posted). So i'm just ondering how they did it and i cannot.
Thanks fo rall yor help!
Maybe you are looking for
-
Hi there, i have a queestion about memory type for the GNB MAX, in the specifications it says that the type of memory should be 2100 (266), but can i use another newer? for example one memory at 2700? i know that maybe the performance is not the same
-
Hi I want to send file from linux server to XI File Adapter I cannot cr8 nfs between them ( our XI is running on AIX) there's an option of Using samba client ( which works likes FTP ) does XI Supports that option? other thing i have been thiking on i
-
Displaying to the monitor after installing via serial console?
Hi Guys, We have a couple of X2100's and a dell sc1425. All were installed using null-modem cable to the serial port which worked fine. However, now I want the servers to boot and display to the monitor and use the keyboard for input. I've got 06/06
-
Actual cost calculation process
Hi, All! I run the Actual Cost Calculation Process and created IPV is effecting PMAC, but no lines are created in gmf_invoice_distributions.
-
LSMW--help require in Batch standard process
Hi all, Trust u are all doing good. I am a user in LSMW.....and I am trying to run LSWM with Batch standard. I have done all the process but now stuck in START DIRECT INPUT SESSION. Pls let know what to do in this process? What next step would be? Go