Skip to Content
Former Member
Sep 08, 2010 at 10:27 AM

calling program from another program and passing values between them


Hi Experts,

I want to call abap program (program2) from another abap program(program1). The called program 2 has its own selection screen ( or variant) and calculate multiple colums and generate output file.

I would like to pass values to this second program 2 and return one of the columns from this to first program ( program 1)

Could you please let me know how to pass values from first program to second program and then return column values to first program so that it can be used further.

SUBMIT ZSDS_DEMAND1 using selection-set 'DEMAND1' and return.