Application Development and Automation 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: 
Read only

Fetching an internal table from standard program.

Former Member
0 Likes
757

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
Read only

Former Member
0 Likes
729

hi,

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

thanks

shiva

Read only

0 Likes
729

shiva,

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

Regards,

praneet

Read only

Former Member
0 Likes
729

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.

Read only

0 Likes
729

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

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
729

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.

Read only

Former Member
0 Likes
729

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.