I have a report program that works in 2 modes - Create and modify ( There is a toggle button in the ALV report). Its an editable ALV grid. There are 2 tcodes - zcreate and zmodify to access the same report in 2 above modes. For zmodify, i have a selection screen. How do i skip the selection screen for zcreate ?
Here is my report program
REPORT ZSWR_RCKDVOLS .
INCLUDE ZSWR_RCKDVOLS_SELSCR. " Selection Options are written in this.
at selection-screen on s_locid.
select single werk from oijrra
where locid in s_locid and rpart = gc_rpart.
CHECK: NOT gi_zswt_rckdvols IS INITIAL.
set SCREEN 100. "Main Screen
A sample code will be greatly helpful.