Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Fetching an internal table from standard program.

Former Member
0 Kudos

Hi Folks,

Is there any way to fetch an itab (with data) which is there exist in a standard repot to a zprogram.

Regards,

praneet

6 REPLIES 6

Former Member
0 Kudos

hi,

i think we can do it by creating varinats in shd0.

thanks

shiva

0 Kudos

shiva,

can u explain your process in detail...seems to be useful

Regards,

praneet

Former Member
0 Kudos

Hi Praneet,

You can call the perform and do the same though it is not going to reduce your time of execution because your itab will be populated only when you run the program. It wont be filled and stored anywhere.

Ex: Perform Form_name(Standard_Prog_name)

Changing itab.

Award points if you find it helpful.

Ishaq.

0 Kudos

Hi

How can we get data into itab if we won't run the standard? If i want to copy the whole program, it is very vast.

praneet

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

If the itab is exported in standard program,you can import the same in your zprogram.

Otherwise,as far I know,you need to do the similar process in your program.

Former Member
0 Kudos

You can use

PERFORM form(prog). 

Additions: 
1. ... USING    p1 p2 p3 ... 
2. ... CHANGING p1 p2 p3 ... 
3. ... TABLES   itab1 itab2 ... 
4. ... IF FOUND

Using this u can get the itab values.