2008 Aug 19 10:36 AM
Hi,
I wanted to add a check box in ABAP query.
if that check box is checked then
it shuld satisfy follow conditions.
*Z_HANDQTY = ABS( MARD-LABST ) + ABS( MARD-SPEME ).
in abap query where do I write this piece of code.
can anybody pls help asap.
Thanks
Jaya.
2008 Aug 19 10:52 AM
where u displaying the check box in report or selection screen.
Hi,
Are you using any standard query or custom one
we can aciheve this using exit for that transaction.
Regards
Lekha
2008 Aug 19 10:40 AM
Hi,
Try this.
You would have used SY-UCOMM for the checkbox chk event. Inside that chk the required condition, if it satisfies continue the process, else make the checkbox unchked.
Sharin.
2008 Aug 19 10:54 AM
actually it is a query sq01trans...
I wanted to insert a code in that... how do I indert this line of code......
its not an ordinary report
2008 Aug 19 11:00 AM
Hi,
Are you using any standard query or custom one
we can aciheve this using exit for that transaction.
Regards
Lekha
2008 Aug 19 10:45 AM
Hi,
data:
w_chk type c.
write: w_chk as checkbox.
at scelection screen. or any interactuive event.
if w_chk = 'X'. " check ox is checked
then process the things
else.
endif.
or
REPORT test NO STANDARD PAGE HEADING.
DATA: check1 TYPE c LENGTH 1 VALUE 'X',
check2 TYPE c LENGTH 1 VALUE ' '.
START-OF-SELECTION.
WRITE: / check1 AS CHECKBOX, 'Checkbox 1',
/ check2 AS CHECKBOX, 'Checkbox 2'.
AT LINE-SELECTION.
READ: LINE 1 FIELD VALUE check1,
LINE 2 FIELD VALUE check2.
Regards
Lekha
2008 Aug 19 10:55 AM
hi...thanks a lot for the help.but I wanted to inserrt this in sap query sq01.... I am not aware how to do it.
can you please help
2008 Aug 19 10:52 AM
where u displaying the check box in report or selection screen.
2008 Aug 19 11:19 AM
Hi ,
check in SQ02---->change mode ->GOTO(menu)->CODE/Enhancements.
Regards
prabhu
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |