Problem in using the list box
hi,
i have developed a dynamic list box, in html using java script.i have taken two list boxes. the values of second list box depends on the value selected in the first list box. after selection i was moving to the next page,then after i was moving back to original page, then the value of the second list box is changing.so how to retain the value of the second list box.
Help ASAP,
thank you,bbye
Either store it in the session scope, or pass it as a (hidden?) parameter along the request.
Similar Messages
-
Problem in using the List of Values(LOV)
We created a folder 'Testing FCG' in the Business View Manager.
1) In this we created a new connection of TCD371 Database ( conn) ,
2) We created a new Data Foundation(DF) using the existing connection and we added table 'cdhpmember' in the DF
3) We created a new business element(BE) using DF and we added the column like Firstname,Groupkey and Gendercode
4) We created a Business View (BV) using DE and we added DE to the BV
5) We created a LOV(Memkey) using BV and we selected memberkey field
6) We tried to implement the memberkey field into crystal report as a dynamic parameter
7) When we try to run the report we got the error like this
Promting failed with the following error message: 'List of Values failure: failed to get values. [Cause of error:CSELOVDataSource::setReportInstanceCUID The List of Values did not schedule sucessfully and must be re-scheduled.]'.
Error source : prompt.dll Error code: 0x8004380D
Could any of you give your input on this error?Either store it in the session scope, or pass it as a (hidden?) parameter along the request.
-
I wish to reinstall Adobe Creative Suite 6 Design Standard on a replacement PC using the original box CD and Serial Number. Website says SN is valid but cannot find corresponding Adobe product. My product is not on the drop down list offered. What do I do next?
Contact support by web chat.
Mylenium -
To provide the list box for field
hi experts
my problem is in me53n screen.in that screen i have to provide the list box for the screen field 'requisitioner'.ple tell me whats the way to provide the list box for the field.Hi ,
Use FM VRM_SET_VALUES
which has a table of key and values .
and import parameter for fieldname where listbox has to be provided.
below is the code.
form fill_list_box .
data : s_listbox type vrm_value .
data : t_listbox type standard table of vrm_value initial size 0 .
s_listbox-key = '1' .
s_listbox-text = 'Class/Interface' .
append s_listbox to t_listbox .
s_listbox-key = '2' .
s_listbox-text = 'Description' .
append s_listbox to t_listbox .
s_listbox-key = '3' .
s_listbox-text = 'Method' .
append s_listbox to t_listbox .
g_vrm_id = 'ZCW_LIST-T1' .
*loop at t_listbox into s_listbox .
set parameter id 'AUN' field space.
call function 'VRM_SET_VALUES'
exporting
id = g_vrm_id
values = t_listbox
exceptions
id_illegal_name = 1
others = 2.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endform. " fill_list_box -
What is the data type of the value returned by the List box prompt in crystal
Post Author: Mudit Kothiyal
CA Forum: Formula
Hi all,
I am creating a report which has a list box prompt. When I am selecting a single value from the list box the report is working fine, but when I am selecting multiple values its not returning any data( although data is there). Does anyone know how the prompt values are passed to the report query by the crystal. I kno it passes the value to the report as an array. But how does it pass the value to the report query.
I am using command query to fetch data from the DB.
Crystal Report Version: Crystal Report XI R2.
DB: Oracle 10g
Also does anyone know how to pass the values of the list box prompt to the report query in comma seperated format.
Thanks & regards,
MuditPost Author: rcoleman
CA Forum: Formula
In regards to the latter part of your question
The following examples are applicable to Basic and Crystal syntax.
The examples assume that list is a String array consisting of the 3 elements: "Chocolate", "Vanilla" and "Strawberry".
Join (list)
Returns the String "Chocolate Vanilla Strawberry".
Join (list, "***")
Returns the String "Chocolate**Vanilla**Strawberry".
Not sure about the first part of your question,sorry. -
Safari crashes when using the dialog box to import/save files, in facebook under windows 7
I've encountered the following errors in some PCs, running Safari 5.1.7 in MS-Windows 7 Pro:
Safari crashes when using the dialog box to import/save files. One doesn't have to actually upload or download any file, the mere invocation of the relevant dialog box brings down all open Safari windows after a couple of seconds.
Errors displayed in the Event Log are:
Όνομα ελαττωματικής εφαρμογής Safari.exe, έκδοση 5.34.57.2, χρονική σήμανση 0x4f982b5e
Όνομα ελαττωματικής λειτουργικής μονάδας CoreGraphics.dll, έκδοση 1.87.0.0, χρονική σήμανση 0x4f9739a0
Κωδικός εξαίρεσης: 0x40000015
Μετατόπιση σφάλματος: 0x0013a762
Αναγνωριστικό ελαττωματικής διεργασίας: 0x17f4
Χρόνος έναρξης ελαττωματικής εφαρμογής: 0x01cded6b09576023
Διαδρομή ελαττωματικής εφαρμογής: C:\Program Files\Safari\Safari.exe
Διαδρομή ελλατωματικής λειτουργικής μονάδας:C:\Program Files\Safari\Apple Application Support\CoreGraphics.dll
Αναγνωριστικό αναφοράς:ebe64ac9-595e-11e2-a977-0016356671d1
System
Provider
[ Name]
Application Error
EventID
1000
[ Qualifiers]
0
Level
2
Task
100
Keywords
0x80000000000000
TimeCreated
[ SystemTime]
2013-01-08T06:45:00.000000000Z
EventRecordID
95609
Channel
Application
Computer
computername
Security
EventData
Safari.exe
5.34.57.2
4f982b5e
CoreGraphics.dll
1.87.0.0
4f9739a0
40000015
0013a762
17f4
01cded6b09576023
C:\Program Files\Safari\Safari.exe
C:\Program Files\Safari\Apple Application Support\CoreGraphics.dll
ebe64ac9-595e-11e2-a977-0016356671d1
and
Ελαττωματικός κάδος (bucket) 2970527469, τύπος 1
Όνομα συμβάντος: APPCRASH
Απόκριση: Δεν υπάρχει
Αναγνωριστικό Cab: 0
Υπογραφή προβλήματος:
P1: Safari.exe
P2: 5.34.57.2
P3: 4f982b5e
P4: CoreGraphics.dll
P5: 1.87.0.0
P6: 4f9739a0
P7: 40000015
P8: 0013a762
P9:
P10:
Συνημμένα αρχεία:
C:\Users\username\AppData\Local\Temp\WER51A.tmp.WERInternalMetadata.xml
Αυτά τα αρχεία μπορεί να είναι διαθέσιμα εδώ:
C:\Users\username\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_Saf ari.exe_e273f639ef3d86d52c9d8e15dd2b42dce3e78061_1f86213d
Σύμβολο ανάλυσης:
Επανέλεγχος για λύση: 0
Αναγνωριστικό αναφοράς: ebe64ac9-595e-11e2-a977-0016356671d1
Κατάσταση αναφοράς: 0
+
System
Provider
[ Name]
Windows Error Reporting
EventID
1001
[ Qualifiers]
0
Level
4
Task
0
Keywords
0x80000000000000
TimeCreated
[ SystemTime]
2013-01-08T06:45:10.000000000Z
EventRecordID
95610
Channel
Application
Computer
computername
Security
EventData
2970527469
1
APPCRASH
Δεν υπάρχει
0
Safari.exe
5.34.57.2
4f982b5e
CoreGraphics.dll
1.87.0.0
4f9739a0
40000015
0013a762
C:\Users\username\AppData\Local\Temp\WER51A.tmp.WERInternalMetadata.xml
C:\Users\username\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_Saf ari.exe_e273f639ef3d86d52c9d8e15dd2b42dce3e78061_1f86213d
0
ebe64ac9-595e-11e2-a977-0016356671d1
0
I have tried in-installing safari but it seems not to help. I have tried installing it to a third, newly installed pc and come to the same result.
All PCs are fully up-to-date as it regards Microsoft and Apple patches. Any ideas as to why this might happen?Still having the same problem. Ever the optimist, I submit the following info.
Error window screenshot can be found here: https://dl.dropboxusercontent.com/u/22465174/safari/safari_fail_01.JPG
Enent log entry can be found here: https://dl.dropboxusercontent.com/u/22465174/safari/safari_fail_02.txt
Version info can be found here: https://dl.dropboxusercontent.com/u/22465174/safari/safari_fail_03.JPG -
How to edit the list box items in labwindow/​CVI?
how to edit the list box items in labwindow/CVI?
Listbox items cannot be edited directly in the control: what you can do is to select a line an, transfer its content to a textbox control, edit text there and move text back to the listbox control. Available interactions with the listbox control are listed in the help.
An alternative to it is to use a tree customized to appear like a listbox: tree item labels can be edited directly in the control, at least those in the base column of the tree. You can look at the example \samples\userint\treelist.cws that shows how a tree can be customized this way. I haven't opened it, but this old example too should show the ability to edit tree cells.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos? -
How to use dynamic list box in survey builder?
Hello,
Could someone give me a little bit of thread? How to use dynamic list box in survey builder?Hi Liu,
Dynamic combo boxes::A combo box is dynamic if it references a document property for which a value set is defined in the configuration (System Administration ® System Configuration ® Content Management ® Global Services ® Property Metadata ® Properties ® Parameter Allowed Values).
At runtime (when you open the creation form) the system reads these values from the configuration and displays them in the dropdown list.
If you link a combo box for which list entries already exist to a document property with a value set, the system asks whether you want to delete the list entries. it is recommend that you accept this suggestion and delete the list entries from the XML Forms Builder. Otherwise inconsistencies could arise between the entries in the XML Forms Builder and the value set in the configuration. This can cause errors when saving.
Also you may Refer the Link for Further help:
http://help.sap.com/saphelp_crm50/helpdata/en/29/c40d3d2a83752de10000000a114084/frameset.htm
http://help.sap.com/saphelp_crm50/helpdata/en/00/9e7f41969e1809e10000000a155106/frameset.htm
http://help.sap.com/saphelp_crm50/helpdata/en/a7/5a874174a8050de10000000a1550b0/frameset.htm
Hope it Answers your Queries..
Thanks and Regards,
RK. -
Event for the List Box in ALV Grid Control
Hello,
I have the below urgent requirment.
I have an ALV Grid Control built using ABAP Objects. In the grid, I have few fields and one of these fields is a List Box. Depending on the values selected, I need to enable or disable some fields. So, is there any event for the List box in ALV Grid Control.
For ex: I have 2 Fields, Designation and Commission. The designation field is a List Box field having 'Software Engineer' and 'Manager' as values. When I select 'Software Engineer', the commission field should be disabled. When I select 'Manager', the comission field should be enabled.
Early reply is hightly appreciated.
PriyaREPORT ZTEST1234 MESSAGE-ID ZZ .
DATA: G_GRID TYPE REF TO CL_GUI_ALV_GRID.
DATA: L_VALID TYPE C,
V_FLAG,
V_DATA_CHANGE,
V_ROW TYPE LVC_S_ROW,
V_COLUMN TYPE LVC_S_COL,
V_ROW_NUM TYPE LVC_S_ROID.
DATA: OK_CODE LIKE SY-UCOMM,
SAVE_OK LIKE SY-UCOMM,
G_CONTAINER1 TYPE SCRFNAME VALUE 'TEST',
GS_LAYOUT TYPE LVC_S_LAYO.
DATA:BEGIN OF ITAB OCCURS 0,
VBELN LIKE LIKP-VBELN,
POSNR LIKE LIPS-POSNR,
COMISN(10),
CELLCOLOR TYPE LVC_T_SCOL, "required for color
DROP(20),
<b> HANDLE_STYLE TYPE LVC_T_STYL,</b>
END OF ITAB.
* CLASS lcl_event_handler DEFINITION
CLASS LCL_EVENT_HANDLER DEFINITION .
PUBLIC SECTION .
METHODS:
**Hot spot Handler
HANDLE_HOTSPOT_CLICK FOR EVENT HOTSPOT_CLICK OF CL_GUI_ALV_GRID
IMPORTING E_ROW_ID E_COLUMN_ID ES_ROW_NO,
<b>**Handler to Check the Data Change
HANDLE_DATA_CHANGED FOR EVENT DATA_CHANGED
OF CL_GUI_ALV_GRID
IMPORTING ER_DATA_CHANGED
E_ONF4
E_ONF4_BEFORE
E_ONF4_AFTER,</b>
**Double Click Handler
HANDLE_DOUBLE_CLICK FOR EVENT DOUBLE_CLICK OF CL_GUI_ALV_GRID
IMPORTING E_ROW E_COLUMN ES_ROW_NO.
ENDCLASS. "lcl_event_handler DEFINITION
* CLASS lcl_event_handler IMPLEMENTATION
CLASS LCL_EVENT_HANDLER IMPLEMENTATION.
*Handle Hotspot Click
METHOD HANDLE_HOTSPOT_CLICK .
CLEAR: V_ROW,V_COLUMN,V_ROW_NUM.
V_ROW = E_ROW_ID.
V_COLUMN = E_COLUMN_ID.
V_ROW_NUM = ES_ROW_NO.
MESSAGE I000 WITH V_ROW 'clicked'.
ENDMETHOD. "lcl_event_handler
*Handle Double Click
METHOD HANDLE_DOUBLE_CLICK.
ENDMETHOD. "handle_double_click
<b>**Handle Data Change
METHOD HANDLE_DATA_CHANGED.
DATA: X_CHANGE TYPE LVC_S_MODI,
X_FINAL TYPE ITAB,
L_FLAG,
LS_OUTTAB LIKE LINE OF ITAB.
DATA: LS_EDIT TYPE LVC_S_STYL,
LT_EDIT TYPE LVC_T_STYL.
LOOP AT ER_DATA_CHANGED->MT_GOOD_CELLS INTO X_CHANGE.
IF X_CHANGE-FIELDNAME = 'DROP' AND X_CHANGE-VALUE = 'S/W ENGINEER'.
LS_EDIT-FIELDNAME = 'COMISN'.
LS_EDIT-STYLE = CL_GUI_ALV_GRID=>MC_STYLE_DISABLED.
LS_EDIT-STYLE2 = SPACE.
LS_EDIT-STYLE3 = SPACE.
LS_EDIT-STYLE4 = SPACE.
LS_EDIT-MAXLEN = 8.
INSERT LS_EDIT INTO TABLE LT_EDIT.
INSERT LINES OF LT_EDIT INTO TABLE LS_OUTTAB-HANDLE_STYLE.
MODIFY ITAB INDEX X_CHANGE-ROW_ID FROM LS_OUTTAB TRANSPORTING
HANDLE_STYLE .
else.
LS_EDIT-FIELDNAME = 'COMISN'.
LS_EDIT-STYLE = CL_GUI_ALV_GRID=>MC_STYLE_ENABLED.
LS_EDIT-STYLE2 = SPACE.
LS_EDIT-STYLE3 = SPACE.
LS_EDIT-STYLE4 = SPACE.
LS_EDIT-MAXLEN = 8.
INSERT LS_EDIT INTO TABLE LT_EDIT.
INSERT LINES OF LT_EDIT INTO TABLE LS_OUTTAB-HANDLE_STYLE.
MODIFY ITAB INDEX X_CHANGE-ROW_ID FROM LS_OUTTAB TRANSPORTING
HANDLE_STYLE .
ENDIF.
ENDLOOP.
CALL METHOD G_GRID->REFRESH_TABLE_DISPLAY
EXCEPTIONS
FINISHED = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDMETHOD. "HANDLE_DATA_CHANGED</b>
ENDCLASS. "LCL_EVENT_HANDLER IMPLEMENTATION
*& Global Definitions
DATA: G_CUSTOM_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,"Container1
G_HANDLER TYPE REF TO LCL_EVENT_HANDLER. "handler
*- Fieldcatalog for First and second Report
DATA: IT_FIELDCAT TYPE LVC_T_FCAT,
X_FIELDCAT TYPE LVC_S_FCAT,
LS_VARI TYPE DISVARIANT.
* START-OF_SELECTION
START-OF-SELECTION.
SELECT VBELN
POSNR
FROM LIPS
UP TO 20 ROWS
INTO CORRESPONDING FIELDS OF TABLE ITAB.
END-OF-SELECTION.
IF NOT ITAB[] IS INITIAL.
CALL SCREEN 100.
ELSE.
MESSAGE I002 WITH 'NO DATA FOR THE SELECTION'(004).
ENDIF.
*& Form CREATE_AND_INIT_ALV
* text
FORM CREATE_AND_INIT_ALV .
DATA: LT_EXCLUDE TYPE UI_FUNCTIONS.
CREATE OBJECT G_CUSTOM_CONTAINER
EXPORTING CONTAINER_NAME = G_CONTAINER1.
CREATE OBJECT G_GRID
EXPORTING I_PARENT = G_CUSTOM_CONTAINER.
* Set a titlebar for the grid control
CLEAR GS_LAYOUT.
GS_LAYOUT-GRID_TITLE = TEXT-003.
<b>GS_LAYOUT-STYLEFNAME = 'HANDLE_STYLE'.</b>
GS_LAYOUT-ZEBRA = SPACE.
GS_LAYOUT-CWIDTH_OPT = 'X'.
GS_LAYOUT-NO_ROWMARK = 'X'.
GS_LAYOUT-CTAB_FNAME = 'CELLCOLOR'.
<b> CALL METHOD G_GRID->REGISTER_EDIT_EVENT
EXPORTING
I_EVENT_ID = CL_GUI_ALV_GRID=>MC_EVT_MODIFIED.</b>
CREATE OBJECT G_HANDLER.
SET HANDLER G_HANDLER->HANDLE_DOUBLE_CLICK FOR G_GRID.
SET HANDLER G_HANDLER->HANDLE_HOTSPOT_CLICK FOR G_GRID.
<b> SET HANDLER G_HANDLER->HANDLE_DATA_CHANGED FOR G_GRID.</b>
DATA: LS_CELLCOLOR TYPE LVC_S_SCOL. "required for color
DATA: L_INDEX TYPE SY-TABIX.
"Here i am changing the color of line 1,5,10...
"so you can change the color of font conditionally
LOOP AT ITAB.
L_INDEX = SY-TABIX.
IF L_INDEX = 1 OR L_INDEX = 5 OR L_INDEX = 10.
LS_CELLCOLOR-FNAME = 'VBELN'.
LS_CELLCOLOR-COLOR-COL = '6'.
LS_CELLCOLOR-COLOR-INT = '0'.
LS_CELLCOLOR-COLOR-INV = '1'.
APPEND LS_CELLCOLOR TO ITAB-CELLCOLOR.
MODIFY ITAB INDEX L_INDEX TRANSPORTING CELLCOLOR.
LS_CELLCOLOR-FNAME = 'POSNR'.
LS_CELLCOLOR-COLOR-COL = '6'.
LS_CELLCOLOR-COLOR-INT = '0'.
LS_CELLCOLOR-COLOR-INV = '1'.
APPEND LS_CELLCOLOR TO ITAB-CELLCOLOR.
MODIFY ITAB INDEX L_INDEX TRANSPORTING CELLCOLOR.
ENDIF.
ENDLOOP.
* setting focus for created grid control
CALL METHOD CL_GUI_CONTROL=>SET_FOCUS
EXPORTING
CONTROL = G_GRID.
* Build fieldcat and set editable for date and reason code
* edit enabled. Assign a handle for the dropdown listbox.
PERFORM BUILD_FIELDCAT.
PERFORM SET_DRDN_TABLE.
* Optionally restrict generic functions to 'change only'.
* (The user shall not be able to add new lines).
PERFORM EXCLUDE_TB_FUNCTIONS CHANGING LT_EXCLUDE.
**Vaiant to save the layout
LS_VARI-REPORT = SY-REPID.
LS_VARI-HANDLE = SPACE.
LS_VARI-LOG_GROUP = SPACE.
LS_VARI-USERNAME = SPACE.
LS_VARI-VARIANT = SPACE.
LS_VARI-TEXT = SPACE.
LS_VARI-DEPENDVARS = SPACE.
CALL METHOD G_GRID->REGISTER_EDIT_EVENT
EXPORTING
I_EVENT_ID = CL_GUI_ALV_GRID=>MC_EVT_MODIFIED.
**Calling the Method for ALV output
CALL METHOD G_GRID->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
IT_TOOLBAR_EXCLUDING = LT_EXCLUDE
IS_VARIANT = LS_VARI
IS_LAYOUT = GS_LAYOUT
I_SAVE = 'A'
CHANGING
IT_FIELDCATALOG = IT_FIELDCAT
IT_OUTTAB = ITAB[].
* Set editable cells to ready for input initially
CALL METHOD G_GRID->SET_READY_FOR_INPUT
EXPORTING
I_READY_FOR_INPUT = 1.
ENDFORM. "CREATE_AND_INIT_ALV
*& Form EXCLUDE_TB_FUNCTIONS
* text
* -->PT_EXCLUDE text
FORM EXCLUDE_TB_FUNCTIONS CHANGING PT_EXCLUDE TYPE UI_FUNCTIONS.
* Only allow to change data not to create new entries (exclude
* generic functions).
DATA LS_EXCLUDE TYPE UI_FUNC.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_COPY_ROW.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_DELETE_ROW.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_APPEND_ROW.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_INSERT_ROW.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_MOVE_ROW.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_COPY.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_CUT.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_PASTE.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_PASTE_NEW_ROW.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_UNDO.
APPEND LS_EXCLUDE TO PT_EXCLUDE.
ENDFORM. " EXCLUDE_TB_FUNCTIONS
*& Form build_fieldcat
* Fieldcatalog
FORM BUILD_FIELDCAT .
DATA: L_POS TYPE I.
L_POS = L_POS + 1.
X_FIELDCAT-SCRTEXT_M = 'Delivery'(024).
X_FIELDCAT-FIELDNAME = 'VBELN'.
X_FIELDCAT-TABNAME = 'ITAB'.
X_FIELDCAT-COL_POS = L_POS.
X_FIELDCAT-NO_ZERO = 'X'.
X_FIELDCAT-OUTPUTLEN = '10'.
X_FIELDCAT-HOTSPOT = 'X'.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
L_POS = L_POS + 1.
X_FIELDCAT-SCRTEXT_M = 'Item'(025).
X_FIELDCAT-FIELDNAME = 'POSNR'.
X_FIELDCAT-TABNAME = 'ITAB'.
X_FIELDCAT-COL_POS = L_POS.
X_FIELDCAT-OUTPUTLEN = '5'.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
L_POS = L_POS + 1.
X_FIELDCAT-SCRTEXT_M = 'Drop'(025).
X_FIELDCAT-FIELDNAME = 'DROP'.
X_FIELDCAT-TABNAME = 'ITAB'.
X_FIELDCAT-COL_POS = L_POS.
X_FIELDCAT-OUTPUTLEN = '5'.
X_FIELDCAT-EDIT = 'X'.
X_FIELDCAT-DRDN_HNDL = '1'.
X_FIELDCAT-DRDN_ALIAS = 'X'.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
L_POS = L_POS + 1.
X_FIELDCAT-SCRTEXT_M = 'Comissn'(025).
X_FIELDCAT-FIELDNAME = 'COMISN'.
X_FIELDCAT-TABNAME = 'ITAB'.
X_FIELDCAT-COL_POS = L_POS.
X_FIELDCAT-OUTPUTLEN = '10'.
X_FIELDCAT-EDIT = 'X'.
APPEND X_FIELDCAT TO IT_FIELDCAT.
CLEAR X_FIELDCAT.
ENDFORM. " build_fieldcat
*& Module STATUS_0100 OUTPUT
* text
MODULE STATUS_0100 OUTPUT.
SET PF-STATUS 'MAIN100'.
SET TITLEBAR 'MAIN100'.
IF G_CUSTOM_CONTAINER IS INITIAL.
**Initializing the grid and calling the fm to Display the O/P
PERFORM CREATE_AND_INIT_ALV.
ENDIF.
ENDMODULE. " STATUS_0100 OUTPUT
*& Module USER_COMMAND_0100 INPUT
* text
MODULE USER_COMMAND_0100 INPUT.
CASE SY-UCOMM.
WHEN 'BACK'.
LEAVE TO SCREEN 0.
ENDCASE.
ENDMODULE. " USER_COMMAND_0100 INPUT
*& Form SET_DRDN_TABLE
* text
FORM SET_DRDN_TABLE.
DATA:LT_DRAL TYPE LVC_T_DRAL,
LS_DRAL TYPE LVC_S_DRAL.
LS_DRAL-HANDLE = '1'.
LS_DRAL-VALUE = 'S/W Engineer'.
LS_DRAL-INT_VALUE = 'S/W Engineer'.
APPEND LS_DRAL TO LT_DRAL.
LS_DRAL-HANDLE = '1'.
LS_DRAL-VALUE = 'Manager'.
LS_DRAL-INT_VALUE = 'Manager'.
APPEND LS_DRAL TO LT_DRAL.
**Setting the Drop down table for Reason Code
CALL METHOD G_GRID->SET_DROP_DOWN_TABLE
EXPORTING
IT_DROP_DOWN_ALIAS = LT_DRAL.
ENDFORM. " set_drdn_table
Regards
vijay -
How to move up the List Box for para. values in the "Edit Values" window?
Hi,
I am using Crystal Reprots 11.
I create 10 subreports, and each subreport contains a Parameters Field.
The 10 subreports are put in 10 footer sections in increasing order, i.e. subreport1, subreport2, subreport3, ..., subreport10.
When I use "Print Preview" to take a look at the whole report, CR prompts a "Edit Values" window for selecting parameter values.
Maybe because I created subreport3 & subreport4 after I completed other subreports, the List Box with the values required to select for subreport3 & subreport4 were located at the bottom of the "Edit Values" window.
How to move List Box with the values required to select for subreport3 & subreport4 up to the proper location (based on the order of subreports) in the "Edit Values" window?
Thank you in adavance.Hi,
Yes, that is true. The subreport parameters are prompted in the order you insert the subreport.
The only way to fix this is to save subreports from 5 through 10 (Right-click subreport > select Save Subreport as) first.
So, now all you have is Subreports 1, 2 and 3. Go ahead and add the Subreports from 5 to 10 in order and the prompts should be in order too.
-Abhilash -
HI EVERY BODY ,
I HAVE TWO VALUES WITH ME AND I HAVE TO POPULATE IT IN TO THE LIST BOX AS SELECTED AND SHOW THE OTHER AS UNSELECTED .
VALUES LIKE MON,TUE .
<SELECT MULITPLE>
<OPTION VALUE="MON">MONDAY</OPTION>
<SELECT MULITPLE>
<OPTION VALUE="TUE">TUESDAY</OPTION>
<SELECT MULITPLE>
<OPTION VALUE="WED">WEDNESDAY</OPTION>
<SELECT MULITPLE>
<OPTION VALUE="THUS">THURDAYDAY</OPTION>
</SELECT>ya sorry thats rite. But the thing is i have two values in a String tokenizer like (mon,Tue) for example .
if you have a for loop to that select multiple
like
<select multiple>
<%
if(token.hasMoreElement())
String val=token.nextElement();
%>
<option value="mon" <%if(val.equalIgnoreCase("Mon")}{%> selected="selected" <%}%> ></option>
<option value="tue" <%if(val.equalIgnoreCase("tue")}{%> selected="selected" <%}%> ></option>
<option value="wed" <%if(val.equalIgnoreCase("wed")}{%> selected="selected" <%}%> ></option>
<option <%if(val.equalIgnoreCase("Mon")}{%> selected="selected" <%}%> ></option>
<%}%>
</select>
Here if the value that i have get selected is two in the list then the loop will go twice and so the list viewed twice with each selected value .
Thats the problem i am facing here . -
How often do you use the List bar to Navigate
Hi Ppl,
I'm trying to build a custom sequence editor. In the Sequence Editor while the executions are run the sequence file view tab is open. So most of the time I use the tab's to navigate between sequence view and execution view. However in the full featured UI the sequence view is not visible while executing. So we have to navigate using the list bar.
I wanted to know will it be better to implement the way sequence editor displays the sequence view while executing. I can use a combo box to navigate to various sequence files and executions within the respective views. How often you guys use the list bar to navigate ?
Thanks
Message Edited by lordsathish on 02-09-2010 12:15 AMaltenbach wrote:
I use it once in a while. It definitly should not disappear.
Of course I have no idea what "isn't so great" means. Relative to what?
Is it worse than the current user search?
Is it better that the current user search but not as improved as the new forum search?
Is it just different?
Are the user search results better, but the interface is harder to use?
One thing could be improved. There should be a way to sort partial matches by the number of posts so inactive members don't clutter the first dozen pages of the search result. For example, if I search for "Dennis", I want him on top of that huge list. (many, many pages!)
If I search for "Dennis K" I still want partial matches, but currently there is no result if I do that. (Why does "Dennis" return many matches while "Dennis K" returns nothing (!!?), and "Dennis Knutson" again works????)
To answer your questions as best I can, the new user search is just different. The way that it presents information is different (you can check out Lithium's community to see what I mean). When I do a search, the user I expect to show up first does not necessarily show up first - in that way, it's about the same as your Dennis example. I think the current search works better for me because as an Admin I get the ability to search more fields.
On the plus side, you get the option to sort the user results by Login name (alphabetically), rank, posts, or registration date, all which could help you with finding Dennis.
So to summarize, I think the actual results will be similar with some added sort functionality. The user interface is very different, in more of a grid view as opposed to a list. I don't know that I would classify it as better or worse. That's a great wishy-washy answer, right?
Thanks,
Laura -
Resizing in Illustrator CC using the Bounding Box is no longer accurate. What happened?
In Illustrator CC, resizing an object using the bounding box is no longer accurate. Snapping to other objects or the grid or anything is completely wrong and, worse, inconsistent. Here is a single box being resized 3 times to the same object. Each time, it becomes a different size.
I used the center-left handle to resize the black box, snapping it to the right edge of the red box. You can see that, each time, it "snaps" to the edge incorrectly. My 80 pt box becomes 78.479 pt, then 79.295 pt, then 79.518 pt.
This is totally unacceptable, obviously. I'm not sure what the point of guides are if they aren't actually guiding. Does anyone have a fix for this?Ethan,
Did you reinstall after updating to Yosemite? I believe the right order/way is to update the OS first, then reinstall the applications, see 6) below.
Or you may have a look at the list since something is obviously wrong.
The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
1) Close down Illy and open again;
2) Restart the computer (you may do that up to 3 times);
3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
Even more seriously, you may:
6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
http://www.adobe.com/support/contact/cscleanertool.html -
How to use the Combo Box In MAtrix Colums
HI Experts,
Good Mornong.How to use the Combo Box In MAtrix Colums?
Regards And Thanks,
M.Thippa Reddyhi,
loading data in to the combobox on form load.but, it should be done when atleast one row is active.
the values what ever you are inserting in to combo should be less than or eqhal to 100 or 150.if it exceeds beyond that performance issue arises.it takes more time to load all the data.so, it is better to have 100 or less.
oMatrix.AddRow()
RS = Nothing
RS = ocompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
RS.DoQuery("select ItemCode,ItemName from oitm")
oCombo = oMatrix.Columns.Item("ColumnUID").Cells.Item(oMatrix.RowCount).Specific
For i = 1 To RS.RecordCount
If RS.EoF = False Then
oCombo.ValidValues.Add(RS.Fields.Item("ItemCode").Value,RS.Fields.Item("ItemName").Value)
RS.MoveNext()
End If
Next
the above code is inserting data from database to column combobox.
you can fill combo directly also as shown below.
oCombo.ValidValues.Add("x","1")
oCombo.ValidValues.Add("y","2")
oCombo.ValidValues.Add("z","3")
oCombo.ValidValues.Add("","")
and what ever the values you are filling into combo should be unique.other wise it shows valid value exists.
regards,
varma -
OK so I just made a wireless network and using the apple box or whatever. And I want to change the network name. How do I do that?
Just want to confirm that I am also having this issue, The connection is fine, and it is in fact charging (@ 100%)
Everything Rick has said is like an echo to what is happening to me.
I have tried re-installing iTunes, and restarting the Bonjour service, sadly there is no change.
earlier before i updated iTunes it recognised my iPod but said that I had to update iTunes in order for it to work.
So i updated iTunes but now it's not even showing the device anywhere.
In case this helps:
OS: Windows 8.1
iTunes version: 11.3.1.8
Device: 5th generation iPod touch 16GB with ios 7
Maybe you are looking for
-
Hi All, First ever post on here but I feel that my options are slowly running out. I've just bought a second hand iPod Touch 32GB 4th Gen. It was reset to factory settings meaning that that software was 4.3.5 As soon as I plug it into iTunes it asks
-
Wild Card as key field value in Content Conversion
Hi, Can any one please tell me that can a wild card such as '*' be used as key field value. Thnx, Pravesh Puria.
-
i have one master and one detail block on the form and there is relationship created on the join field on the form ... the requirement is that for some cases user may enter master as well as detail data but in some cases user may enter data only in m
-
1) Is it possible to create SWF which content would be reachable for Google search engine(robot)? I can use Meta Keywords in my HTML page of course. But there is not enough space for all the information, and if I, for example, have a news archive in
-
Document numbering series for add-ons
At the start of each year, we want to restart the document numbering series for add-on forms along with SAP forms, starting from '1.' However, we are able to define new series in the document numbering series form for add-ons also, but this does not