A D V E R T I S E M E N T
|
S A P - R E S O U R C E S
Get Free SAP Resources:
Are you looking for:
- SAP Jobs
- Free SAP eBooks
- SAP Softwares
- SAP Tutorials
- ERP Implementation Examples
Search SAP Resources:
|
"Regarding Runtime creation of Check Boxes
Create an Internal table as :
data: Begin itab occurs 0,
cb_field type char1,
matnr like mara-matnr,
.....
end of itab.
Now you fetch the data into the internal table of itab using
some query...
select * ......
Now you are going to display it as....
Loop at itab.
write:/ cb_field as checkbox...
......
at this time only write the Hide statement.... as...
HIDE: values.... u want...
Endloop..
Now capturing of selected data process...
This can be done by clicking on some USER Command button...
for suppose you're clicking F8 means...
AT pf8.
IF SY-LSIND = 1.
describe table itab lines VARIABLE NAME.
cnt = 3. " Initiate value for Count 3 if you're including page header.
do VARIABLE NAME times.
read line cnt. " Above counter....
if sy-lisel(1) = 'X'.
WRITE:/ 'SELECTED RECORDS:', itab-cb_field,.....
endif.
COUNTER = COUNTER - 1.
cnt = cnt + 1.
enddo.
ENDIF.
A D V E R T I S E M E N T
|
|
|