05-19-2006 7:21 AM
Hi,
I am facing following issue , if anyone can suggest me something.
I have to create one custom table ,in which one field is of matnr , but issue is i have to restrict entries in this field for particular material type only .what i have done is the field's check table mentioned as mara , but how i can restrict it for mtart.
thanks in advance.
05-19-2006 7:25 AM
Hi gud,
1. One way is to create a new view
with the required filterations for MTART.
2. Then use this view as a CHECK TABLE
in your field MATNR for your z table.
regards,
amit m.
05-19-2006 7:26 AM
Hi Gud,
You can goto the TABLE maintenance generator and write the code there to retrict the entry as you want.
Regards,
Amit Mishra
05-19-2006 7:29 AM
Hi,
You can create a field 'ZMTART' , data element 'ZZMTART'.
data element ZZMTART, data type, domain : ZZMTART.
In that give the value range:
Fixed value and short text.
The restrictions can also be handled using the events in table maintenance generator.
pls have a look at this link for moreinfo on this:
Hope you got the point.
Regards,
Anjali