Skip to Content
avatar image
Former Member

submit prgram

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Aug 21, 2007 at 02:39 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    Aug 21, 2007 at 02:48 PM

    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^

    Add comment
    10|10000 characters needed characters exceeded