‎2008 May 01 8:34 AM
Hi Friends,
I am submitting an report with the code as below...here I am passing selection screen variant.
SUBMIT zrkpep003 USING SELECTION-SET 'ZTEST'
AND RETURN.
this is working fine and getting the desired report.
however I need to pass the Selection screen values through Table. L_S_select which is of type rsprams.
coded as below...
SUBMIT zrkpep003 WITH SELECTION-TABLE l_s_select
AND RETURN.
This does not give any output....!!
Please suggest....!!!!
Regards,
Nikhil
‎2008 May 01 8:38 AM
Hi,
The table l_s_select need to be populated with all the values that the selection screen of the called program should be executed with..
So that table needs to be populated like follows:
SELNAME : Parameter/Select-Option name
KIND : P for Paramater and S for select-option
SIGN, OPTION, LOW and HIGH just like we fill in case of Select-options and Parameters.
Hope it helps.
Regards,
Himanshu
‎2008 May 01 8:42 AM
‎2008 May 01 8:38 AM
Hi Nikhil,
Refer Below Code:
SUBMIT called_prog_name
WITH s_carrid IN s_carrid
WITH s_connid IN s_connid
VIA SELECTION-SCREEN
AND RETURN.Where s_carrid is also an Internal table,
take care that the Internal Table in Called Program is also of same type.
or Simply you can Use Export to Memory Id and Import from Memory Id.
write the below code in calling program.
EXPORT itab TO MEMORY ID 'FLD'.and write the below code in called program.
IMPORT itab FROM MEMORY ID 'FLD'.Regards,
Sunil.