2007 Oct 30 8:20 PM
I am trying to create methods and to keep things as modularized as possible. I want to call a method from my program to read line items from my calling program's internal table called itab_BSEG. I can use a binary search and field symbols in the method for efficiency.
However, in order to do this I would need to pass the large itab_BSEG to the method, so the method would return a small table of line items, itab_line_items, for my Order Number.
Is there a way to efficiently pass the large internal table of itab_BSEG to the method for processing? Or, in this case am I better off just processing the data from where itab_BSEG lives in the calling program?
I've heard of shared memory, are there any other ways to do this with pointers and addresses so the large internal table can be passed efficiently with little crunch on the system?
I am on 4.6C
Thank-You
Message was edited by:
Tom M.
2007 Oct 30 10:49 PM
Hi Tom,
Why are you creating a new method just for the processing of internal table. You can do the same in the same program and once processing done REFRESH the table and FREE the memory.
Regards,
Atish
Hi Tom,
Why are you creating a new method just for the processing of internal table. You can do the same in the same program and once processing done REFRESH the table and FREE the memory.
Regards,
Atish
2007 Oct 30 10:49 PM
Hi Tom,
Why are you creating a new method just for the processing of internal table. You can do the same in the same program and once processing done REFRESH the table and FREE the memory.
Regards,
Atish
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |