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: 

submit prgram

Former Member
0 Kudos

i have a program z1 with some code selection screen and internal table(itab1).

i want to call z1 in another program z2 pasing selection screen values and

getting the data of internal table(itab1) into internal table of z2(itab2)..

can any one give me submit line that meets my requirement

its urgent

1 ACCEPTED SOLUTION

Pawan_Kesari
Active Contributor
0 Kudos

1. Calling program Z1 from Z2 : Use

SUBMIT Z1 ...

statement to call report

2. Getting the value of internal table: You will have to use

EXPORT obj1 ... objn TO MEMORY

in report z1 and

IMPORT obj1 ... objn FROM MEMORY

in program Z2 to pass internal table

3 REPLIES 3

Pawan_Kesari
Active Contributor
0 Kudos

1. Calling program Z1 from Z2 : Use

SUBMIT Z1 ...

statement to call report

2. Getting the value of internal table: You will have to use

EXPORT obj1 ... objn TO MEMORY

in report z1 and

IMPORT obj1 ... objn FROM MEMORY

in program Z2 to pass internal table

0 Kudos

thanks for ur reply

z1 is standard hr(ldb) program i cannot change it

and hw to fill the selection screen fields of it

is there any other method of getting internal table values other than

export and import

Former Member
0 Kudos

hi

good

SUBMIT rsusr100

WITH user IN s_user

WITH vondatum = p_from "Changes since

WITH bisdatum = p_to "Changes up to

WITH add_prof IN s_prof1

WITH del_prof IN s_prof1

EXPORTING LIST TO MEMORY

AND RETURN.

CALL FUNCTION 'LIST_FROM_MEMORY'

TABLES

listobject = t_object

EXCEPTIONS

not_found = 1

OTHERS = 2.

thanks

mrutyun^