2008 Dec 04 11:54 AM
Hi all,
I want to clear the value of the cursor field on screen. Presently I am using:
GET CURSOR FIELD g_cursorfield.
CLEAR g_cursorfield.
But it clear the cursor field but not the field value.
how it works.
Please suggest.
Thanks
Sanket sethi
You may try something like
* Définition
DATA fieldname TYPE fieldname.
FIELD-SYMBOLS <field> TYPE ANY.
* Execution
GET CURSOR FIELD fieldname.
ASSIGN (fieldname) TO <field>.
CHECK sy-subrc EQ 0.
CLEAR <field>.But did i understand your question ?
Regards
2008 Dec 04 12:06 PM
Hi Sanket
Have you tried Set Parameter id for this.
Regards
Neha
2008 Dec 04 12:06 PM
hi,
try like this
data : fval type i.
GET CURSOR FIELD g_cursorfield field fval.
CLEAR : g_cursorfield,
fval..Thanks & Regards
2008 Dec 04 12:34 PM
2008 Dec 04 1:16 PM
Try this :
GET CURSOR FIELD g_cursorfield Value g_value.
Clear: g_value,
g_cursorfield .
Regards
Neha
2008 Dec 04 12:49 PM
hi dont know whether it works but give try.
GET CURSOR FIELD g_cursorfield.
CLEAR (g_cursorfield). "run time detemination of variable name
2008 Dec 04 1:00 PM
2008 Dec 04 2:09 PM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |