2006 Aug 17 8:06 AM
GV_ZALVL = '%ALVL'.
ASSIGN (GV_ZALVL) TO <ALVL>.
GV_ZVARI = '/1'.
<ALVL> = GV_ZVARI.
What does the above statements mean?
I dont have any idea about dynammic programming. Please explain me.
Hi,
Kindly find my answers below ur questions...
Reward points if helpful..
GV_ZALVL = '%ALVL'.
<b>%ALVL -- SAP STANDARD FUNCTION CODES are represented this way.</b>
GV_ZVARI = '/1'.
<b>A Function Code (f1 fUNCTION KEY) is passed.</b>
ASSIGN (GV_ZALVL) TO <ALVL>.
<b>Here <ALVL> is a field-symbol, it has to be declared before this statement occurs. Field-symbols have to be assigned to any object before using them. Field-symbols are used to dynamically refer to the address of a object in runtime. Field-symbols can be related to Dereferenced Pointers in C.</b>
For further reference on Field-symbols refer to SAP HELP DOCUMENT.
Hope the info. is helpful, if any more clarifications revert back, else close the thread.
Reward points if convinced with the answer.
Regards
2006 Aug 17 8:08 AM
well <ALVL>. this is a field symbol . c above in ur eeport if it has been declared as field-symbol <ALVL>.
reward points if helpfull
Thanking you
rohit gupta
2006 Aug 17 8:12 AM
in this statemnt ur field symbol has been used instead of ur field . so ur field has been assigned to ur feild symbol by the assign statemnt
hope this solves ur problem ..
2006 Aug 17 8:12 AM
%ALVL will be assigned the value /1. Please see the explanation below.
GV_ZALVL = '%ALVL'.
GV_ZALVL is assigned the value %ALVL. %ALVL might be an variable in your program.
ASSIGN (GV_ZALVL) TO <ALVL>.
Content of the field %ALVL ia assigned to the field symbol <ALVL>
GV_ZVARI = '/1'.
GV_ZALVL is assigned the value /1.
<ALVL> = GV_ZVARI.
This statement will assign /1 to the variable %ALVL.
-Kiran
*Please reward useful answers
2006 Aug 17 8:14 AM
Hi,
Kindly find my answers below ur questions...
Reward points if helpful..
GV_ZALVL = '%ALVL'.
<b>%ALVL -- SAP STANDARD FUNCTION CODES are represented this way.</b>
GV_ZVARI = '/1'.
<b>A Function Code (f1 fUNCTION KEY) is passed.</b>
ASSIGN (GV_ZALVL) TO <ALVL>.
<b>Here <ALVL> is a field-symbol, it has to be declared before this statement occurs. Field-symbols have to be assigned to any object before using them. Field-symbols are used to dynamically refer to the address of a object in runtime. Field-symbols can be related to Dereferenced Pointers in C.</b>
For further reference on Field-symbols refer to SAP HELP DOCUMENT.
Hope the info. is helpful, if any more clarifications revert back, else close the thread.
Reward points if convinced with the answer.
Regards
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |