06-09-2017 7:48 AM
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.
06-09-2017 8:29 AM
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
06-09-2017 9:15 AM
Do you want to display on called program OR on called program and caller OR could you reformulate?