‎2007 Jan 12 7:29 AM
hi all,
1) i want to make parameters in selection screen to be non-editable
2) tell me difference between check table and value table.
‎2007 Jan 12 7:36 AM
1. data : p_matnr like mara-matnr.
at selection-screen output.
loop at screen.
if screen-name = 'P_MATNR'.
screen-input = 0.
modify screen.
endif.
endloop.
endloop.2. The Check Table is the dependent table to which the relationship is defined using foreign keys. The contents of the check table field are shown in the input help for the referenced field.
The Value table is the table attached to a field at the domain level, where the entry to the field can be only from the value table. They are not used in the Input Help.
Message was edited by:
Chandrasekhar Jagarlamudi
‎2007 Jan 12 7:39 AM
Hi Manish,
Check these links regarding check n value table.
https://forums.sdn.sap.com/click.jspa?searchID=712972&messageID=2706272
https://forums.sdn.sap.com/click.jspa?searchID=712972&messageID=2755235
Hope it helps.
Regards,
Priyanka.
‎2007 Jan 12 7:45 AM
parameters : p1 like mara-matnr.
at selection-screen output.
loop at screen.
if screen-name = 'P1'.
screen-input = '0'.
modify screen.
endif.
endloop.
2) Check table checking the value by primary key foreign key relationship and validate that.
but value table only take the values when you press F4. it is not involve in any validation.
regards
shiba dutta
‎2007 Jan 12 7:46 AM
1) parameters:p_matnr like mara-matnr.
at selection-screen output.
loop at screen.
if screen-name = 'P_MATNR'.
screen-input = 0.
modify screen.
endif.
endloop.
use p_matnr as CAPITAL LETTERS.
2)http://www.sap-img.com/abap/difference-between-a-check-table-and-a-value-table.htm
Message was edited by:
Vishnu Reddy
‎2007 Jan 12 7:53 AM
Hi Manish,
The active component is used to set the input, output and invisible components at once. At the start of PBO processing, the active component always has the value 1. If active is set to 0 with MODIFY SCREEN, input and output are automatically set to 0 and invisible is set to 1. Other values in input, output and invisible are ignored. Conversely, setting input and output to 0 and invisible to 1 automatically sets active to 0 and a different value in active is ignored.
Check table : use in foregin key relationship or we can say field level checking in F4 help.
Value table : use in donain or we can say domain level of checking in f4 help
‎2007 Jan 12 9:02 AM
Hi,
Check Table: The check table will give u the possible entries as well as it wont allow you to enter any value other than the possible entries.
Value Table: This will just give you the possible entries. But it wont restrict you to choose the possible values. You can enter some other values other than the possible set of values.
Hope this will help u. If u need more infn then write it.
U. Uma
‎2007 Jan 12 9:09 AM
manish,
write below code.
at selection-screen output.
loop at screen.
if screen-name = 'P_XXXX'.
screen-input = 0.
modify screen.
endif.
endloop.
endloop.
Pls. Mark for all useful ans.
‎2007 Jan 12 9:14 AM