Hi All,
I am facing a strange situation where in the APPEND command work fine where I run my Interface in foreground but when I run the interface in background mode it doesnt APPEND the values to the select options.
I have coded the below code in INITIALIZATION.
INITIALIZATION
SELECT SINGLE MAX( run_nr )
FROM ztsifoutdet
INTO gv_temp_nr
WHERE sys_id EQ p_sysid.
SELECT SINGLE run_date
FROM ztsifoutdet
INTO gv_date
WHERE sys_id EQ p_sysid
AND run_nr EQ gv_temp_nr.
gv_temp_nr = gv_temp_nr + c_1.
CLEAR s_bdter.
s_bdter-sign = 'I'.
s_bdter-option = 'BT'.
s_bdter-low = gv_date.
s_bdter-high = sy-datum.
APPEND s_bdter.
Here the APPEND statement doesnt append values to S_BDTER when ran in background. ITs quite strange.
Please reply.
Regards
Abhii