‎2007 Sep 24 4:45 PM
Hi all,
After executing this program i am getting result from RSIRCCON program in output screen . I need to export this result to one internal table with out giving out put . Is there any way to resolve this issue?
REPORT Z_RSIRCCON_2 NO STANDARD PAGE HEADING
LINE-SIZE 255
LINE-COUNT 65.
----
TABLES *
----
TABLES: somlreci1.
----
*Global Variables *
----
DATA: repository(255) TYPE C,
L_PROGRAMM LIKE RS38M-PROGRAMM,
variant1 like RS38M-SELSET,
p_check type I.
l_programm = 'Z_RSIRCCON_2'.
variant1 = 'VARIANT1'.
----
SELECTION SCREEN *
----
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECT-OPTIONS: p_repos FOR repository.
PARAMETER:p_single RADIOBUTTON GROUP g1,
p_multi RADIOBUTTON GROUP g1,
p_run RADIOBUTTON GROUP g1.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK a1 WITH FRAME TITLE text-043.
PARAMETER :p_esub TYPE repository.
SELECT-OPTIONS:p_email FOR somlreci1-receiver MODIF ID sc6 .
SELECTION-SCREEN END OF BLOCK a1.
----
START-OF-SELECTION *
----
if P_single = 'X'.
p_check = 1.
ELSEIF p_multi = 'X'.
P_CHECK = 10.
ELSEIF p_run = 'X'.
P_CHECK = 20.
ENDIF.
submit RSIRCCON
and return.
‎2007 Sep 24 4:55 PM
use the EXPORTING LIST TO MEMEORY option of the SUBMIT statement ( press F1 on SUBMIT for additional info ).. and later IMPORT the LIST from MEMEORY..
Arya
‎2007 Sep 24 5:44 PM
Hey ,
But i need to import some icons also . I tried this export list and import list with submit key word , but the problem i am not getting icons after importing the list . Is there any way to import the icons also?
‎2007 Sep 24 6:00 PM
‎2007 Sep 24 6:34 PM
You mean ICONS like ina WRITE statment? If that is os, you have to out put the lsit again using WRITE statements.. what is that you want to do after importing the list?
Arya
‎2007 Sep 24 5:16 PM
once you get the data into the internal table and before you submit the program use export statement... like...
EXPORT itab to MEMORY ID 'ZIDY'.
SUBMIT ZPROGRAM.
In the calling program i.e. ZPROGRAM, import itab as follows:
IMPORT ITAB from MEMORY ID 'ZIDY'.
CLEAR ZIDY.
REFRESH ZIDY.