‎2010 Sep 02 1:55 PM
Hi All,
Can any bady tell me the meaning of this constant declaration:
CONSTANTS: l_c_reguh(15) VALUE '(RFFOUS_C)REGUH'
Awaiting for prospective solution.
Cheers,
Mudit
Please use a descriptive title in your thread.
Edited by: Rob Burbank on Sep 2, 2010 9:06 AM
‎2010 Sep 02 2:04 PM
It's a constant with a program fieldname assigned to it - work area REGUH from program RFFOUS_C. Presumably, it's used in a field symbol assignment later in the program...
‎2010 Sep 03 6:17 AM
Thanks Brad for the precise & to the point answer.
<<Exchanging personal information is not allowed.>>
Edited by: kishan P on Sep 3, 2010 11:10 AM
‎2010 Sep 02 2:04 PM
Hello,
It is just assigning the value.
l_c_reguh = '(RFFOUS_C)REGUH'.
No special meaning.
Please let me know the scenario where it is used.
Thanks.
Ramya.
‎2010 Sep 02 2:10 PM
Example:
DATA: v_string TYPE string VALUE '(SAPFP50M)PS[]'." has to be done this way as PS is table with header line
TYPES: BEGIN OF ty_ps.
INCLUDE STRUCTURE prelp AS prelp.
TYPES: opera,
auth.
TYPES: END OF ty_ps.
TYPES: ty_t_ps TYPE STANDARD TABLE OF ty_ps.
FIELD-SYMBOLS: <fs_ps0210> TYPE ty_t_ps,
<fs1> TYPE ty_ps.
ASSIGN (v_string) TO <fs_ps0210>.
LOOP AT <fs_ps0210> ASSIGNING <fs1> WHERE infty EQ '0210'.
<fs1>-begda = sy-datum.
ENDLOOP.