Actually the requirement for client is In selection screen they have to drill down the tables for customized or standard tables , so when click the tables in selection screen it has to go for the particular tables as fields selection (same as fields selection of se16 screen).
So what i done is i have maintain the all tables in t code strav(cust tcode) by giving the variables (zvar_ follwed by the tables) name.
Then i am fetching the data from tvarc tables and display all the tables in drill down of selection screen and calling call transaction zse16 (cust T-code) which is same as the se16 which we are maintain as zse16.
It is working fine, but while coming back it going to zse16 screen of tables selection screen. .
if you want to come to my selection screen i have to press back button from the zse16 screen.
Please suggest on this same .Instead of call transaction can i use submit and return statement how to declare
prg for the zse16 (cust T-code)SAPLZSETB
<removed by moderator>
DATA ok_code TYPE sy-ucomm.
TYPE-POOLS : VRM.
DATA: param TYPE vrm_id,
values TYPE vrm_values,
value LIKE LINE OF values.
PARAMETERS: CUST_TAB type tvarvc-low as LISTBOX VISIBLE LENGTH 50 USER-COMMAND DUMMY.
SELECT * from tvarvc where name like 'ZVAR_%' AND TYPE = 'P'.
value-key = TVARVC-NAME+5.
value-text = TVARVC-low.
APPEND value TO values.
PARAM = 'CUST_TAB'.
CALL FUNCTION 'VRM_SET_VALUES'
id = param
values = values.
AT SELECTION-SCREEN." ON VALUE-REQUEST FOR CUST_TAB .
SET PARAMETER ID: 'DTB' FIELD CUST_TAB.
CALL TRANSACTION 'ZSE16' and skip first screen.
your responses will be appreciated.
Thanks & Regards
Sandeep S jajur
Edited by: Thomas Zloch on Jan 12, 2011 3:15 PM - *priority reduced