on 04-24-2008 4:45 AM
hi,
As per my requirement i have to add a field on selectionscreen.it is catagory field.
based on this value it has to fetch the data.
ex: IF i insert L it has to fetch data related to L.
IF i insert N it has to fetch data records RELATED to N. can any one please sen me the logic for above requirement.
hi,
i m sending sample code with matnr hope it will help.
Add one more field to u r internal table.
REPORT y_test67 no standard page heading line-size 255.
data : begin of itab occurs 0,
matnr type matnr,
tag type c,
end of itab.
parameters: l type c.
select * from mara into corresponding fields of table itab.
loop at itab.
if itab-matnr+0(1) = l.
itab-tag = 'A'.
else.
itab-tag = ' '.
endif.
modify itab.
endloop.
delete itab where tag = ' ' .
loop at itab.
write : itab-matnr.
endloop.
with regards,
Kiran.G
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Which Selection Screen You are speaking abt is that a Standard Tcode Selection Screen or Zporgram Selection Screen.
If that is Zprg then what are the tables You are selecting data and wht fields are in Selection Screen.
Provide Fields of Yur Selection Sceen and field name of which You need to add with table.
Otherwise if that is a Standard Tcode Screen then need to go for Screen Exist.
Regards,
SG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.