2009 Sep 21 10:05 AM
Hi,
Till now i know that keeping * in front of any line will disable that line from the code,
but i have seen * in one of the code can anyone please explain me the line which
is in bold remember * is not making my line disable.
AT SELECTION-SCREEN ON PA_XGBAF.
IF NOT PA_XGBAF IS INITIAL.
*ANLA0-XGBAF = ANLA0-XGBAF = PA_XGBAF.
ENDIF.
Edited by: Venkat Reddy on Sep 21, 2009 2:36 PM
2009 Sep 21 10:13 AM
tables:mara.
tables:*mara.
*both act as work area.
select single * from mara.
select single * from *mara.
or
*mara-matnr = 'X'.
mara-matnr = 'Y'.
i hope you got it
*mara can be used seperately and
mara can be used separately.
in your case
*ANLA0-XGBAF
ANLA0-XGBAF
both will have tha value 'X'.
Hi,
Till now i know that keeping * in front of any line will disable that line from the code,
but i have seen * in one of the code can anyone please explain me the line which
is in bold remember * is not making my line disable.
AT SELECTION-SCREEN ON PA_XGBAF.
IF NOT PA_XGBAF IS INITIAL.
*ANLA0-XGBAF = ANLA0-XGBAF = PA_XGBAF.
ENDIF.
Edited by: Venkat Reddy on Sep 21, 2009 2:36 PM
2009 Sep 21 10:08 AM
Hi ,
can also be used in a screen painter , where it is the way a particular screen element is accessed in the program / module pool
Thanks .
2009 Sep 21 10:09 AM
are you sure * is the beginning column on the line? else you can use "
2009 Sep 21 10:13 AM
tables:mara.
tables:*mara.
*both act as work area.
select single * from mara.
select single * from *mara.
or
*mara-matnr = 'X'.
mara-matnr = 'Y'.
i hope you got it
*mara can be used seperately and
mara can be used separately.
in your case
*ANLA0-XGBAF
ANLA0-XGBAF
both will have tha value 'X'.
2009 Sep 21 10:15 AM
2009 Sep 21 10:17 AM
2009 Sep 21 10:17 AM
First of all, this statement is obsolete so do not use it any longer. This is probably an extract of an old program.
It was used to declare an additional workarea for that particular database table and could be used like this:
tables: mara, *mara.
select single * from mara where...
select single * from *mara where...
2009 Sep 21 10:19 AM
Hi all thks for your answer i got known that when * in frnt of any table or structure will be acting as a workarea.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |