How to make a column as Password field?
Hi,
I need to change the column as "Password" field.
I.e. the data should be shown as "******" in DB Also.
How to make this happen in Table column?
Kindly guide / help me on this.
Thanks,
Orahar.
Orahar wrote:
Dear Kumaran,
Thanks.
Can you explain me about the view which I need to create to displays the column value as stars ("*****")?
Thanks,
Orahar.
SQL> create table tbl_test (id number, name varchar2(10));
Table created.
SQL> insert into tbl_test values(111,'test');
1 row created.
SQL> select * from tbl_test;
ID NAME
111 test
SQL> create or replace view vw_test as
2 select '*****' id, name from tbl_test;
View created.
SQL> select * from vw_test;
ID NAME
***** test
SQL> insert into tbl_test values(2,'test2');
1 row created.
SQL> select * from vw_test;
ID NAME
***** test
***** test2
SQL>
Similar Messages
-
How to make the column red in field catalog if its value is negetive
i am displaying 25 columns in a field catalog ,
if the value of the cell is negative it should appear in red colour .
for ex,
mat.no custno value
1 10 10
<b>2 20 -10</b>
3 30 20
note:
only cell which is the intersection of second row and third column
should appear red .
not the whole row or columnHi Balaji,
Run this code for coloring specific coloum in a row when the value of that column is negative
REPORT zex34 .
TYPE-POOLS: slis.
INCLUDE <icon>.
DATA: it_fieldcat TYPE slis_t_fieldcat_alv,
it_fieldcat1 TYPE slis_t_fieldcat_alv..
DATA: x_fieldcat TYPE slis_fieldcat_alv,
x_fieldcat1 TYPE slis_fieldcat_alv.
DATA: it_events TYPE slis_t_event,
x_events TYPE slis_alv_event,
i_program LIKE sy-repid.
x_events-name = 'END_OF_LIST'.
x_events-form = 'LIST_MODIFY_OUPUT'.
APPEND x_events TO it_events.
data : count type i,
calc1 type i value 1,
calc2 type i value 1,
TOTREC TYPE I.
DATA: BEGIN OF it_mara OCCURS 0,
matnr LIKE mara-matnr,
kunnr LIKE mara-kunnr,
value type i,
flag(1),
END OF it_mara.
SELECT matnr
kunnr
UP TO 10 ROWS
INTO corresponding fields of TABLE it_mara
FROM mara.
loop at it_mara.
count = sy-tabix mod 2.
if count eq 0.
it_mara-value = calc1.
calc1 = calc1 + 6.
it_mara-flag = ' '.
else.
calc2 = calc2 - 5.
it_mara-value = calc2.
it_mara-flag = 'X'.
endif.
modify it_mara index sy-tabix.
TOTREC = TOTREC + 1.
ENDLOOP.
i_program = sy-repid.
DATA:l_pos TYPE i VALUE 1.
CLEAR: l_pos.
l_pos = l_pos + 1.
x_fieldcat-seltext_m = 'MATNR'.
x_fieldcat-fieldname = 'MATNR'.
x_fieldcat-tabname = 'IT_MARA'.
x_fieldcat-col_pos = l_pos.
x_fieldcat-outputlen = '18'.
APPEND x_fieldcat TO it_fieldcat.
CLEAR x_fieldcat.
l_pos = l_pos + 1.
x_fieldcat-seltext_m = 'KUNNR'.
x_fieldcat-fieldname = 'KUNNR'.
x_fieldcat-tabname = 'IT_MARA'.
x_fieldcat-col_pos = l_pos.
x_fieldcat-outputlen = '10'.
APPEND x_fieldcat TO it_fieldcat.
CLEAR x_fieldcat.
l_pos = l_pos + 1.
x_fieldcat-seltext_m = 'VALUE'.
x_fieldcat-fieldname = 'VALUE'.
x_fieldcat-tabname = 'IT_MARA'.
x_fieldcat-col_pos = l_pos.
x_fieldcat-outputlen = '10'.
APPEND x_fieldcat TO it_fieldcat.
CLEAR x_fieldcat.
l_pos = l_pos + 1.
x_fieldcat-seltext_m = 'FLAG'.
x_fieldcat-fieldname = 'FLAG'.
x_fieldcat-tabname = 'IT_MARA'.
x_fieldcat-col_pos = l_pos.
x_fieldcat-outputlen = '1'.
APPEND x_fieldcat TO it_fieldcat.
CLEAR x_fieldcat.
l_pos = l_pos + 1.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
i_callback_program = i_program
it_fieldcat = it_fieldcat
it_events = it_events
TABLES
t_outtab = it_mara
EXCEPTIONS
program_error = 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.
*& Form LIST_MODIFY_OUPUT
text
FORM list_modify_ouput.
DATA: l_matnr LIKE mara-matnr,
l_kunnr LIKE mara-kunnr,
l_value type i,
l_index TYPE sy-index.
CLEAR it_mara.
DO 20 TIMES.
CLEAR: l_matnr, l_kunnr , l_value.
READ LINE sy-index INDEX sy-lsind
FIELD VALUE it_mara-matnr INTO l_matnr
it_mara-kunnr INTO l_kunnr
it_mara-value into l_value.
*3lines are reserved for alv headings , so i am reading it form 4th
*line so 4th line is equal to 1st line of itab
IF sy-subrc = 0 AND sy-index GE 4.
l_index = sy-index - 3.
READ TABLE it_mara INDEX l_index.
IF sy-subrc = 0 AND it_mara-flag = 'X'.
*-Modifying current list
MODIFY LINE sy-index INDEX sy-lsind
FIELD FORMAT it_mara-VALUE COLOR 6 INVERSE.
ENDIF.
ENDIF.
ENDDO.
ENDFORM. -
Hi,
There are some data dictionary views to get the list of column names and their id.
eg: all_tab_columns
I am querying the fiels for EMP table..
Select column_name,column_id from all_tab_columns where table_name='EMP' order by column_id;
column Name column_id
EMPNO 1
ENAME 2
SAL 3
My reuuirement is nothing but the values of COLUMN_NAME should be displayed as an individual field that is..
EMPNO,ENAME,SAL
Likewise, it should react for all tables that is the values should transformed into fields..
Please help me out in this regard..
Thanks in advance...The reason why i need the generic query to frame the column values into individual fiels is , the explicit cursor can not be used for binding sql statments and moreover i want to create the record type based on the explicit cursor due to some requirement in creating generic procedure..
So, I need a help for creating column values individual fields meaning
select column_name from all_tab_columns where table_name='EMP'
COLUMN_NAME
EMPNO
ENAME
SAL
the answer should be
empno ename sal
Pleaese help me ... -
How to make a column in Table popin read only
Hi Everyone
Could anyone let me know how to make a column in table popin read only.
Regardsif you ar eusing an ALV table
try this
DATA: lr_salv_wd_table TYPE REF TO iwci_salv_wd_table,
r_table TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
* get reference to ALV component interface
lr_salv_wd_table = wd_this->wd_cpifc_alvmain( ).
* get ConfigurationModel from ALV Component
wd_this->r_table = lr_salv_wd_table->get_model( ).
* init ColumnSettings
DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
lr_col_header TYPE REF TO cl_salv_wd_column_header.
lr_column_settings ?= wd_this->r_table.
* get table of column settings - each line one column
DATA: lt_columns TYPE salv_wd_t_column_ref.
lt_columns = lr_column_settings->get_columns( ).
* loop over table - in each loop another column can be modified
DATA: ls_column TYPE salv_wd_s_column_ref.
* define visible columns (fields) by naming them,
* exclude others by setting visibility to none
DATA: ls_tooltip TYPE string.
LOOP AT lt_columns INTO ls_column.
" get header of column
lr_col_header = ls_column-r_column->get_header( ).
" do settings here
ENDLOOP.
Or see this document for more tips.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40794172-b95a-2910-fb98-b86d8a0918b4">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40794172-b95a-2910-fb98-b86d8a0918b4</a>
regards,
Joris -
How to make few columns of single record inactive in Table conrol?
Hi all,
Scenario is like this : i have one table control , it is displaying 10 records , in that first four columns are editable. Now my requirement is, whenever record having intial values( suppose one record having initial values among ten) except key field , we need to deactive that particular record , now table control should contain ten records , but nine records are in editable state and one record in non editable state .
How to make few columns of single record inactive in Table conrol?
Thanks in advance.hi there...
select the column that u want to convert to non editable mode in the screen layout. then double click on it. go to the attributes tab and uncheck the input chk box. the check box will become disabled for input. u can do this for any number of columns.
if u want to do it dyanamically, loop at screen. check for the screen element's name. when itmatches the column u want to disable, simply set the input value as 0.
dont forget to modify sscreen after setting the attribute values.
i hope this helps.
do reward if helpful. -
How to encrypt the text in password field in Oracle Forms version 6i
Need help!
How to encrypt the text in password field in Oracle Forms version 6i?
one way is to change the settings in the property palette. Can somebody provide me some script to be run while the form is running which will enable the password to be encrypted?
Thanks!Hello,
Do you mean "hidden" (replaced with stars) or encrypted (that needs to be decrypted ?
Francois -
How to make text columns with adobe muse
Hi,How to make text columns with adobe muse (like InDesign)?
Multiple columns can be acheived with CSS - http://www.w3schools.com/css/css3_multiple_columns.asp
div
-moz-column-count:3; /* Firefox */
-webkit-column-count:3; /* Safari and Chrome */
column-count:3;
I'm surprised that Muse does not support text columns yet, but perhaps the custom CSS can be added in style tags on page properties. Haven't tried it, but don't see why it wouldn't work. -
How to make changes in strong password policy
hi,
how to make changes in strong password policy.
I m using apex 4.2.
pls help1003090 wrote:
I created a login page, but when i m putting a password or more then 7 character then in place of Invalid Login Credentials , its saying
ORA-06502: PL/SQL: numeric or value error: character string buffer too small.
I need to put a password of min 8 character, since its taking not more then 7 so i cannot use validation for the same.You already have a thread open on that: +{thread:id=2532900}+. Continue with that issue there.
If the original question above relating to how to configure password policies is answered then close this thread. -
How to make a column in a tabular form required?
How to make a column in a tabular form required ?
the column name is test_id , and the debug report is :
0.00000
0.00000
...NLS: Set Decimal separator="."
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.00000
0.00000
Metadata: Fetch application definition and shortcuts
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.00000
0.00000
NLS: wwv_flow.g_flow_language_derived_from=FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language=ar-eg
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.00000
0.00000
alter session set nls_language="EGYPTIAN"
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.00000
0.00000
alter session set nls_territory="EGYPT"
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.00000
0.00000
NLS: CSV charset=AR8MSWIN1256
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.00000
0.01500
A C C E P T: Request="CREATE"
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.00000
0.00000
...NLS: Set NLS Group separator=","
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.00000
0.00000
...NLS: Set g_nls_date_format="DD/MM/RR"
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.00000
0.00000
...NLS: Set g_nls_timestamp_format="DD/MM/RR HH12:MI:SSXFF PM"
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.00000
0.00000
...NLS: Set g_nls_timestamp_tz_format="DD/MM/RR HH12:MI:SSXFF PM TZR"
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.00000
0.00000
...Setting session time_zone to +02:00
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.00000
0.00000
...metadata, fetch translated app info
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...fetch session state from database
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
fetch items
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...fetched 14 session state items
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Check session 8341322256175063 owner
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Check for session expiration:
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Metadata: Fetch Page, Computation, Process, and Branch
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
Session: Fetch session header information
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...metadata, fetch page info
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Validate item page affinity.
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Validate hidden_protected items.
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Check authorization security schemes
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Initialize tabular form column mapping
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
Session State: Save form items and p_arg_values
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Session State: Save "P38_CLIENT_ID" - saving same value: ""
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Session State: Saved Item "P38_CLIENT_NAME" New Value="asdf"
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Session State: Saved Item "P38_AGE" New Value="23"
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Session State: Saved Item "P38_SEX" New Value="ذكر"
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Session State: Saved Item "P38_PHONE" New Value="23"
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Session State: Save "P38_EMAIL" - saving same value: ""
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Session State: Saved Item "P38_DOC_NAME" New Value="adsf"
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Session State: Save "P38_NOTES" - saving same value: ""
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Session State: Save "P38_CLIENT_ID_NEXT" - saving same value: ""
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Session State: Save "P38_CLIENT_ID_PREV" - saving same value: ""
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Session State: Save "P38_CLIENT_ID_COUNT" - saving same value: ""
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
Processing point: On Submit Before Computation
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
Branch point: Before Computation
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
Computation point: After Submit
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
Tabs: Perform Branching for Tab Requests
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
Branch point: Before Validation
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
Validations:
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
Perform basic and predefined validations:
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Validate is not null for P38_CLIENT_NAME
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.00000
...Validate is not null for P38_AGE
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.01500
0.01600
...Validate is not null for P38_PHONE
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.03100
0.00000
...Validate is not null for P38_DOC_NAME
4
http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2http://127.0.0.1:8080/apex/f?p=4000:939:8341322256175063::NO:939:P939_PAGE_VIEW_ID:2
0.03100
0.00000
Perform custom validations: -
How to make a column as command link
hi,
how to make a column as command link.i want to make a table column as a command link so that a popup will come.please let me know.
thanks in advanceJDeveloper 10.1.3 does not have a popup but a dialog framework that opens a dialog in a separate browse window. As Chris pointed out, the developer guide contains a section about how to launch the dialog. To programmatically launch the dialog from a command link use its action listener property
public void commandButton_action2(ActionEvent event) {
// make the clicked row the current
//Get access to the value binding
ValueBinding vb = FacesContext.getCurrentInstance().getApplication().createValueBinding("#{bindings.DepartmentsView1Iterator}");
DCIteratorBinding dciter = (DCIteratorBinding) vb.getValue(FacesContext.getCurrentInstance());
//the command link is a child of af:column, which is a child of af:table
CoreTable ct = (CoreTable)actionEvent.getComponent().getParent().getParent();
//access the row data, to obtain the Row object and the formatted key string
JUCtrlValueBindingRef juctrlref = (JUCtrlValueBindingRef) ct.getRowData();
String rowKey = juctrlref.getRow().getKey().toStringFormat(true);
//set the current row in the binding
dciter.setCurrentRowWithKey(rowKey);
// open dialog
FacesContext fctx = FacesContext.getCurrentInstance();
AdfFacesContext adfFacesCtx = AdfFacesContext.getCurrentInstance();
UIViewRoot viewRoot = new UIViewRoot();
viewRoot.setViewId("/yourDialogPage.jspx");
HashMap properties = new HashMap();
properties.put("width",300);
properties.put("height",200);
adfFacesCtx.launchDialog(viewRoot,properties,(CoreCommandLink)event.getSource(),true,null);
}If the dialog is based on the same VO then the current row is selected. If not then you may want to pass the value ofthe rowKey in a HashMap as the last argument to open dialog
Frank -
How to make Safari remember my password for sites whiteout promoting me? I mean i don't want to safari ask me if i want to save the password or not, can it just save it automatically to my keychain qhitout asking?
No. It's a safety feature. Select the appropriate response and the next time you visit, you won't be prompted.
-
How to make 1st column as header in ALV grid
Hi Experts,
How to make 1st column as header in ALV grid as attached. Please help.
Thanks in advance.Hi manoj,
Try with,
FM REUSE_ALV_HIERSEQ_LIST_DISPLAY
Regards,
Venkat. -
ALV: How to make a column color
Hi.
How to make a particular column of any one color in
list dispaly and grid displayHi osk,
1. Row wise color is possible.
2. Not only the full row color,
we can also manipulate the color in each cell.
3.
IMPORTANT THINGS
a. Extra field in internal table
clr TYPE slis_t_specialcol_alv,
(this field will contain the colour codes)
b. assign fieldname to alv layout
alvly-coltab_fieldname = 'CLR'
c. work area for colour
DATA : clrwa TYPE slis_specialcol_alv.
d. Populating the color
Once again
Loop at ITAB.
*********logic
if itab-field < 0 "---negative
clrwa-fieldname = 'FIELDNAME'. "<--- FIELDNAME FOR COLOR
clrwa-color-col = 6. <------- COLOUR 0-9
APPEND clrwa TO itab-clr.
MODIFY ITAB.
endif.
ENDLOOP.
5. just copy paste in new program
6.
REPORT abc .
NECESSARY / MUST
TYPE-POOLS : slis.
DATA : alvfc TYPE slis_t_fieldcat_alv.
DATA : alvly TYPE slis_layout_alv.
ITAB DECLARATION
DATA : prg TYPE sy-repid.
DATA : BEGIN OF itab OCCURS 0.
INCLUDE STRUCTURE t001.
DATA : clname(3) TYPE c,
clr TYPE slis_t_specialcol_alv,
END OF itab.
DATA : clrwa TYPE slis_specialcol_alv.
PARAMETERS : a TYPE c.
DATA : flname TYPE slis_fieldname.
SELECT
START-OF-SELECTION.
SELECT * FROM t001
INTO CORRESPONDING FIELDS OF TABLE itab..
LOOP AT itab..
IF SY-TABIX <= 5.
itab-clname = 'C50'.
ELSE.
itab-clname = 'C30'.
ENDIF.
MODIFY itab.
ENDLOOP.
LOOP AT ITAB.
check itab-bukrs = '1000'
clrwa-fieldname = 'BUTXT'.
clrwa-color-col = 6.
APPEND clrwa TO itab-clr.
MODIFY ITAB.
clrwa-fieldname = 'LAND1'.
clrwa-color-col = 4.
APPEND clrwa TO itab-clr.
MODIFY ITAB.
ENDLOOP.
prg = sy-repid.
flname = 'CLNAME'.
alvly-info_fieldname = 'CLNAME'.
alvly-coltab_fieldname = 'CLR'.
LOOP AT ITAB.
if sy-tabix = 3.
clrwa-fieldname = 'BUTXT'.
clrwa-color-col = 6.
APPEND clrwa TO itab-clr.
MODIFY ITAB.
clrwa-fieldname = 'LAND1'.
clrwa-color-col = 1.
APPEND clrwa TO itab-clr.
MODIFY ITAB.
endif.
ENDLOOP
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = prg
i_internal_tabname = 'ITAB'
i_inclname = prg
CHANGING
ct_fieldcat = alvfc
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
minimum
*CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
it_fieldcat = alvfc
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2
extra
sy-uname = 'XYZAB'.
prg = sy-repid.
Excluding
DATA : excl TYPE slis_t_extab.
DATA : exclwa TYPE slis_extab.
exclwa = '&OUP'.
APPEND exclwa TO excl.
exclwa = '&ODN'.
APPEND exclwa TO excl.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
it_fieldcat = alvfc
i_callback_program = sy-repid
is_layout = alvly
i_callback_user_command = 'ITAB_USER_COMMAND'
it_excluding =
excl
i_save = 'A'
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
*& Form itab_user_command
text
-->WHATCOMM text
-->WHATROW text
FORM itab_user_command USING whatcomm TYPE sy-ucomm whatrow TYPE
slis_selfield.
BREAK-POINT.
ENDFORM. "itab_user_command
regards,
amit m. -
How to make a column as buttion alv oops
i need have a buttion at every row end (ie last column) in the oops alv grid,
when i click on this button some functionality should run.
i have taken last field of internal table as some icon , currently in grid icons are displaying
now how to catch the function code? and how to trigger the functionalityHi Tummala,
You can add a checkbox as suggested by others.
Or if in case your requirement is to call any transaction,
you could make any column as 'Hotspot' and when you would
click on that it would call that transaction.
Hope you may find this helpful.
If your requirement is this and you require more help,
revert back.
Sumit -
How to make Sales group and office field mandatory in VA01 first screen
hi gurus,
can anybody tell me how to make Sales group and sales office mandatory field on VA01 tcode first screen. i have requirement to make it compulsary on the first screen otherwise they wont be able to goto next screen.
will reward points for sure
thanks
mandyHi! Mandy,
Try using t.code SHD0, choose your transaction variant here, further choose your screen variant.
Next select your screen variant and in the Menu bar select Variant> change with processing>Make repairs in foreign namespaces only if they are urgent> Continue(Enter)>again 'enter'>Object can only be created in SAP package>continue(enter)> Exit and save >This variant contains other screens, adopt these as well?>enter>enter> scroll down to the entry required by you make the necessary changes(Output only, invisible or required) and save.
The system will prompt to assign a package and request enter the necessary values.
Provide your feedback.
Regards,
PATHIK
Maybe you are looking for
-
Getting error while opening Excel document from SharePoint site
Hello All, I am getting following error while opening Excel document from SharePoint site. This issue appears when we open Excel document from Windows>> Run using below mentioned command: Excel.exe "{File Name}" If once I go to Excel back stage and b
-
How can we make pe_adapter errors visible in sxmb_moni
Hello, We are running on xi 3.0 Some errors that occur in mapping are not visible in sxmb_moni The only way to see them is to open the successfull message and see that the second message of adapter is in status : 29 "Transfer to process engine" or to
-
hi experts, Good day! Is there a BAPI or FM for RFQ creation. Thanks!
-
Popup variable entry with dropdown
Hello, I have a web template (WAD in 2004s) and I need that when the template was executed the popup for variable entry values appears as a dropdown box instead of the tipical selection popup. I have found a how to (How tou2026Use a dropdown box to s
-
SOA Suite queuing mechanism?
Hi, We have an integration project where we need a queuing mechanism. Transactions come in during the day. Some of them should be transformed and routed to one of the target systems, but some of them need to be pause and first be routed during the ev