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: 

Call program and return with data

Former Member
0 Kudos

Hi, Experts,

I have called a program from my main program using SUBMIT

and return.

I need to get data back from called program in table format.

Is there any way to fullfill such requirement.

Regards

Rajiv singh.

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos

if the program is custom , then you can use import and export option. you can export the data to memory in the submit program, and import from memory after submit call.

if it Standard program , in some standard programs also will export data to memory , so check in inside the program.

2 REPLIES 2

Former Member
0 Kudos

syntax for submit and return

SUBMIT zreport

WITH SELECTION-TABLE it_tab

AND RETURN.

former_member188685
Active Contributor
0 Kudos

if the program is custom , then you can use import and export option. you can export the data to memory in the submit program, and import from memory after submit call.

if it Standard program , in some standard programs also will export data to memory , so check in inside the program.