WLC5500 :: disable Dynamic Channel Assignment (DCA) for a group of APs
Hi,
Is it possible to disable DCA for a couple of APs and manually force the channels assignment ?
Thks
DV
Yes it's possible.
Go to Wireless > All APs > Choose the protocol > Choose the WAP. Change the channel and power settings.
Similar Messages
-
Dynamic Channel Assignment Question
I have a WLC 4400, and I have discovered that some areas, the access points are on the same channel. For example the floor have four access points, and the access points are working in this channels:
AP01=channel 01
AP02=channel 11
AP03=channel 11
AP04=channel 11
If Dynamic Channel Assignment is enable in the controller, Why the access points are on the same channel?
The access points are near each other.
WLC4400 System version 6.0
Any suggestion?
Is better manual configuration?Hi Nicolas I have this situation:
AP Name.......................................... AP22
MAC Address...................................... 00:1d:a1:zz:yy:xx
Radio Type..................................... RADIO_TYPE_80211b/g
Radar Information
Recommended Best Channel..................... 1
Nearby APs
AP AP53 slot 0.................. -67 dBm on 1 ()
AP AP12 slot 0.................. -57 dBm on 6 ()
The AP22 is working in the channel 1. ButI have another AP, in the same channel 1, this is normal operation?
When a Nerby AP is considered away? when the dbm is -70, -71, -72 or -75, -74, -73 ??
Thanks -
Persistent Channel 13 Dynamic Channel Assigment (DCA)
Dear WiFi Experts,
Why is AP still choosing channel 13 when Dynamic Channel Assigment is enabled and channels 1,6,11 are the only channels selected/checked in the DCA list?
Can't the AP choose only 1, 6, and 11 and nothing more?
WLC country code is set to SA (Saudi Arabia).
WLC code 7.0.98HI ,
It chooes the best channel.
Just info:
Here is the list of channels (and frequencies) of the ISM (industrial, scientific and medical band) (2.4 GHz) used in the WiFi technology:
Channel 1: 2.412 MHz
Channel 2: 2.417 MHz
Channel 3: 2.422 Mhz
Channel 4: 2.427 Mhz
Channel 5: 2.432 Mhz
Channel 6: 2.437 Mhz
Channel 7: 2.442 Mhz
Channel 8: 2.447 Mhz
Channel 9: 2.452 Mhz
Channel 10: 2.457 MHz
Channel 11: 2.462 MHz
Channel 12: 2.467 MHz
Channel 13: 2.472 MHz
Channel 14: 2.484 MHz
If you want then you can manually change Channle per AP:
Here is the process:
1. Login WLC GUI
2. Go to Wireless > Access Points > 802.11a/802.11b then on far right side of AP from drop dpwn menu click on configure.
Under RF channel assignment you can change the channle manually.
Regards
Dont forget to rate helpful posts -
Anyone deploying Auto-RF for channel-assignment only?
Hi folks,
Curious to know if anyone is deploying LWAPP Auto-RF just for Dynamic Channel Allocation (DCA), not for Dynamic Transmit Power Control (DTPC).
We have a dense deployment of APs (ten floors of a hospital in a 4-leaf clover design with "pods" at each leaf having 2 APs each) and have enabled DCA only, with a static Tx Power constant of TPL3 (31mW). Note: the original IOS AP setup was at 20mW and we intend to lower the TX Power to TPL4. Its our understanding that AP neighbor beacons (sent at 100mW) are controlling DCA behavior regardless of this.
We are finding that DCA is going nuts in this environment (12-24 channel changes/day on several floors of APs all at once). It seems to never to stabilize. And it impacts both APs in a coverage area: each floor "pod" loses both APs (due to client de-authentications prior to the channel change) at the same time. See attached DCA reports for two floor pods APs (9 floors apart).
Is it acceptable to enable Dynamic Channel Allocation but not enable Dynamic Transmit Power Control in this way? Could this be contributing to the DCA activity?
Thanks folks,Sabhasin,
I appreciate your response, however the issue, even with the current enhancements over execution of the DCA algorithm, is that it sends simultaneous channel-change requests to multiple APs at once, and dis-associates active clients from their APs, and any nearby APs that they might be able to connect to, with no regard to applications.
As before, it also lacks the means to set a Rogue AP RSSI DCA floor (rogues are the main trigger for DCA), and the DCA beacons sent from each AP to determine DCA changes is sent at 100mW and 1Mbps data rate, rather than the user-configured data-service rate, which the clients hear and use. As a result APs are changing channels for no good reason as far as the clients are concerned. As it stands now, good luck using more than one subnet (via AP Groups VLANs) per building w/o DCA kicking clients off and changing their IP address (and breaking apps). Unless they can treat these clients like a standard roam event, one subnet per building is the limit (and aren't we supposed to be following Cisco's wired subnet design policies of one VLAN per floor?).
There have been recent changes to the algorithm to modify the execution. The "5dB better SNR" metric now has a range of 3 values instead of one, DTPC will not power up if it has only 1 client on the fringe of coverage, and they've defaulted the neighbor RSSI to -71). This "numbs" DCA so it is not as reactive, but its equally or more important that it be sensitive to existing (including non-intelligent) associated clients and traffic.
What happpened to providing min/max TxPower limits for DTPC, and how about deferring DCA on APs with clients or any traffic (not just voice)?
Its all well and good to make things work for Intel and the CCX/CCKM compliant crew, but if you have any of the other brands of WLAN NICs (like those made by medical device manufacturers, who won't subscribe to fast roaming features until they're adopted by the IEEE) you are best keeping RRM disabled until it delivers on its promise as stated in the following 802.11TGv Objectives draft:
Service and Function Objectives
Solutions shall define mechanisms to provide the service listed below.
[Req2000] TGv shall support Dynamic Channel Selection, to allow STAs to avoid interference. Solution shall be able to change the operating channel (and/or band) for the entire BSS during live system operation and be done seamlessly with no intermittent loss of connectivity from the perspective of an associated STA. Solution shall not define algorithm for channel selection.
P.S. And how about a detailed doc showing how to tune the product in a live environment? Is it too much to ask for a legitimate case study with requisite RF environment assumptions and real before and after data with a mixed client base? -
802.1x RADIUS with EAP-TLS/EAP-TTLS & Dynamic VLAN Assignment
Hello, My team is looking for switches supporting 802.1x authentication on either EAP-TTLS or EAP-TLS protocols with dynamic vlan assignment enabled for these. Looking at the data sheets of the Linksys desktop switches, I found only SLM224G4PS and SLM224G4S models to support EAP-TLS or EAP-TTLS. Am I right? Do they support Dynamic VLAN Assigment for either of those protocols? This is not explicitly mentioned in the data sheets, and I happen to find switches from other manufacturers that announce to support EAP-TLS/EAP-TTLS but no dynamic vlan assignment. Thank you for any help.
SLM switches do support 802.1x RADIUS with EAP-TLS/EAP-TTLS unlike the SRW switches which support MD5. But I don't think that they support Dynamic VLAN.
-
Assign ID to every group of result
Hi all,
I have this problem to assign serial ID to every group of result for my SQL. Let say if I want to group date for 11 data and my result returned 5 groups of date. Is there any way I can create a SQL statement that can assign ID for each group of date without using 'GROUP BY'? Using example count() over total maybe?Use DENSE_RANK analytic function
with c as
select sysdate DT,1 ID,'VAL1' VAL FROM DUAL UNION ALL
select sysdate DT,2 ID,'VAL2' VAL FROM DUAL UNION ALL
select sysdate DT,3 ID,'VAL3' VAL FROM DUAL UNION ALL
select sysdate-2 DT,4 ID,'VAL4' VAL FROM DUAL UNION ALL
select sysdate-2 DT,5 ID,'VAL5' VAL FROM DUAL UNION ALL
select sysdate-4 DT,6 ID,'VAL7' VAL FROM DUAL UNION ALL
select sysdate-4 DT,7 ID,'VAL6' VAL FROM DUAL UNION ALL
select sysdate-4 DT,8 ID,'VAL8' VAL FROM DUAL UNION ALL
select sysdate-5 DT,9 ID,'VAL9' VAL FROM DUAL )
SELECT DENSE_RANK() OVER (ORDER BY TRUNC(DT) DESC ) RN, DT,ID,VAL
FROM C
RN DT ID VAL
1 13-AUG-10 1 VAL1
1 13-AUG-10 2 VAL2
1 13-AUG-10 3 VAL3
2 11-AUG-10 4 VAL4
2 11-AUG-10 5 VAL5
3 09-AUG-10 6 VAL7
3 09-AUG-10 7 VAL6
3 09-AUG-10 8 VAL8
4 08-AUG-10 9 VAL9
9 rows selected. -
How to disable drive letter assignment for Windows 7 64 bit
Hi everybody,
Currently, I have a problem that need your help for my company
I received a new request from my boss, that is disable USB removeable storage on Windows 7 64 bit
I found out and apply some solutions from internet but it cannot be solved
In some solutions, I pay attention to a good one: Disable drive letter assignment for Windows 7 64 bit
I think it may solve my problem. But how to do it??? I need your help from all of you
Thanks for your support!!!!Hi,
Let's verify your issue. Did you want to disable USB storage device?
If yes, try this:
1. If you have not ever already done so, you must connect a USB storage device
to the computer now, and wait until Windows installs it and displays it in the Computer window with an assigned drive letter, then
disconnect it.
2. Press the Windows + R keys to open the Run dialog, type
regedit, and press Enter.
3. If prompted by UAC, then click on Yes.
4. In Registry Editor, navigate to the location below:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\USBSTOR
5. In the right pane of USBSTOR, double click on Start to modify it.
6. Type in 4, click on OK.
7. Close Registry Editor windows.
Karen Hu
TechNet Community Support -
Dynamic VLAN assignment with WLC and ACS for
Currently, using our autonomous APs and ACS, our users get separate VLANs per building based on their security level (students or staff). Basically, the student VLAN in one building is different from that of the student VLANs in other buildings on campus. Currently, we do this by filling the Tunnel-Private-Group-ID IETF RADIUS attribute with the VLAN name. This all works because each individual AP can map VLAN names to different VLANs like this:
dot11 vlan-name STUDENT vlan 2903
dot11 vlan-name FACSTAF vlan 2905
As we are working on our WiSM deployment, we see that the document below shows how to do the dynamic VLAN assignment on our WLAN controllers:
http://www.cisco.com/en/US/customer/products/sw/secursw/ps2086/products_configuration_example09186a00808c9bd1.shtml
However, we haven't figured out if it's possible to still provide our users with different VLANs for each building they're in.
With the instructions above, it looks like ACS uses a Cisco RADIUS Attribute to indicate the Air-Interface-Name, mapping an ACS/AD group to a single WLC interface which can only have one VLAN/subnet associated with it.
Does anybody know if what we're trying to accomplish is possible, or if we're really stuck with only one VLAN/subnet per mapped ACS group?We only have the one WiSM for all of campus, so it's handling everything. This Cisco docs do indicate how to put differnet users in different Vlans, but we don't currently see a way to also put them in different subnets per building.
This being the case, any suggestions on how best to handle more than a Class C subnet's worth of users? Should we just subnet larger than Class C, or is there a more elegant way of handling this? -
802.1X for wired environments using Radius/ACS for Dynamic Vlan Assignment
Currently Being Moderated
802.1X for wired environments using Radius/ACS for Dynamic Vlan Assignment
Could someone please provide me with a simplest set of configuration steps to fire up Radius in ACS and 802.1X for dynamic vlan assignment. The objective is to roll out NAC L2 OOB using the 802.1X method for dymamic vlan assignments.
If possible show:
1. ACS/Radius Configurations.
2. End User Switch Configurations
Variables:
Switch A
MAC Address aaaa.bbbb.cccc Vlan 10
bbbb.cccc.dddd Vlan 20
Also, if someone posts the Pros and Cons of using Radius/ACS/802.1X for Dynamic Vlan Assignments.
Other technology sets that can be used for Dynamic Vlan assignment EXCEPT from deprecated/obsolete VMPS.
Thanks in advance. .Hi Guys,
Hmmm, well if your just looking for Mac based authentication the good news is that is very easy. Just set create your Radius server, ACS, FreeRadius, Steelbelted radius etc. Then create user with the name of the Mac address, in other words if the mac address is 0012.0021.1122 the the name would be 001200211122 and the password would be the mac address. Then you set the vlan and tunnel stuff, like so tunnel-Type would be vlan, Tunnel-medium would be 802 and Tunnel-Private-Group-ID is the name of the vlan(not the vlan number)
So for the Cisco ACS 4.x you would create a user as specified above, fill in all the password boxes with MAC address, I believe the mac has to be all lower case in the name and the password. Then check the Separate(Chap/MS-Chap/ARAP) box. Then you pick the group the machine belongs to, the group is the part that defines what vlan it is on.
Before you create the user, create the group with info I wrote above and in addition specify the Service-Type as Authenticate Only.
Freeradius is a bit harder to configure the specifics and I am just now testing a freeradius server so I do not know the process for Machine authentication.
If, however, you are trying to authenticate a user that gets a bit trickier and is not so straight forward. -
Dynamic number assignment for crm orders
Hello all,
i am looking for a userexit/badi in TX: CRMD_ORDER to implement a sales organization-dependent (dynamic) number assignment for transactions to meet R/3 requests.
Thanks in advance for your help.
Kind regards
MarkHi Kaushal,
thanks. I have already checked this badi. Unfortunately fm "CRM_ORDERADM_H_OBJECTID_DET_OW", where number assignment takes place, is called after this badi. According to SAP OSS there is no user exit avaiable.
Regards Mark -
Create dynamic report or query for piece count
Hi abaper's
This is a very straight forward requirement. so please give me code
First you have to get the corresponding plant from table T320 for the given warehouse numbers in the selection screen.
1. Get the sum of order qty of sales orders from the sales order tables for the given warehouse(Plant), distribution channel and the give date range.
2. Get the confirmed transfer orders qty from the TO master table where TO confirmation date is in the given date range and WH number.
3. Get the total PGIed qty from the delivery master table where PGI'ed date in the given date range, shipping point is in the corresponding plant of the WH and for the given distribution channel.
As you are going to use the major tables please try to write the select commands effectively to avoid further performance issues.How to improve the performance fo this code.....this very urgent.
& Issue Number : 22199 &
& Programmer : Anjaneyulu.Pabba &
& Transport Number : D01K962471 &
& Date of Creation : 19/03/2008 &
& Description : Dynamic report or query for piece count &
& Requested By : Parvati.Polisetty &
REPORT ZR_SD_PIECE_COUNT_ALV no standard page heading
line-size 255
line-count 65.
TABLES DECLARATION
*TABLES: T320, "Assignment IM Storage Location to WM Warehouse Number
VBAK, "Sales Document: Header Data
VBAP, "Sales Document: Item Data
TVKOV, "Org. Unit: Distribution Channels per Sales Organization
LTAK, "WM transfer order header
LTAP, "Transfer order item
LIKP, "SD Document: Delivery Header Data
LIPS. "SD document: Delivery: Item data
TYPE-POOLS DECLARATION
TYPE-POOLS: SLIS .
Internal Table Declaration
DATA : BEGIN OF TY_T320,
WERKS TYPE WERKS_D,
LGNUM TYPE LGNUM,
END OF TY_T320.
DATA : BEGIN OF TY_VBAK,
VBELN TYPE VBELN_VA,
VTWEG TYPE VTWEG,
WERKS TYPE WERKS_D,
KWMENG TYPE KWMENG,
VSTEL TYPE VSTEL,
END OF TY_VBAK.
DATA : BEGIN OF TY_LTAK,
LGNUM TYPE LGNUM,
TANUM TYPE TANUM,
VISTA TYPE LTAP_VISTA,
END OF TY_LTAK.
DATA : BEGIN OF TY_LIKP,
VBELN TYPE VBELN_VL,
WERKS TYPE WERKS_D,
LFIMG TYPE LFIMG,
END OF TY_LIKP.
DATA : BEGIN OF TY_ITAB ,
LGNUM TYPE LGNUM, "Warehouse Number / Warehouse Complex
WERKS TYPE WERKS_D, "Plant
VBELN TYPE VBELN_VA, "Sales Document
VTWEG TYPE VTWEG, "Distribution Channel
KWMENG TYPE KWMENG, "Cumulative order quantity in sales units
TANUM TYPE TANUM , "Transfer Order Number
VISTA TYPE LTAP_VISTA, "Source actual quantity in alternative
unit of measure
LFIMG TYPE LFIMG, "Actual quantity delivered (in sales units)
END OF TY_ITAB .
DATA: T_T320 LIKE STANDARD TABLE OF TY_T320 INITIAL SIZE 0 WITH HEADER
LINE,
T_VBAK LIKE STANDARD TABLE OF TY_VBAK INITIAL SIZE 0 .
DATA: T_LTAK LIKE STANDARD TABLE OF TY_LTAK INITIAL SIZE 0 WITH HEADER
LINE.
DATA :T_LIKP LIKE STANDARD TABLE OF TY_LIKP INITIAL SIZE 0 WITH HEADER
LINE.
DATA:T_ITAB LIKE STANDARD TABLE OF TY_ITAB INITIAL SIZE 0 WITH HEADER
LINE .
*& Fieldcatalog Declaration
DATA : T_FCAT TYPE SLIS_T_FIELDCAT_ALV,
W_FCAT TYPE SLIS_FIELDCAT_ALV.
DATA : W_LAYOUT TYPE SLIS_LAYOUT_ALV.
********Global Data Declaration***
DATA :G_REPID LIKE SY-REPID,
G_EXIT(1) TYPE C,
GX_VARIANT LIKE DISVARIANT,
X_SAVE, "for Parameter I_SAVE
GS_VARIANT TYPE DISVARIANT. "for parameter IS_VARIANT
data: g_lgnum type t320-lgnum,
g_vtweg type vbak-vtweg,
g_erdat type vbak-erdat.
*& Selection-Screen
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS : S_LGNUM FOR g_lgnum, "Warehouse Number
S_VTWEG FOR g_vtweg, "Distribution Channel
S_ERDAT FOR g_erdat ."Date on which the record was
**********"created
SELECTION-SCREEN END OF BLOCK B1 .
SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
PARAMETER: P_VARI LIKE DISVARIANT-VARIANT. "Layout
SELECTION-SCREEN END OF BLOCK B2.
*& INITIALIZATION EVENT
INITIALIZATION.
CLEAR GS_VARIANT.
'gs_variant' must at least contain the report-id to allow
saving a variant.
G_REPID = SY-REPID.
§ 2.At least field REPORT of this structure has to be filled!
GS_VARIANT-REPORT = G_REPID.
§ 3.Determine saving options.
X_SAVE = 'A'. "The user may save all types of variants
*******Validating selection-screen values**********************
getting F4 value for display variant field
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_VARI.
PERFORM F4_FOR_VARIANT.
****validation of F4 value of display variant
AT SELECTION-SCREEN.
PERFORM PAI_OF_SELECTION_SCREEN.
*& Start-Of-Selection
START-OF-SELECTION.
*****Subroutine to select Plant from T320
PERFORM FIND_PLANT .
*****Subroutine to select Order Quantity from VBAP
PERFORM ORDER_QUANTITY .
*****Subroutine to select Transfer Order Quantity from LTAK and LTAP
PERFORM TRANSFER_ORDER_QUANTITY.
*****Subroutine to select TDelivery Quantity from LIKP and LIPS
PERFORM DELIVERY_QUANTITY.
*& End-Of-Selection
END-OF-SELECTION.
*****Subroutine for Fieldcatalog
PERFORM FIELDCATALOG .
*****Subroutine for Final Output
PERFORM DISPLAY_OUTPUT .
*& Subroutine Implementaion
*& Form FIND_PLANT
text
--> p1 text
<-- p2 text
FORM FIND_PLANT .
SELECT WERKS
LGNUM
FROM T320
INTO TABLE T_T320
WHERE LGNUM IN S_LGNUM.
ENDFORM. " FIND_PLANT
*& Form order_quantity
text
--> p1 text
<-- p2 text
FORM ORDER_QUANTITY .
SELECT VK~VBELN
VK~VTWEG
VP~WERKS
VP~KWMENG
VP~VSTEL
INTO TABLE T_VBAK FROM VBAK AS VK
INNER JOIN VBAP AS VP
ON VKVBELN = VPVBELN
FOR ALL ENTRIES IN T_T320
WHERE VK~VTWEG IN S_VTWEG
AND VK~ERDAT IN S_ERDAT
AND VP~WERKS = T_T320-WERKS.
ENDFORM. " order_quantity
*& Form Transfer_order_quantity
text
--> p1 text
<-- p2 text
FORM TRANSFER_ORDER_QUANTITY .
SELECT LK~LGNUM
LK~TANUM
LP~VISTA
INTO TABLE T_LTAK FROM LTAK AS LK
INNER JOIN LTAP AS LP
ON LKLGNUM = LPLGNUM
WHERE LK~KQUIT = 'X'
AND LK~BDATU IN S_ERDAT
AND LK~LGNUM IN S_LGNUM.
ENDFORM. " Transfer_order_quantity
*& Form Delivery_QUANTITY
text
--> p1 text
<-- p2 text
FORM DELIVERY_QUANTITY .
SELECT VBELN WERKS LFIMG FROM LIPS
INTO TABLE T_LIKP
FOR ALL ENTRIES IN T_T320
WHERE WERKS = T_T320-WERKS
AND ERDAT IN S_ERDAT
AND VTWEG IN S_VTWEG.
ENDFORM. " Delivery_QUANTITY
*& Form fieldcatalog
text
--> p1 text
<-- p2 text
FORM FIELDCATALOG .
W_FCAT-COL_POS = '1' .
W_FCAT-FIELDNAME = 'LGNUM' .
W_FCAT-REF_TABNAME = 'T320'.
W_FCAT-REF_FIELDNAME = 'LGNUM' .
APPEND W_FCAT TO T_FCAT.
CLEAR W_FCAT.
W_FCAT-COL_POS = '2' .
W_FCAT-FIELDNAME = 'VTWEG' .
W_FCAT-REF_TABNAME = 'VBAK'.
W_FCAT-REF_FIELDNAME = 'VTWEG' .
APPEND W_FCAT TO T_FCAT.
CLEAR W_FCAT.
W_FCAT-COL_POS = '3' .
W_FCAT-FIELDNAME = 'KWMENG' .
W_FCAT-REF_TABNAME = 'VBAP'.
W_FCAT-REF_FIELDNAME = 'KWMENG' .
*w_fcat-seltext_m = '# of Orders'.
APPEND W_FCAT TO T_FCAT.
CLEAR W_FCAT.
W_FCAT-COL_POS = '4' .
W_FCAT-FIELDNAME = 'VISTA' .
W_FCAT-REF_TABNAME = 'LTAP'.
W_FCAT-REF_FIELDNAME = 'VISTA' .
*w_fcat-seltext_m = '# of Pcs Picked'.
APPEND W_FCAT TO T_FCAT.
CLEAR W_FCAT.
W_FCAT-COL_POS = '5' .
W_FCAT-FIELDNAME = 'LFIMG' .
W_FCAT-REF_TABNAME = 'LIPS'.
W_FCAT-REF_FIELDNAME = 'LFIMG' .
*w_fcat-seltext_m = '# of Pcs Shipped'.
APPEND W_FCAT TO T_FCAT.
CLEAR W_FCAT.
W_FCAT-COL_POS = '6' .
W_FCAT-FIELDNAME = 'TANUM' .
W_FCAT-REF_TABNAME = 'LTAK'.
W_FCAT-REF_FIELDNAME = 'TANUM' .
**w_fcat-seltext_m = '# of Pcs Shipped'.
APPEND W_FCAT TO T_FCAT.
CLEAR W_FCAT.
W_FCAT-COL_POS = '7' .
W_FCAT-FIELDNAME = 'WERKS' .
W_FCAT-REF_TABNAME = 'T320'.
W_FCAT-REF_FIELDNAME = 'WERKS' .
**w_fcat-seltext_m = '# of Pcs Shipped'.
APPEND W_FCAT TO T_FCAT.
CLEAR W_FCAT.
ENDFORM. " fieldcatalog
*& Form display_output
text
--> p1 text
<-- p2 text
FORM DISPLAY_OUTPUT .
LOOP AT T_T320 INTO TY_T320.
TY_ITAB-WERKS = TY_T320-WERKS.
TY_ITAB-LGNUM = TY_T320-LGNUM.
READ TABLE T_VBAK INTO TY_VBAK WITH KEY WERKS = TY_T320-WERKS.
IF SY-SUBRC = 0.
TY_ITAB-VBELN = TY_VBAK-VBELN.
TY_ITAB-VTWEG = TY_VBAK-VTWEG.
TY_ITAB-KWMENG = TY_VBAK-KWMENG + ty_itab-kwmeng.
ENDIF.
READ TABLE T_LTAK INTO TY_LTAK WITH KEY LGNUM = TY_T320-LGNUM.
IF SY-SUBRC = 0.
TY_ITAB-TANUM = TY_LTAK-TANUM.
TY_ITAB-VISTA = TY_LTAK-VISTA + ty_itab-vista.
ENDIF.
READ TABLE T_LIKP INTO TY_LIKP WITH KEY WERKS = TY_T320-WERKS.
IF SY-SUBRC = 0.
TY_ITAB-LFIMG = TY_LIKP-LFIMG + ty_itab-lfimg.
ENDIF.
APPEND TY_ITAB TO T_ITAB.
ENDLOOP.
Function Module for Displaying Final Output ********
W_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-CPROG
IS_LAYOUT = W_LAYOUT
IT_FIELDCAT = T_FCAT[]
TABLES
T_OUTTAB = T_ITAB.
ENDFORM. " display_output
*& Form f4_for_variant
text
--> p1 text
<-- p2 text
FORM F4_FOR_VARIANT .
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
IS_VARIANT = GS_VARIANT
I_SAVE = X_SAVE
IMPORTING
E_EXIT = G_EXIT
ES_VARIANT = GX_VARIANT
EXCEPTIONS
NOT_FOUND = 2.
IF SY-SUBRC = 2.
MESSAGE ID SY-MSGID TYPE 'S' NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
IF G_EXIT = SPACE.
P_VARI = GX_VARIANT-VARIANT.
ENDIF.
ENDIF.
ENDFORM. " f4_for_variant
*& Form pai_of_selection_screen
text
--> p1 text
<-- p2 text
FORM PAI_OF_SELECTION_SCREEN .
IF NOT P_VARI IS INITIAL.
MOVE GS_VARIANT TO GX_VARIANT.
MOVE P_VARI TO GX_VARIANT-VARIANT.
CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
EXPORTING
I_SAVE = X_SAVE
CHANGING
CS_VARIANT = GX_VARIANT.
GS_VARIANT = GX_VARIANT.
ELSE.
PERFORM VARIANT_INIT.
ENDIF.
ENDFORM. " pai_of_selection_screen
*& Form variant_init
text
--> p1 text
<-- p2 text
FORM VARIANT_INIT .
CLEAR GS_VARIANT.
GS_VARIANT-REPORT = G_REPID.
ENDFORM. " variant_init -
Dynamically generating file names for 2 File ( 1: 2 mapping transformation)
Hi ,
I have a scenario Proxy to File(FCC) with 1:2 transformation in message mapping ie 1 sender and 2 receiver interface ....
1 Message mapping
1 Operation mapping
1 RD , 1 ID and 2 file receiver channels and 2 receiver agreements.
I need to dynamically generate the filename say abc.(first 9 characters of mesg id) and xyz.(first 9 characters of mesg id)
I used dynamic configurations with ASMA settings, created 2 UDF assigned each of these to header node of r receiver message types.
Here, I guess the second dynamic configuration is over writing the first dynamic configuration and hence creating only one file with xyz.(first 9 characters of mesg id)
name .
Need your valuable inputs
Thanks and regards,
PavithraAs dynamic configuration doesnot work in case of 1:n mapping what you need to do is
Create a field Filename in your source data structure
Create a1:1 mapping between your source structure and source structure
In that 1:1 mapping on the target structure assign UDF for file name
Now this target structure will be used as a source structure in your next 1:2 mapping
Under operation mapping add first the 1:1 mapping for source and then the multimapping
regards
Ninad -
Dynamic VLAN assignment and Layer 3 switching on 300 series
I have a SG300-28P switch. I just read in the Administration Guide that, when in Layer 3 mode, the switch doesn't support MAC-based VLAN or Dynamic VLAN Assignment.
So, in order to assign a client to a VLAN based on their MAC or based on the response of a RADIUS server, we have to disable layer 3 features. Without layer 3 switching, the switch is unable to act as a default gateway and forward packets between VLANs. As a result, the VLANs can't communicate in any way, or access the internet, unless a separate router is connected to every VLAN. Right?
I'm new to VLAN configuration and layer 3 switching so I wanted to check my understanding. Doesn't this limitation significantly reduce the usefulness of the DVA feature?
I may well be confused and missing something regarding how this is typically used..Hello Glenn,
Your concept about packet forwarding is correct. With a layer 2 switch, there must be something directing traffic with multiple subnets for intervlan communication or something that provides an IP route to give the request a path back for the request.
The usefulness for the DVA feature, is not particularly limited to the switch as the switch will correctly assign the VLAN for you, as VS the L3 switch mode, you're dealing with IP addresses. In any scenario, you're going to require a router to get to the internet since the switch does not support NAT.
Additionally, if you're router does not support VLAN, the L3 switch feature would still be the solution since you should be able to make a static route pointing back to the switch to allow any subnet to traverse the single media. It would still beg the question, how to assign VLAN dynamically.
The answer, although (in my opinion is terrible) would be GVRP. But, this application would require ALL of your network cards to be GVRP Enable / Capable which most likely is not the scenario for you (or most anyone else for that matter). -
Switching Dynamic Channels after HSDIO settings have been committed
Hello. I'm trying to find a way to switch between two dynamic channels in a waveform after the HSDIO waveform is initated.
Would someone point me to an example or reference where I could learn how this is done?
For example:
I have a PXI-6561 in a 1062Q chasssis. I am assigning channels 0-3 as dynamic and using HSDIO write to populate the 4 channels from a waveform.
I need channels 0 and 1 to be un-disrupted and repeating (all channels are the same lenght). Channel 2 is data sent to an IC and channel 3 is used for queing updated data. I'd like to HSDIO write to channel 3 and then, when the write process has completed, I would like to swap channels 3 and 2 before the waveform begins another cycle.
I have tried this by re-calling the Assign Dynamic Channels node. This did not work because Assign Dynamic Channels does not work after the waveform has been initiated.
A very similar question was addressed on this forum at the below link. This did not work for me because the waveform is already commited when I want to make the switch.
http://forums.ni.com/t5/Digital-I-O/HSDIO-Dynamic-Generation-of-Digital-Signals-on-Separate-Non/td-p...
Also, I'm open to suggestions about a better way to accomplish this.
Thank You,
SeanHi Sean,
I have been looking in to your question and I have not been able to find a way to do this without a brief stop to reload the waveform.
The way data is encoded for HSDIO makes switching channels after the data has been committed not possible unfortunately. You could try to use scripting and trigger the waveform to swap the location of the data, but this would have to be done in Windows and the waveform must be reloaded into onboard memory. The script would be small so reloading that is not a huge time sink. The worst of it is having to reload the entire waveform, but this cannot be worked around.
Recommendations to improve performance would be to have a large onboard memory and load as much as you can into it initially to prevent reloading several times. If the first pattern takes 1Mbit of data per channel on one channel, you can load around 60 patterns with the data on different channels, for instance. Then you can create the script to address each pattern by its waveform name.
It is unfortunately the way we have to work with the board at this time. However, this actually would be a great application for an FPGA on one of our FlexRIO modules. You could use this in order to do this task specifically.
Please let me know if you have any questions!
Stephanie S.
Application Engineer
National Instruments -
Dynamic value assignment to a particular column in a vertical ALV
Hi Friends,
In the present program ALV has 44 fields and output row is only one(with some field editable).
My requirement is to change present output to vertical ALV and editable field should be available
as editable.
Now I have changed this to transposed ALV manually(not dynamically) with required fields editable.
Now there is 44 rows and two column "FIELD and "VALUE'.Some values in the second column is editable.
Previously output was like this:
field1 field2 field3 ...
val1 val2 val3 ...
Now output is like:
FIELD VALUE
field1 value1(type INT)
field2 value2(type char5) Editable(need F4 help)
field3 value3(type date)
My present structure declaration is:
types: begin of ty_itab,
field type char 50,
value type char70,
celltab type lvc_t_styl,(for editing some values in VALUE column).
end of ty_itab.
data: itab type standard table of ty_itab.
Now the second column i have declared as CHAR70 which contains only char
values because to put all differt types of values to one single column named
'VALUE'.
But as field1 field2 field3... had differnt type of value like integer char date...I need to validate some values
(specially those which are editable) before saving to custom DB table.
So I need dynamic value assignment to VALUE column when preparing internal table for display.
What I want to say is that VALUE column should be able to contain different type of values like INT, DATE, CHAR...etc
Is the requirement is feasible?
If yes then How should I declare the structure and populate different type of values within single column 'VALUE'.
Also is it possible to have F4 helps in the second column (VALUE)???Hi Manab,
I did something comparable: We have a very complex transaction with several subscreens with multiple fields to be filled with complex logic to create a very special contract. The requirement was to create a method to create a copy of this contract being able to apply some changes.
I created a wizard (transaction SBPT_WIZARD_BUILDER - Wizard-Builder) to accomplish that. I grouped all the fields to just 3 logical groups and thius created 3 stesp where the user gets an ALV as you describe, but we have the rows like FIELD with the new value editable. Additionally I have hidden fields with table name and field name so that I can determine the characteristics (datatype) at run time.
The value fields are just strings (every ALV field is a text field on the surface).
For editable fields, you have an event DATA_CHANGED. I used this method as a handler for the event:
(I will leave out the wizard part here - maybe a good idea for a blog to explain that)
METHOD handle_data_changed.
CALL FUNCTION 'RS_CONV_EX_2_IN'
EXPORTING
input_external = <mod>-value
table_field = ls_tabfield
I also created handlers for F1 and F4
Handler for CL_GUI_ALV_GRID->ONF1
METHOD handle_f1.
CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD'
EXPORTING
called_for_tab = lv_tabname
called_for_field = lv_fieldname
EXCEPTIONS
object_not_found = 1
sapscript_error = 2
OTHERS = 3.
Handler for CL_GUI_ALV_GRID->HANDLE_F4
METHOD handle_f4.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = lv_tabname
fieldname = lv_fieldname
TABLES
return_tab = lt_return_tab
EXCEPTIONS
OTHERS = 5.
er_event_data->m_event_handled = abap_true.
* if er_event_data->m_event_handled is not set to abap_true, system will handle it.
* In this context the message 'Keine Eingabehilfe verfügbar' will be displayed
ENDMETHOD.
This is just an excerpt from my project. It shows that you can do more in ALV as you knew.
I tried to post a little more but the formatting break down, possibly a result of the character limit
Regards,
Clemens
Maybe you are looking for
-
Patch for Dreamweaver CS5 or 6 from Poodle Vulnerability
GoDaddy ran a security patch for Poodle and now Dreamweaver can't connect. FTP over SSL/TLS explicit encryption is used. Is there a patch from Adobe for Dreamweaver?
-
Export Bridge Assets including metadata into searchable web gallery
Hi, We have several thousand images that we have tagged with metadata in Adobe Bridge. We want to be able to export these images and their associated metadata into a searchable web gallery so that customers can search keywords or at the very least pi
-
Nearly all images suddenly turned corrupt - please help me
hello I am working on a very important document, a kind of a final assignment which will help me pass my last year of school. I had about 22 pages done when I had to restart my computer because it suddenly seemed to be getting really slow. After I re
-
How to make a last page in Smart Forms
Hi, I'm using 2 pages in my form, the first one (PAGE1) has a main window and prints out a table. The "next page" goes to PAGE1 since i dont know how many results i get. Then I have a second page (PAGE2) without a main window, that prints out a text-
-
Installation will not accept my serial number to install Adobe 8
I have a Dell XPS M1530, laptop. I installed Adobe Photoshop Elements 8 on my computer in March, and the program worked correctly. I had Windows Vista on my computer. I just did a clean installation of Windows 7 to replace Vista. I cannot reinst