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 report to call ALV to another ALV

former_member228514
Participant
0 Kudos

Hi ALL,

I m using submit report exporting list and return to call another program.

I wanted to display on the 2 nd program.

But beacusee of RETURN ALV is not able diplay.

Please let me know any other solution to stay on the same screen.

Thanks,

Aarti.

2 REPLIES 2

former_member182550
Active Contributor
0 Kudos

Simples....

Drop the and return.......

Unfortunately I don't quite understand your phrasing so I am making some assumptions:

I m using submit report exporting list and return to call another program.

All so well and good you should then use the function module 'LIST-FROM_MEMORY' to get the list back from memory and then function module 'LIST_TO_ASCI' to get the data back in readable form.

I wanted to display on the 2 nd program.

This is the bit that confuses me (Because of the same screen comment below) If you want to display the output of the 2nd program omit the 'And Return' and 'Exporting list to memory' clauses from the submit. When you then exit the display of the second program you will return to the first.

But beacusee of RETURN ALV is not able diplay.

Please let me know any other solution to stay on the same screen.

If you wish to display the output of the 2nd program on the same screen as your first alv grid then use a splitter container or a docking container and parse the contents of the table returned by LIST_TO_ASCI into a format suitable for display (ie break each report line up into relevant fields in the table) and then call an ALV grid using the selected container as it's parent.

Rich

raymond_giuseppi
Active Contributor
0 Kudos

Do you want to display on called program OR on called program and caller OR could you reformulate?