‎2009 Jun 05 6:54 AM
Hi SDN Community,
Is there any ABAP that can be used to derive the variable value, via the Table Class Interface.
I have not found any documentation which shows an example to read a variable on Fiscal Year Period, ZP_FPER using table class interface.
Can you please advise if this is possible
‎2009 Jun 10 6:01 AM
Solution:
CALL METHOD SUPER->INIT
EXPORTING
I_R_PAGE = i_r_page
I_R_DATA_SET = i_r_data_set
I_R_ITEM = i_r_item
I_R_GRID = i_r_grid.
data: txt_symbols_set type RRWS_S_TEXT_SYMBOLS.
break-point.
data:
ld_fiscper type RRXSYMVALUE.
*you should first check that I_R_DATA_SET actually has values.
READ TABLE I_R_DATA_SET->N_SX_VERSION_20A_1-TXT_SYMBOLS WITH KEY
SYM_NAME = 'VARVALUE_ZP_FPER' INTO txt_symbols_set.
ld_fiscper = txt_symbols_set-SYM_VALUE.