2009 Oct 22 12:41 PM
Hi Experts,
I need to pass an internal table from one program to other. However i cannot use IMPORT/EXPORT due to some reason. Any idea how this can be done?
Warm regards,
Harshad.
Hi Experts,
I need to pass an internal table from one program to other. However i cannot use IMPORT/EXPORT due to some reason. Any idea how this can be done?
Warm regards,
Harshad.
2009 Oct 22 12:49 PM
why cant you use import???
any ways,
you can pass it as a selection parameter(range table) in the submit statement,.
one more not advised way can be storing it in databse table..
but again .. .why dont you want to use import export?
2009 Oct 22 1:13 PM
Hi,
Thanks for your reply. Actually there is some issue with production server where IMPORT/EXPORT are not working. So ic annot use them.
Warm regards,
Harshad.
2009 Oct 22 1:44 PM
HI
You can create one memory area for intertable and you use that memory area in other table .
2009 Oct 22 12:52 PM
hi,
for passing itab from one program to another u can use
IN FIRST PROGRAM WRITE ,
perform pass_data(SECOND_PROGRAM_NAME) using ITAB.
in both the program declare itab with same structure.
if u want to do some changes in that itab and if u want it back in first program then write as
perform pass_data(SECOND_PROGRAM_NAME) using ITAB changing itab.
2009 Oct 22 1:50 PM
Hi,
Try doing like:
EXPORT itab FROM itab TO MEMORY ID 'ITAB_ID1'
IMPORT itab FROM MEMORY ID 'ITAB_ID1'
Hope it helps
Regards
Mansi
2009 Oct 22 1:51 PM
I mentioned that i cannot EXPORT/IMPORT due to some reason on production.
2009 Oct 22 1:53 PM
2009 Oct 22 1:53 PM
You can use shared memory for that, or a file, or a table in the database.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |