I set the below but still not working
If IF I_INITFLAG = SBIWA_C_FLAG_ON.
IF S_COUNTER_DATAPAKID = 0.
logic
E_T_DATA[] = Internal table.
End if.
IF SY-SUBRC <> 0.
RAISE NO_MORE_DATA.
ENDIF.
S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
ENDIF.
I set the below but still not working
If IF I_INITFLAG = SBIWA_C_FLAG_ON.
IF S_COUNTER_DATAPAKID = 0.
logic
E_T_DATA[] = Internal table.
End if.
IF SY-SUBRC <> 0.
RAISE NO_MORE_DATA.
ENDIF.
S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
ENDIF.